Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-16996 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 > 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 Checking out Revision 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 # timeout=10 Commit message: "Merge pull request #703 from hahattan/release-note" > git rev-list --no-walk bb51c8debe42093e5eb42b70cd80c1650e49a210 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:17:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:17:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:17:59 ========================================================= 05:17:59 EdgeX Global Pipelines Version Info 05:17:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:18:01 ------------------- 05:18:01 stable info: 05:18:01 ------------------- 05:18:01 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:18:01 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 05:18:01 Message: update stable to v1.0.173 05:18:02 ------------------- 05:18:02 experimental info: 05:18:02 ------------------- 05:18:02 Commited By: **** collab-it+edgex@linuxfoundation.org 05:18:02 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 05:18:02 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:18:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:18:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:18:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:18:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:18:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:18:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 05:18:03 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 05:18:03 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 05:18:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:18:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:18:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:18:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 05:18:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:18:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:18:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:18:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:18:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:18:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:18:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:18:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:18:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:18:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 05:18:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:18:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:18:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:18:04 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 05:18:04 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 05:18:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 05:18:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 05:18:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 05:18:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 [Pipeline] echo 05:18:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 93569ae [Pipeline] echo 05:18:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:18:05 provisioning config files... 05:18:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config6583460763804239834tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:18:06 ---> docker-login.sh 05:18:06 nexus3.edgexfoundry.org:10001 05:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:06 Configure a credential helper to remove this warning. See 05:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:06 05:18:06 Login Succeeded 05:18:06 nexus3.edgexfoundry.org:10002 05:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:06 Configure a credential helper to remove this warning. See 05:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:06 05:18:06 Login Succeeded 05:18:06 nexus3.edgexfoundry.org:10003 05:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:06 Configure a credential helper to remove this warning. See 05:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:06 05:18:06 Login Succeeded 05:18:06 nexus3.edgexfoundry.org:10004 05:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:06 Configure a credential helper to remove this warning. See 05:18:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:06 05:18:06 Login Succeeded 05:18:06 docker.io 05:18:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:18:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:18:07 Configure a credential helper to remove this warning. See 05:18:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:18:07 05:18:07 Login Succeeded 05:18:07 ---> docker-login.sh ends [Pipeline] } 05:18:07 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 05:18:08 + git log --format=format:%s -1 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 [Pipeline] echo 05:18:08 GIT_COMMIT: 93569aefbcf2dcd4d18a31fcf2c190494ae30d88, Commit Message: Merge pull request #703 from hahattan/release-note [Pipeline] echo 05:18:08 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 05:18:08 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:18:08 05:18:08 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:18:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:18:09 latest: Pulling from edgex-devops/git-semver 05:18:09 31603596830f: Pulling fs layer 05:18:09 2a8b12db71e7: Pulling fs layer 05:18:09 6ca5941a6612: Pulling fs layer 05:18:09 ecc8261a40a4: Pulling fs layer 05:18:09 ecc8261a40a4: Waiting 05:18:09 2a8b12db71e7: Verifying Checksum 05:18:09 2a8b12db71e7: Download complete 05:18:09 31603596830f: Verifying Checksum 05:18:09 31603596830f: Download complete 05:18:09 ecc8261a40a4: Verifying Checksum 05:18:09 ecc8261a40a4: Download complete 05:18:09 6ca5941a6612: Verifying Checksum 05:18:09 6ca5941a6612: Download complete 05:18:09 31603596830f: Pull complete 05:18:09 2a8b12db71e7: Pull complete 05:18:10 6ca5941a6612: Pull complete 05:18:10 ecc8261a40a4: Pull complete 05:18:10 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 05:18:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:18:10 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:18:10 prd-centos7-docker-4c-2g-16996 does not seem to be running inside a container 05:18:10 $ 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 05:18:12 $ docker top ab03c041854512808e072701d5d2bd4c210d3e2c0bca91d8dbadade687fcdee8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:18:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:18:13 [ssh-agent] Looking for ssh-agent implementation... 05:18:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:18:13 $ docker exec ab03c041854512808e072701d5d2bd4c210d3e2c0bca91d8dbadade687fcdee8 ssh-agent 05:18:13 SSH_AUTH_SOCK=/tmp/ssh-4vpQBEa7JxDv/agent.12 05:18:13 SSH_AGENT_PID=18 05:18:13 Running ssh-add (command line suppressed) 05:18:13 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4242799893629444530.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4242799893629444530.key) 05:18:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:18:13 + git tag --points-at HEAD [Pipeline] } 05:18:13 $ docker exec --env ******** --env ******** ab03c041854512808e072701d5d2bd4c210d3e2c0bca91d8dbadade687fcdee8 ssh-agent -k 05:18:13 unset SSH_AUTH_SOCK; 05:18:13 unset SSH_AGENT_PID; 05:18:13 echo Agent pid 18 killed; 05:18:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:18:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:18:14 [ssh-agent] Looking for ssh-agent implementation... 05:18:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:18:14 $ docker exec ab03c041854512808e072701d5d2bd4c210d3e2c0bca91d8dbadade687fcdee8 ssh-agent 05:18:14 SSH_AUTH_SOCK=/tmp/ssh-YLNzZCxRZOGH/agent.46 05:18:14 SSH_AGENT_PID=52 05:18:14 Running ssh-add (command line suppressed) 05:18:14 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5485884172790429445.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5485884172790429445.key) 05:18:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:18:15 + git semver init 05:18:15 # -> Open(): unable to determine branch for HEAD 05:18:15 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 05:18:15 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 05:18:15 # $SEMVER_REMOTE_NAME = origin 05:18:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:18:15 # $SEMVER_USER_NAME = edgex-jenkins 05:18:15 # $SEMVER_BRANCH = master 05:18:15 # $SEMVER_TEMP = /tmp/semver-916370689 05:18:15 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:18:15 # '/tmp/semver-916370689' -> '/w/workspace/dgexfoundry_device-sdk-go_master/.semver' 05:18:15 # -> Force: false 05:18:15 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 05:18:16 $ docker exec --env ******** --env ******** ab03c041854512808e072701d5d2bd4c210d3e2c0bca91d8dbadade687fcdee8 ssh-agent -k 05:18:16 unset SSH_AUTH_SOCK; 05:18:16 unset SSH_AGENT_PID; 05:18:16 echo Agent pid 52 killed; 05:18:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:18:16 + git semver [Pipeline] } 05:18:16 $ docker stop --time=1 ab03c041854512808e072701d5d2bd4c210d3e2c0bca91d8dbadade687fcdee8 05:18:18 $ docker rm -f ab03c041854512808e072701d5d2bd4c210d3e2c0bca91d8dbadade687fcdee8 [Pipeline] // withDockerContainer [Pipeline] sh 05:18:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:18:19 Stashed 1 file(s) [Pipeline] echo 05:18:19 [edgeXSemver]: initialized semver on version 1.3.1-dev.11 [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 05:18:34 Still waiting to schedule task 05:18:34 Waiting for next available executor on ‘centos7-docker-4c-2g’ 05:18:34 Still waiting to schedule task 05:18:34 ‘prd-ubuntu18.04-docker-arm64-4c-16g-16994’ is offline 05:20:27 Running on prd-ubuntu18.04-docker-arm64-4c-16g-16997 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 05:20:27 Running in /w/workspace/device-sdk-go/98 [Pipeline] { [Pipeline] checkout 05:20:33 using credential edgex-jenkins-ssh 05:20:33 Cloning the remote Git repository 05:20:33 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:20:33 > git init /w/workspace/device-sdk-go/98 # timeout=10 05:20:33 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:20:33 > git --version # timeout=10 05:20:33 > git --version # 'git version 2.17.1' 05:20:33 using GIT_SSH to set credentials SSH Credentials for GitHub 05:20:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:20:35 Checking out Revision 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 (master) 05:20:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:20:34 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:20:34 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:20:34 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:20:34 using GIT_SSH to set credentials SSH Credentials for GitHub 05:20:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:20:35 > git config core.sparsecheckout # timeout=10 05:20:35 > git checkout -f 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 # timeout=10 05:20:40 Commit message: "Merge pull request #703 from hahattan/release-note" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:20:41 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 05:20:42 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:20:42 + sudo service docker restart+ 05:20:42 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:20:45 provisioning config files... 05:20:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/98@tmp/config7656465620852540444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:20:45 ---> docker-login.sh 05:20:45 nexus3.edgexfoundry.org:10001 05:20:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:47 Configure a credential helper to remove this warning. See 05:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:47 05:20:47 Login Succeeded 05:20:47 nexus3.edgexfoundry.org:10002 05:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:47 Configure a credential helper to remove this warning. See 05:20:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:47 05:20:47 Login Succeeded 05:20:47 nexus3.edgexfoundry.org:10003 05:20:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:48 Configure a credential helper to remove this warning. See 05:20:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:48 05:20:48 Login Succeeded 05:20:48 nexus3.edgexfoundry.org:10004 05:20:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:48 Configure a credential helper to remove this warning. See 05:20:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:48 05:20:48 Login Succeeded 05:20:48 docker.io 05:20:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:20:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:20:49 Configure a credential helper to remove this warning. See 05:20:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:20:49 05:20:49 Login Succeeded 05:20:49 ---> docker-login.sh ends [Pipeline] } 05:20:49 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:20:49 ========================================================= 05:20:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 05:20:49 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:20:50 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 05:20:50 Sending build context to Docker daemon 2.415MB 05:20:50 Step 1/8 : ARG BASE=golang:1.15-alpine 05:20:50 Step 2/8 : FROM ${BASE} 05:20:50 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:20:50 5f621e34cdf4: Pulling fs layer 05:20:50 a4357932f1b6: Pulling fs layer 05:20:50 18c013af1878: Pulling fs layer 05:20:50 00ac8860ef70: Pulling fs layer 05:20:50 63d7cb157983: Pulling fs layer 05:20:50 b116817d02f9: Pulling fs layer 05:20:50 745a02a5169b: Pulling fs layer 05:20:50 b116817d02f9: Waiting 05:20:50 00ac8860ef70: Waiting 05:20:50 63d7cb157983: Waiting 05:20:50 745a02a5169b: Waiting 05:20:50 18c013af1878: Verifying Checksum 05:20:50 18c013af1878: Download complete 05:20:50 a4357932f1b6: Verifying Checksum 05:20:50 a4357932f1b6: Download complete 05:20:50 63d7cb157983: Verifying Checksum 05:20:50 63d7cb157983: Download complete 05:20:51 b116817d02f9: Verifying Checksum 05:20:51 b116817d02f9: Download complete 05:20:51 5f621e34cdf4: Verifying Checksum 05:20:51 5f621e34cdf4: Pull complete 05:20:52 a4357932f1b6: Pull complete 05:20:52 18c013af1878: Pull complete 05:20:53 745a02a5169b: Verifying Checksum 05:20:53 745a02a5169b: Download complete 05:20:54 00ac8860ef70: Verifying Checksum 05:20:54 00ac8860ef70: Download complete 05:21:05 00ac8860ef70: Pull complete 05:21:05 63d7cb157983: Pull complete 05:21:05 b116817d02f9: Pull complete 05:21:06 Running on prd-centos7-docker-4c-2g-16998 in /w/workspace/dgexfoundry_device-sdk-go_master [Pipeline] { [Pipeline] ws 05:21:06 Running in /w/workspace/device-sdk-go/98 [Pipeline] { [Pipeline] checkout 05:21:09 using credential edgex-jenkins-ssh 05:21:09 Cloning the remote Git repository 05:21:10 745a02a5169b: Pull complete 05:21:10 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 05:21:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 05:21:10 ---> b7e6874047d6 05:21:10 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:21:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:21:09 > git init /w/workspace/device-sdk-go/98 # timeout=10 05:21:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:21:09 > git --version # timeout=10 05:21:09 > git --version # 'git version 2.24.3' 05:21:09 using GIT_SSH to set credentials SSH Credentials for GitHub 05:21:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:21:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:21:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:21:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:21:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:21:10 using GIT_SSH to set credentials SSH Credentials for GitHub 05:21:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 05:21:10 Checking out Revision 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 (master) 05:21:10 > git config core.sparsecheckout # timeout=10 05:21:10 > git checkout -f 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 # timeout=10 05:21:12 ---> Running in 7514b52593b1 05:21:12 Removing intermediate container 7514b52593b1 05:21:12 ---> df9113de8289 05:21:12 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:21:12 ---> Running in a6f2ab6821c7 05:21:14 Commit message: "Merge pull request #703 from hahattan/release-note" 05:21:14 Removing intermediate container a6f2ab6821c7 05:21:14 ---> dac3b334c174 05:21:14 Step 5/8 : RUN apk add --no-cache make git [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 05:21:15 ---> Running in 1246cd5b6f84 [Pipeline] sh 05:21:15 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 05:21:16 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 05:21:16 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:21:16 + sudo service docker restart 05:21:16 + true 05:21:16 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 05:21:17 provisioning config files... 05:21:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/98@tmp/config8052423064016704453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:21:18 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:21:18 ---> docker-login.sh 05:21:18 nexus3.edgexfoundry.org:10001 05:21:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:18 Configure a credential helper to remove this warning. See 05:21:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:18 05:21:18 Login Succeeded 05:21:18 nexus3.edgexfoundry.org:10002 05:21:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:18 Configure a credential helper to remove this warning. See 05:21:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:18 05:21:18 Login Succeeded 05:21:18 nexus3.edgexfoundry.org:10003 05:21:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:18 Configure a credential helper to remove this warning. See 05:21:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:18 05:21:18 Login Succeeded 05:21:19 nexus3.edgexfoundry.org:10004 05:21:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:19 Configure a credential helper to remove this warning. See 05:21:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:19 05:21:19 Login Succeeded 05:21:19 docker.io 05:21:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:21:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:21:19 Configure a credential helper to remove this warning. See 05:21:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:21:19 05:21:19 Login Succeeded 05:21:19 ---> docker-login.sh ends [Pipeline] } 05:21:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:21:19 ========================================================= 05:21:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 05:21:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 05:21:20 + 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 . 05:21:20 Sending build context to Docker daemon 2.416MB 05:21:20 Step 1/8 : ARG BASE=golang:1.15-alpine 05:21:20 Step 2/8 : FROM ${BASE} 05:21:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 05:21:20 188c0c94c7c5: Pulling fs layer 05:21:20 0ef7d3d256c8: Pulling fs layer 05:21:20 de9db76c5a1d: Pulling fs layer 05:21:20 bca2f99d35d6: Pulling fs layer 05:21:20 93359f2a8cfa: Pulling fs layer 05:21:20 7c6f9722023f: Pulling fs layer 05:21:20 a35cf1a2eb13: Pulling fs layer 05:21:20 93359f2a8cfa: Waiting 05:21:20 7c6f9722023f: Waiting 05:21:20 a35cf1a2eb13: Waiting 05:21:20 bca2f99d35d6: Waiting 05:21:20 de9db76c5a1d: Verifying Checksum 05:21:20 de9db76c5a1d: Download complete 05:21:20 0ef7d3d256c8: Verifying Checksum 05:21:20 0ef7d3d256c8: Download complete 05:21:20 93359f2a8cfa: Verifying Checksum 05:21:20 93359f2a8cfa: Download complete 05:21:20 7c6f9722023f: Verifying Checksum 05:21:20 7c6f9722023f: Download complete 05:21:20 188c0c94c7c5: Verifying Checksum 05:21:20 188c0c94c7c5: Download complete 05:21:20 OK: 142 MiB in 39 packages 05:21:20 188c0c94c7c5: Pull complete 05:21:21 0ef7d3d256c8: Pull complete 05:21:21 de9db76c5a1d: Pull complete 05:21:21 Removing intermediate container 1246cd5b6f84 05:21:21 ---> fa1b6bf6688b 05:21:21 Step 6/8 : WORKDIR /device-sdk-go 05:21:21 ---> Running in 7a8c8e8b2560 05:21:22 Removing intermediate container 7a8c8e8b2560 05:21:22 ---> b42f6042ebd1 05:21:22 Step 7/8 : COPY . . 05:21:23 ---> 2e4cd47335f5 05:21:23 Step 8/8 : RUN go mod download 05:21:23 ---> Running in 76fd8def7e7b 05:21:23 bca2f99d35d6: Verifying Checksum 05:21:23 bca2f99d35d6: Download complete 05:21:23 a35cf1a2eb13: Verifying Checksum 05:21:23 a35cf1a2eb13: Download complete 05:21:30 bca2f99d35d6: Pull complete 05:21:30 93359f2a8cfa: Pull complete 05:21:30 7c6f9722023f: Pull complete 05:21:34 a35cf1a2eb13: Pull complete 05:21:34 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 05:21:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 05:21:34 ---> a62c8e92a672 05:21:34 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:21:34 ---> Running in 48167eed0d2c 05:21:34 Removing intermediate container 48167eed0d2c 05:21:34 ---> 6d1a4ee3f5b9 05:21:34 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:21:34 ---> Running in f12c72049c94 05:21:35 Removing intermediate container f12c72049c94 05:21:35 ---> f0728ce8236e 05:21:35 Step 5/8 : RUN apk add --no-cache make git 05:21:35 ---> Running in 67904ac2179e 05:21:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:21:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:21:39 OK: 166 MiB in 39 packages 05:21:39 Removing intermediate container 67904ac2179e 05:21:39 ---> 6cfe02063709 05:21:39 Step 6/8 : WORKDIR /device-sdk-go 05:21:39 ---> Running in 4c7c43d505c0 05:21:39 Removing intermediate container 4c7c43d505c0 05:21:39 ---> 7728b64f03de 05:21:39 Step 7/8 : COPY . . 05:21:41 ---> 9894edb8d097 05:21:41 Step 8/8 : RUN go mod download 05:21:41 ---> Running in be84f159e668 05:21:45 Removing intermediate container 76fd8def7e7b 05:21:45 ---> 010abe88d449 05:21:45 Successfully built 010abe88d449 05:21:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:21:46 + docker inspect -f . ci-base-image-arm64 05:21:46 . [Pipeline] withDockerContainer 05:21:46 prd-ubuntu18.04-docker-arm64-4c-16g-16997 does not seem to be running inside a container 05:21:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/98 -v /w/workspace/device-sdk-go/98:/w/workspace/device-sdk-go/98:rw,z -v /w/workspace/device-sdk-go/98@tmp:/w/workspace/device-sdk-go/98@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:21:47 $ docker top d321235aa9af8d64bbc73ad32661024ed493a2a2e61e6683d31294065b5a93d4 -eo pid,comm [Pipeline] { [Pipeline] sh 05:21:48 + go version 05:21:48 go version go1.15.5 linux/arm64 [Pipeline] } 05:21:48 $ docker stop --time=1 d321235aa9af8d64bbc73ad32661024ed493a2a2e61e6683d31294065b5a93d4 05:21:50 $ docker rm -f d321235aa9af8d64bbc73ad32661024ed493a2a2e61e6683d31294065b5a93d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:21:51 + docker inspect -f . ci-base-image-arm64 05:21:51 . [Pipeline] withDockerContainer 05:21:52 prd-ubuntu18.04-docker-arm64-4c-16g-16997 does not seem to be running inside a container 05:21:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/98 -v /w/workspace/device-sdk-go/98:/w/workspace/device-sdk-go/98:rw,z -v /w/workspace/device-sdk-go/98@tmp:/w/workspace/device-sdk-go/98@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:21:53 $ docker top 4b78885316b58d7a899a582ffca58ad142013a7e95914fa06747387b82b0d007 -eo pid,comm [Pipeline] { [Pipeline] sh 05:21:54 + make test 05:21:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:21:59 Removing intermediate container be84f159e668 05:21:59 ---> 21f42f048171 05:21:59 Successfully built 21f42f048171 05:21:59 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:21:59 + docker inspect -f . ci-base-image-x86_64 05:21:59 . [Pipeline] withDockerContainer 05:21:59 prd-centos7-docker-4c-2g-16998 does not seem to be running inside a container 05:22:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/98 -v /w/workspace/device-sdk-go/98:/w/workspace/device-sdk-go/98:rw,z -v /w/workspace/device-sdk-go/98@tmp:/w/workspace/device-sdk-go/98@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:22:00 $ docker top 753cfa3729cb28a5a1184a1e114359d3b970867dc6bd34308fba42976ffbfa18 -eo pid,comm [Pipeline] { [Pipeline] sh 05:22:01 + go version 05:22:01 go version go1.15.5 linux/amd64 [Pipeline] } 05:22:01 $ docker stop --time=1 753cfa3729cb28a5a1184a1e114359d3b970867dc6bd34308fba42976ffbfa18 05:22:02 $ docker rm -f 753cfa3729cb28a5a1184a1e114359d3b970867dc6bd34308fba42976ffbfa18 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:22:03 + docker inspect -f . ci-base-image-x86_64 05:22:03 . [Pipeline] withDockerContainer 05:22:03 prd-centos7-docker-4c-2g-16998 does not seem to be running inside a container 05:22:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/98 -v /w/workspace/device-sdk-go/98:/w/workspace/device-sdk-go/98:rw,z -v /w/workspace/device-sdk-go/98@tmp:/w/workspace/device-sdk-go/98@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:22:04 $ docker top aedaaa7ac0a3964b744eb6c8017e8c333cb51388733592b3f05154135ecd002a -eo pid,comm [Pipeline] { [Pipeline] sh 05:22:04 + make test 05:22:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:22:11 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:22:16 ? github.com/edgexfoundry/device-sdk-go [no test files] 05:22:26 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:22:26 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:22:26 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:22:26 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.057s coverage: 19.4% of statements 05:22:28 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.458s coverage: 97.1% of statements 05:22:55 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 05:22:55 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 05:22:55 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 05:22:55 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.150s coverage: 19.4% of statements 05:22:59 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.203s coverage: 97.1% of statements 05:23:00 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.056s coverage: 9.4% of statements 05:23:00 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.061s coverage: 21.9% of statements 05:23:00 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:23:00 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.223s coverage: 42.5% of statements 05:23:00 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:23:00 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.282s coverage: 68.9% of statements 05:23:00 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:23:00 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:23:00 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:23:00 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 05:23:00 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.068s coverage: 53.8% of statements 05:23:00 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 05:23:00 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 05:23:00 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 05:23:00 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.286s coverage: 68.9% of statements 05:23:00 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.054s coverage: 4.2% of statements 05:23:00 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:23:00 GO111MODULE=on go vet ./... 05:23:07 gofmt -l . 05:23:07 [ "`gofmt -l .`" = "" ] 05:23:07 ./bin/test-attribution-txt.sh 05:23:08 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:23:08 $ docker stop --time=1 aedaaa7ac0a3964b744eb6c8017e8c333cb51388733592b3f05154135ecd002a 05:23:09 $ docker rm -f aedaaa7ac0a3964b744eb6c8017e8c333cb51388733592b3f05154135ecd002a [Pipeline] // withDockerContainer [Pipeline] sh 05:23:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:23:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:23:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:23:12 + ls -al . 05:23:12 total 208 05:23:12 drwxrwxr-x. 10 jenkins jenkins 4096 Dec 21 05:23 . 05:23:12 drwxrwxr-x. 4 jenkins jenkins 30 Dec 21 05:21 .. 05:23:12 drwxrwxr-x. 2 jenkins jenkins 64 Dec 21 05:21 bin 05:23:12 -rw-r--r--. 1 jenkins jenkins 130526 Dec 21 05:22 coverage.out 05:23:12 -rw-rw-r--. 1 jenkins jenkins 936 Dec 21 05:21 Dockerfile.build 05:23:12 -rw-rw-r--. 1 jenkins jenkins 140 Dec 21 05:21 .dockerignore 05:23:12 drwxrwxr-x. 4 jenkins jenkins 48 Dec 21 05:21 example 05:23:12 drwxrwxr-x. 8 jenkins jenkins 162 Dec 21 05:21 .git 05:23:12 drwxrwxr-x. 2 jenkins jenkins 103 Dec 21 05:21 .github 05:23:12 -rw-rw-r--. 1 jenkins jenkins 138 Dec 21 05:21 .gitignore 05:23:12 -rw-r--r--. 1 jenkins jenkins 488 Dec 21 05:23 go.mod 05:23:12 -rw-r--r--. 1 jenkins jenkins 13631 Dec 21 05:23 go.sum 05:23:12 drwxrwxr-x. 15 jenkins jenkins 211 Dec 21 05:21 internal 05:23:12 -rw-rw-r--. 1 jenkins jenkins 901 Dec 21 05:21 Jenkinsfile 05:23:12 -rw-rw-r--. 1 jenkins jenkins 11341 Dec 21 05:21 LICENSE 05:23:12 -rw-rw-r--. 1 jenkins jenkins 1013 Dec 21 05:21 Makefile 05:23:12 drwxrwxr-x. 4 jenkins jenkins 26 Dec 21 05:21 openapi 05:23:12 drwxrwxr-x. 5 jenkins jenkins 50 Dec 21 05:21 pkg 05:23:12 -rw-rw-r--. 1 jenkins jenkins 5897 Dec 21 05:21 README.md 05:23:12 -rw-rw-r--. 1 jenkins jenkins 6616 Dec 21 05:21 RELEASE-NOTES.txt 05:23:12 drwxrwxr-x. 4 jenkins jenkins 54 Dec 21 05:21 snap 05:23:12 -rw-rw-r--. 1 jenkins jenkins 12 Dec 21 05:18 VERSION 05:23:12 -rw-rw-r--. 1 jenkins jenkins 222 Dec 21 05:21 version.go [Pipeline] isUnix [Pipeline] sh 05:23:12 + 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=93569aefbcf2dcd4d18a31fcf2c190494ae30d88 --label arch=amd64 --label version=1.3.1-dev.11 . 05:23:13 Sending build context to Docker daemon 2.547MB 05:23:13 Step 1/24 : ARG BASE=golang:1.15-alpine 05:23:13 Step 2/24 : FROM ${BASE} AS builder 05:23:13 ---> 21f42f048171 05:23:13 Step 3/24 : ARG MAKE='make build' 05:23:13 ---> Running in 862d81773087 05:23:13 Removing intermediate container 862d81773087 05:23:13 ---> c40bb2f9b9b1 05:23:13 Step 4/24 : WORKDIR /device-sdk-go 05:23:14 ---> Running in f70e00ea9f14 05:23:14 Removing intermediate container f70e00ea9f14 05:23:14 ---> 095ef1d50619 05:23:14 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:23:14 ---> Running in c4d91cdabb24 05:23:14 Removing intermediate container c4d91cdabb24 05:23:14 ---> 06bd3f045365 05:23:14 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:23:14 ---> Running in ff8a8bec3fd4 05:23:15 Removing intermediate container ff8a8bec3fd4 05:23:15 ---> 878c3415ec3f 05:23:15 Step 7/24 : RUN apk add --update --no-cache make git 05:23:15 ---> Running in f8e4e7d84de5 05:23:15 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 05:23:17 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 05:23:18 OK: 166 MiB in 39 packages 05:23:18 Removing intermediate container f8e4e7d84de5 05:23:18 ---> 4c2c768534e0 05:23:18 Step 8/24 : COPY . . 05:23:19 ---> 126d7efbe754 05:23:19 Step 9/24 : RUN ${MAKE} 05:23:19 ---> Running in c5f816ff8128 05:23:20 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.11" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:23:28 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:23:30 Removing intermediate container c5f816ff8128 05:23:30 ---> 4e324fde4d89 05:23:30 Step 10/24 : FROM scratch 05:23:30 ---> 05:23:30 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:23:30 ---> Running in 277b302b1f61 05:23:30 Removing intermediate container 277b302b1f61 05:23:30 ---> caa78d5ed88c 05:23:30 Step 12/24 : ENV APP_PORT=49990 05:23:30 ---> Running in 2ad355c13182 05:23:30 Removing intermediate container 2ad355c13182 05:23:30 ---> 4b78681ba253 05:23:30 Step 13/24 : EXPOSE $APP_PORT 05:23:31 ---> Running in bf37998e99f3 05:23:31 Removing intermediate container bf37998e99f3 05:23:31 ---> c492fdd356f8 05:23:31 Step 14/24 : WORKDIR / 05:23:31 ---> Running in aa0b1d70394f 05:23:31 Removing intermediate container aa0b1d70394f 05:23:31 ---> 78d038e17ed1 05:23:31 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:23:31 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.149s coverage: 9.4% of statements 05:23:31 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.121s coverage: 21.9% of statements 05:23:31 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 05:23:31 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.600s coverage: 42.5% of statements 05:23:31 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 05:23:31 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.786s coverage: 68.9% of statements 05:23:31 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 05:23:31 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 05:23:31 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 05:23:31 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 05:23:31 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.193s coverage: 53.8% of statements 05:23:31 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 05:23:31 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 05:23:31 ? github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http [no test files] 05:23:31 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.909s coverage: 68.9% of statements 05:23:31 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.118s coverage: 4.2% of statements 05:23:31 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 05:23:31 GO111MODULE=on go vet ./... 05:23:32 ---> 46af345a674f 05:23:32 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:23:32 ---> ff06cf8dab92 05:23:32 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:23:32 ---> e8fc7db6f1f1 05:23:32 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:23:32 ---> bdc185b109c4 05:23:32 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:23:33 ---> 86c9f1321f97 05:23:33 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:23:33 ---> Running in 3ec3ffdc3e91 05:23:33 Removing intermediate container 3ec3ffdc3e91 05:23:33 ---> 35b4e480b439 05:23:33 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:23:33 ---> Running in 8cbdbf2b7128 05:23:33 Removing intermediate container 8cbdbf2b7128 05:23:33 ---> ed2ec9b7ca2d 05:23:33 Step 22/24 : LABEL arch=amd64 05:23:33 ---> Running in 9a2d8c10f62a 05:23:33 Removing intermediate container 9a2d8c10f62a 05:23:33 ---> 41a9edb309f0 05:23:33 Step 23/24 : LABEL git_sha=93569aefbcf2dcd4d18a31fcf2c190494ae30d88 05:23:33 ---> Running in 17a4bc2745e6 05:23:33 Removing intermediate container 17a4bc2745e6 05:23:33 ---> c1100a7f6e5e 05:23:33 Step 24/24 : LABEL version=1.3.1-dev.11 05:23:33 ---> Running in 1e2ca253f1ac 05:23:34 Removing intermediate container 1e2ca253f1ac 05:23:34 ---> 9e27cad06980 05:23:34 [Warning] One or more build-args [ARCH] were not consumed 05:23:34 Successfully built 9e27cad06980 05:23:34 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] } 05:23:58 gofmt -l . 05:23:58 [ "`gofmt -l .`" = "" ] 05:23:58 ./bin/test-attribution-txt.sh 05:23:59 ./bin/test-go-mod-tidy.sh [Pipeline] } 05:23:59 $ docker stop --time=1 4b78885316b58d7a899a582ffca58ad142013a7e95914fa06747387b82b0d007 05:24:02 $ docker rm -f 4b78885316b58d7a899a582ffca58ad142013a7e95914fa06747387b82b0d007 [Pipeline] // withDockerContainer [Pipeline] sh 05:24:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:24:03 Warning: overwriting stash ‘coverage-report’ 05:24:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:24:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:24:05 + ls -al . 05:24:05 total 244 05:24:05 drwxrwxr-x 10 jenkins jenkins 4096 Dec 21 05:23 . 05:24:05 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 05:20 .. 05:24:05 -rw-rw-r-- 1 jenkins jenkins 140 Dec 21 05:20 .dockerignore 05:24:05 drwxrwxr-x 8 jenkins jenkins 4096 Dec 21 05:20 .git 05:24:05 drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 05:20 .github 05:24:05 -rw-rw-r-- 1 jenkins jenkins 138 Dec 21 05:20 .gitignore 05:24:05 -rw-rw-r-- 1 jenkins jenkins 936 Dec 21 05:20 Dockerfile.build 05:24:05 -rw-rw-r-- 1 jenkins jenkins 901 Dec 21 05:20 Jenkinsfile 05:24:05 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 21 05:20 LICENSE 05:24:05 -rw-rw-r-- 1 jenkins jenkins 1013 Dec 21 05:20 Makefile 05:24:05 -rw-rw-r-- 1 jenkins jenkins 5897 Dec 21 05:20 README.md 05:24:05 -rw-rw-r-- 1 jenkins jenkins 6616 Dec 21 05:20 RELEASE-NOTES.txt 05:24:05 -rw-rw-r-- 1 jenkins jenkins 12 Dec 21 05:18 VERSION 05:24:05 drwxrwxr-x 2 jenkins jenkins 4096 Dec 21 05:20 bin 05:24:05 -rw-r--r-- 1 jenkins jenkins 130526 Dec 21 05:23 coverage.out 05:24:05 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 05:20 example 05:24:05 -rw-r--r-- 1 jenkins jenkins 488 Dec 21 05:23 go.mod 05:24:05 -rw-r--r-- 1 jenkins jenkins 13631 Dec 21 05:23 go.sum 05:24:05 drwxrwxr-x 15 jenkins jenkins 4096 Dec 21 05:20 internal 05:24:05 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 05:20 openapi 05:24:05 drwxrwxr-x 5 jenkins jenkins 4096 Dec 21 05:20 pkg 05:24:05 drwxrwxr-x 4 jenkins jenkins 4096 Dec 21 05:20 snap 05:24:05 -rw-rw-r-- 1 jenkins jenkins 222 Dec 21 05:20 version.go [Pipeline] isUnix [Pipeline] sh 05:24:05 + 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=93569aefbcf2dcd4d18a31fcf2c190494ae30d88 --label arch=arm64 --label version=1.3.1-dev.11 . 05:24:06 Sending build context to Docker daemon 2.546MB 05:24:06 Step 1/24 : ARG BASE=golang:1.15-alpine 05:24:06 Step 2/24 : FROM ${BASE} AS builder 05:24:06 ---> 010abe88d449 05:24:06 Step 3/24 : ARG MAKE='make build' 05:24:06 ---> Running in 95daaff8f117 05:24:06 Removing intermediate container 95daaff8f117 05:24:06 ---> 77a10d22c648 05:24:06 Step 4/24 : WORKDIR /device-sdk-go 05:24:07 ---> Running in 5d4da48d5ca9 05:24:07 Removing intermediate container 5d4da48d5ca9 05:24:07 ---> 599ffd580696 05:24:07 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:24:07 ---> Running in a0bb51766dab 05:24:08 Removing intermediate container a0bb51766dab 05:24:08 ---> cc72101e1087 05:24:08 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:24:08 ---> Running in f3180146250f 05:24:10 Removing intermediate container f3180146250f 05:24:10 ---> 834cb0b1b179 05:24:10 Step 7/24 : RUN apk add --update --no-cache make git 05:24:10 ---> Running in 3b763579354b 05:24:11 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 05:24:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 05:24:13 OK: 142 MiB in 39 packages 05:24:14 Removing intermediate container 3b763579354b 05:24:14 ---> ae732689bada 05:24:14 Step 8/24 : COPY . . 05:24:16 ---> 32bbccb87afc 05:24:16 Step 9/24 : RUN ${MAKE} 05:24:16 ---> Running in bc2d73babdec 05:24:17 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go.Version=1.3.1-dev.11" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:24:44 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 05:24:44 Removing intermediate container bc2d73babdec 05:24:44 ---> cf5dd52f70c3 05:24:44 Step 10/24 : FROM scratch 05:24:44 ---> 05:24:44 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:24:44 ---> Running in a030e2b690a3 05:24:44 Removing intermediate container a030e2b690a3 05:24:44 ---> 604a01f22eac 05:24:44 Step 12/24 : ENV APP_PORT=49990 05:24:44 ---> Running in 9c55eaedd6ad 05:24:44 Removing intermediate container 9c55eaedd6ad 05:24:44 ---> d68bca87850c 05:24:44 Step 13/24 : EXPOSE $APP_PORT 05:24:45 ---> Running in 9e04fcab6922 05:24:45 Removing intermediate container 9e04fcab6922 05:24:45 ---> 0916aea2884c 05:24:45 Step 14/24 : WORKDIR / 05:24:45 ---> Running in d8a7c8a8b6e3 05:24:45 Removing intermediate container d8a7c8a8b6e3 05:24:45 ---> 321f29751e11 05:24:45 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 05:24:46 ---> 837cbff8e6d5 05:24:46 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 05:24:47 ---> c24c7abe7189 05:24:47 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 05:24:48 ---> 05ebaca0abdd 05:24:48 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 05:24:49 ---> 6d430fab0701 05:24:49 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 05:24:49 ---> 50338769be67 05:24:49 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 05:24:49 ---> Running in dda6211d4af2 05:24:50 Removing intermediate container dda6211d4af2 05:24:50 ---> 17718c447e0d 05:24:50 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:24:50 ---> Running in 35a23ed5781d 05:24:51 Removing intermediate container 35a23ed5781d 05:24:51 ---> e1cd9375b73b 05:24:51 Step 22/24 : LABEL arch=arm64 05:24:51 ---> Running in a64755c1ad90 05:24:51 Removing intermediate container a64755c1ad90 05:24:51 ---> 531cabb38c60 05:24:51 Step 23/24 : LABEL git_sha=93569aefbcf2dcd4d18a31fcf2c190494ae30d88 05:24:51 ---> Running in 0943fb3239ac 05:24:51 Removing intermediate container 0943fb3239ac 05:24:51 ---> 1d8dfcc4c83f 05:24:51 Step 24/24 : LABEL version=1.3.1-dev.11 05:24:52 ---> Running in ae637af0ef1d 05:24:52 Removing intermediate container ae637af0ef1d 05:24:52 ---> c07f5b207b3d 05:24:52 [Warning] One or more build-args [ARCH] were not consumed 05:24:52 Successfully built c07f5b207b3d 05:24:52 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 05:24:54 provisioning config files... 05:24:54 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config3271225384820227728tmp [Pipeline] { [Pipeline] sh 05:24:54 + set +x 05:24:54 + curl -s https://codecov.io/bash 05:24:54 + bash -s -- 05:24:55 05:24:55 _____ _ 05:24:55 / ____| | | 05:24:55 | | ___ __| | ___ ___ _____ __ 05:24:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:24:55 | |___| (_) | (_| | __/ (_| (_) \ V / 05:24:55 \_____\___/ \__,_|\___|\___\___/ \_/ 05:24:55 Bash-20201217-3d3df35 05:24:55 05:24:55 05:24:55 git version 2.24.3 found 05:24:55 curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 05:24:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 05:24:55 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets found 05:24:55 ==> Jenkins CI detected. 05:24:55 project root: . 05:24:55 --> token set from env 05:24:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:24:55 ==> Running gcov in . (disable via -X gcov) 05:24:55 ==> Python coveragepy not found 05:24:55 ==> Searching for coverage reports in: 05:24:55 + . 05:24:55 -> Found 1 reports 05:24:55 ==> Detecting git/mercurial file structure 05:24:55 ==> Reading reports 05:24:55 + ./coverage.out bytes=130526 05:24:55 ==> Appending adjustments 05:24:55 https://docs.codecov.io/docs/fixing-reports 05:24:55 + Found adjustments 05:24:55 ==> Gzipping contents 05:24:55 24K /tmp/codecov.9t927p.gz 05:24:55 ==> Uploading reports 05:24:55 url: https://codecov.io 05:24:55 query: branch=master&commit=93569aefbcf2dcd4d18a31fcf2c190494ae30d88&build=98&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F98%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:24:55 -> Pinging Codecov 05:24:55 https://codecov.io/upload/v4?package=bash-20201217-3d3df35&token=secret&branch=master&commit=93569aefbcf2dcd4d18a31fcf2c190494ae30d88&build=98&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmaster%2F98%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:24:55 -> Uploading to 05:24:55 https://storage.googleapis.com/codecov/v4/raw/2020-12-21/7E55EF52A471D76F132DFD9A03CDDE97/93569aefbcf2dcd4d18a31fcf2c190494ae30d88/9b560b19-0e10-4ba3-82d1-1bd370ca5b85.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201221%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201221T052455Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=099080180cf39727e576ad1316b59c9be44e3c459b6f0c4b951d6f1aa2064385 05:24:55 % Total % Received % Xferd Average Speed Time Time Time Current 05:24:55 Dload Upload Total Spent Left Speed 05:24:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21279 0 0 100 21279 0 40919 --:--:-- --:--:-- --:--:-- 41000 05:24:56 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/93569aefbcf2dcd4d18a31fcf2c190494ae30d88 [Pipeline] } 05:24:56 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:24:57 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:24:57 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:24:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:24:57 05:24:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 05:24:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:24:58 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:24:58 188c0c94c7c5: Pulling fs layer 05:24:58 0ef7d3d256c8: Pulling fs layer 05:24:58 de9db76c5a1d: Pulling fs layer 05:24:58 0eba1c9be4d2: Pulling fs layer 05:24:58 0d57e429df01: Pulling fs layer 05:24:58 4e4be7b47b0d: Pulling fs layer 05:24:58 e1f770b5df2f: Pulling fs layer 05:24:58 85a0685a4137: Pulling fs layer 05:24:58 0eba1c9be4d2: Waiting 05:24:58 0d57e429df01: Waiting 05:24:58 e1f770b5df2f: Waiting 05:24:58 4e4be7b47b0d: Waiting 05:24:58 de9db76c5a1d: Verifying Checksum 05:24:58 de9db76c5a1d: Download complete 05:24:58 0ef7d3d256c8: Verifying Checksum 05:24:58 0ef7d3d256c8: Download complete 05:24:58 0d57e429df01: Verifying Checksum 05:24:58 0d57e429df01: Download complete 05:24:58 188c0c94c7c5: Verifying Checksum 05:24:58 188c0c94c7c5: Download complete 05:24:58 4e4be7b47b0d: Verifying Checksum 05:24:58 4e4be7b47b0d: Download complete 05:24:58 188c0c94c7c5: Pull complete 05:24:58 0ef7d3d256c8: Pull complete 05:24:58 de9db76c5a1d: Pull complete 05:25:00 e1f770b5df2f: Download complete 05:25:02 0eba1c9be4d2: Verifying Checksum 05:25:02 0eba1c9be4d2: Download complete 05:25:02 85a0685a4137: Verifying Checksum 05:25:02 85a0685a4137: Download complete 05:25:08 0eba1c9be4d2: Pull complete 05:25:08 0d57e429df01: Pull complete 05:25:08 4e4be7b47b0d: Pull complete 05:25:09 e1f770b5df2f: Pull complete 05:25:18 85a0685a4137: Pull complete 05:25:18 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 05:25:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:25:18 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 05:25:18 prd-centos7-docker-4c-2g-16996 does not seem to be running inside a container 05:25:18 $ 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 05:25:19 $ docker top 0786f6f77f6bf6922af48531ce1d755c3d3f3e2cf80445804f66b411956db786 -eo pid,comm [Pipeline] { [Pipeline] echo 05:25:19 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 05:25:19 + set -o pipefail 05:25:19 + snyk monitor '--org=edgex-jenkins' 05:25:25 05:25:25 Monitoring /w/workspace/dgexfoundry_device-sdk-go_master (github.com/edgexfoundry/device-sdk-go)... 05:25:25 05:25:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/057beb34-70d8-4945-961c-fe027db76abc/history/1f92e3b4-dd3c-403a-ae1f-8ef63c798c41 05:25:25 05:25:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:25:25 05:25:25 05:25:25 You have reached your monthly limit of 300 private tests for your edgex-jenkins org. 05:25:25 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 05:25:25 $ docker stop --time=1 0786f6f77f6bf6922af48531ce1d755c3d3f3e2cf80445804f66b411956db786 05:25:27 $ docker rm -f 0786f6f77f6bf6922af48531ce1d755c3d3f3e2cf80445804f66b411956db786 [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 05:25:29 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:25:29 provisioning config files... 05:25:29 copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2394615289410207685tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:25:29 --> edgex-publish-swagger.sh 05:25:29 === Publish openapi/v1 API === 05:25:29 [publishToSwagger] Publishing the API Docs [openapi/v1] to Swagger 05:25:29 [publishToSwagger] Publishing API Name [device-sdk] 05:25:29 % Total % Received % Xferd Average Speed Time Time Time Current 05:25:29 Dload Upload Total Spent Left Speed 05:25:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 20188 0 0 100 20188 0 25719 --:--:-- --:--:-- --:--:-- 25717 100 20188 0 0 100 20188 0 25715 --:--:-- --:--:-- --:--:-- 25717 05:25:30 05:25:30 05:25:30 === Publish openapi/v2 API === 05:25:30 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 05:25:30 [publishToSwagger] Publishing API Name [device-sdk] 05:25:30 % Total % Received % Xferd Average Speed Time Time Time Current 05:25:30 Dload Upload Total Spent Left Speed 05:25:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 49274 0 0 100 49274 0 61908 --:--:-- --:--:-- --:--:-- 61902 100 49274 0 0 100 49274 0 61898 --:--:-- --:--:-- --:--:-- 61902 05:25:31 05:25:31 [Pipeline] } 05:25:31 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 05:25:32 + git log --format=format:%s -1 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 [Pipeline] isUnix [Pipeline] sh 05:25:32 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:25:32 . [Pipeline] withDockerContainer 05:25:32 prd-centos7-docker-4c-2g-16996 does not seem to be running inside a container 05:25:32 $ 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 05:25:33 $ docker top 5df62fc2d15cc2e669e8afd941575f1fdc39934259bf8beac9a8979d088c62f0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:25:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:25:33 [ssh-agent] Looking for ssh-agent implementation... 05:25:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:25:33 $ docker exec 5df62fc2d15cc2e669e8afd941575f1fdc39934259bf8beac9a8979d088c62f0 ssh-agent 05:25:34 SSH_AUTH_SOCK=/tmp/ssh-3O0fnxFujSqb/agent.12 05:25:34 SSH_AGENT_PID=18 05:25:34 Running ssh-add (command line suppressed) 05:25:34 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5502680750158777639.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_5502680750158777639.key) 05:25:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:25:34 + git semver tag 05:25:34 # -> Open(): unable to determine branch for HEAD 05:25:34 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 05:25:34 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 05:25:34 # $SEMVER_REMOTE_NAME = origin 05:25:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:25:34 # $SEMVER_USER_NAME = edgex-jenkins 05:25:34 # $SEMVER_BRANCH = master 05:25:34 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 05:25:34 # 93569aefbcf2dcd4d18a31fcf2c190494ae30d88 HEAD 05:25:34 # -> Force: false 05:25:34 # 2630b0366a04e9934a956ddcaf8584a2ac7a4ff6 refs/tags/v1.3.1-dev.11 [Pipeline] } 05:25:34 $ docker exec --env ******** --env ******** 5df62fc2d15cc2e669e8afd941575f1fdc39934259bf8beac9a8979d088c62f0 ssh-agent -k 05:25:34 unset SSH_AUTH_SOCK; 05:25:34 unset SSH_AGENT_PID; 05:25:34 echo Agent pid 18 killed; 05:25:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:25:35 + git semver [Pipeline] } 05:25:35 $ docker stop --time=1 5df62fc2d15cc2e669e8afd941575f1fdc39934259bf8beac9a8979d088c62f0 05:25:36 $ docker rm -f 5df62fc2d15cc2e669e8afd941575f1fdc39934259bf8beac9a8979d088c62f0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 05:25:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:25:37 05:25:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 05:25:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:25:37 0.23.1-centos7: Pulling from edgex-lftools 05:25:37 ab5ef0e58194: Pulling fs layer 05:25:37 9712f1f96733: Pulling fs layer 05:25:37 63f879dbbcfc: Pulling fs layer 05:25:37 0d9ebad4ef96: Pulling fs layer 05:25:37 e9a5061849ea: Pulling fs layer 05:25:37 d747dcd14b5f: Pulling fs layer 05:25:37 2de7ff778b66: Pulling fs layer 05:25:37 0d9ebad4ef96: Waiting 05:25:37 e9a5061849ea: Waiting 05:25:37 d747dcd14b5f: Waiting 05:25:37 2de7ff778b66: Waiting 05:25:37 9712f1f96733: Verifying Checksum 05:25:37 9712f1f96733: Download complete 05:25:39 63f879dbbcfc: Download complete 05:25:39 e9a5061849ea: Verifying Checksum 05:25:39 e9a5061849ea: Download complete 05:25:39 d747dcd14b5f: Verifying Checksum 05:25:39 d747dcd14b5f: Download complete 05:25:39 0d9ebad4ef96: Download complete 05:25:39 2de7ff778b66: Verifying Checksum 05:25:39 2de7ff778b66: Download complete 05:25:39 ab5ef0e58194: Verifying Checksum 05:25:39 ab5ef0e58194: Download complete 05:25:43 ab5ef0e58194: Pull complete 05:25:43 9712f1f96733: Pull complete 05:25:46 63f879dbbcfc: Pull complete 05:25:53 0d9ebad4ef96: Pull complete 05:25:53 e9a5061849ea: Pull complete 05:25:53 d747dcd14b5f: Pull complete 05:25:57 2de7ff778b66: Pull complete 05:25:57 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:25:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:25:57 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 05:25:57 prd-centos7-docker-4c-2g-16996 does not seem to be running inside a container 05:25:57 $ 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 05:26:01 $ docker top 0100326ca0d8faf95967e1877bc17b88951f0be14dcf631ef720b88362a485f3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:26:01 provisioning config files... 05:26:01 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config701351843121772747tmp 05:26:01 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config7144124960102561038tmp 05:26:01 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config2178635646543601567tmp [Pipeline] { [Pipeline] echo 05:26:02 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:26:02 ---> sigul-configuration.sh 05:26:02 gpg: directory `/root/.gnupg' created 05:26:02 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:26:02 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:26:02 gpg: keyring `/root/.gnupg/secring.gpg' created 05:26:02 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:26:02 gpg: CAST5 encrypted data 05:26:02 gpg: encrypted with 1 passphrase 05:26:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:26:02 + mkdir /home/jenkins 05:26:02 + mkdir /home/jenkins/sigul [Pipeline] sh 05:26:03 + 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 05:26:03 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:26:03 ---> sigul-install.sh 05:26:10 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 05:26:10 + git tag --list 05:26:10 0.7.1 05:26:10 delhi-tag 05:26:10 v1.0.0 05:26:10 v1.1.0 05:26:10 v1.1.1 05:26:10 v1.1.2 05:26:10 v1.2.0 05:26:10 v1.2.1 05:26:10 v1.2.2 05:26:10 v1.2.3 05:26:10 v1.2.4-dev.1 05:26:10 v1.2.4-dev.10 05:26:10 v1.2.4-dev.11 05:26:10 v1.2.4-dev.12 05:26:10 v1.2.4-dev.13 05:26:10 v1.2.4-dev.14 05:26:10 v1.2.4-dev.15 05:26:10 v1.2.4-dev.16 05:26:10 v1.2.4-dev.17 05:26:10 v1.2.4-dev.18 05:26:10 v1.2.4-dev.19 05:26:10 v1.2.4-dev.2 05:26:10 v1.2.4-dev.20 05:26:10 v1.2.4-dev.21 05:26:10 v1.2.4-dev.22 05:26:10 v1.2.4-dev.23 05:26:10 v1.2.4-dev.24 05:26:10 v1.2.4-dev.25 05:26:10 v1.2.4-dev.26 05:26:10 v1.2.4-dev.27 05:26:10 v1.2.4-dev.28 05:26:10 v1.2.4-dev.29 05:26:10 v1.2.4-dev.3 05:26:10 v1.2.4-dev.30 05:26:10 v1.2.4-dev.31 05:26:10 v1.2.4-dev.32 05:26:10 v1.2.4-dev.33 05:26:10 v1.2.4-dev.34 05:26:10 v1.2.4-dev.35 05:26:10 v1.2.4-dev.4 05:26:10 v1.2.4-dev.5 05:26:10 v1.2.4-dev.6 05:26:10 v1.2.4-dev.7 05:26:10 v1.2.4-dev.8 05:26:10 v1.2.4-dev.9 05:26:10 v1.3.0 05:26:10 v1.3.1-dev.1 05:26:10 v1.3.1-dev.10 05:26:10 v1.3.1-dev.11 05:26:10 v1.3.1-dev.2 05:26:10 v1.3.1-dev.3 05:26:10 v1.3.1-dev.4 05:26:10 v1.3.1-dev.5 05:26:10 v1.3.1-dev.6 05:26:10 v1.3.1-dev.7 05:26:10 v1.3.1-dev.8 05:26:10 v1.3.1-dev.9 [Pipeline] sh 05:26:10 + lftools sign git-tag v1.3.1-dev.11 05:26:11 Signing Git tag with Sigul... 05:26:11 Signing v1.3.1-dev.11 [Pipeline] echo 05:26:12 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:26:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:26:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:26:12 $ docker stop --time=1 0100326ca0d8faf95967e1877bc17b88951f0be14dcf631ef720b88362a485f3 05:26:14 $ docker rm -f 0100326ca0d8faf95967e1877bc17b88951f0be14dcf631ef720b88362a485f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 05:26:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:26:15 . [Pipeline] withDockerContainer 05:26:15 prd-centos7-docker-4c-2g-16996 does not seem to be running inside a container 05:26:16 $ 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 05:26:16 $ docker top d7aaf7956c4157a33b347fb0349e18527289c2e5b60619d663984aef87a80742 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:26:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:26:16 [ssh-agent] Looking for ssh-agent implementation... 05:26:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:26:17 $ docker exec d7aaf7956c4157a33b347fb0349e18527289c2e5b60619d663984aef87a80742 ssh-agent 05:26:17 SSH_AUTH_SOCK=/tmp/ssh-3OCJ9OhtcvNm/agent.12 05:26:17 SSH_AGENT_PID=17 05:26:17 Running ssh-add (command line suppressed) 05:26:17 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8729901278225663356.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_8729901278225663356.key) 05:26:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:26:18 + git semver bump pre 05:26:18 # -> Open(): unable to determine branch for HEAD 05:26:18 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 05:26:18 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 05:26:18 # $SEMVER_REMOTE_NAME = origin 05:26:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:26:18 # $SEMVER_USER_NAME = edgex-jenkins 05:26:18 # $SEMVER_BRANCH = master 05:26:18 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver 05:26:18 1.3.1-dev.12 [Pipeline] } 05:26:18 $ docker exec --env ******** --env ******** d7aaf7956c4157a33b347fb0349e18527289c2e5b60619d663984aef87a80742 ssh-agent -k 05:26:18 unset SSH_AUTH_SOCK; 05:26:18 unset SSH_AGENT_PID; 05:26:18 echo Agent pid 17 killed; 05:26:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:26:18 + git semver [Pipeline] } 05:26:18 $ docker stop --time=1 d7aaf7956c4157a33b347fb0349e18527289c2e5b60619d663984aef87a80742 05:26:20 $ docker rm -f d7aaf7956c4157a33b347fb0349e18527289c2e5b60619d663984aef87a80742 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 05:26:20 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:26:20 . [Pipeline] withDockerContainer 05:26:20 prd-centos7-docker-4c-2g-16996 does not seem to be running inside a container 05:26: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 05:26:21 $ docker top 2a97765f5c9b1e39996c3f00f8e640ed4e34a7172448a29acec3b49f0c060cda -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:26:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:26:21 [ssh-agent] Looking for ssh-agent implementation... 05:26:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:26:21 $ docker exec 2a97765f5c9b1e39996c3f00f8e640ed4e34a7172448a29acec3b49f0c060cda ssh-agent 05:26:21 SSH_AUTH_SOCK=/tmp/ssh-Y4UJyNKS9pgS/agent.13 05:26:21 SSH_AGENT_PID=18 05:26:22 Running ssh-add (command line suppressed) 05:26:22 Identity added: /w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4782686867140269495.key (/w/workspace/dgexfoundry_device-sdk-go_master@tmp/private_key_4782686867140269495.key) 05:26:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:26:22 + git semver push 05:26:22 # -> Open(): unable to determine branch for HEAD 05:26:22 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.git 05:26:22 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_master 05:26:22 # $SEMVER_REMOTE_NAME = origin 05:26:22 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:26:22 # $SEMVER_USER_NAME = edgex-jenkins 05:26:22 # $SEMVER_BRANCH = master 05:26:22 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_master/.semver [Pipeline] } 05:26:29 $ docker exec --env ******** --env ******** 2a97765f5c9b1e39996c3f00f8e640ed4e34a7172448a29acec3b49f0c060cda ssh-agent -k 05:26:29 unset SSH_AUTH_SOCK; 05:26:29 unset SSH_AGENT_PID; 05:26:29 echo Agent pid 18 killed; 05:26:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:26:29 + git semver [Pipeline] } 05:26:29 $ docker stop --time=1 2a97765f5c9b1e39996c3f00f8e640ed4e34a7172448a29acec3b49f0c060cda 05:26:31 $ docker rm -f 2a97765f5c9b1e39996c3f00f8e640ed4e34a7172448a29acec3b49f0c060cda [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 05:26:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:26:33 ---> package-listing.sh 05:26:33 ++ facter osfamily 05:26:33 ++ tr '[:upper:]' '[:lower:]' 05:26:33 + OS_FAMILY=redhat 05:26:33 + workspace=/w/workspace/dgexfoundry_device-sdk-go_master 05:26:33 + START_PACKAGES=/tmp/packages_start.txt 05:26:33 + END_PACKAGES=/tmp/packages_end.txt 05:26:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:26:33 + PACKAGES=/tmp/packages_start.txt 05:26:33 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 05:26:33 + PACKAGES=/tmp/packages_end.txt 05:26:33 + case "${OS_FAMILY}" in 05:26:33 + rpm -qa 05:26:33 + sort 05:26:38 + '[' -f /tmp/packages_start.txt ']' 05:26:38 + '[' -f /tmp/packages_end.txt ']' 05:26:38 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:26:38 + '[' /w/workspace/dgexfoundry_device-sdk-go_master ']' 05:26:38 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_master/archives/ 05:26:38 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_master/archives/ [Pipeline] echo 05:26:38 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:26:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:26:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:26:38 05:26:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 05:26:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:26:39 alpine: Pulling from edgex-lftools-log-publisher 05:26:39 df20fa9351a1: Pulling fs layer 05:26:39 36b3adc4ff6f: Pulling fs layer 05:26:39 8ad3a11d3b57: Pulling fs layer 05:26:39 46f8f816bc3b: Pulling fs layer 05:26:39 93b61091891f: Pulling fs layer 05:26:39 93b9cdb0e59b: Pulling fs layer 05:26:39 5e14af77c1be: Pulling fs layer 05:26:39 01666e4c0597: Pulling fs layer 05:26:39 aa168da1d23b: Pulling fs layer 05:26:39 93b61091891f: Waiting 05:26:39 93b9cdb0e59b: Waiting 05:26:39 5e14af77c1be: Waiting 05:26:39 01666e4c0597: Waiting 05:26:39 aa168da1d23b: Waiting 05:26:39 46f8f816bc3b: Waiting 05:26:39 36b3adc4ff6f: Verifying Checksum 05:26:39 36b3adc4ff6f: Download complete 05:26:39 46f8f816bc3b: Verifying Checksum 05:26:39 46f8f816bc3b: Download complete 05:26:39 df20fa9351a1: Verifying Checksum 05:26:39 df20fa9351a1: Download complete 05:26:39 93b9cdb0e59b: Download complete 05:26:39 93b61091891f: Verifying Checksum 05:26:39 93b61091891f: Download complete 05:26:39 5e14af77c1be: Verifying Checksum 05:26:39 5e14af77c1be: Download complete 05:26:39 01666e4c0597: Verifying Checksum 05:26:39 01666e4c0597: Download complete 05:26:39 8ad3a11d3b57: Verifying Checksum 05:26:39 8ad3a11d3b57: Download complete 05:26:39 df20fa9351a1: Pull complete 05:26:40 36b3adc4ff6f: Pull complete 05:26:41 aa168da1d23b: Download complete 05:26:41 8ad3a11d3b57: Pull complete 05:26:41 46f8f816bc3b: Pull complete 05:26:42 93b61091891f: Pull complete 05:26:42 93b9cdb0e59b: Pull complete 05:26:42 5e14af77c1be: Pull complete 05:26:42 01666e4c0597: Pull complete 05:26:48 aa168da1d23b: Pull complete 05:26:48 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 05:26:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 05:26:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 05:26:49 prd-centos7-docker-4c-2g-16996 does not seem to be running inside a container 05:26:49 $ 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 05:26:52 $ docker top 302ae8eb66ce38546022fd802c670f4d8c53a9f6b254506b597b6fb2b18c3705 -eo pid,comm [Pipeline] { [Pipeline] sh 05:26:52 + touch /tmp/pre-build-complete [Pipeline] sh 05:26:52 + mkdir -p /var/log/sa [Pipeline] sh 05:26:53 + ls /var/log/sa-host 05:26:53 + sadf -c /var/log/sa-host/sa21 05:26:53 file_magic: OK 05:26:53 HZ: Using current value: 100 05:26:53 file_header: OK 05:26:53 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 05:26:53 Statistics: 05:26:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 05:26:53 File successfully converted to sysstat format version 12.2.1 05:26:53 + sadf -c /var/log/sa-host/sa23 05:26:53 file_magic: OK 05:26:53 HZ: Using current value: 100 05:26:53 file_header: OK 05:26:53 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 05:26:53 Statistics: 05:26:53 Hnuu...uuuununununu... 05:26:53 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:26:53 provisioning config files... 05:26:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_master@tmp/config1088255420701421104tmp [Pipeline] { [Pipeline] echo 05:26:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:26:53 ---> create-netrc.sh [Pipeline] } 05:26:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 05:26:54 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 05:26:54 ---> python-tools-install.sh [Pipeline] echo 05:26:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:26:54 ---> sudo-logs.sh 05:26:54 Archiving 'sudo' log.. [Pipeline] echo 05:26:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:26:55 ---> job-cost.sh 05:26:55 lf-activate-venv: SKIPPING 05:26:55 INFO: No Stack... 05:26:56 INFO: Retrieving Pricing Info for: v1-standard-2 05:26:56 INFO: Archiving Costs [Pipeline] echo 05:26:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:26:57 ---> logs-deploy.sh 05:26:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/master/98 05:26:57 INFO: archiving workspace using pattern(s): 05:26:58 Archives upload complete. 05:26:58 INFO: archiving logs to Nexus 05:26:59 ---> uname -a: 05:26:59 Linux prd-centos7-docker-4c-2g-16996.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 05:26:59 05:26:59 05:26:59 ---> lscpu: 05:26:59 Architecture: x86_64 05:26:59 CPU op-mode(s): 32-bit, 64-bit 05:26:59 Byte Order: Little Endian 05:26:59 Address sizes: 40 bits physical, 48 bits virtual 05:26:59 CPU(s): 4 05:26:59 On-line CPU(s) list: 0-3 05:26:59 Thread(s) per core: 1 05:26:59 Core(s) per socket: 1 05:26:59 Socket(s): 4 05:26:59 NUMA node(s): 1 05:26:59 Vendor ID: GenuineIntel 05:26:59 CPU family: 6 05:26:59 Model: 44 05:26:59 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 05:26:59 Stepping: 1 05:26:59 CPU MHz: 2933.442 05:26:59 BogoMIPS: 5866.88 05:26:59 Virtualization: VT-x 05:26:59 Hypervisor vendor: KVM 05:26:59 Virtualization type: full 05:26:59 L1d cache: 128 KiB 05:26:59 L1i cache: 128 KiB 05:26:59 L2 cache: 16 MiB 05:26:59 L3 cache: 64 MiB 05:26:59 NUMA node0 CPU(s): 0-3 05:26:59 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 05:26:59 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 05:26:59 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 05:26:59 Vulnerability Meltdown: Mitigation; PTI 05:26:59 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 05:26:59 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 05:26:59 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 05:26:59 Vulnerability Srbds: Not affected 05:26:59 Vulnerability Tsx async abort: Not affected 05:26:59 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 05:26:59 05:26:59 05:26:59 ---> nproc: 05:26:59 4 05:26:59 05:26:59 05:26:59 ---> df -h: 05:26:59 Filesystem Size Used Available Use% Mounted on 05:26:59 overlay 50.0G 8.5G 41.4G 17% / 05:26:59 tmpfs 64.0M 0 64.0M 0% /dev 05:26:59 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 05:26:59 shm 64.0M 0 64.0M 0% /dev/shm 05:26:59 /dev/vda1 50.0G 8.5G 41.4G 17% /facter-os 05:26:59 /dev/vda1 50.0G 8.5G 41.4G 17% /etc/resolv.conf 05:26:59 /dev/vda1 50.0G 8.5G 41.4G 17% /etc/hostname 05:26:59 /dev/vda1 50.0G 8.5G 41.4G 17% /etc/hosts 05:26:59 /dev/vda1 50.0G 8.5G 41.4G 17% /w/workspace/dgexfoundry_device-sdk-go_master 05:26:59 /dev/vda1 50.0G 8.5G 41.4G 17% /w/workspace/dgexfoundry_device-sdk-go_master@tmp 05:26:59 /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/sa-host 05:26:59 /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/secure 05:26:59 /dev/vda1 50.0G 8.5G 41.4G 17% /var/log/auth.log 05:26:59 /dev/vda1 50.0G 8.5G 41.4G 17% /run/cloud-init/result.json 05:26:59 05:26:59 05:26:59 ---> free -m: 05:26:59 total used free shared buff/cache available 05:26:59 Mem: 1837 797 152 0 887 975 05:26:59 Swap: 1023 2 1021 05:26:59 05:26:59 05:26:59 ---> ip addr: 05:26:59 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 05:26:59 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 05:26:59 inet 127.0.0.1/8 scope host lo 05:26:59 valid_lft forever preferred_lft forever 05:26:59 inet6 ::1/128 scope host 05:26:59 valid_lft forever preferred_lft forever 05:26:59 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 05:26:59 link/ether fa:16:3e:df:53:39 brd ff:ff:ff:ff:ff:ff 05:26:59 inet 10.30.123.38/23 brd 10.30.123.255 scope global dynamic eth0 05:26:59 valid_lft 85829sec preferred_lft 85829sec 05:26:59 inet6 fe80::f816:3eff:fedf:5339/64 scope link 05:26:59 valid_lft forever preferred_lft forever 05:26:59 3: docker0: mtu 1500 qdisc noqueue state DOWN 05:26:59 link/ether 02:42:36:61:d6:3a brd ff:ff:ff:ff:ff:ff 05:26:59 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 05:26:59 valid_lft forever preferred_lft forever 05:26:59 inet6 fe80::42:36ff:fe61:d63a/64 scope link 05:26:59 valid_lft forever preferred_lft forever 05:26:59 05:26:59 05:26:59 ---> sar -b -r -n DEV: 05:26:59 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/21/20 _x86_64_ (4 CPU) 05:26:59 05:26:59 05:17:17 LINUX RESTART (4 CPU) 05:26:59 05:26:59 05:18:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 05:26:59 05:19:01 30.55 10.89 19.66 0.00 4352.18 2999.88 0.00 05:26:59 05:20:01 1.88 0.00 1.88 0.00 0.00 37.13 0.00 05:26:59 05:21:01 0.22 0.00 0.22 0.00 0.00 2.58 0.00 05:26:59 05:22:01 0.27 0.00 0.27 0.00 0.00 3.46 0.00 05:26:59 05:23:01 0.27 0.00 0.27 0.00 0.00 4.13 0.00 05:26:59 05:24:01 0.30 0.00 0.30 0.00 0.00 4.55 0.00 05:26:59 05:25:01 5.64 0.10 5.54 0.00 19.71 3842.72 0.00 05:26:59 05:26:02 436.45 209.67 226.78 0.00 10959.16 60857.83 0.00 05:26:59 Average: 59.48 27.60 31.88 0.00 1917.39 8474.24 0.00 05:26:59 05:26:59 05:18:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 05:26:59 05:19:01 156760 0 592924 31.51 2620 1129240 1085524 37.05 436960 1088780 20 05:26:59 05:20:01 162316 0 587364 31.22 2620 1129244 1057472 36.09 433952 1086644 8 05:26:59 05:21:01 158192 0 591480 31.44 2620 1129252 1057604 36.09 435696 1089328 8 05:26:59 05:22:01 157492 0 592180 31.47 2620 1129252 1057664 36.10 459848 1065712 8 05:26:59 05:23:01 156776 0 592888 31.51 2620 1129260 1057544 36.09 459600 1066904 20 05:26:59 05:24:01 156660 0 593000 31.52 2620 1129264 1057544 36.09 468152 1058448 12 05:26:59 05:25:01 77428 0 627480 33.35 2620 1174016 1260780 43.03 497240 1101932 97092 05:26:59 05:26:02 177620 0 739748 39.32 1492 962684 1186496 40.49 528984 848020 28 05:26:59 Average: 150406 0 614633 32.67 2479 1114026 1102578 37.63 465054 1050721 12150 05:26:59 05:26:59 05:18:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 05:26:59 05:19:01 eth0 84.08 68.66 360.81 29.63 0.00 0.00 0.00 0.00 05:26:59 05:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:26:59 05:19:01 docker0 9.81 8.57 1.45 20.89 0.00 0.00 0.00 0.00 05:26:59 05:20:01 eth0 0.75 0.03 0.06 0.00 0.00 0.00 0.00 0.00 05:26:59 05:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:26:59 05:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:26:59 05:21:01 eth0 2.55 1.10 1.88 0.22 0.00 0.00 0.00 0.00 05:26:59 05:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:26:59 05:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:26:59 05:22:01 eth0 0.55 0.42 0.29 0.24 0.00 0.00 0.00 0.00 05:26:59 05:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:26:59 05:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:26:59 05:23:01 eth0 0.22 0.17 0.08 0.07 0.00 0.00 0.00 0.00 05:26:59 05:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:26:59 05:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:26:59 05:24:01 eth0 0.17 0.13 0.07 0.01 0.00 0.00 0.00 0.00 05:26:59 05:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:26:59 05:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:26:59 05:25:01 eth0 383.55 350.28 3508.36 26.59 0.00 0.00 0.00 0.00 05:26:59 05:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:26:59 05:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:26:59 05:26:02 veth6b90523 0.00 0.05 0.00 0.00 0.00 0.00 0.00 0.00 05:26:59 05:26:02 eth0 509.82 453.29 3953.24 89.96 0.00 0.00 0.00 0.00 05:26:59 05:26:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:26:59 05:26:02 docker0 34.03 32.33 3.11 155.72 0.00 0.00 0.00 0.00 05:26:59 Average: veth6b90523 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 05:26:59 Average: eth0 122.76 109.31 978.51 18.35 0.00 0.00 0.00 0.00 05:26:59 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 05:26:59 Average: docker0 5.48 5.12 0.57 22.09 0.00 0.00 0.00 0.00 05:26:59 05:26:59