Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 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 a5c854593eac886f27ddeefb8920871132e8ed78 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a5c854593eac886f27ddeefb8920871132e8ed78 # timeout=10 Commit message: "Merge pull request #303 from ernestojeda/fix-docker-login-issue" > 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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-rest-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-14913 in /w/workspace/gexfoundry_device-rest-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-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 (master) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 Commit message: "Merge pull request #59 from siggiskulason/feat-snap-add-startup-config" > git rev-list --no-walk cbc1fb126fca16d22f986b5cd5c305caa6710614 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:28:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:28:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:28:03 ========================================================= 17:28:03 EdgeX Global Pipelines Version Info 17:28:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:28:04 ------------------- 17:28:04 stable info: 17:28:04 ------------------- 17:28:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:28:04 Commit SHA: a5c854593eac886f27ddeefb8920871132e8ed78 17:28:04 Message: update stable to v1.0.169 17:28:05 ------------------- 17:28:05 experimental info: 17:28:05 ------------------- 17:28:05 Commited By: **** collab-it+edgex@linuxfoundation.org 17:28:05 Commit SHA: 48b313303ce5ba460cd13c4c603c4b280f104d53 17:28:05 Message: update experimental to v1.0.171 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:28:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 17:28:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 17:28:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:28:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:28:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:28:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 17:28:06 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:28:06 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 17:28:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:28:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:28:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:28:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-rest-go [Pipeline] echo 17:28:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:28:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:28:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:28:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:28:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:28:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:28:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:28:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:28:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:28:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:28:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:28:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:28:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:28:08 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 17:28:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 17:28:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 17:28:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 17:28:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 [Pipeline] echo 17:28:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3b3704f [Pipeline] echo 17:28:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:28:09 provisioning config files... 17:28:09 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7382030901632678607tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:28:09 ---> docker-login.sh 17:28:09 nexus3.edgexfoundry.org:10001 17:28:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:10 Configure a credential helper to remove this warning. See 17:28:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:10 17:28:10 Login Succeeded 17:28:10 nexus3.edgexfoundry.org:10002 17:28:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:10 Configure a credential helper to remove this warning. See 17:28:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:10 17:28:10 Login Succeeded 17:28:10 nexus3.edgexfoundry.org:10003 17:28:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:10 Configure a credential helper to remove this warning. See 17:28:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:10 17:28:10 Login Succeeded 17:28:10 nexus3.edgexfoundry.org:10004 17:28:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:10 Configure a credential helper to remove this warning. See 17:28:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:10 17:28:10 Login Succeeded 17:28:10 docker.io 17:28:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:28:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:28:11 Configure a credential helper to remove this warning. See 17:28:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:28:11 17:28:11 Login Succeeded 17:28:11 ---> docker-login.sh ends [Pipeline] } 17:28:11 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 17:28:12 + git log --format=format:%s -1 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 [Pipeline] echo 17:28:12 GIT_COMMIT: 3b3704fceb7b97b6b41b020a3a5d9692cb604e42, Commit Message: Merge pull request #59 from siggiskulason/feat-snap-add-startup-config [Pipeline] echo 17:28:12 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:28:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:28:13 17:28:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:28:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:28:13 latest: Pulling from edgex-devops/git-semver 17:28:13 31603596830f: Pulling fs layer 17:28:13 2a8b12db71e7: Pulling fs layer 17:28:13 6ca5941a6612: Pulling fs layer 17:28:13 ecc8261a40a4: Pulling fs layer 17:28:13 ecc8261a40a4: Waiting 17:28:13 2a8b12db71e7: Verifying Checksum 17:28:13 2a8b12db71e7: Download complete 17:28:13 31603596830f: Verifying Checksum 17:28:13 31603596830f: Download complete 17:28:13 ecc8261a40a4: Verifying Checksum 17:28:13 ecc8261a40a4: Download complete 17:28:13 6ca5941a6612: Verifying Checksum 17:28:13 6ca5941a6612: Download complete 17:28:14 31603596830f: Pull complete 17:28:14 2a8b12db71e7: Pull complete 17:28:15 6ca5941a6612: Pull complete 17:28:15 ecc8261a40a4: Pull complete 17:28:15 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 17:28:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:28:15 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:28:15 prd-centos7-docker-4c-2g-14913 does not seem to be running inside a container 17:28:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:28:17 $ docker top 60f7a26cbde3e067b2319d40e1ef77b5205f69a432108930c9f50fda7a41c536 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:28:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:28:17 [ssh-agent] Looking for ssh-agent implementation... 17:28:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:28:18 $ docker exec 60f7a26cbde3e067b2319d40e1ef77b5205f69a432108930c9f50fda7a41c536 ssh-agent 17:28:18 SSH_AUTH_SOCK=/tmp/ssh-n8z8bGZS4ynJ/agent.12 17:28:18 SSH_AGENT_PID=17 17:28:18 Running ssh-add (command line suppressed) 17:28:18 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4695468009414506237.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4695468009414506237.key) 17:28:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:28:18 + git tag --points-at HEAD [Pipeline] } 17:28:18 $ docker exec --env ******** --env ******** 60f7a26cbde3e067b2319d40e1ef77b5205f69a432108930c9f50fda7a41c536 ssh-agent -k 17:28:19 unset SSH_AUTH_SOCK; 17:28:19 unset SSH_AGENT_PID; 17:28:19 echo Agent pid 17 killed; 17:28:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:28:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:28:19 [ssh-agent] Looking for ssh-agent implementation... 17:28:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:28:19 $ docker exec 60f7a26cbde3e067b2319d40e1ef77b5205f69a432108930c9f50fda7a41c536 ssh-agent 17:28:19 SSH_AUTH_SOCK=/tmp/ssh-hY04nm4GvLpG/agent.47 17:28:19 SSH_AGENT_PID=52 17:28:19 Running ssh-add (command line suppressed) 17:28:19 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1205274200334768565.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_1205274200334768565.key) 17:28:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:28:20 + git semver init 17:28:20 # -> Open(): unable to determine branch for HEAD 17:28:20 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 17:28:20 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 17:28:20 # $SEMVER_REMOTE_NAME = origin 17:28:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:28:20 # $SEMVER_USER_NAME = edgex-jenkins 17:28:20 # $SEMVER_BRANCH = master 17:28:20 # $SEMVER_TEMP = /tmp/semver-805552290 17:28:20 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 17:28:21 # '/tmp/semver-805552290' -> '/w/workspace/gexfoundry_device-rest-go_master/.semver' 17:28:21 # -> Force: false 17:28:21 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 17:28:21 $ docker exec --env ******** --env ******** 60f7a26cbde3e067b2319d40e1ef77b5205f69a432108930c9f50fda7a41c536 ssh-agent -k 17:28:21 unset SSH_AUTH_SOCK; 17:28:21 unset SSH_AGENT_PID; 17:28:21 echo Agent pid 52 killed; 17:28:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:28:22 + git semver [Pipeline] } 17:28:22 $ docker stop --time=1 60f7a26cbde3e067b2319d40e1ef77b5205f69a432108930c9f50fda7a41c536 17:28:23 $ docker rm -f 60f7a26cbde3e067b2319d40e1ef77b5205f69a432108930c9f50fda7a41c536 [Pipeline] // withDockerContainer [Pipeline] sh 17:28:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:28:24 Stashed 1 file(s) [Pipeline] echo 17:28:24 [edgeXSemver]: initialized semver on version 1.2.1-dev.1 [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 17:28:40 Still waiting to schedule task 17:28:40 ‘prd-centos7-builder-2c-1g-14365’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-14898’ is offline; ‘prd-centos7-docker-4c-2g-14900’ is offline; ‘prd-centos7-docker-4c-2g-14914’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-13329’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-14908’ doesn’t have label ‘centos7-docker-4c-2g’ 17:28:40 Still waiting to schedule task 17:28:40 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 17:30:04 Running on prd-centos7-docker-4c-2g-14917 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 17:30:04 Running in /w/workspace/device-rest-go/28 [Pipeline] { [Pipeline] checkout 17:30:08 using credential edgex-jenkins-ssh 17:30:08 Cloning the remote Git repository 17:30:07 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 17:30:07 > git init /w/workspace/device-rest-go/28 # timeout=10 17:30:07 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:30:07 > git --version # timeout=10 17:30:07 > git --version # 'git version 2.24.3' 17:30:07 using GIT_SSH to set credentials SSH Credentials for GitHub 17:30:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:30:09 Checking out Revision 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 (master) 17:30:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:30:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:30:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:30:08 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:30:08 using GIT_SSH to set credentials SSH Credentials for GitHub 17:30:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 17:30:09 > git config core.sparsecheckout # timeout=10 17:30:09 > git checkout -f 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 17:30:13 Commit message: "Merge pull request #59 from siggiskulason/feat-snap-add-startup-config" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:30:14 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 17:30:14 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:30:15 + sudo service docker restart 17:30:15 + true 17:30:15 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:30:16 provisioning config files... 17:30:16 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/28@tmp/config3299256639120830914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:30:17 ---> docker-login.sh 17:30:17 nexus3.edgexfoundry.org:10001 17:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:17 Configure a credential helper to remove this warning. See 17:30:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:17 17:30:17 Login Succeeded 17:30:17 nexus3.edgexfoundry.org:10002 17:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:17 Configure a credential helper to remove this warning. See 17:30:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:17 17:30:17 Login Succeeded 17:30:17 nexus3.edgexfoundry.org:10003 17:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:17 Configure a credential helper to remove this warning. See 17:30:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:17 17:30:17 Login Succeeded 17:30:17 nexus3.edgexfoundry.org:10004 17:30:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:17 Configure a credential helper to remove this warning. See 17:30:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:17 17:30:17 Login Succeeded 17:30:17 docker.io 17:30:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:18 Configure a credential helper to remove this warning. See 17:30:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:18 17:30:18 Login Succeeded 17:30:18 ---> docker-login.sh ends [Pipeline] } 17:30:18 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:30:18 ========================================================= 17:30:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 17:30:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:30:18 + 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 . 17:30:18 Sending build context to Docker daemon 84.48kB 17:30:18 Step 1/10 : ARG BASE=golang:1.15-alpine 17:30:18 Step 2/10 : FROM ${BASE} 17:30:18 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 17:30:18 188c0c94c7c5: Pulling fs layer 17:30:18 0ef7d3d256c8: Pulling fs layer 17:30:18 de9db76c5a1d: Pulling fs layer 17:30:18 bca2f99d35d6: Pulling fs layer 17:30:18 93359f2a8cfa: Pulling fs layer 17:30:18 7c6f9722023f: Pulling fs layer 17:30:18 a35cf1a2eb13: Pulling fs layer 17:30:18 93359f2a8cfa: Waiting 17:30:18 7c6f9722023f: Waiting 17:30:18 a35cf1a2eb13: Waiting 17:30:18 bca2f99d35d6: Waiting 17:30:19 de9db76c5a1d: Verifying Checksum 17:30:19 de9db76c5a1d: Download complete 17:30:19 0ef7d3d256c8: Verifying Checksum 17:30:19 0ef7d3d256c8: Download complete 17:30:19 93359f2a8cfa: Verifying Checksum 17:30:19 93359f2a8cfa: Download complete 17:30:19 188c0c94c7c5: Verifying Checksum 17:30:19 188c0c94c7c5: Download complete 17:30:19 7c6f9722023f: Verifying Checksum 17:30:19 7c6f9722023f: Download complete 17:30:19 188c0c94c7c5: Pull complete 17:30:19 0ef7d3d256c8: Pull complete 17:30:19 de9db76c5a1d: Pull complete 17:30:21 a35cf1a2eb13: Verifying Checksum 17:30:21 a35cf1a2eb13: Download complete 17:30:21 bca2f99d35d6: Verifying Checksum 17:30:21 bca2f99d35d6: Download complete 17:30:26 Running on prd-ubuntu18.04-docker-arm64-4c-16g-14916 in /w/workspace/gexfoundry_device-rest-go_master [Pipeline] { [Pipeline] ws 17:30:26 Running in /w/workspace/device-rest-go/28 [Pipeline] { [Pipeline] checkout 17:30:27 bca2f99d35d6: Pull complete 17:30:27 93359f2a8cfa: Pull complete 17:30:27 7c6f9722023f: Pull complete 17:30:31 using credential edgex-jenkins-ssh 17:30:31 Cloning the remote Git repository 17:30:31 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 17:30:31 > git init /w/workspace/device-rest-go/28 # timeout=10 17:30:31 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:30:31 > git --version # timeout=10 17:30:31 > git --version # 'git version 2.17.1' 17:30:31 using GIT_SSH to set credentials SSH Credentials for GitHub 17:30:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:30:33 Checking out Revision 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 (master) 17:30:32 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:30:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:30:32 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 17:30:33 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 17:30:33 using GIT_SSH to set credentials SSH Credentials for GitHub 17:30:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 17:30:33 > git config core.sparsecheckout # timeout=10 17:30:33 > git checkout -f 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 # timeout=10 17:30:35 a35cf1a2eb13: Pull complete 17:30:35 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 17:30:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 17:30:35 ---> a62c8e92a672 17:30:35 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 17:30:35 ---> Running in cd04f8ef3653 17:30:35 Removing intermediate container cd04f8ef3653 17:30:35 ---> 84793c6a8536 17:30:35 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 17:30:35 ---> Running in 1d424236fa5e 17:30:35 Removing intermediate container 1d424236fa5e 17:30:35 ---> 4d973fa83378 17:30:35 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:30:35 ---> Running in 3481cf19d14a 17:30:35 Removing intermediate container 3481cf19d14a 17:30:35 ---> 0d4497b8d587 17:30:35 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:30:35 ---> Running in 0ad3dde605c2 17:30:36 Removing intermediate container 0ad3dde605c2 17:30:36 ---> 8724fc4ad144 17:30:36 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:30:36 ---> Running in a54751f62ea8 17:30:37 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:30:37 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:30:37 Commit message: "Merge pull request #59 from siggiskulason/feat-snap-add-startup-config" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 17:30:38 OK: 166 MiB in 39 packages [Pipeline] script [Pipeline] { [Pipeline] sh 17:30:38 Removing intermediate container a54751f62ea8 17:30:38 ---> ffb431107201 17:30:38 Step 8/10 : WORKDIR /device-rest-go 17:30:38 ---> Running in c34f4165f0b5 17:30:38 Removing intermediate container c34f4165f0b5 17:30:38 ---> 4d630593e6ce 17:30:38 Step 9/10 : COPY . . 17:30:39 ---> 41bf73447ab4 17:30:39 Step 10/10 : RUN go mod download 17:30:39 ---> Running in 801086f4ec44 17:30:39 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 17:30:39 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:30:40 + true 17:30:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:30:42 provisioning config files... 17:30:42 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/28@tmp/config7804842166146420502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:30:42 ---> docker-login.sh 17:30:42 nexus3.edgexfoundry.org:10001 17:30:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:43 Configure a credential helper to remove this warning. See 17:30:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:43 17:30:43 Login Succeeded 17:30:43 nexus3.edgexfoundry.org:10002 17:30:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:44 Configure a credential helper to remove this warning. See 17:30:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:44 17:30:44 Login Succeeded 17:30:44 nexus3.edgexfoundry.org:10003 17:30:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:45 Configure a credential helper to remove this warning. See 17:30:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:45 17:30:45 Login Succeeded 17:30:45 nexus3.edgexfoundry.org:10004 17:30:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:45 Configure a credential helper to remove this warning. See 17:30:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:45 17:30:45 Login Succeeded 17:30:45 docker.io 17:30:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:30:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:30:46 Configure a credential helper to remove this warning. See 17:30:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:30:46 17:30:46 Login Succeeded 17:30:46 ---> docker-login.sh ends [Pipeline] } 17:30:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:30:46 ========================================================= 17:30:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 17:30:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:30:46 + 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 . 17:30:46 Sending build context to Docker daemon 84.48kB 17:30:47 Step 1/10 : ARG BASE=golang:1.15-alpine 17:30:47 Step 2/10 : FROM ${BASE} 17:30:47 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:30:47 5f621e34cdf4: Pulling fs layer 17:30:47 a4357932f1b6: Pulling fs layer 17:30:47 18c013af1878: Pulling fs layer 17:30:47 00ac8860ef70: Pulling fs layer 17:30:47 63d7cb157983: Pulling fs layer 17:30:47 b116817d02f9: Pulling fs layer 17:30:47 745a02a5169b: Pulling fs layer 17:30:47 b116817d02f9: Waiting 17:30:47 00ac8860ef70: Waiting 17:30:47 63d7cb157983: Waiting 17:30:47 745a02a5169b: Waiting 17:30:47 18c013af1878: Verifying Checksum 17:30:47 18c013af1878: Download complete 17:30:47 a4357932f1b6: Verifying Checksum 17:30:47 a4357932f1b6: Download complete 17:30:47 63d7cb157983: Verifying Checksum 17:30:47 63d7cb157983: Download complete 17:30:47 b116817d02f9: Download complete 17:30:47 5f621e34cdf4: Verifying Checksum 17:30:47 5f621e34cdf4: Download complete 17:30:48 5f621e34cdf4: Pull complete 17:30:48 a4357932f1b6: Pull complete 17:30:48 18c013af1878: Pull complete 17:30:49 745a02a5169b: Verifying Checksum 17:30:49 745a02a5169b: Download complete 17:30:50 00ac8860ef70: Verifying Checksum 17:30:50 00ac8860ef70: Download complete 17:30:57 Removing intermediate container 801086f4ec44 17:30:57 ---> 98fda9609382 17:30:57 Successfully built 98fda9609382 17:30:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 17:30:57 + docker inspect -f . ci-base-image-x86_64 17:30:57 . [Pipeline] withDockerContainer 17:30:57 prd-centos7-docker-4c-2g-14917 does not seem to be running inside a container 17:30:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/28 -v /w/workspace/device-rest-go/28:/w/workspace/device-rest-go/28:rw,z -v /w/workspace/device-rest-go/28@tmp:/w/workspace/device-rest-go/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:30:58 $ docker top b1bb16030787cb8f073c9a018b0e81e184069cf81fa09905e3a53ccf37f84150 -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:59 + go version 17:30:59 go version go1.15.5 linux/amd64 [Pipeline] } 17:30:59 $ docker stop --time=1 b1bb16030787cb8f073c9a018b0e81e184069cf81fa09905e3a53ccf37f84150 17:31:00 $ docker rm -f b1bb16030787cb8f073c9a018b0e81e184069cf81fa09905e3a53ccf37f84150 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) 17:31:01 00ac8860ef70: Pull complete 17:31:01 63d7cb157983: Pull complete [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:31:01 b116817d02f9: Pull complete 17:31:01 + docker inspect -f . ci-base-image-x86_64 17:31:01 . [Pipeline] withDockerContainer 17:31:01 prd-centos7-docker-4c-2g-14917 does not seem to be running inside a container 17:31:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/28 -v /w/workspace/device-rest-go/28:/w/workspace/device-rest-go/28:rw,z -v /w/workspace/device-rest-go/28@tmp:/w/workspace/device-rest-go/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:31:02 $ docker top ed4bc9fba1403d7a7669b93be4864b12c3defcc3a20ffbe0abf4751c626b8870 -eo pid,comm [Pipeline] { [Pipeline] sh 17:31:03 + make test 17:31:03 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:31:03 ? github.com/edgexfoundry/device-rest-go [no test files] 17:31:04 745a02a5169b: Pull complete 17:31:04 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 17:31:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 17:31:05 ---> b7e6874047d6 17:31:05 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 17:31:07 ---> Running in f0aac56503c8 17:31:08 Removing intermediate container f0aac56503c8 17:31:08 ---> 3f48543d211b 17:31:08 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 17:31:08 ---> Running in b8da832b7c68 17:31:08 Removing intermediate container b8da832b7c68 17:31:08 ---> 60d757a59644 17:31:08 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:31:08 ---> Running in 447bcb2124fe 17:31:09 Removing intermediate container 447bcb2124fe 17:31:09 ---> a546685c9e56 17:31:09 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:31:09 ---> Running in e35ec907fdc1 17:31:12 Removing intermediate container e35ec907fdc1 17:31:12 ---> 1c2ae9829e9f 17:31:12 Step 7/10 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:31:12 ---> Running in f9b7bdec741f 17:31:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:31:13 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:31:14 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:31:14 ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 56.3% of statements 17:31:14 OK: 142 MiB in 39 packages 17:31:14 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:31:15 Removing intermediate container f9b7bdec741f 17:31:15 ---> 77660ea4f1dd 17:31:15 Step 8/10 : WORKDIR /device-rest-go 17:31:15 ---> Running in c74fa4aa67e0 17:31:16 Removing intermediate container c74fa4aa67e0 17:31:16 ---> dad1905e5483 17:31:16 Step 9/10 : COPY . . 17:31:16 gofmt -l . 17:31:16 [ "`gofmt -l .`" = "" ] 17:31:16 ./bin/test-go-mod-tidy.sh 17:31:16 ./bin/test-attribution-txt.sh 17:31:17 ---> 7453258e7581 17:31:17 Step 10/10 : RUN go mod download 17:31:17 ---> Running in 89ee05ce0838 [Pipeline] } 17:31:17 $ docker stop --time=1 ed4bc9fba1403d7a7669b93be4864b12c3defcc3a20ffbe0abf4751c626b8870 17:31:19 $ docker rm -f ed4bc9fba1403d7a7669b93be4864b12c3defcc3a20ffbe0abf4751c626b8870 [Pipeline] // withDockerContainer [Pipeline] sh 17:31:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:31:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:31:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:31:21 + ls -al . 17:31:21 total 96 17:31:21 drwxrwxr-x. 8 jenkins jenkins 4096 Dec 7 17:31 . 17:31:21 drwxrwxr-x. 4 jenkins jenkins 30 Dec 7 17:30 .. 17:31:21 -rw-rw-r--. 1 jenkins jenkins 5294 Dec 7 17:30 Attribution.txt 17:31:21 drwxrwxr-x. 2 jenkins jenkins 64 Dec 7 17:30 bin 17:31:21 drwxrwxr-x. 3 jenkins jenkins 32 Dec 7 17:30 cmd 17:31:21 -rw-r--r--. 1 jenkins jenkins 9369 Dec 7 17:31 coverage.out 17:31:21 -rw-rw-r--. 1 jenkins jenkins 1519 Dec 7 17:30 Dockerfile 17:31:21 -rw-rw-r--. 1 jenkins jenkins 989 Dec 7 17:30 Dockerfile.build 17:31:21 -rw-rw-r--. 1 jenkins jenkins 151 Dec 7 17:30 .dockerignore 17:31:21 drwxrwxr-x. 2 jenkins jenkins 93 Dec 7 17:31 driver 17:31:21 drwxrwxr-x. 8 jenkins jenkins 162 Dec 7 17:30 .git 17:31:21 drwxrwxr-x. 2 jenkins jenkins 60 Dec 7 17:30 .github 17:31:21 -rw-rw-r--. 1 jenkins jenkins 339 Dec 7 17:30 .gitignore 17:31:21 -rw-r--r--. 1 jenkins jenkins 267 Dec 7 17:31 go.mod 17:31:21 -rw-r--r--. 1 jenkins jenkins 13790 Dec 7 17:31 go.sum 17:31:21 -rw-rw-r--. 1 jenkins jenkins 680 Dec 7 17:30 Jenkinsfile 17:31:21 -rw-rw-r--. 1 jenkins jenkins 11340 Dec 7 17:30 LICENSE 17:31:21 -rw-rw-r--. 1 jenkins jenkins 951 Dec 7 17:30 Makefile 17:31:21 -rw-rw-r--. 1 jenkins jenkins 5917 Dec 7 17:30 README.md 17:31:21 drwxrwxr-x. 4 jenkins jenkins 71 Dec 7 17:30 snap 17:31:21 -rw-rw-r--. 1 jenkins jenkins 11 Dec 7 17:28 VERSION 17:31:21 -rw-rw-r--. 1 jenkins jenkins 713 Dec 7 17:30 version.go [Pipeline] isUnix [Pipeline] sh 17:31:22 + docker build -t docker-device-rest-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=3b3704fceb7b97b6b41b020a3a5d9692cb604e42 --label arch=amd64 --label version=1.2.1-dev.1 . 17:31:22 Sending build context to Docker daemon 96.26kB 17:31:22 Step 1/25 : ARG BASE=golang:1.15-alpine 17:31:22 Step 2/25 : FROM ${BASE} AS builder 17:31:22 ---> 98fda9609382 17:31:22 Step 3/25 : ARG MAKE='make build' 17:31:22 ---> Running in 4e4aea0f076e 17:31:22 Removing intermediate container 4e4aea0f076e 17:31:22 ---> 506ca5ae71fb 17:31:22 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 17:31:22 ---> Running in 76edd1c34776 17:31:22 Removing intermediate container 76edd1c34776 17:31:22 ---> dae3ca1eebff 17:31:22 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 17:31:22 ---> Running in 376500b01732 17:31:22 Removing intermediate container 376500b01732 17:31:22 ---> 9269b3f0122a 17:31:22 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:31:22 ---> Running in 3061a816cfea 17:31:24 Removing intermediate container 3061a816cfea 17:31:24 ---> d53ad4ac6ec6 17:31:24 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:31:24 ---> Running in edd2e0fc2083 17:31:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:31:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:31:25 OK: 166 MiB in 39 packages 17:31:26 Removing intermediate container edd2e0fc2083 17:31:26 ---> 0ad168b6f7f1 17:31:26 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 17:31:26 ---> Running in 9d5c1e0641dd 17:31:26 Removing intermediate container 9d5c1e0641dd 17:31:26 ---> 6d489d219a73 17:31:26 Step 9/25 : COPY go.mod . 17:31:26 ---> bcb768e4ac1c 17:31:26 Step 10/25 : COPY Makefile . 17:31:26 ---> 866440f3d7ba 17:31:26 Step 11/25 : RUN make update 17:31:27 ---> Running in cf79d3669851 17:31:27 CGO_ENABLED=0 GO111MODULE=on go mod download 17:31:27 Removing intermediate container cf79d3669851 17:31:27 ---> 34db273a04d1 17:31:27 Step 12/25 : COPY . . 17:31:28 ---> 3ec44682c09b 17:31:28 Step 13/25 : RUN $MAKE 17:31:28 ---> Running in afd8ddec54f4 17:31:28 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.1-dev.1" -o cmd/device-rest-go ./cmd 17:31:39 Removing intermediate container 89ee05ce0838 17:31:39 ---> 76b2396c05df 17:31:39 Successfully built 76b2396c05df 17:31:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:31:39 + docker inspect -f . ci-base-image-arm64 17:31:39 . [Pipeline] withDockerContainer 17:31:39 prd-ubuntu18.04-docker-arm64-4c-16g-14916 does not seem to be running inside a container 17:31:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/28 -v /w/workspace/device-rest-go/28:/w/workspace/device-rest-go/28:rw,z -v /w/workspace/device-rest-go/28@tmp:/w/workspace/device-rest-go/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:31:41 Removing intermediate container afd8ddec54f4 17:31:41 ---> 09b94967a4ef 17:31:41 Step 14/25 : FROM alpine:latest 17:31:41 latest: Pulling from library/alpine 17:31:41 188c0c94c7c5: Already exists 17:31:41 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 17:31:41 Status: Downloaded newer image for alpine:latest 17:31:41 ---> d6e46aa2470d 17:31:41 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:31:41 ---> Running in bcae55130f95 17:31:41 Removing intermediate container bcae55130f95 17:31:41 ---> c93028586130 17:31:41 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 17:31:41 ---> Running in 13315e5beb9e 17:31:41 Removing intermediate container 13315e5beb9e 17:31:41 ---> 4dddbb4aa86c 17:31:41 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 17:31:41 ---> 2e0b48ef9a18 17:31:41 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 17:31:41 ---> 4dcd223e7d45 17:31:41 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 17:31:41 $ docker top d3451f77686401d02cd435e580f7de9c3498e4c0598f1a28691a499af1b3493f -eo pid,comm 17:31:41 ---> 82a40ca4b0b1 17:31:41 Step 20/25 : EXPOSE 49986 17:31:41 ---> Running in 7ccdd9ab8bae 17:31:41 Removing intermediate container 7ccdd9ab8bae 17:31:41 ---> 3142bbff17f4 17:31:41 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 17:31:41 ---> Running in 564dec89e98f [Pipeline] { [Pipeline] sh 17:31:41 Removing intermediate container 564dec89e98f 17:31:41 ---> 8c2b69b5363a 17:31:41 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 17:31:41 ---> Running in aff34cab2922 17:31:42 Removing intermediate container aff34cab2922 17:31:42 ---> c379755404ac 17:31:42 Step 23/25 : LABEL arch=amd64 17:31:42 ---> Running in 080ab4f067e6 17:31:42 + go version 17:31:42 go version go1.15.5 linux/arm64 [Pipeline] } 17:31:42 $ docker stop --time=1 d3451f77686401d02cd435e580f7de9c3498e4c0598f1a28691a499af1b3493f 17:31:42 Removing intermediate container 080ab4f067e6 17:31:42 ---> fc3ef241aa17 17:31:42 Step 24/25 : LABEL git_sha=3b3704fceb7b97b6b41b020a3a5d9692cb604e42 17:31:42 ---> Running in df605758d952 17:31:42 Removing intermediate container df605758d952 17:31:42 ---> 80b25e3a9f84 17:31:42 Step 25/25 : LABEL version=1.2.1-dev.1 17:31:42 ---> Running in d5326a4c18e6 17:31:42 Removing intermediate container d5326a4c18e6 17:31:42 ---> fa091694191e 17:31:42 [Warning] One or more build-args [ARCH] were not consumed 17:31:42 Successfully built fa091694191e 17:31:42 Successfully tagged docker-device-rest-go:latest 17:31:44 $ docker rm -f d3451f77686401d02cd435e580f7de9c3498e4c0598f1a28691a499af1b3493f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:31:45 provisioning config files... 17:31:45 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/28@tmp/config655251198418834844tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:31:45 + docker inspect -f . ci-base-image-arm64 17:31:45 . [Pipeline] withDockerContainer 17:31:45 ---> docker-login.sh 17:31:45 nexus3.edgexfoundry.org:10001 17:31:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:45 prd-ubuntu18.04-docker-arm64-4c-16g-14916 does not seem to be running inside a container 17:31:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/28 -v /w/workspace/device-rest-go/28:/w/workspace/device-rest-go/28:rw,z -v /w/workspace/device-rest-go/28@tmp:/w/workspace/device-rest-go/28@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:31:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:45 Configure a credential helper to remove this warning. See 17:31:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:45 17:31:45 Login Succeeded 17:31:45 nexus3.edgexfoundry.org:10002 17:31:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:45 Configure a credential helper to remove this warning. See 17:31:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:45 17:31:45 Login Succeeded 17:31:45 nexus3.edgexfoundry.org:10003 17:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:46 Configure a credential helper to remove this warning. See 17:31:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:46 17:31:46 Login Succeeded 17:31:46 nexus3.edgexfoundry.org:10004 17:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:46 Configure a credential helper to remove this warning. See 17:31:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:46 17:31:46 Login Succeeded 17:31:46 docker.io 17:31:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:31:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:31:46 Configure a credential helper to remove this warning. See 17:31:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:31:46 17:31:46 Login Succeeded 17:31:46 ---> docker-login.sh ends 17:31:47 $ docker top 0a07306655ca3478a7e586752fcba1fa3381467c16ee3ab2b6b927315c36ed01 -eo pid,comm [Pipeline] { [Pipeline] } 17:31:47 Deleting 1 temporary files [Pipeline] sh [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:31:47 [edgeXDocker.push] Tagging docker image docker-device-rest-go with the following tags: 17:31:47 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 17:31:47 latest 17:31:47 1.2.1-dev.1 17:31:47 3b3704fceb7b97b6b41b020a3a5d9692cb604e42-1.2.1-dev.1 17:31:47 master 17:31:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:31:48 + make test 17:31:48 CGO_ENABLED=0 GO111MODULE=on go test -coverprofile=coverage.out ./... 17:31:48 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:3b3704fceb7b97b6b41b020a3a5d9692cb604e42 [Pipeline] isUnix [Pipeline] sh 17:31:48 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:3b3704fceb7b97b6b41b020a3a5d9692cb604e42 17:31:48 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 17:31:48 27150a12f334: Preparing 17:31:48 bd0fa72a236a: Preparing 17:31:48 b3572400db8f: Preparing 17:31:48 ace0eda3e3be: Preparing 17:31:48 ace0eda3e3be: Layer already exists 17:31:49 bd0fa72a236a: Pushed 17:31:49 b3572400db8f: Pushed 17:31:49 ? github.com/edgexfoundry/device-rest-go [no test files] 17:31:49 27150a12f334: Pushed 17:31:50 3b3704fceb7b97b6b41b020a3a5d9692cb604e42: digest: sha256:7b6249e35a6c328bcc97b0d1cc275eb1f381aa6105dfa6fef8661a231f30f89b size: 1155 [Pipeline] isUnix [Pipeline] sh 17:31:50 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest [Pipeline] isUnix [Pipeline] sh 17:31:50 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 17:31:50 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 17:31:50 27150a12f334: Preparing 17:31:50 bd0fa72a236a: Preparing 17:31:50 b3572400db8f: Preparing 17:31:50 ace0eda3e3be: Preparing 17:31:50 bd0fa72a236a: Layer already exists 17:31:50 27150a12f334: Layer already exists 17:31:50 b3572400db8f: Layer already exists 17:31:50 ace0eda3e3be: Layer already exists 17:31:50 latest: digest: sha256:7b6249e35a6c328bcc97b0d1cc275eb1f381aa6105dfa6fef8661a231f30f89b size: 1155 [Pipeline] isUnix [Pipeline] sh 17:31:51 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh 17:31:51 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.1-dev.1 17:31:51 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 17:31:51 27150a12f334: Preparing 17:31:51 bd0fa72a236a: Preparing 17:31:51 b3572400db8f: Preparing 17:31:51 ace0eda3e3be: Preparing 17:31:51 ace0eda3e3be: Layer already exists 17:31:51 b3572400db8f: Layer already exists 17:31:51 bd0fa72a236a: Layer already exists 17:31:51 27150a12f334: Layer already exists 17:31:51 1.2.1-dev.1: digest: sha256:7b6249e35a6c328bcc97b0d1cc275eb1f381aa6105dfa6fef8661a231f30f89b size: 1155 [Pipeline] isUnix [Pipeline] sh 17:31:51 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:3b3704fceb7b97b6b41b020a3a5d9692cb604e42-1.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh 17:31:52 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:3b3704fceb7b97b6b41b020a3a5d9692cb604e42-1.2.1-dev.1 17:31:52 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 17:31:52 27150a12f334: Preparing 17:31:52 bd0fa72a236a: Preparing 17:31:52 b3572400db8f: Preparing 17:31:52 ace0eda3e3be: Preparing 17:31:52 27150a12f334: Layer already exists 17:31:52 ace0eda3e3be: Layer already exists 17:31:52 bd0fa72a236a: Layer already exists 17:31:52 b3572400db8f: Layer already exists 17:31:52 3b3704fceb7b97b6b41b020a3a5d9692cb604e42-1.2.1-dev.1: digest: sha256:7b6249e35a6c328bcc97b0d1cc275eb1f381aa6105dfa6fef8661a231f30f89b size: 1155 [Pipeline] isUnix [Pipeline] sh 17:31:52 + docker tag docker-device-rest-go nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] isUnix [Pipeline] sh 17:31:52 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go:master 17:31:52 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go] 17:31:52 27150a12f334: Preparing 17:31:52 bd0fa72a236a: Preparing 17:31:52 b3572400db8f: Preparing 17:31:52 ace0eda3e3be: Preparing 17:31:52 27150a12f334: Layer already exists 17:31:52 bd0fa72a236a: Layer already exists 17:31:52 ace0eda3e3be: Layer already exists 17:31:52 b3572400db8f: Layer already exists 17:31:52 master: digest: sha256:7b6249e35a6c328bcc97b0d1cc275eb1f381aa6105dfa6fef8661a231f30f89b size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:31:52 ===================================================== [Pipeline] echo 17:31:52 taggedImages: 17:31:52 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:3b3704fceb7b97b6b41b020a3a5d9692cb604e42 17:31:52 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:latest 17:31:52 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:1.2.1-dev.1 17:31:52 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:3b3704fceb7b97b6b41b020a3a5d9692cb604e42-1.2.1-dev.1 17:31:52 - nexus3.edgexfoundry.org:10004/docker-device-rest-go:master [Pipeline] } [Pipeline] // script [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] } 17:32:28 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 17:32:28 ok github.com/edgexfoundry/device-rest-go/driver 0.096s coverage: 56.3% of statements 17:32:28 CGO_ENABLED=0 GO111MODULE=on go vet ./... 17:32:30 gofmt -l . 17:32:30 [ "`gofmt -l .`" = "" ] 17:32:30 ./bin/test-go-mod-tidy.sh 17:32:30 ./bin/test-attribution-txt.sh [Pipeline] } 17:32:31 $ docker stop --time=1 0a07306655ca3478a7e586752fcba1fa3381467c16ee3ab2b6b927315c36ed01 17:32:33 $ docker rm -f 0a07306655ca3478a7e586752fcba1fa3381467c16ee3ab2b6b927315c36ed01 [Pipeline] // withDockerContainer [Pipeline] sh 17:32:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:32:34 Warning: overwriting stash ‘coverage-report’ 17:32:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:32:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:32:36 + ls -al . 17:32:36 total 124 17:32:36 drwxrwxr-x 8 jenkins jenkins 4096 Dec 7 17:32 . 17:32:36 drwxrwxr-x 4 jenkins jenkins 4096 Dec 7 17:30 .. 17:32:36 -rw-rw-r-- 1 jenkins jenkins 151 Dec 7 17:30 .dockerignore 17:32:36 drwxrwxr-x 8 jenkins jenkins 4096 Dec 7 17:30 .git 17:32:36 drwxrwxr-x 2 jenkins jenkins 4096 Dec 7 17:30 .github 17:32:36 -rw-rw-r-- 1 jenkins jenkins 339 Dec 7 17:30 .gitignore 17:32:36 -rw-rw-r-- 1 jenkins jenkins 5294 Dec 7 17:30 Attribution.txt 17:32:36 -rw-rw-r-- 1 jenkins jenkins 1519 Dec 7 17:30 Dockerfile 17:32:36 -rw-rw-r-- 1 jenkins jenkins 989 Dec 7 17:30 Dockerfile.build 17:32:36 -rw-rw-r-- 1 jenkins jenkins 680 Dec 7 17:30 Jenkinsfile 17:32:36 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 7 17:30 LICENSE 17:32:36 -rw-rw-r-- 1 jenkins jenkins 951 Dec 7 17:30 Makefile 17:32:36 -rw-rw-r-- 1 jenkins jenkins 5917 Dec 7 17:30 README.md 17:32:36 -rw-rw-r-- 1 jenkins jenkins 11 Dec 7 17:28 VERSION 17:32:36 drwxrwxr-x 2 jenkins jenkins 4096 Dec 7 17:30 bin 17:32:36 drwxrwxr-x 3 jenkins jenkins 4096 Dec 7 17:30 cmd 17:32:36 -rw-r--r-- 1 jenkins jenkins 9369 Dec 7 17:32 coverage.out 17:32:36 drwxrwxr-x 2 jenkins jenkins 4096 Dec 7 17:32 driver 17:32:36 -rw-r--r-- 1 jenkins jenkins 267 Dec 7 17:32 go.mod 17:32:36 -rw-r--r-- 1 jenkins jenkins 13790 Dec 7 17:32 go.sum 17:32:36 drwxrwxr-x 4 jenkins jenkins 4096 Dec 7 17:30 snap 17:32:36 -rw-rw-r-- 1 jenkins jenkins 713 Dec 7 17:30 version.go [Pipeline] isUnix [Pipeline] sh 17:32:37 + docker build -t docker-device-rest-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=3b3704fceb7b97b6b41b020a3a5d9692cb604e42 --label arch=arm64 --label version=1.2.1-dev.1 . 17:32:37 Sending build context to Docker daemon 96.26kB 17:32:37 Step 1/25 : ARG BASE=golang:1.15-alpine 17:32:37 Step 2/25 : FROM ${BASE} AS builder 17:32:37 ---> 76b2396c05df 17:32:37 Step 3/25 : ARG MAKE='make build' 17:32:37 ---> Running in 1e561fc290bb 17:32:37 Removing intermediate container 1e561fc290bb 17:32:37 ---> d6ed86edc45b 17:32:37 Step 4/25 : ARG ALPINE_PKG_BASE="make git" 17:32:38 ---> Running in d7913f92c656 17:32:38 Removing intermediate container d7913f92c656 17:32:38 ---> b3618f0423c7 17:32:38 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 17:32:38 ---> Running in 69c1c99e05e3 17:32:39 Removing intermediate container 69c1c99e05e3 17:32:39 ---> 72c35504c479 17:32:39 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:32:39 ---> Running in 6ae967774f7e 17:32:41 Removing intermediate container 6ae967774f7e 17:32:41 ---> 12608e4106a7 17:32:41 Step 7/25 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:32:41 ---> Running in 4dfcb2352b75 17:32:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:32:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:32:43 OK: 142 MiB in 39 packages 17:32:45 Removing intermediate container 4dfcb2352b75 17:32:45 ---> 7375c44ea08c 17:32:45 Step 8/25 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-rest-go 17:32:45 ---> Running in a19f8c2a4531 17:32:45 Removing intermediate container a19f8c2a4531 17:32:45 ---> 3cf73fa6cffd 17:32:45 Step 9/25 : COPY go.mod . 17:32:46 ---> 96faa0be4fa7 17:32:46 Step 10/25 : COPY Makefile . 17:32:46 ---> f3cbf49bc7ca 17:32:46 Step 11/25 : RUN make update 17:32:47 ---> Running in 6cfe29d85577 17:32:48 CGO_ENABLED=0 GO111MODULE=on go mod download 17:32:49 Removing intermediate container 6cfe29d85577 17:32:49 ---> bcfe8da476ce 17:32:49 Step 12/25 : COPY . . 17:32:50 ---> 79f74ee487c9 17:32:50 Step 13/25 : RUN $MAKE 17:32:50 ---> Running in 664dbe5de980 17:32:51 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=1.2.1-dev.1" -o cmd/device-rest-go ./cmd 17:33:18 Removing intermediate container 664dbe5de980 17:33:18 ---> c023d712ed95 17:33:18 Step 14/25 : FROM alpine:latest 17:33:18 latest: Pulling from library/alpine 17:33:18 5f621e34cdf4: Already exists 17:33:18 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 17:33:18 Status: Downloaded newer image for alpine:latest 17:33:18 ---> 2e77e061c27f 17:33:18 Step 15/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 17:33:18 ---> Running in 53eafc100f9c 17:33:19 Removing intermediate container 53eafc100f9c 17:33:19 ---> 4deef4c2a4c0 17:33:19 Step 16/25 : LABEL Name=device-rest-go Version=${VERSION} 17:33:19 ---> Running in 6b2d83bf167c 17:33:19 Removing intermediate container 6b2d83bf167c 17:33:19 ---> a1118e6bc328 17:33:19 Step 17/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/LICENSE / 17:33:20 ---> 6db591b67403 17:33:20 Step 18/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/Attribution.txt / 17:33:21 ---> 2f50c3c46273 17:33:21 Step 19/25 : COPY --from=builder /go/src/github.com/edgexfoundry/device-rest-go/cmd / 17:33:22 ---> 23242c7fa429 17:33:22 Step 20/25 : EXPOSE 49986 17:33:22 ---> Running in 0f7de9c2fdea 17:33:22 Removing intermediate container 0f7de9c2fdea 17:33:22 ---> 8f0f38952c77 17:33:22 Step 21/25 : ENTRYPOINT ["/device-rest-go"] 17:33:23 ---> Running in 94bf864f21b5 17:33:23 Removing intermediate container 94bf864f21b5 17:33:23 ---> 271ceb7ade76 17:33:23 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 17:33:23 ---> Running in e94d627ceb23 17:33:23 Removing intermediate container e94d627ceb23 17:33:23 ---> 7a77c33687d3 17:33:23 Step 23/25 : LABEL arch=arm64 17:33:24 ---> Running in 7fa83e8a7a5f 17:33:24 Removing intermediate container 7fa83e8a7a5f 17:33:24 ---> 85874f492889 17:33:24 Step 24/25 : LABEL git_sha=3b3704fceb7b97b6b41b020a3a5d9692cb604e42 17:33:24 ---> Running in db5e6149e88a 17:33:25 Removing intermediate container db5e6149e88a 17:33:25 ---> 2d23691624cd 17:33:25 Step 25/25 : LABEL version=1.2.1-dev.1 17:33:25 ---> Running in db88a9f2da76 17:33:25 Removing intermediate container db88a9f2da76 17:33:25 ---> 645db50f0373 17:33:25 [Warning] One or more build-args [ARCH] were not consumed 17:33:25 Successfully built 645db50f0373 17:33:25 Successfully tagged docker-device-rest-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:33:26 provisioning config files... 17:33:26 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/28@tmp/config4176926309560723567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:33:26 ---> docker-login.sh 17:33:26 nexus3.edgexfoundry.org:10001 17:33:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:27 Configure a credential helper to remove this warning. See 17:33:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:27 17:33:27 Login Succeeded 17:33:27 nexus3.edgexfoundry.org:10002 17:33:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:28 Configure a credential helper to remove this warning. See 17:33:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:28 17:33:28 Login Succeeded 17:33:28 nexus3.edgexfoundry.org:10003 17:33:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:28 Configure a credential helper to remove this warning. See 17:33:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:28 17:33:28 Login Succeeded 17:33:28 nexus3.edgexfoundry.org:10004 17:33:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:29 Configure a credential helper to remove this warning. See 17:33:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:29 17:33:29 Login Succeeded 17:33:29 docker.io 17:33:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:33:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:33:29 Configure a credential helper to remove this warning. See 17:33:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:33:29 17:33:29 Login Succeeded 17:33:29 ---> docker-login.sh ends [Pipeline] } 17:33:29 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:33:30 [edgeXDocker.push] Tagging docker image docker-device-rest-go-arm64 with the following tags: 17:33:30 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 17:33:30 latest 17:33:30 1.2.1-dev.1 17:33:30 3b3704fceb7b97b6b41b020a3a5d9692cb604e42-1.2.1-dev.1 17:33:30 master 17:33:30 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:33:30 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:3b3704fceb7b97b6b41b020a3a5d9692cb604e42 [Pipeline] isUnix [Pipeline] sh 17:33:31 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:3b3704fceb7b97b6b41b020a3a5d9692cb604e42 17:33:31 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 17:33:31 e3142cbbd1ab: Preparing 17:33:31 bd9d144af2a5: Preparing 17:33:31 b3e0065da6d4: Preparing 17:33:31 cd3761cfa1d9: Preparing 17:33:31 cd3761cfa1d9: Layer already exists 17:33:31 bd9d144af2a5: Pushed 17:33:31 b3e0065da6d4: Pushed 17:33:33 e3142cbbd1ab: Pushed 17:33:33 3b3704fceb7b97b6b41b020a3a5d9692cb604e42: digest: sha256:63e31b441dfa18a44c97338da92075fdbff34a8806c2219ecda1f7c45304b3f8 size: 1155 [Pipeline] isUnix [Pipeline] sh 17:33:34 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:33:34 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 17:33:34 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 17:33:34 e3142cbbd1ab: Preparing 17:33:34 bd9d144af2a5: Preparing 17:33:34 b3e0065da6d4: Preparing 17:33:34 cd3761cfa1d9: Preparing 17:33:34 cd3761cfa1d9: Layer already exists 17:33:34 bd9d144af2a5: Layer already exists 17:33:34 b3e0065da6d4: Layer already exists 17:33:34 e3142cbbd1ab: Layer already exists 17:33:34 latest: digest: sha256:63e31b441dfa18a44c97338da92075fdbff34a8806c2219ecda1f7c45304b3f8 size: 1155 [Pipeline] isUnix [Pipeline] sh 17:33:35 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh 17:33:35 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.1-dev.1 17:33:35 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 17:33:35 e3142cbbd1ab: Preparing 17:33:35 bd9d144af2a5: Preparing 17:33:35 b3e0065da6d4: Preparing 17:33:35 cd3761cfa1d9: Preparing 17:33:35 bd9d144af2a5: Layer already exists 17:33:35 cd3761cfa1d9: Layer already exists 17:33:35 e3142cbbd1ab: Layer already exists 17:33:35 b3e0065da6d4: Layer already exists 17:33:35 1.2.1-dev.1: digest: sha256:63e31b441dfa18a44c97338da92075fdbff34a8806c2219ecda1f7c45304b3f8 size: 1155 [Pipeline] isUnix [Pipeline] sh 17:33:36 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:3b3704fceb7b97b6b41b020a3a5d9692cb604e42-1.2.1-dev.1 [Pipeline] isUnix [Pipeline] sh 17:33:36 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:3b3704fceb7b97b6b41b020a3a5d9692cb604e42-1.2.1-dev.1 17:33:36 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 17:33:36 e3142cbbd1ab: Preparing 17:33:36 bd9d144af2a5: Preparing 17:33:36 b3e0065da6d4: Preparing 17:33:36 cd3761cfa1d9: Preparing 17:33:36 e3142cbbd1ab: Layer already exists 17:33:36 b3e0065da6d4: Layer already exists 17:33:36 bd9d144af2a5: Layer already exists 17:33:36 cd3761cfa1d9: Layer already exists 17:33:36 3b3704fceb7b97b6b41b020a3a5d9692cb604e42-1.2.1-dev.1: digest: sha256:63e31b441dfa18a44c97338da92075fdbff34a8806c2219ecda1f7c45304b3f8 size: 1155 [Pipeline] isUnix [Pipeline] sh 17:33:37 + docker tag docker-device-rest-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] isUnix [Pipeline] sh 17:33:37 + docker push nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master 17:33:37 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64] 17:33:37 e3142cbbd1ab: Preparing 17:33:37 bd9d144af2a5: Preparing 17:33:37 b3e0065da6d4: Preparing 17:33:37 cd3761cfa1d9: Preparing 17:33:37 e3142cbbd1ab: Layer already exists 17:33:37 cd3761cfa1d9: Layer already exists 17:33:37 b3e0065da6d4: Layer already exists 17:33:37 bd9d144af2a5: Layer already exists 17:33:37 master: digest: sha256:63e31b441dfa18a44c97338da92075fdbff34a8806c2219ecda1f7c45304b3f8 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 17:33:38 ===================================================== [Pipeline] echo 17:33:38 taggedImages: 17:33:38 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:3b3704fceb7b97b6b41b020a3a5d9692cb604e42 17:33:38 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:latest 17:33:38 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:1.2.1-dev.1 17:33:38 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:3b3704fceb7b97b6b41b020a3a5d9692cb604e42-1.2.1-dev.1 17:33:38 - nexus3.edgexfoundry.org:10004/docker-device-rest-go-arm64:master [Pipeline] } [Pipeline] // script [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 17:33:39 provisioning config files... 17:33:39 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config1976621551592079838tmp [Pipeline] { [Pipeline] sh 17:33:39 + set +x 17:33:39 + curl -s https://codecov.io/bash 17:33:39 + bash -s -- 17:33:39 17:33:39 _____ _ 17:33:39 / ____| | | 17:33:39 | | ___ __| | ___ ___ _____ __ 17:33:39 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:33:39 | |___| (_) | (_| | __/ (_| (_) \ V / 17:33:39 \_____\___/ \__,_|\___|\___\___/ \_/ 17:33:39 Bash-20201130-cc6d3fe 17:33:39 17:33:39 17:33:39 ==> Jenkins CI detected. 17:33:39 project root: . 17:33:39 --> token set from env 17:33:39 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:33:39 ==> Running gcov in . (disable via -X gcov) 17:33:39 ==> Python coveragepy not found 17:33:39 ==> Searching for coverage reports in: 17:33:39 + . 17:33:39 -> Found 1 reports 17:33:39 ==> Detecting git/mercurial file structure 17:33:39 ==> Reading reports 17:33:39 + ./coverage.out bytes=9369 17:33:39 ==> Appending adjustments 17:33:39 https://docs.codecov.io/docs/fixing-reports 17:33:40 + Found adjustments 17:33:40 ==> Gzipping contents 17:33:40 4.0K /tmp/codecov.Wri3UV.gz 17:33:40 ==> Uploading reports 17:33:40 url: https://codecov.io 17:33:40 query: branch=master&commit=3b3704fceb7b97b6b41b020a3a5d9692cb604e42&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:33:40 -> Pinging Codecov 17:33:40 https://codecov.io/upload/v4?package=bash-20201130-cc6d3fe&token=secret&branch=master&commit=3b3704fceb7b97b6b41b020a3a5d9692cb604e42&build=28&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmaster%2F28%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 17:33:40 -> Uploading to 17:33:40 https://storage.googleapis.com/codecov/v4/raw/2020-12-07/4E5D53B4F1F92C436F7061BF334D961C/3b3704fceb7b97b6b41b020a3a5d9692cb604e42/edadfe36-4c09-42a9-868b-9ce462391b2b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201207T173340Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=69cbd0f09ae1240e7926bd6daff84e954a8548cae1f32dbe6fb3eaeed94757cb 17:33:40 % Total % Received % Xferd Average Speed Time Time Time Current 17:33:40 Dload Upload Total Spent Left Speed 17:33:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1726 0 0 100 1726 0 4221 --:--:-- --:--:-- --:--:-- 4230 17:33:41 -> View reports at https://codecov.io/github/edgexfoundry/device-rest-go/commit/3b3704fceb7b97b6b41b020a3a5d9692cb604e42 [Pipeline] } 17:33:41 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 17:33:41 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 17:33:41 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:33:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:33:41 17:33:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 17:33:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:33:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 17:33:42 188c0c94c7c5: Pulling fs layer 17:33:42 0ef7d3d256c8: Pulling fs layer 17:33:42 de9db76c5a1d: Pulling fs layer 17:33:42 0eba1c9be4d2: Pulling fs layer 17:33:42 0d57e429df01: Pulling fs layer 17:33:42 4e4be7b47b0d: Pulling fs layer 17:33:42 e1f770b5df2f: Pulling fs layer 17:33:42 85a0685a4137: Pulling fs layer 17:33:42 4e4be7b47b0d: Waiting 17:33:42 e1f770b5df2f: Waiting 17:33:42 0eba1c9be4d2: Waiting 17:33:42 0d57e429df01: Waiting 17:33:42 85a0685a4137: Waiting 17:33:42 de9db76c5a1d: Verifying Checksum 17:33:42 de9db76c5a1d: Download complete 17:33:42 0ef7d3d256c8: Verifying Checksum 17:33:42 0ef7d3d256c8: Download complete 17:33:42 0d57e429df01: Verifying Checksum 17:33:42 0d57e429df01: Download complete 17:33:42 4e4be7b47b0d: Verifying Checksum 17:33:42 4e4be7b47b0d: Download complete 17:33:42 188c0c94c7c5: Verifying Checksum 17:33:42 188c0c94c7c5: Download complete 17:33:42 188c0c94c7c5: Pull complete 17:33:43 0ef7d3d256c8: Pull complete 17:33:43 de9db76c5a1d: Pull complete 17:33:43 e1f770b5df2f: Verifying Checksum 17:33:43 e1f770b5df2f: Download complete 17:33:46 85a0685a4137: Verifying Checksum 17:33:46 85a0685a4137: Download complete 17:33:46 0eba1c9be4d2: Verifying Checksum 17:33:46 0eba1c9be4d2: Download complete 17:33:51 0eba1c9be4d2: Pull complete 17:33:51 0d57e429df01: Pull complete 17:33:51 4e4be7b47b0d: Pull complete 17:33:53 e1f770b5df2f: Pull complete 17:34:01 85a0685a4137: Pull complete 17:34:01 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 17:34:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:34:01 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 17:34:01 prd-centos7-docker-4c-2g-14913 does not seem to be running inside a container 17:34:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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-devops/edgex-snyk-go:1.410.4 cat 17:34:02 $ docker top e7aa24346eb5fc2a2207629ebf8e0278deb472a59fc55c43f698b6120e3245d8 -eo pid,comm [Pipeline] { [Pipeline] echo 17:34:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 17:34:03 + set -o pipefail 17:34:03 + snyk monitor '--org=edgex-jenkins' 17:34:10 17:34:10 Monitoring /w/workspace/gexfoundry_device-rest-go_master (github.com/edgexfoundry/device-rest-go)... 17:34:10 17:34:10 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/37556a71-d97b-43d1-b0c6-b3da041f254e 17:34:10 17:34:10 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 17:34:10 17:34:10 [Pipeline] } 17:34:10 $ docker stop --time=1 e7aa24346eb5fc2a2207629ebf8e0278deb472a59fc55c43f698b6120e3245d8 17:34:12 $ docker rm -f e7aa24346eb5fc2a2207629ebf8e0278deb472a59fc55c43f698b6120e3245d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) [Pipeline] script [Pipeline] { [Pipeline] echo 17:34:13 [edgeXSnyk] dockerImage=nexus3.edgexfoundry.org:10004/docker-device-rest-go:3b3704fceb7b97b6b41b020a3a5d9692cb604e42, dockerFile=Dockerfile [Pipeline] echo 17:34:13 [edgeXSnyk] downloading global ignore policy file from: https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [Pipeline] sh 17:34:14 + set -o pipefail 17:34:14 + curl -s https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk 17:34:14 + tee .snyk 17:34:14 # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. 17:34:14 version: v1.14.1 17:34:14 # ignores vulnerabilities until expiry date; change duration by modifying expiry date 17:34:14 ignore: 17:34:14 SNYK-ALPINE312-ONIGURUMA-1017392: # snyk ID for the issue to ignore. Required. 17:34:14 - '*': 17:34:14 reason: does not apply # justification for ignoring 17:34:14 expires: 2021-01-01T00:00:00 # expiry date string, according to RFC2822 (https://tools.ietf.org/html/rfc2822#page-14)https://snyk.io/vuln/SNYK-ALPINE312-ONIGURUMA-1017392 17:34:14 SNYK-ALPINE312-JQ-588886: 17:34:14 - '*': 17:34:14 reason: false positive 17:34:14 expires: 2021-01-01T00:00:00 17:34:14 # patch: {} [Pipeline] withCredentials 17:34:14 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:34:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 17:34:14 . [Pipeline] withDockerContainer 17:34:14 prd-centos7-docker-4c-2g-14913 does not seem to be running inside a container 17:34:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-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-devops/edgex-snyk-go:1.410.4 cat 17:34:15 $ docker top 0d1e37b5a79d59aa9685bf0f243b5751bffa4fa9c70b50e7ff86bb42f8729e51 -eo pid,comm [Pipeline] { [Pipeline] sh 17:34:16 + rm -f snykReport.html [Pipeline] echo 17:34:16 [edgeXSnyk] command to run: set -o pipefail ; snyk test --org=edgex-jenkins --docker nexus3.edgexfoundry.org:10004/docker-device-rest-go:3b3704fceb7b97b6b41b020a3a5d9692cb604e42 --file=./Dockerfile --severity-threshold=high --policy-path=./.snyk --json | snyk-to-html -o snykReport.html [Pipeline] sh 17:34:16 + set -o pipefail 17:34:16 + snyk+ testsnyk-to-html -o '--org=edgex-jenkins' snykReport.html --docker 17:34:16 nexus3.edgexfoundry.org:10004/docker-device-rest-go:3b3704fceb7b97b6b41b020a3a5d9692cb604e42 '--file=./Dockerfile' '--severity-threshold=high' '--policy-path=./.snyk' --json 17:34:24 Vulnerability snapshot saved at snykReport.html [Pipeline] } 17:34:24 $ docker stop --time=1 0d1e37b5a79d59aa9685bf0f243b5751bffa4fa9c70b50e7ff86bb42f8729e51 17:34:26 $ docker rm -f 0d1e37b5a79d59aa9685bf0f243b5751bffa4fa9c70b50e7ff86bb42f8729e51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:34:27 + git log --format=format:%s -1 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 [Pipeline] isUnix [Pipeline] sh 17:34:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:34:28 . [Pipeline] withDockerContainer 17:34:28 prd-centos7-docker-4c-2g-14913 does not seem to be running inside a container 17:34:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:34:28 $ docker top 4dc3c5b179fa4bf3147e4b5f2b8e053abbb7a0c48dabd63603bc5ed4bd599c77 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:34:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:34:29 [ssh-agent] Looking for ssh-agent implementation... 17:34:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:34:29 $ docker exec 4dc3c5b179fa4bf3147e4b5f2b8e053abbb7a0c48dabd63603bc5ed4bd599c77 ssh-agent 17:34:29 SSH_AUTH_SOCK=/tmp/ssh-jk7ECwXSCBW8/agent.11 17:34:29 SSH_AGENT_PID=16 17:34:29 Running ssh-add (command line suppressed) 17:34:29 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4280957771776177950.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_4280957771776177950.key) 17:34:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:34:30 + git semver tag 17:34:30 # -> Open(): unable to determine branch for HEAD 17:34:30 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 17:34:30 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 17:34:30 # $SEMVER_REMOTE_NAME = origin 17:34:30 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:34:30 # $SEMVER_USER_NAME = edgex-jenkins 17:34:30 # $SEMVER_BRANCH = master 17:34:30 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 17:34:30 # 3b3704fceb7b97b6b41b020a3a5d9692cb604e42 HEAD 17:34:30 # -> Force: false 17:34:30 # 5e8fc1465ed62ceb6427d29f5d6ed4862059ea0c refs/tags/v1.2.1-dev.1 [Pipeline] } 17:34:30 $ docker exec --env ******** --env ******** 4dc3c5b179fa4bf3147e4b5f2b8e053abbb7a0c48dabd63603bc5ed4bd599c77 ssh-agent -k 17:34:30 unset SSH_AUTH_SOCK; 17:34:30 unset SSH_AGENT_PID; 17:34:30 echo Agent pid 16 killed; 17:34:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:34:30 + git semver [Pipeline] } 17:34:30 $ docker stop --time=1 4dc3c5b179fa4bf3147e4b5f2b8e053abbb7a0c48dabd63603bc5ed4bd599c77 17:34:32 $ docker rm -f 4dc3c5b179fa4bf3147e4b5f2b8e053abbb7a0c48dabd63603bc5ed4bd599c77 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 17:34:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:34:32 17:34:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 17:34:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:34:33 0.23.1-centos7: Pulling from edgex-lftools 17:34:33 ab5ef0e58194: Pulling fs layer 17:34:33 9712f1f96733: Pulling fs layer 17:34:33 63f879dbbcfc: Pulling fs layer 17:34:33 0d9ebad4ef96: Pulling fs layer 17:34:33 e9a5061849ea: Pulling fs layer 17:34:33 d747dcd14b5f: Pulling fs layer 17:34:33 2de7ff778b66: Pulling fs layer 17:34:33 e9a5061849ea: Waiting 17:34:33 d747dcd14b5f: Waiting 17:34:33 2de7ff778b66: Waiting 17:34:33 0d9ebad4ef96: Waiting 17:34:33 9712f1f96733: Verifying Checksum 17:34:33 9712f1f96733: Download complete 17:34:35 63f879dbbcfc: Verifying Checksum 17:34:35 63f879dbbcfc: Download complete 17:34:35 e9a5061849ea: Verifying Checksum 17:34:35 e9a5061849ea: Download complete 17:34:35 d747dcd14b5f: Download complete 17:34:35 0d9ebad4ef96: Verifying Checksum 17:34:35 0d9ebad4ef96: Download complete 17:34:35 2de7ff778b66: Verifying Checksum 17:34:35 2de7ff778b66: Download complete 17:34:35 ab5ef0e58194: Download complete 17:34:41 ab5ef0e58194: Pull complete 17:34:41 9712f1f96733: Pull complete 17:34:43 63f879dbbcfc: Pull complete 17:34:50 0d9ebad4ef96: Pull complete 17:34:51 e9a5061849ea: Pull complete 17:34:51 d747dcd14b5f: Pull complete 17:34:53 2de7ff778b66: Pull complete 17:34:53 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 17:34:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 17:34:53 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 17:34:53 prd-centos7-docker-4c-2g-14913 does not seem to be running inside a container 17:34:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 17:34:57 $ docker top 3deabe5cf26b4abba169efce1f0bebfbbc9bf0cd4218e88d4b1bff4c757d0ad0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 17:34:57 provisioning config files... 17:34:57 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config7750963051498089101tmp 17:34:57 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config6774122245240555804tmp 17:34:57 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8607658997794902860tmp [Pipeline] { [Pipeline] echo 17:34:58 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 17:34:58 ---> sigul-configuration.sh 17:34:58 gpg: directory `/root/.gnupg' created 17:34:58 gpg: new configuration file `/root/.gnupg/gpg.conf' created 17:34:58 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 17:34:58 gpg: keyring `/root/.gnupg/secring.gpg' created 17:34:58 gpg: keyring `/root/.gnupg/pubring.gpg' created 17:34:58 gpg: CAST5 encrypted data 17:34:58 gpg: encrypted with 1 passphrase 17:34:58 gpg: WARNING: message was not integrity protected [Pipeline] sh 17:34:58 + mkdir /home/jenkins 17:34:58 + mkdir /home/jenkins/sigul [Pipeline] sh 17:34:59 + 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 17:34:59 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 17:34:59 ---> sigul-install.sh 17:35:06 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 17:35:06 + git tag --list 17:35:06 v1.0.0 17:35:06 v1.1.0 17:35:06 v1.1.1 17:35:06 v1.1.2 17:35:06 v1.1.2-dev.1 17:35:06 v1.1.2-dev.2 17:35:06 v1.1.3-dev.1 17:35:06 v1.1.3-dev.10 17:35:06 v1.1.3-dev.2 17:35:06 v1.1.3-dev.3 17:35:06 v1.1.3-dev.4 17:35:06 v1.1.3-dev.5 17:35:06 v1.1.3-dev.6 17:35:06 v1.1.3-dev.7 17:35:06 v1.1.3-dev.8 17:35:06 v1.1.3-dev.9 17:35:06 v1.2.0 17:35:06 v1.2.1-dev.1 [Pipeline] sh 17:35:06 + lftools sign git-tag v1.2.1-dev.1 17:35:08 Signing Git tag with Sigul... 17:35:08 Signing v1.2.1-dev.1 [Pipeline] echo 17:35:09 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 17:35:09 ---> sigul-configuration-cleanup.sh [Pipeline] } 17:35:09 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 17:35:09 $ docker stop --time=1 3deabe5cf26b4abba169efce1f0bebfbbc9bf0cd4218e88d4b1bff4c757d0ad0 17:35:12 $ docker rm -f 3deabe5cf26b4abba169efce1f0bebfbbc9bf0cd4218e88d4b1bff4c757d0ad0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 17:35:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:35:13 . [Pipeline] withDockerContainer 17:35:13 prd-centos7-docker-4c-2g-14913 does not seem to be running inside a container 17:35:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:35:14 $ docker top 98875ba819cf75e4debe0dee868e788a2b884f016a247718221d6b7926d6642f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:35:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:35:14 [ssh-agent] Looking for ssh-agent implementation... 17:35:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:35:14 $ docker exec 98875ba819cf75e4debe0dee868e788a2b884f016a247718221d6b7926d6642f ssh-agent 17:35:14 SSH_AUTH_SOCK=/tmp/ssh-ldQ3nUNEhxhJ/agent.13 17:35:14 SSH_AGENT_PID=18 17:35:14 Running ssh-add (command line suppressed) 17:35:14 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_507503763254034695.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_507503763254034695.key) 17:35:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:35:15 + git semver bump pre 17:35:15 # -> Open(): unable to determine branch for HEAD 17:35:15 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 17:35:15 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 17:35:15 # $SEMVER_REMOTE_NAME = origin 17:35:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:35:15 # $SEMVER_USER_NAME = edgex-jenkins 17:35:15 # $SEMVER_BRANCH = master 17:35:15 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver 17:35:15 1.2.1-dev.2 [Pipeline] } 17:35:15 $ docker exec --env ******** --env ******** 98875ba819cf75e4debe0dee868e788a2b884f016a247718221d6b7926d6642f ssh-agent -k 17:35:15 unset SSH_AUTH_SOCK; 17:35:15 unset SSH_AGENT_PID; 17:35:15 echo Agent pid 18 killed; 17:35:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:35:15 + git semver [Pipeline] } 17:35:15 $ docker stop --time=1 98875ba819cf75e4debe0dee868e788a2b884f016a247718221d6b7926d6642f 17:35:17 $ docker rm -f 98875ba819cf75e4debe0dee868e788a2b884f016a247718221d6b7926d6642f [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 17:35:17 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:35:17 . [Pipeline] withDockerContainer 17:35:17 prd-centos7-docker-4c-2g-14913 does not seem to be running inside a container 17:35:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 17:35:18 $ docker top 5e5405ef40a26c93cb6b8a746b42f12d70d5db3f459aa19942e64c7d29c7648a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:35:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:35:18 [ssh-agent] Looking for ssh-agent implementation... 17:35:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:35:19 $ docker exec 5e5405ef40a26c93cb6b8a746b42f12d70d5db3f459aa19942e64c7d29c7648a ssh-agent 17:35:19 SSH_AUTH_SOCK=/tmp/ssh-R4PDoQ3tN7Uu/agent.12 17:35:19 SSH_AGENT_PID=17 17:35:19 Running ssh-add (command line suppressed) 17:35:19 Identity added: /w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7872200751622696499.key (/w/workspace/gexfoundry_device-rest-go_master@tmp/private_key_7872200751622696499.key) 17:35:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:35:19 + git semver push 17:35:19 # -> Open(): unable to determine branch for HEAD 17:35:19 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_master/.git 17:35:19 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_master 17:35:19 # $SEMVER_REMOTE_NAME = origin 17:35:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:35:19 # $SEMVER_USER_NAME = edgex-jenkins 17:35:19 # $SEMVER_BRANCH = master 17:35:19 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_master/.semver [Pipeline] } 17:35:26 $ docker exec --env ******** --env ******** 5e5405ef40a26c93cb6b8a746b42f12d70d5db3f459aa19942e64c7d29c7648a ssh-agent -k 17:35:26 unset SSH_AUTH_SOCK; 17:35:26 unset SSH_AGENT_PID; 17:35:26 echo Agent pid 17 killed; 17:35:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:35:27 + git semver [Pipeline] } 17:35:27 $ docker stop --time=1 5e5405ef40a26c93cb6b8a746b42f12d70d5db3f459aa19942e64c7d29c7648a 17:35:28 $ docker rm -f 5e5405ef40a26c93cb6b8a746b42f12d70d5db3f459aa19942e64c7d29c7648a [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 17:35:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:35:30 ---> package-listing.sh 17:35:30 ++ facter osfamily 17:35:30 ++ tr '[:upper:]' '[:lower:]' 17:35:30 + OS_FAMILY=redhat 17:35:30 + workspace=/w/workspace/gexfoundry_device-rest-go_master 17:35:30 + START_PACKAGES=/tmp/packages_start.txt 17:35:30 + END_PACKAGES=/tmp/packages_end.txt 17:35:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:35:30 + PACKAGES=/tmp/packages_start.txt 17:35:30 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 17:35:30 + PACKAGES=/tmp/packages_end.txt 17:35:30 + case "${OS_FAMILY}" in 17:35:30 + rpm -qa 17:35:30 + sort 17:35:35 + '[' -f /tmp/packages_start.txt ']' 17:35:35 + '[' -f /tmp/packages_end.txt ']' 17:35:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:35:35 + '[' /w/workspace/gexfoundry_device-rest-go_master ']' 17:35:35 + mkdir -p /w/workspace/gexfoundry_device-rest-go_master/archives/ 17:35:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_master/archives/ [Pipeline] echo 17:35:35 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/gexfoundry_device-rest-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:35:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:35:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:35:36 17:35:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:35:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:35:36 alpine: Pulling from edgex-lftools-log-publisher 17:35:36 df20fa9351a1: Pulling fs layer 17:35:36 36b3adc4ff6f: Pulling fs layer 17:35:36 8ad3a11d3b57: Pulling fs layer 17:35:36 46f8f816bc3b: Pulling fs layer 17:35:36 93b61091891f: Pulling fs layer 17:35:36 93b9cdb0e59b: Pulling fs layer 17:35:36 5e14af77c1be: Pulling fs layer 17:35:36 01666e4c0597: Pulling fs layer 17:35:36 aa168da1d23b: Pulling fs layer 17:35:36 93b9cdb0e59b: Waiting 17:35:36 46f8f816bc3b: Waiting 17:35:36 5e14af77c1be: Waiting 17:35:36 93b61091891f: Waiting 17:35:36 aa168da1d23b: Waiting 17:35:36 36b3adc4ff6f: Verifying Checksum 17:35:36 36b3adc4ff6f: Download complete 17:35:36 46f8f816bc3b: Verifying Checksum 17:35:36 46f8f816bc3b: Download complete 17:35:36 df20fa9351a1: Verifying Checksum 17:35:36 df20fa9351a1: Download complete 17:35:37 93b9cdb0e59b: Verifying Checksum 17:35:37 93b9cdb0e59b: Download complete 17:35:37 5e14af77c1be: Verifying Checksum 17:35:37 5e14af77c1be: Download complete 17:35:37 93b61091891f: Download complete 17:35:37 01666e4c0597: Verifying Checksum 17:35:37 01666e4c0597: Download complete 17:35:37 8ad3a11d3b57: Verifying Checksum 17:35:37 8ad3a11d3b57: Download complete 17:35:37 df20fa9351a1: Pull complete 17:35:38 36b3adc4ff6f: Pull complete 17:35:39 8ad3a11d3b57: Pull complete 17:35:39 aa168da1d23b: Verifying Checksum 17:35:39 aa168da1d23b: Download complete 17:35:40 46f8f816bc3b: Pull complete 17:35:40 93b61091891f: Pull complete 17:35:40 93b9cdb0e59b: Pull complete 17:35:40 5e14af77c1be: Pull complete 17:35:40 01666e4c0597: Pull complete 17:35:48 aa168da1d23b: Pull complete 17:35:48 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:35:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:35:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:35:49 prd-centos7-docker-4c-2g-14913 does not seem to be running inside a container 17:35: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/gexfoundry_device-rest-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/gexfoundry_device-rest-go_master -v /w/workspace/gexfoundry_device-rest-go_master:/w/workspace/gexfoundry_device-rest-go_master:rw,z -v /w/workspace/gexfoundry_device-rest-go_master@tmp:/w/workspace/gexfoundry_device-rest-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 17:35:51 $ docker top c42f6b48b717be0f3fae5b98efbb73bbf6aee8fb4eedee0fdd23a2e2d08207f4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:35:52 + touch /tmp/pre-build-complete [Pipeline] sh 17:35:52 + mkdir -p /var/log/sa [Pipeline] sh 17:35:53 + ls /var/log/sa-host 17:35:53 + sadf -c /var/log/sa-host/sa07 17:35:53 file_magic: OK 17:35:53 HZ: Using current value: 100 17:35:53 file_header: OK 17:35: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 17:35:53 Statistics: 17:35:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:35:53 File successfully converted to sysstat format version 12.2.1 17:35:53 + sadf -c /var/log/sa-host/sa23 17:35:53 file_magic: OK 17:35:53 HZ: Using current value: 100 17:35:53 file_header: OK 17:35: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 17:35:53 Statistics: 17:35:53 Hnuu...uuuununununu... 17:35:53 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:35:53 provisioning config files... 17:35:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_master@tmp/config8464997142367359244tmp [Pipeline] { [Pipeline] echo 17:35:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:35:53 ---> create-netrc.sh [Pipeline] } 17:35:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 17:35:53 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 17:35:54 ---> python-tools-install.sh [Pipeline] echo 17:35:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:35:54 ---> sudo-logs.sh 17:35:54 Archiving 'sudo' log.. [Pipeline] echo 17:35:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:35:54 ---> job-cost.sh 17:35:54 lf-activate-venv: SKIPPING 17:35:54 INFO: No Stack... 17:35:56 INFO: Retrieving Pricing Info for: v1-standard-2 17:35:56 INFO: Archiving Costs [Pipeline] echo 17:35:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:35:56 ---> logs-deploy.sh 17:35:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/master/28 17:35:56 INFO: archiving workspace using pattern(s): 17:35:58 Archives upload complete. 17:35:58 INFO: archiving logs to Nexus 17:35:59 ---> uname -a: 17:35:59 Linux prd-centos7-docker-4c-2g-14913.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 17:35:59 17:35:59 17:35:59 ---> lscpu: 17:35:59 Architecture: x86_64 17:35:59 CPU op-mode(s): 32-bit, 64-bit 17:35:59 Byte Order: Little Endian 17:35:59 Address sizes: 40 bits physical, 48 bits virtual 17:35:59 CPU(s): 4 17:35:59 On-line CPU(s) list: 0-3 17:35:59 Thread(s) per core: 1 17:35:59 Core(s) per socket: 1 17:35:59 Socket(s): 4 17:35:59 NUMA node(s): 1 17:35:59 Vendor ID: GenuineIntel 17:35:59 CPU family: 6 17:35:59 Model: 44 17:35:59 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 17:35:59 Stepping: 1 17:35:59 CPU MHz: 2933.436 17:35:59 BogoMIPS: 5866.87 17:35:59 Virtualization: VT-x 17:35:59 Hypervisor vendor: KVM 17:35:59 Virtualization type: full 17:35:59 L1d cache: 128 KiB 17:35:59 L1i cache: 128 KiB 17:35:59 L2 cache: 16 MiB 17:35:59 L3 cache: 64 MiB 17:35:59 NUMA node0 CPU(s): 0-3 17:35:59 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 17:35:59 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 17:35:59 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 17:35:59 Vulnerability Meltdown: Mitigation; PTI 17:35:59 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:35:59 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 17:35:59 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 17:35:59 Vulnerability Srbds: Not affected 17:35:59 Vulnerability Tsx async abort: Not affected 17:35: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 17:35:59 17:35:59 17:35:59 ---> nproc: 17:35:59 4 17:35:59 17:35:59 17:35:59 ---> df -h: 17:35:59 Filesystem Size Used Available Use% Mounted on 17:35:59 overlay 50.0G 8.6G 41.4G 17% / 17:35:59 tmpfs 64.0M 0 64.0M 0% /dev 17:35:59 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 17:35:59 shm 64.0M 0 64.0M 0% /dev/shm 17:35:59 /dev/vda1 50.0G 8.6G 41.4G 17% /facter-os 17:35:59 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/resolv.conf 17:35:59 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/hostname 17:35:59 /dev/vda1 50.0G 8.6G 41.4G 17% /etc/hosts 17:35:59 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/sa-host 17:35:59 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/secure 17:35:59 /dev/vda1 50.0G 8.6G 41.4G 17% /var/log/auth.log 17:35:59 /dev/vda1 50.0G 8.6G 41.4G 17% /run/cloud-init/result.json 17:35:59 /dev/vda1 50.0G 8.6G 41.4G 17% /w/workspace/gexfoundry_device-rest-go_master 17:35:59 /dev/vda1 50.0G 8.6G 41.4G 17% /w/workspace/gexfoundry_device-rest-go_master@tmp 17:35:59 17:35:59 17:35:59 ---> free -m: 17:35:59 total used free shared buff/cache available 17:35:59 Mem: 1837 835 145 0 856 937 17:35:59 Swap: 1023 3 1020 17:35:59 17:35:59 17:35:59 ---> ip addr: 17:35:59 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 17:35:59 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 17:35:59 inet 127.0.0.1/8 scope host lo 17:35:59 valid_lft forever preferred_lft forever 17:35:59 inet6 ::1/128 scope host 17:35:59 valid_lft forever preferred_lft forever 17:35:59 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 17:35:59 link/ether fa:16:3e:72:80:b0 brd ff:ff:ff:ff:ff:ff 17:35:59 inet 10.30.122.195/23 brd 10.30.123.255 scope global dynamic eth0 17:35:59 valid_lft 85887sec preferred_lft 85887sec 17:35:59 inet6 fe80::f816:3eff:fe72:80b0/64 scope link 17:35:59 valid_lft forever preferred_lft forever 17:35:59 3: docker0: mtu 1500 qdisc noqueue state DOWN 17:35:59 link/ether 02:42:7f:d0:0f:f6 brd ff:ff:ff:ff:ff:ff 17:35:59 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 17:35:59 valid_lft forever preferred_lft forever 17:35:59 inet6 fe80::42:7fff:fed0:ff6/64 scope link 17:35:59 valid_lft forever preferred_lft forever 17:35:59 17:35:59 17:35:59 ---> sar -b -r -n DEV: 17:35:59 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/07/20 _x86_64_ (4 CPU) 17:35:59 17:35:59 17:27:13 LINUX RESTART (4 CPU) 17:35:59 17:35:59 17:28:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:35:59 17:29:01 33.46 12.35 21.11 0.00 4548.69 3408.91 0.00 17:35:59 17:30:01 1.55 0.00 1.55 0.00 0.00 26.42 0.00 17:35:59 17:31:01 0.23 0.00 0.23 0.00 0.00 3.25 0.00 17:35:59 17:32:01 0.27 0.00 0.27 0.00 0.00 3.33 0.00 17:35:59 17:33:01 0.22 0.00 0.22 0.00 0.00 3.03 0.00 17:35:59 17:34:01 193.31 110.87 82.44 0.00 4572.30 31721.19 0.00 17:35:59 17:35:01 317.44 148.02 169.42 0.00 8967.05 35018.97 0.00 17:35:59 Average: 78.10 38.76 39.34 0.00 2584.94 10030.41 0.00 17:35:59 17:35:59 17:28:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:35:59 17:29:01 130748 0 638352 33.93 2620 1109824 1113084 37.99 461984 1090764 20 17:35:59 17:30:01 136732 0 632360 33.61 2620 1109832 1091920 37.27 460332 1087428 12 17:35:59 17:31:01 134444 0 634644 33.73 2620 1109836 1092052 37.27 461548 1088744 8 17:35:59 17:32:01 136252 0 632836 33.63 2620 1109836 1080612 36.88 468888 1079344 8 17:35:59 17:33:01 134964 0 634116 33.70 2620 1109844 1080684 36.88 472392 1077800 8 17:35:59 17:34:01 257608 0 689756 36.66 2596 931584 1090896 37.23 449736 929064 46260 17:35:59 17:35:01 76380 0 804824 42.77 1492 998848 1315592 44.90 622620 850092 512 17:35:59 Average: 143875 0 666698 35.43 2455 1068515 1123549 38.34 485357 1029034 6690 17:35:59 17:35:59 17:28:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:35:59 17:29:01 eth0 196.59 155.70 589.25 54.06 0.00 0.00 0.00 0.00 17:35:59 17:29:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:59 17:29:01 docker0 44.22 33.43 3.80 132.61 0.00 0.00 0.00 0.00 17:35:59 17:30:01 eth0 2.18 0.37 0.43 0.20 0.00 0.00 0.00 0.00 17:35:59 17:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:59 17:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:59 17:31:01 eth0 0.85 0.68 0.55 0.40 0.00 0.00 0.00 0.00 17:35:59 17:31:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:59 17:31:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:59 17:32:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 17:35:59 17:32:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:59 17:32:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:59 17:33:01 eth0 1.47 0.17 0.19 0.07 0.00 0.00 0.00 0.00 17:35:59 17:33:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:59 17:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:59 17:34:01 eth0 406.71 334.69 4074.65 28.20 0.00 0.00 0.00 0.00 17:35:59 17:34:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:59 17:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:59 17:35:01 veth6551da6 2.73 1.98 0.20 0.36 0.00 0.00 0.00 0.00 17:35:59 17:35:01 eth0 507.85 446.59 3504.77 110.68 0.00 0.00 0.00 0.00 17:35:59 17:35:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:59 17:35:01 docker0 34.83 32.70 3.16 158.44 0.00 0.00 0.00 0.00 17:35:59 Average: veth6551da6 0.39 0.28 0.03 0.05 0.00 0.00 0.00 0.00 17:35:59 Average: eth0 159.45 134.09 1167.55 27.67 0.00 0.00 0.00 0.00 17:35:59 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:35:59 Average: docker0 11.29 9.45 1.00 41.59 0.00 0.00 0.00 0.00 17:35:59 17:35:59 17:35:59 ---> sar -P ALL: 17:35:59 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/07/20 _x86_64_ (4 CPU) 17:35:59 17:35:59 17:27:13 LINUX RESTART (4 CPU) 17:35:59 17:35:59 17:28:01 CPU %user %nice %system %iowait %steal %idle 17:35:59 17:29:01 all 4.01 0.00 2.33 0.56 0.08 93.02 17:35:59 17:29:01 0 3.83 0.00 2.08 0.10 0.07 93.92 17:35:59 17:29:01 1 4.09 0.00 2.38 0.54 0.07 92.92 17:35:59 17:29:01 2 4.38 0.00 2.54 0.32 0.07 92.69 17:35:59 17:29:01 3 3.74 0.00 2.30 1.29 0.10 92.57 17:35:59 17:30:01 all 0.15 0.00 0.06 0.00 0.00 99.78 17:35:59 17:30:01 0 0.23 0.00 0.05 0.00 0.00 99.72 17:35:59 17:30:01 1 0.23 0.00 0.07 0.00 0.00 99.70 17:35:59 17:30:01 2 0.07 0.00 0.08 0.02 0.02 99.82 17:35:59 17:30:01 3 0.08 0.00 0.05 0.00 0.00 99.87 17:35:59 17:31:01 all 0.21 0.00 0.13 0.00 0.00 99.66 17:35:59 17:31:01 0 0.07 0.00 0.17 0.00 0.00 99.77 17:35:59 17:31:01 1 0.10 0.00 0.17 0.00 0.00 99.73 17:35:59 17:31:01 2 0.58 0.00 0.07 0.00 0.02 99.33 17:35:59 17:31:01 3 0.08 0.00 0.12 0.00 0.00 99.80 17:35:59 17:32:01 all 0.17 0.00 0.05 0.00 0.00 99.78 17:35:59 17:32:01 0 0.02 0.00 0.07 0.00 0.00 99.92 17:35:59 17:32:01 1 0.07 0.00 0.07 0.00 0.00 99.87 17:35:59 17:32:01 2 0.55 0.00 0.05 0.00 0.00 99.40 17:35:59 17:32:01 3 0.03 0.00 0.02 0.00 0.00 99.95 17:35:59 17:33:01 all 0.21 0.00 0.18 0.00 0.01 99.60 17:35:59 17:33:01 0 0.07 0.00 0.18 0.00 0.02 99.73 17:35:59 17:33:01 1 0.10 0.00 0.17 0.00 0.02 99.72 17:35:59 17:33:01 2 0.57 0.00 0.17 0.00 0.00 99.27 17:35:59 17:33:01 3 0.10 0.00 0.20 0.00 0.00 99.70 17:35:59 17:34:01 all 7.23 0.00 5.36 1.19 0.09 86.12 17:35:59 17:34:01 0 7.24 0.00 5.64 0.49 0.07 86.57 17:35:59 17:34:01 1 7.04 0.00 5.08 1.13 0.12 86.63 17:35:59 17:34:01 2 7.27 0.00 5.74 0.44 0.08 86.47 17:35:59 17:34:01 3 7.38 0.00 4.99 2.71 0.08 84.83 17:35:59 17:35:01 all 12.91 0.00 10.43 4.46 0.11 72.09 17:35:59 17:35:01 0 12.56 0.00 10.68 4.56 0.14 72.06 17:35:59 17:35:01 1 12.20 0.00 9.96 3.32 0.10 74.41 17:35:59 17:35:01 2 14.42 0.00 11.19 5.76 0.09 68.54 17:35:59 17:35:01 3 12.43 0.00 9.89 4.19 0.10 73.38 17:35:59 Average: all 3.51 0.00 2.61 0.87 0.04 92.97 17:35:59 Average: 0 3.38 0.00 2.65 0.72 0.04 93.21 17:35:59 Average: 1 3.36 0.00 2.52 0.70 0.04 93.37 17:35:59 Average: 2 3.93 0.00 2.80 0.92 0.04 92.31 17:35:59 Average: 3 3.36 0.00 2.47 1.15 0.04 92.97 17:35:59 17:35:59 17:35:59