Push event to branch master Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 561c5a452436cba8707a8b2c6132209bc86d4f3d Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b86a95d4aff1c43a521ca3be618780efd0ee2800 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-snmp-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-snmp-go-settings PROJECT: device-snmp-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-snmp-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 SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-19422 in /w/workspace/gexfoundry_device-snmp-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-snmp-go.git > git init /w/workspace/gexfoundry_device-snmp-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-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-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 561c5a452436cba8707a8b2c6132209bc86d4f3d (master) > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-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-snmp-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 561c5a452436cba8707a8b2c6132209bc86d4f3d # timeout=10 Commit message: "Merge pull request #84 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.4.0" > git rev-list --no-walk fcccfd94587541a74c874275ff1808fa86f63ccd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:25:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:25:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:25:04 ========================================================= 06:25:04 EdgeX Global Pipelines Version Info 06:25:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:25:06 ------------------- 06:25:06 stable info: 06:25:06 ------------------- 06:25:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:25:06 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:25:06 Message: update stable to v1.0.173 06:25:06 ------------------- 06:25:06 experimental info: 06:25:06 ------------------- 06:25:06 Commited By: **** collab-it+edgex@linuxfoundation.org 06:25:06 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 06:25:06 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:25:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-snmp-go-settings [Pipeline] echo 06:25:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-snmp-go [Pipeline] echo 06:25:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:25:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:25:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:25:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 06:25:07 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 06:25:07 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 06:25:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:25:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:25:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:25:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-snmp-go [Pipeline] echo 06:25:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:25:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:25:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:25:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:25:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:25:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:25:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:25:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:25:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:25:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:25:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:25:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:25:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:25:09 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 06:25:09 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 06:25:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 06:25:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 06:25:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 06:25:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 561c5a452436cba8707a8b2c6132209bc86d4f3d [Pipeline] echo 06:25:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 561c5a4 [Pipeline] echo 06:25:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:25:10 provisioning config files... 06:25:10 copy managed file [device-snmp-go-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config3646345020160991204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:25:10 ---> docker-login.sh 06:25:10 nexus3.edgexfoundry.org:10001 06:25:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:11 Configure a credential helper to remove this warning. See 06:25:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:11 06:25:11 Login Succeeded 06:25:11 nexus3.edgexfoundry.org:10002 06:25:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:11 Configure a credential helper to remove this warning. See 06:25:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:11 06:25:11 Login Succeeded 06:25:11 nexus3.edgexfoundry.org:10003 06:25:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:11 Configure a credential helper to remove this warning. See 06:25:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:11 06:25:11 Login Succeeded 06:25:11 nexus3.edgexfoundry.org:10004 06:25:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:11 Configure a credential helper to remove this warning. See 06:25:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:11 06:25:11 Login Succeeded 06:25:11 docker.io 06:25:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:25:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:25:12 Configure a credential helper to remove this warning. See 06:25:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:25:12 06:25:12 Login Succeeded 06:25:12 ---> docker-login.sh ends [Pipeline] } 06:25:12 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:25:13 + git log --format=format:%s -1 561c5a452436cba8707a8b2c6132209bc86d4f3d [Pipeline] echo 06:25:13 GIT_COMMIT: 561c5a452436cba8707a8b2c6132209bc86d4f3d, Commit Message: Merge pull request #84 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.4.0 [Pipeline] echo 06:25:13 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 06:25:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:25:13 06:25:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:25:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:25:14 latest: Pulling from edgex-devops/git-semver 06:25:14 31603596830f: Pulling fs layer 06:25:14 2a8b12db71e7: Pulling fs layer 06:25:14 6ca5941a6612: Pulling fs layer 06:25:14 ecc8261a40a4: Pulling fs layer 06:25:14 ecc8261a40a4: Waiting 06:25:14 2a8b12db71e7: Download complete 06:25:14 31603596830f: Verifying Checksum 06:25:14 31603596830f: Download complete 06:25:14 ecc8261a40a4: Verifying Checksum 06:25:14 ecc8261a40a4: Download complete 06:25:14 6ca5941a6612: Verifying Checksum 06:25:14 6ca5941a6612: Download complete 06:25:15 31603596830f: Pull complete 06:25:15 2a8b12db71e7: Pull complete 06:25:15 6ca5941a6612: Pull complete 06:25:15 ecc8261a40a4: Pull complete 06:25:15 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 06:25:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:25:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 06:25:16 prd-centos7-docker-4c-2g-19422 does not seem to be running inside a container 06:25:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:25:18 $ docker top cae9e196b434c2aa33bd0832da3f9d6973da267c1a7547c0ff8562155e583425 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:25:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:25:18 [ssh-agent] Looking for ssh-agent implementation... 06:25:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:25:18 $ docker exec cae9e196b434c2aa33bd0832da3f9d6973da267c1a7547c0ff8562155e583425 ssh-agent 06:25:19 SSH_AUTH_SOCK=/tmp/ssh-fM8JrDNHD9Dn/agent.13 06:25:19 SSH_AGENT_PID=18 06:25:19 Running ssh-add (command line suppressed) 06:25:19 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6045503711138276622.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6045503711138276622.key) 06:25:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:25:19 + git tag --points-at HEAD [Pipeline] } 06:25:19 $ docker exec --env ******** --env ******** cae9e196b434c2aa33bd0832da3f9d6973da267c1a7547c0ff8562155e583425 ssh-agent -k 06:25:19 unset SSH_AUTH_SOCK; 06:25:19 unset SSH_AGENT_PID; 06:25:19 echo Agent pid 18 killed; 06:25:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:25:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:25:20 [ssh-agent] Looking for ssh-agent implementation... 06:25:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:25:20 $ docker exec cae9e196b434c2aa33bd0832da3f9d6973da267c1a7547c0ff8562155e583425 ssh-agent 06:25:20 SSH_AUTH_SOCK=/tmp/ssh-5YY8WK3x6Qop/agent.48 06:25:20 SSH_AGENT_PID=53 06:25:20 Running ssh-add (command line suppressed) 06:25:20 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6313534734343860555.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_6313534734343860555.key) 06:25:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:25:21 + git semver init 06:25:21 # -> Open(): unable to determine branch for HEAD 06:25:21 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 06:25:21 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 06:25:21 # $SEMVER_REMOTE_NAME = origin 06:25:21 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:25:21 # $SEMVER_USER_NAME = edgex-jenkins 06:25:21 # $SEMVER_BRANCH = master 06:25:21 # $SEMVER_TEMP = /tmp/semver-255549286 06:25:21 # git clone --branch semver git@github.com:edgexfoundry/device-snmp-go.git $SEMVER_TEMP 06:25:21 # '/tmp/semver-255549286' -> '/w/workspace/gexfoundry_device-snmp-go_master/.semver' 06:25:21 # -> Force: false 06:25:21 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } 06:25:21 $ docker exec --env ******** --env ******** cae9e196b434c2aa33bd0832da3f9d6973da267c1a7547c0ff8562155e583425 ssh-agent -k 06:25:21 unset SSH_AUTH_SOCK; 06:25:21 unset SSH_AGENT_PID; 06:25:21 echo Agent pid 53 killed; 06:25:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:25:22 + git semver [Pipeline] } 06:25:22 $ docker stop --time=1 cae9e196b434c2aa33bd0832da3f9d6973da267c1a7547c0ff8562155e583425 06:25:23 $ docker rm -f cae9e196b434c2aa33bd0832da3f9d6973da267c1a7547c0ff8562155e583425 [Pipeline] // withDockerContainer [Pipeline] sh 06:25:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:25:24 Stashed 1 file(s) [Pipeline] echo 06:25:24 [edgeXSemver]: initialized semver on version 1.3.1-dev.3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 06:25:40 Still waiting to schedule task 06:25:40 ‘prd-centos7-blackbox-4c-2g-19234’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-19427’ is offline; ‘prd-centos7-docker-4c-2g-19428’ is offline; ‘prd-centos7-docker-4c-2g-19429’ is offline; ‘prd-centos7-docker-4c-2g-19430’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19425’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-ubuntu18.04-docker-arm64-4c-16g-19426’ doesn’t have label ‘centos7-docker-4c-2g’ 06:25:40 Still waiting to schedule task 06:25:40 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 06:26:00 Running on prd-centos7-docker-4c-2g-19430 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws 06:26:00 Running in /w/workspace/device-snmp-go/21 [Pipeline] { [Pipeline] checkout 06:26:03 using credential edgex-jenkins-ssh 06:26:03 Cloning the remote Git repository 06:26:03 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 06:26:03 > git init /w/workspace/device-snmp-go/21 # timeout=10 06:26:03 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:26:03 > git --version # timeout=10 06:26:03 > git --version # 'git version 2.24.3' 06:26:03 using GIT_SSH to set credentials SSH Credentials for GitHub 06:26:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:26:04 Checking out Revision 561c5a452436cba8707a8b2c6132209bc86d4f3d (master) 06:26:03 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:26:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:26:03 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:26:03 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:26:03 using GIT_SSH to set credentials SSH Credentials for GitHub 06:26:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 06:26:04 > git config core.sparsecheckout # timeout=10 06:26:04 > git checkout -f 561c5a452436cba8707a8b2c6132209bc86d4f3d # timeout=10 06:26:08 Commit message: "Merge pull request #84 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.4.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:26:09 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 06:26:09 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:26:10 + sudo service docker restart 06:26:10 + true 06:26:10 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:26:11 provisioning config files... 06:26:11 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/21@tmp/config6648591232698859865tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:26:12 ---> docker-login.sh 06:26:12 nexus3.edgexfoundry.org:10001 06:26:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:12 Configure a credential helper to remove this warning. See 06:26:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:12 06:26:12 Login Succeeded 06:26:12 nexus3.edgexfoundry.org:10002 06:26:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:12 Configure a credential helper to remove this warning. See 06:26:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:12 06:26:12 Login Succeeded 06:26:12 nexus3.edgexfoundry.org:10003 06:26:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:13 Configure a credential helper to remove this warning. See 06:26:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:13 06:26:13 Login Succeeded 06:26:13 nexus3.edgexfoundry.org:10004 06:26:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:13 Configure a credential helper to remove this warning. See 06:26:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:13 06:26:13 Login Succeeded 06:26:13 docker.io 06:26:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:26:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:26:13 Configure a credential helper to remove this warning. See 06:26:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:26:13 06:26:13 Login Succeeded 06:26:13 ---> docker-login.sh ends [Pipeline] } 06:26:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:26:14 ========================================================= 06:26:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 06:26:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:26:14 + 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 . 06:26:14 Sending build context to Docker daemon 326.1kB 06:26:14 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 06:26:14 Step 2/10 : FROM ${BASE} 06:26:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 06:26:14 188c0c94c7c5: Pulling fs layer 06:26:14 0ef7d3d256c8: Pulling fs layer 06:26:14 de9db76c5a1d: Pulling fs layer 06:26:14 bca2f99d35d6: Pulling fs layer 06:26:14 93359f2a8cfa: Pulling fs layer 06:26:14 7c6f9722023f: Pulling fs layer 06:26:14 a35cf1a2eb13: Pulling fs layer 06:26:14 93359f2a8cfa: Waiting 06:26:14 7c6f9722023f: Waiting 06:26:14 a35cf1a2eb13: Waiting 06:26:14 bca2f99d35d6: Waiting 06:26:14 de9db76c5a1d: Verifying Checksum 06:26:14 de9db76c5a1d: Download complete 06:26:14 0ef7d3d256c8: Verifying Checksum 06:26:14 0ef7d3d256c8: Download complete 06:26:14 93359f2a8cfa: Verifying Checksum 06:26:14 93359f2a8cfa: Download complete 06:26:14 7c6f9722023f: Download complete 06:26:14 188c0c94c7c5: Verifying Checksum 06:26:14 188c0c94c7c5: Download complete 06:26:15 188c0c94c7c5: Pull complete 06:26:15 0ef7d3d256c8: Pull complete 06:26:15 de9db76c5a1d: Pull complete 06:26:22 a35cf1a2eb13: Verifying Checksum 06:26:22 a35cf1a2eb13: Download complete 06:26:23 bca2f99d35d6: Verifying Checksum 06:26:23 bca2f99d35d6: Download complete 06:26:29 bca2f99d35d6: Pull complete 06:26:29 93359f2a8cfa: Pull complete 06:26:29 7c6f9722023f: Pull complete 06:26:39 a35cf1a2eb13: Pull complete 06:26:39 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 06:26:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 06:26:39 ---> a62c8e92a672 06:26:39 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:26:39 ---> Running in dff88a7215ab 06:26:39 Removing intermediate container dff88a7215ab 06:26:39 ---> f44080885e5b 06:26:39 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:26:39 ---> Running in 276f3ac5139e 06:26:39 Removing intermediate container 276f3ac5139e 06:26:39 ---> 08e0d054ac76 06:26:39 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 06:26:39 ---> Running in 347106048fe4 06:26:39 Removing intermediate container 347106048fe4 06:26:39 ---> 7305b874610c 06:26:39 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:26:39 ---> Running in 37e3db547e55 06:26:39 Removing intermediate container 37e3db547e55 06:26:39 ---> d739fd0205a7 06:26:39 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:26:39 ---> Running in fdd3362ed789 06:26:40 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 06:26:42 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:26:44 OK: 166 MiB in 39 packages 06:26:44 Removing intermediate container fdd3362ed789 06:26:44 ---> c5a682f33434 06:26:44 Step 8/10 : WORKDIR /device-snmp-go 06:26:44 ---> Running in 9b7c51484445 06:26:45 Removing intermediate container 9b7c51484445 06:26:45 ---> 366f80a925a0 06:26:45 Step 9/10 : COPY . . 06:26:45 ---> b4d8d3b6200a 06:26:45 Step 10/10 : RUN go mod download 06:26:45 ---> Running in 0a0ec00f7019 06:27:08 Removing intermediate container 0a0ec00f7019 06:27:08 ---> 506a91b0f3b3 06:27:08 Successfully built 506a91b0f3b3 06:27:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:27:08 + docker inspect -f . ci-base-image-x86_64 06:27:08 . [Pipeline] withDockerContainer 06:27:08 prd-centos7-docker-4c-2g-19430 does not seem to be running inside a container 06:27:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/21 -v /w/workspace/device-snmp-go/21:/w/workspace/device-snmp-go/21:rw,z -v /w/workspace/device-snmp-go/21@tmp:/w/workspace/device-snmp-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:27:09 $ docker top 31d84b33a398f4ab9f2eac7e7784a216d35f5fa8f67f0770d9e59da3b4fc4682 -eo pid,comm [Pipeline] { [Pipeline] sh 06:27:09 + go version 06:27:09 go version go1.15.5 linux/amd64 [Pipeline] } 06:27:09 $ docker stop --time=1 31d84b33a398f4ab9f2eac7e7784a216d35f5fa8f67f0770d9e59da3b4fc4682 06:27:11 $ docker rm -f 31d84b33a398f4ab9f2eac7e7784a216d35f5fa8f67f0770d9e59da3b4fc4682 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:27:12 + docker inspect -f . ci-base-image-x86_64 06:27:12 . [Pipeline] withDockerContainer 06:27:12 prd-centos7-docker-4c-2g-19430 does not seem to be running inside a container 06:27:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/21 -v /w/workspace/device-snmp-go/21:/w/workspace/device-snmp-go/21:rw,z -v /w/workspace/device-snmp-go/21@tmp:/w/workspace/device-snmp-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:27:12 $ docker top a5ee81103443dbc3ea627ec21cdb5920634d8b6bed7758b2be9ca79e6a54db1b -eo pid,comm [Pipeline] { [Pipeline] sh 06:27:13 + make test 06:27:13 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:27:14 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:27:18 Running on prd-ubuntu18.04-docker-arm64-4c-16g-19433 in /w/workspace/gexfoundry_device-snmp-go_master [Pipeline] { [Pipeline] ws 06:27:18 Running in /w/workspace/device-snmp-go/21 [Pipeline] { [Pipeline] checkout 06:27:24 using credential edgex-jenkins-ssh 06:27:24 Cloning the remote Git repository 06:27:24 Cloning repository git@github.com:edgexfoundry/device-snmp-go.git 06:27:24 > git init /w/workspace/device-snmp-go/21 # timeout=10 06:27:24 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:27:24 > git --version # timeout=10 06:27:24 > git --version # 'git version 2.17.1' 06:27:24 using GIT_SSH to set credentials SSH Credentials for GitHub 06:27:24 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:27:26 Checking out Revision 561c5a452436cba8707a8b2c6132209bc86d4f3d (master) 06:27:26 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:27:26 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.005s coverage: 0.0% of statements 06:27:26 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:27:25 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:27:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:27:25 > git config remote.origin.url git@github.com:edgexfoundry/device-snmp-go.git # timeout=10 06:27:25 Fetching upstream changes from git@github.com:edgexfoundry/device-snmp-go.git 06:27:25 using GIT_SSH to set credentials SSH Credentials for GitHub 06:27:25 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-snmp-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 06:27:26 > git config core.sparsecheckout # timeout=10 06:27:26 > git checkout -f 561c5a452436cba8707a8b2c6132209bc86d4f3d # timeout=10 06:27:26 gofmt -l . 06:27:26 [ "`gofmt -l .`" = "" ] 06:27:26 ./bin/test-attribution-txt.sh 06:27:27 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:27:27 $ docker stop --time=1 a5ee81103443dbc3ea627ec21cdb5920634d8b6bed7758b2be9ca79e6a54db1b 06:27:30 $ docker rm -f a5ee81103443dbc3ea627ec21cdb5920634d8b6bed7758b2be9ca79e6a54db1b [Pipeline] // withDockerContainer [Pipeline] sh 06:27:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:27:31 Commit message: "Merge pull request #84 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.4.0" 06:27:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 06:27:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] sh 06:27:32 + ls -al . 06:27:32 total 104 06:27:32 drwxrwxr-x. 8 jenkins jenkins 4096 Jan 11 06:27 . 06:27:32 drwxrwxr-x. 4 jenkins jenkins 30 Jan 11 06:26 .. 06:27:32 -rw-rw-r--. 1 jenkins jenkins 5082 Jan 11 06:26 Attribution.txt 06:27:32 drwxrwxr-x. 2 jenkins jenkins 87 Jan 11 06:26 bin 06:27:32 drwxrwxr-x. 3 jenkins jenkins 32 Jan 11 06:26 cmd 06:27:32 -rw-r--r--. 1 jenkins jenkins 8493 Jan 11 06:27 coverage.out 06:27:32 -rw-rw-r--. 1 jenkins jenkins 1529 Jan 11 06:26 Dockerfile 06:27:32 -rw-rw-r--. 1 jenkins jenkins 1006 Jan 11 06:26 Dockerfile.build 06:27:32 -rw-rw-r--. 1 jenkins jenkins 6 Jan 11 06:26 .dockerignore 06:27:32 drwxrwxr-x. 8 jenkins jenkins 162 Jan 11 06:26 .git 06:27:32 drwxrwxr-x. 2 jenkins jenkins 60 Jan 11 06:26 .github 06:27:32 -rw-rw-r--. 1 jenkins jenkins 272 Jan 11 06:26 .gitignore 06:27:32 -rw-r--r--. 1 jenkins jenkins 204 Jan 11 06:27 go.mod 06:27:32 -rw-r--r--. 1 jenkins jenkins 14156 Jan 11 06:27 go.sum 06:27:32 drwxrwxr-x. 3 jenkins jenkins 20 Jan 11 06:26 internal 06:27:32 -rw-rw-r--. 1 jenkins jenkins 656 Jan 11 06:26 Jenkinsfile 06:27:32 -rw-rw-r--. 1 jenkins jenkins 11340 Jan 11 06:26 LICENSE 06:27:32 -rw-rw-r--. 1 jenkins jenkins 937 Jan 11 06:26 Makefile 06:27:32 drwxrwxr-x. 2 jenkins jenkins 84 Jan 11 06:26 profiles 06:27:32 -rw-rw-r--. 1 jenkins jenkins 12398 Jan 11 06:26 README.md 06:27:32 -rw-rw-r--. 1 jenkins jenkins 11 Jan 11 06:25 VERSION 06:27:32 -rw-rw-r--. 1 jenkins jenkins 209 Jan 11 06:26 version.go [Pipeline] isUnix [Pipeline] sh 06:27:33 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json 06:27:33 + docker build -t docker-device-snmp-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=561c5a452436cba8707a8b2c6132209bc86d4f3d --label arch=amd64 --label version=1.3.1-dev.3 . 06:27:33 Sending build context to Docker daemon 335.4kB 06:27:33 Step 1/26 : ARG BASE=golang:1.15-alpine3.12 06:27:33 Step 2/26 : FROM ${BASE} AS builder [Pipeline] sh 06:27:33 ---> 506a91b0f3b3 06:27:33 Step 3/26 : ARG MAKE='make build' 06:27:33 ---> Running in 8da77157f3a2 06:27:33 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 06:27:33 Removing intermediate container 8da77157f3a2 06:27:33 ---> 2fa3b746c803 06:27:33 Step 4/26 : ARG ALPINE_PKG_BASE="make git" 06:27:33 ---> Running in fd994c492630 06:27:34 + + sudotrue service 06:27:34 docker restart 06:27:34 Removing intermediate container fd994c492630 06:27:34 ---> 5c82fd46ad06 06:27:34 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 06:27:34 ---> Running in 0b2dc1d54d97 06:27:34 Removing intermediate container 0b2dc1d54d97 06:27:34 ---> 06a2b38b2e52 06:27:34 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:27:34 ---> Running in 0ed0687e7a30 06:27:35 Removing intermediate container 0ed0687e7a30 06:27:35 ---> 48fb8595428b 06:27:35 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:27:35 ---> Running in bc79d4cb5769 06:27:36 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:27:36 provisioning config files... 06:27:37 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/21@tmp/config4415176284800628599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:27:37 ---> docker-login.sh 06:27:37 nexus3.edgexfoundry.org:10001 06:27:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:38 Configure a credential helper to remove this warning. See 06:27:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:38 06:27:38 Login Succeeded 06:27:38 nexus3.edgexfoundry.org:10002 06:27:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 06:27:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:39 Configure a credential helper to remove this warning. See 06:27:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:39 06:27:39 Login Succeeded 06:27:39 nexus3.edgexfoundry.org:10003 06:27:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:40 Configure a credential helper to remove this warning. See 06:27:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:40 06:27:40 Login Succeeded 06:27:40 nexus3.edgexfoundry.org:10004 06:27:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:40 Configure a credential helper to remove this warning. See 06:27:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:40 06:27:40 Login Succeeded 06:27:40 docker.io 06:27:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:27:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:27:41 Configure a credential helper to remove this warning. See 06:27:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:27:41 06:27:41 Login Succeeded 06:27:41 ---> docker-login.sh ends [Pipeline] } 06:27:41 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:27:42 ========================================================= 06:27:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 06:27:42 ========================================================= [Pipeline] isUnix [Pipeline] sh 06:27:42 + 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 . 06:27:42 OK: 166 MiB in 39 packages 06:27:42 Removing intermediate container bc79d4cb5769 06:27:42 ---> 73a30cd06140 06:27:42 Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 06:27:42 Sending build context to Docker daemon 325.1kB 06:27:42 Step 1/10 : ARG BASE=golang:1.15-alpine3.12 06:27:42 Step 2/10 : FROM ${BASE} 06:27:42 ---> Running in 2f8cd0171c79 06:27:42 Removing intermediate container 2f8cd0171c79 06:27:42 ---> a051180c0e69 06:27:42 Step 9/26 : COPY go.mod . 06:27:43 ---> e4cd068ddaba 06:27:43 Step 10/26 : COPY Makefile . 06:27:43 ---> a3936ed388e5 06:27:43 Step 11/26 : RUN make update 06:27:43 ---> Running in 311234627bdf 06:27:43 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:27:43 5f621e34cdf4: Pulling fs layer 06:27:43 a4357932f1b6: Pulling fs layer 06:27:43 18c013af1878: Pulling fs layer 06:27:43 00ac8860ef70: Pulling fs layer 06:27:43 63d7cb157983: Pulling fs layer 06:27:43 b116817d02f9: Pulling fs layer 06:27:43 745a02a5169b: Pulling fs layer 06:27:43 00ac8860ef70: Waiting 06:27:43 63d7cb157983: Waiting 06:27:43 b116817d02f9: Waiting 06:27:43 745a02a5169b: Waiting 06:27:43 18c013af1878: Download complete 06:27:43 a4357932f1b6: Verifying Checksum 06:27:43 a4357932f1b6: Download complete 06:27:43 63d7cb157983: Verifying Checksum 06:27:43 63d7cb157983: Download complete 06:27:43 b116817d02f9: Verifying Checksum 06:27:43 b116817d02f9: Download complete 06:27:44 CGO_ENABLED=0 GO111MODULE=on go mod download 06:27:44 5f621e34cdf4: Verifying Checksum 06:27:44 5f621e34cdf4: Download complete 06:27:44 Removing intermediate container 311234627bdf 06:27:44 ---> 9f484b07330c 06:27:44 Step 12/26 : COPY . . 06:27:44 5f621e34cdf4: Pull complete 06:27:45 ---> e338c2904b3e 06:27:45 Step 13/26 : RUN ${MAKE} 06:27:45 a4357932f1b6: Pull complete 06:27:45 ---> Running in fb4c18aa8cfc 06:27:45 18c013af1878: Pull complete 06:27:45 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.3.1-dev.3" -o cmd/device-snmp-go ./cmd 06:27:48 745a02a5169b: Download complete 06:27:51 00ac8860ef70: Verifying Checksum 06:27:51 00ac8860ef70: Download complete 06:27:55 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:27:57 Removing intermediate container fb4c18aa8cfc 06:27:57 ---> d84762aabc28 06:27:57 Step 14/26 : FROM alpine:3.12 06:27:58 3.12: Pulling from library/alpine 06:27:58 801bfaa63ef2: Pulling fs layer 06:27:59 801bfaa63ef2: Verifying Checksum 06:27:59 801bfaa63ef2: Download complete 06:27:59 801bfaa63ef2: Pull complete 06:27:59 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 06:27:59 Status: Downloaded newer image for alpine:3.12 06:27:59 ---> 389fef711851 06:27:59 Step 15/26 : ENV APP_PORT=49993 06:27:59 ---> Running in 63df84ca20ca 06:27:59 Removing intermediate container 63df84ca20ca 06:27:59 ---> 86abbea0a706 06:27:59 Step 16/26 : EXPOSE $APP_PORT 06:27:59 ---> Running in 89255be54a44 06:27:59 Removing intermediate container 89255be54a44 06:27:59 ---> 474183c43535 06:27:59 Step 17/26 : ENV DEVICE_PORT=161 06:27:59 ---> Running in 79bf5fbe145c 06:27:59 Removing intermediate container 79bf5fbe145c 06:27:59 ---> ff459014ad22 06:27:59 Step 18/26 : EXPOSE $DEVICE_PORT 06:28:00 ---> Running in 3451c683bb0e 06:28:00 Removing intermediate container 3451c683bb0e 06:28:00 ---> f7913d1cec0f 06:28:00 Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 06:28:01 ---> badaad507023 06:28:01 Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 06:28:01 ---> 56f5d9af3b35 06:28:01 Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 06:28:01 ---> f517b6f2adfd 06:28:01 Step 22/26 : ENTRYPOINT ["/device-snmp-go"] 06:28:01 ---> Running in 23e6b47eb87b 06:28:01 Removing intermediate container 23e6b47eb87b 06:28:01 ---> 680411a12595 06:28:01 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:28:01 ---> Running in 4aa327c49f7a 06:28:01 Removing intermediate container 4aa327c49f7a 06:28:01 ---> a0c7be4bc012 06:28:01 Step 24/26 : LABEL arch=amd64 06:28:01 ---> Running in df354d8eeaeb 06:28:01 00ac8860ef70: Pull complete 06:28:01 63d7cb157983: Pull complete 06:28:01 b116817d02f9: Pull complete 06:28:02 Removing intermediate container df354d8eeaeb 06:28:02 ---> 508342fe35a5 06:28:02 Step 25/26 : LABEL git_sha=561c5a452436cba8707a8b2c6132209bc86d4f3d 06:28:02 ---> Running in caf39004344b 06:28:02 Removing intermediate container caf39004344b 06:28:02 ---> c7c6a1e40add 06:28:02 Step 26/26 : LABEL version=1.3.1-dev.3 06:28:02 ---> Running in 19277b288fe4 06:28:02 Removing intermediate container 19277b288fe4 06:28:02 ---> 8fc00aa0a50f 06:28:02 [Warning] One or more build-args [ARCH] were not consumed 06:28:02 Successfully built 8fc00aa0a50f 06:28:02 Successfully tagged docker-device-snmp-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:28:02 provisioning config files... 06:28:02 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/21@tmp/config5512136215371608952tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:28:03 ---> docker-login.sh 06:28:03 nexus3.edgexfoundry.org:10001 06:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:03 Configure a credential helper to remove this warning. See 06:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:03 06:28:03 Login Succeeded 06:28:03 nexus3.edgexfoundry.org:10002 06:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:03 Configure a credential helper to remove this warning. See 06:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:03 06:28:03 Login Succeeded 06:28:03 nexus3.edgexfoundry.org:10003 06:28:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:03 Configure a credential helper to remove this warning. See 06:28:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:03 06:28:03 Login Succeeded 06:28:03 nexus3.edgexfoundry.org:10004 06:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:04 Configure a credential helper to remove this warning. See 06:28:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:04 06:28:04 Login Succeeded 06:28:04 docker.io 06:28:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:28:04 745a02a5169b: Pull complete 06:28:04 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 06:28:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 06:28:04 ---> b7e6874047d6 06:28:04 Step 3/10 : ARG ALPINE_PKG_BASE="make git" 06:28:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:28:04 Configure a credential helper to remove this warning. See 06:28:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:28:04 06:28:04 Login Succeeded 06:28:04 ---> docker-login.sh ends [Pipeline] } 06:28:04 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:28:04 [edgeXDocker.push] Tagging docker image docker-device-snmp-go with the following tags: 06:28:04 561c5a452436cba8707a8b2c6132209bc86d4f3d 06:28:04 latest 06:28:04 1.3.1-dev.3 06:28:04 561c5a452436cba8707a8b2c6132209bc86d4f3d-1.3.1-dev.3 06:28:04 master 06:28:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:28:05 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:561c5a452436cba8707a8b2c6132209bc86d4f3d [Pipeline] isUnix [Pipeline] sh 06:28:05 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:561c5a452436cba8707a8b2c6132209bc86d4f3d 06:28:05 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 06:28:05 f093018f4a35: Preparing 06:28:05 e1c48b087dca: Preparing 06:28:05 ebb56b212aee: Preparing 06:28:05 777b2c648970: Preparing 06:28:05 777b2c648970: Layer already exists 06:28:05 e1c48b087dca: Pushed 06:28:05 f093018f4a35: Pushed 06:28:07 ebb56b212aee: Pushed 06:28:07 ---> Running in b0958196587b 06:28:07 Removing intermediate container b0958196587b 06:28:07 ---> f26851b1145f 06:28:07 Step 4/10 : ARG ALPINE_PKG_EXTRA="" 06:28:07 ---> Running in 40a87d93adae 06:28:08 Removing intermediate container 40a87d93adae 06:28:08 ---> 31c9b495ac58 06:28:08 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel Corporation' 06:28:08 ---> Running in cba0c4b5c958 06:28:09 Removing intermediate container cba0c4b5c958 06:28:09 ---> d6415e76532f 06:28:09 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:28:09 ---> Running in 7eb9c4a2344f 06:28:09 561c5a452436cba8707a8b2c6132209bc86d4f3d: digest: sha256:8c37b0ec21dea558e5d1b2ce23cdc9d33edb44ed53fa7fc34e5e9655f065d504 size: 1155 [Pipeline] isUnix [Pipeline] sh 06:28:09 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest [Pipeline] isUnix [Pipeline] sh 06:28:09 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest 06:28:09 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 06:28:09 f093018f4a35: Preparing 06:28:09 e1c48b087dca: Preparing 06:28:09 ebb56b212aee: Preparing 06:28:09 777b2c648970: Preparing 06:28:09 e1c48b087dca: Layer already exists 06:28:09 f093018f4a35: Layer already exists 06:28:09 ebb56b212aee: Layer already exists 06:28:10 777b2c648970: Layer already exists 06:28:10 latest: digest: sha256:8c37b0ec21dea558e5d1b2ce23cdc9d33edb44ed53fa7fc34e5e9655f065d504 size: 1155 [Pipeline] isUnix [Pipeline] sh 06:28:10 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.3.1-dev.3 [Pipeline] isUnix [Pipeline] sh 06:28:10 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.3.1-dev.3 06:28:10 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 06:28:10 f093018f4a35: Preparing 06:28:10 e1c48b087dca: Preparing 06:28:10 ebb56b212aee: Preparing 06:28:10 777b2c648970: Preparing 06:28:10 e1c48b087dca: Layer already exists 06:28:10 f093018f4a35: Layer already exists 06:28:10 777b2c648970: Layer already exists 06:28:10 ebb56b212aee: Layer already exists 06:28:10 1.3.1-dev.3: digest: sha256:8c37b0ec21dea558e5d1b2ce23cdc9d33edb44ed53fa7fc34e5e9655f065d504 size: 1155 [Pipeline] isUnix [Pipeline] sh 06:28:11 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:561c5a452436cba8707a8b2c6132209bc86d4f3d-1.3.1-dev.3 [Pipeline] isUnix [Pipeline] sh 06:28:11 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:561c5a452436cba8707a8b2c6132209bc86d4f3d-1.3.1-dev.3 06:28:11 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 06:28:11 f093018f4a35: Preparing 06:28:11 e1c48b087dca: Preparing 06:28:11 ebb56b212aee: Preparing 06:28:11 777b2c648970: Preparing 06:28:11 777b2c648970: Layer already exists 06:28:11 ebb56b212aee: Layer already exists 06:28:11 e1c48b087dca: Layer already exists 06:28:11 f093018f4a35: Layer already exists 06:28:11 561c5a452436cba8707a8b2c6132209bc86d4f3d-1.3.1-dev.3: digest: sha256:8c37b0ec21dea558e5d1b2ce23cdc9d33edb44ed53fa7fc34e5e9655f065d504 size: 1155 [Pipeline] isUnix [Pipeline] sh 06:28:11 Removing intermediate container 7eb9c4a2344f 06:28:11 ---> e8c3f2eec353 06:28:11 Step 7/10 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:28:11 ---> Running in 23a26dcd2026 06:28:11 + docker tag docker-device-snmp-go nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [Pipeline] isUnix [Pipeline] sh 06:28:12 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master 06:28:12 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go] 06:28:12 f093018f4a35: Preparing 06:28:12 e1c48b087dca: Preparing 06:28:12 ebb56b212aee: Preparing 06:28:12 777b2c648970: Preparing 06:28:12 777b2c648970: Layer already exists 06:28:12 ebb56b212aee: Layer already exists 06:28:12 e1c48b087dca: Layer already exists 06:28:12 f093018f4a35: Layer already exists 06:28:12 master: digest: sha256:8c37b0ec21dea558e5d1b2ce23cdc9d33edb44ed53fa7fc34e5e9655f065d504 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:28:12 ===================================================== [Pipeline] echo 06:28:12 taggedImages: 06:28:12 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:561c5a452436cba8707a8b2c6132209bc86d4f3d 06:28:12 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:latest 06:28:12 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:1.3.1-dev.3 06:28:12 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:561c5a452436cba8707a8b2c6132209bc86d4f3d-1.3.1-dev.3 06:28:12 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } 06:28:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:28:15 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:28:19 OK: 142 MiB in 39 packages 06:28:20 Removing intermediate container 23a26dcd2026 06:28:20 ---> d8993b2de8cc 06:28:20 Step 8/10 : WORKDIR /device-snmp-go 06:28:20 ---> Running in 63ce552144f7 06:28:21 Removing intermediate container 63ce552144f7 06:28:21 ---> 00cb6ef7bfa0 06:28:21 Step 9/10 : COPY . . 06:28:22 ---> d40a9c27e160 06:28:22 Step 10/10 : RUN go mod download 06:28:22 ---> Running in 3a3320aefc2f 06:28:48 Removing intermediate container 3a3320aefc2f 06:28:48 ---> 858157a43f60 06:28:48 Successfully built 858157a43f60 06:28:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:28:49 + docker inspect -f . ci-base-image-arm64 06:28:49 . [Pipeline] withDockerContainer 06:28:49 prd-ubuntu18.04-docker-arm64-4c-16g-19433 does not seem to be running inside a container 06:28:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/21 -v /w/workspace/device-snmp-go/21:/w/workspace/device-snmp-go/21:rw,z -v /w/workspace/device-snmp-go/21@tmp:/w/workspace/device-snmp-go/21@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 06:28:51 $ docker top 05e415e6b937408e5795e9ffbad29beb2927b73867106623fa3444b9f176ebad -eo pid,comm [Pipeline] { [Pipeline] sh 06:28:52 + go version 06:28:52 go version go1.15.5 linux/arm64 [Pipeline] } 06:28:52 $ docker stop --time=1 05e415e6b937408e5795e9ffbad29beb2927b73867106623fa3444b9f176ebad 06:28:54 $ docker rm -f 05e415e6b937408e5795e9ffbad29beb2927b73867106623fa3444b9f176ebad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:28:55 + docker inspect -f . ci-base-image-arm64 06:28:55 . [Pipeline] withDockerContainer 06:28:55 prd-ubuntu18.04-docker-arm64-4c-16g-19433 does not seem to be running inside a container 06:28:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-snmp-go/21 -v /w/workspace/device-snmp-go/21:/w/workspace/device-snmp-go/21:rw,z -v /w/workspace/device-snmp-go/21@tmp:/w/workspace/device-snmp-go/21@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 06:28:57 $ docker top 9a480d01d7fa6eb2256f90df80a56044f48b67ed173353ee4b2f8430fae7f2a7 -eo pid,comm [Pipeline] { [Pipeline] sh 06:28:58 + make test 06:28:58 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 06:28:59 ? github.com/edgexfoundry/device-snmp-go [no test files] 06:29:38 ? github.com/edgexfoundry/device-snmp-go/cmd [no test files] 06:29:38 ok github.com/edgexfoundry/device-snmp-go/internal/driver 0.013s coverage: 0.0% of statements 06:29:38 CGO_ENABLED=0 GO111MODULE=on go vet ./... 06:29:44 gofmt -l . 06:29:44 [ "`gofmt -l .`" = "" ] 06:29:44 ./bin/test-attribution-txt.sh 06:29:45 ./bin/test-go-mod-tidy.sh [Pipeline] } 06:29:45 $ docker stop --time=1 9a480d01d7fa6eb2256f90df80a56044f48b67ed173353ee4b2f8430fae7f2a7 06:29:47 $ docker rm -f 9a480d01d7fa6eb2256f90df80a56044f48b67ed173353ee4b2f8430fae7f2a7 [Pipeline] // withDockerContainer [Pipeline] sh 06:29:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:29:48 Warning: overwriting stash ‘coverage-report’ 06:29:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:29:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:29:50 + ls -al . 06:29:50 total 132 06:29:50 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 06:29 . 06:29:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 11 06:27 .. 06:29:50 -rw-rw-r-- 1 jenkins jenkins 6 Jan 11 06:27 .dockerignore 06:29:50 drwxrwxr-x 8 jenkins jenkins 4096 Jan 11 06:27 .git 06:29:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:27 .github 06:29:50 -rw-rw-r-- 1 jenkins jenkins 272 Jan 11 06:27 .gitignore 06:29:50 -rw-rw-r-- 1 jenkins jenkins 5082 Jan 11 06:27 Attribution.txt 06:29:50 -rw-rw-r-- 1 jenkins jenkins 1529 Jan 11 06:27 Dockerfile 06:29:50 -rw-rw-r-- 1 jenkins jenkins 1006 Jan 11 06:27 Dockerfile.build 06:29:50 -rw-rw-r-- 1 jenkins jenkins 656 Jan 11 06:27 Jenkinsfile 06:29:50 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 11 06:27 LICENSE 06:29:50 -rw-rw-r-- 1 jenkins jenkins 937 Jan 11 06:27 Makefile 06:29:50 -rw-rw-r-- 1 jenkins jenkins 12398 Jan 11 06:27 README.md 06:29:50 -rw-rw-r-- 1 jenkins jenkins 11 Jan 11 06:25 VERSION 06:29:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:27 bin 06:29:50 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 06:27 cmd 06:29:50 -rw-r--r-- 1 jenkins jenkins 8493 Jan 11 06:29 coverage.out 06:29:50 -rw-r--r-- 1 jenkins jenkins 204 Jan 11 06:29 go.mod 06:29:50 -rw-r--r-- 1 jenkins jenkins 14156 Jan 11 06:29 go.sum 06:29:50 drwxrwxr-x 3 jenkins jenkins 4096 Jan 11 06:27 internal 06:29:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 11 06:27 profiles 06:29:50 -rw-rw-r-- 1 jenkins jenkins 209 Jan 11 06:27 version.go [Pipeline] isUnix [Pipeline] sh 06:29:51 + docker build -t docker-device-snmp-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=561c5a452436cba8707a8b2c6132209bc86d4f3d --label arch=arm64 --label version=1.3.1-dev.3 . 06:29:51 Sending build context to Docker daemon 334.3kB 06:29:51 Step 1/26 : ARG BASE=golang:1.15-alpine3.12 06:29:51 Step 2/26 : FROM ${BASE} AS builder 06:29:51 ---> 858157a43f60 06:29:51 Step 3/26 : ARG MAKE='make build' 06:29:51 ---> Running in ffda40c22437 06:29:52 Removing intermediate container ffda40c22437 06:29:52 ---> a08a416290df 06:29:52 Step 4/26 : ARG ALPINE_PKG_BASE="make git" 06:29:52 ---> Running in f9da6e8a746a 06:29:53 Removing intermediate container f9da6e8a746a 06:29:53 ---> b3a1d031bdec 06:29:53 Step 5/26 : ARG ALPINE_PKG_EXTRA="" 06:29:53 ---> Running in fe168e18ef7c 06:29:53 Removing intermediate container fe168e18ef7c 06:29:53 ---> f317bbb42223 06:29:53 Step 6/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:29:53 ---> Running in d7a00e309904 06:29:56 Removing intermediate container d7a00e309904 06:29:56 ---> ab269cfe1b56 06:29:56 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:29:56 ---> Running in d23bb7b9257a 06:29:57 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 06:29:58 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 06:29:59 OK: 142 MiB in 39 packages 06:30:00 Removing intermediate container d23bb7b9257a 06:30:00 ---> 547b965bdb28 06:30:00 Step 8/26 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-snmp-go 06:30:00 ---> Running in 746f55153628 06:30:01 Removing intermediate container 746f55153628 06:30:01 ---> 1af18f6e590b 06:30:01 Step 9/26 : COPY go.mod . 06:30:01 ---> ecf79c41eff6 06:30:01 Step 10/26 : COPY Makefile . 06:30:02 ---> 802bd0263dbe 06:30:02 Step 11/26 : RUN make update 06:30:02 ---> Running in 62ef442d1e98 06:30:03 CGO_ENABLED=0 GO111MODULE=on go mod download 06:30:05 Removing intermediate container 62ef442d1e98 06:30:05 ---> 475ed53ef595 06:30:05 Step 12/26 : COPY . . 06:30:06 ---> 126bb8114421 06:30:06 Step 13/26 : RUN ${MAKE} 06:30:06 ---> Running in fc7835e339bb 06:30:07 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-snmp-go.Version=1.3.1-dev.3" -o cmd/device-snmp-go ./cmd 06:30:40 CGO_ENABLED=0 GO111MODULE=on go build ./... 06:30:42 Removing intermediate container fc7835e339bb 06:30:42 ---> 9c9091ad2b4c 06:30:42 Step 14/26 : FROM alpine:3.12 06:30:43 3.12: Pulling from library/alpine 06:30:43 159e5727ea61: Pulling fs layer 06:30:43 159e5727ea61: Verifying Checksum 06:30:43 159e5727ea61: Download complete 06:30:44 159e5727ea61: Pull complete 06:30:44 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 06:30:44 Status: Downloaded newer image for alpine:3.12 06:30:44 ---> afeebe901d6b 06:30:44 Step 15/26 : ENV APP_PORT=49993 06:30:44 ---> Running in e2ede9d56137 06:30:44 Removing intermediate container e2ede9d56137 06:30:44 ---> 51ae6dc8afb9 06:30:44 Step 16/26 : EXPOSE $APP_PORT 06:30:45 ---> Running in 268b093f31aa 06:30:45 Removing intermediate container 268b093f31aa 06:30:45 ---> a669bb70b13a 06:30:45 Step 17/26 : ENV DEVICE_PORT=161 06:30:45 ---> Running in 3e21a60496b7 06:30:46 Removing intermediate container 3e21a60496b7 06:30:46 ---> b44561b4d85e 06:30:46 Step 18/26 : EXPOSE $DEVICE_PORT 06:30:46 ---> Running in a99162719bc6 06:30:46 Removing intermediate container a99162719bc6 06:30:46 ---> 406b19829fd7 06:30:46 Step 19/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/cmd / 06:30:48 ---> af9d6a5f4871 06:30:48 Step 20/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/Attribution.txt / 06:30:48 ---> e3dbac489568 06:30:48 Step 21/26 : COPY --from=builder /go/src/github.com/edgexfoundry/device-snmp-go/LICENSE / 06:30:49 ---> b094b2d6438c 06:30:49 Step 22/26 : ENTRYPOINT ["/device-snmp-go"] 06:30:49 ---> Running in ebeae3251755 06:30:50 Removing intermediate container ebeae3251755 06:30:50 ---> 61457ecfc79d 06:30:50 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:30:50 ---> Running in a8002aeddf10 06:30:50 Removing intermediate container a8002aeddf10 06:30:50 ---> c6a2b83862bf 06:30:50 Step 24/26 : LABEL arch=arm64 06:30:50 ---> Running in 8266cf54f7e7 06:30:51 Removing intermediate container 8266cf54f7e7 06:30:51 ---> d18515b85b4b 06:30:51 Step 25/26 : LABEL git_sha=561c5a452436cba8707a8b2c6132209bc86d4f3d 06:30:51 ---> Running in ec973cb9bfb8 06:30:51 Removing intermediate container ec973cb9bfb8 06:30:51 ---> 479e83b374a3 06:30:51 Step 26/26 : LABEL version=1.3.1-dev.3 06:30:51 ---> Running in bf45809e4b75 06:30:52 Removing intermediate container bf45809e4b75 06:30:52 ---> 03204f06075b 06:30:52 [Warning] One or more build-args [ARCH] were not consumed 06:30:52 Successfully built 03204f06075b 06:30:52 Successfully tagged docker-device-snmp-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 06:30:53 provisioning config files... 06:30:53 copy managed file [device-snmp-go-settings] to file:/w/workspace/device-snmp-go/21@tmp/config767251615141093864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:30:53 ---> docker-login.sh 06:30:53 nexus3.edgexfoundry.org:10001 06:30:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:53 Configure a credential helper to remove this warning. See 06:30:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:53 06:30:53 Login Succeeded 06:30:53 nexus3.edgexfoundry.org:10002 06:30:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:54 Configure a credential helper to remove this warning. See 06:30:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:54 06:30:54 Login Succeeded 06:30:54 nexus3.edgexfoundry.org:10003 06:30:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:55 Configure a credential helper to remove this warning. See 06:30:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:55 06:30:55 Login Succeeded 06:30:55 nexus3.edgexfoundry.org:10004 06:30:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:55 Configure a credential helper to remove this warning. See 06:30:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:55 06:30:55 Login Succeeded 06:30:55 docker.io 06:30:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:30:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:30:56 Configure a credential helper to remove this warning. See 06:30:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:30:56 06:30:56 Login Succeeded 06:30:56 ---> docker-login.sh ends [Pipeline] } 06:30:56 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:30:57 [edgeXDocker.push] Tagging docker image docker-device-snmp-go-arm64 with the following tags: 06:30:57 561c5a452436cba8707a8b2c6132209bc86d4f3d 06:30:57 latest 06:30:57 1.3.1-dev.3 06:30:57 561c5a452436cba8707a8b2c6132209bc86d4f3d-1.3.1-dev.3 06:30:57 master 06:30:57 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:30:57 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:561c5a452436cba8707a8b2c6132209bc86d4f3d [Pipeline] isUnix [Pipeline] sh 06:30:57 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:561c5a452436cba8707a8b2c6132209bc86d4f3d 06:30:57 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 06:30:57 e33881e67888: Preparing 06:30:57 c4ef011162ea: Preparing 06:30:57 42ec6ea3b370: Preparing 06:30:57 379067d0cb53: Preparing 06:30:58 379067d0cb53: Layer already exists 06:30:58 e33881e67888: Pushed 06:30:58 c4ef011162ea: Pushed 06:31:00 42ec6ea3b370: Pushed 06:31:01 561c5a452436cba8707a8b2c6132209bc86d4f3d: digest: sha256:baaf9d56cd9436ea5f286a94e80b5ff3bd798c6f37d8131aee185af94ffa3db8 size: 1155 [Pipeline] isUnix [Pipeline] sh 06:31:01 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:31:01 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest 06:31:01 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 06:31:01 e33881e67888: Preparing 06:31:01 c4ef011162ea: Preparing 06:31:01 42ec6ea3b370: Preparing 06:31:01 379067d0cb53: Preparing 06:31:02 e33881e67888: Layer already exists 06:31:02 379067d0cb53: Layer already exists 06:31:02 c4ef011162ea: Layer already exists 06:31:02 42ec6ea3b370: Layer already exists 06:31:02 latest: digest: sha256:baaf9d56cd9436ea5f286a94e80b5ff3bd798c6f37d8131aee185af94ffa3db8 size: 1155 [Pipeline] isUnix [Pipeline] sh 06:31:02 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.3.1-dev.3 [Pipeline] isUnix [Pipeline] sh 06:31:02 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.3.1-dev.3 06:31:02 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 06:31:02 e33881e67888: Preparing 06:31:02 c4ef011162ea: Preparing 06:31:02 42ec6ea3b370: Preparing 06:31:02 379067d0cb53: Preparing 06:31:03 c4ef011162ea: Layer already exists 06:31:03 e33881e67888: Layer already exists 06:31:03 42ec6ea3b370: Layer already exists 06:31:03 379067d0cb53: Layer already exists 06:31:03 1.3.1-dev.3: digest: sha256:baaf9d56cd9436ea5f286a94e80b5ff3bd798c6f37d8131aee185af94ffa3db8 size: 1155 [Pipeline] isUnix [Pipeline] sh 06:31:03 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:561c5a452436cba8707a8b2c6132209bc86d4f3d-1.3.1-dev.3 [Pipeline] isUnix [Pipeline] sh 06:31:03 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:561c5a452436cba8707a8b2c6132209bc86d4f3d-1.3.1-dev.3 06:31:03 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 06:31:03 e33881e67888: Preparing 06:31:03 c4ef011162ea: Preparing 06:31:03 42ec6ea3b370: Preparing 06:31:03 379067d0cb53: Preparing 06:31:03 42ec6ea3b370: Layer already exists 06:31:03 c4ef011162ea: Layer already exists 06:31:03 379067d0cb53: Layer already exists 06:31:03 e33881e67888: Layer already exists 06:31:04 561c5a452436cba8707a8b2c6132209bc86d4f3d-1.3.1-dev.3: digest: sha256:baaf9d56cd9436ea5f286a94e80b5ff3bd798c6f37d8131aee185af94ffa3db8 size: 1155 [Pipeline] isUnix [Pipeline] sh 06:31:04 + docker tag docker-device-snmp-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master [Pipeline] isUnix [Pipeline] sh 06:31:04 + docker push nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:master 06:31:04 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64] 06:31:04 e33881e67888: Preparing 06:31:04 c4ef011162ea: Preparing 06:31:04 42ec6ea3b370: Preparing 06:31:04 379067d0cb53: Preparing 06:31:04 379067d0cb53: Layer already exists 06:31:04 c4ef011162ea: Layer already exists 06:31:04 e33881e67888: Layer already exists 06:31:04 42ec6ea3b370: Layer already exists 06:31:05 master: digest: sha256:baaf9d56cd9436ea5f286a94e80b5ff3bd798c6f37d8131aee185af94ffa3db8 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:31:05 ===================================================== [Pipeline] echo 06:31:05 taggedImages: 06:31:05 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:561c5a452436cba8707a8b2c6132209bc86d4f3d 06:31:05 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:latest 06:31:05 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:1.3.1-dev.3 06:31:05 - nexus3.edgexfoundry.org:10004/docker-device-snmp-go-arm64:561c5a452436cba8707a8b2c6132209bc86d4f3d-1.3.1-dev.3 06:31:05 - nexus3.edgexfoundry.org:10004/docker-device-snmp-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 06:31:06 provisioning config files... 06:31:06 copy managed file [device-snmp-go-codecov-token] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config1149242840489647657tmp [Pipeline] { [Pipeline] sh 06:31:07 + set +x 06:31:07 + curl -s https://codecov.io/bash 06:31:07 + bash -s -- 06:31:07 06:31:07 _____ _ 06:31:07 / ____| | | 06:31:07 | | ___ __| | ___ ___ _____ __ 06:31:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:31:07 | |___| (_) | (_| | __/ (_| (_) \ V / 06:31:07 \_____\___/ \__,_|\___|\___\___/ \_/ 06:31:07 Bash-20201231-23d4836 06:31:07 06:31:07 06:31:07 ==> git version 2.24.3 found 06:31:07 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 06:31:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 06:31:07 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 06:31:07 ==> Jenkins CI detected. 06:31:07 project root: . 06:31:07 --> token set from env 06:31:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:31:07 ==> Running gcov in . (disable via -X gcov) 06:31:07 ==> Python coveragepy not found 06:31:07 ==> Searching for coverage reports in: 06:31:07 + . 06:31:07 -> Found 1 reports 06:31:07 ==> Detecting git/mercurial file structure 06:31:07 ==> Reading reports 06:31:07 + ./coverage.out bytes=8493 06:31:07 ==> Appending adjustments 06:31:07 https://docs.codecov.io/docs/fixing-reports 06:31:07 + Found adjustments 06:31:07 ==> Gzipping contents 06:31:07 4.0K /tmp/codecov.x21QCc.gz 06:31:07 ==> Uploading reports 06:31:07 url: https://codecov.io 06:31:07 query: branch=master&commit=561c5a452436cba8707a8b2c6132209bc86d4f3d&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:31:07 -> Pinging Codecov 06:31:07 https://codecov.io/upload/v4?package=bash-20201231-23d4836&token=secret&branch=master&commit=561c5a452436cba8707a8b2c6132209bc86d4f3d&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-snmp-go%2Fjob%2Fmaster%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-snmp-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:31:07 -> Uploading to 06:31:07 https://storage.googleapis.com/codecov/v4/raw/2021-01-11/6C56EA5C29638FB4528AC87E60AF5AE0/561c5a452436cba8707a8b2c6132209bc86d4f3d/904ce793-7db8-4b6c-8d67-4432c216ab40.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210111T063107Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=24988fe448ae2d6171bc61aa88ccb5335911a9a5a75611f22ec54bd716b08864 06:31:07 % Total % Received % Xferd Average Speed Time Time Time Current 06:31:07 Dload Upload Total Spent Left Speed 06:31:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1447 0 0 100 1447 0 2948 --:--:-- --:--:-- --:--:-- 2953 06:31:08 -> View reports at https://codecov.io/github/edgexfoundry/device-snmp-go/commit/561c5a452436cba8707a8b2c6132209bc86d4f3d [Pipeline] } 06:31:08 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:31:09 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:31:09 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:31:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:31:09 06:31:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 06:31:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:31:09 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:31:09 188c0c94c7c5: Pulling fs layer 06:31:09 0ef7d3d256c8: Pulling fs layer 06:31:09 de9db76c5a1d: Pulling fs layer 06:31:09 0eba1c9be4d2: Pulling fs layer 06:31:09 0d57e429df01: Pulling fs layer 06:31:09 4e4be7b47b0d: Pulling fs layer 06:31:09 e1f770b5df2f: Pulling fs layer 06:31:09 85a0685a4137: Pulling fs layer 06:31:09 0eba1c9be4d2: Waiting 06:31:09 0d57e429df01: Waiting 06:31:09 4e4be7b47b0d: Waiting 06:31:09 e1f770b5df2f: Waiting 06:31:09 85a0685a4137: Waiting 06:31:09 de9db76c5a1d: Verifying Checksum 06:31:09 de9db76c5a1d: Download complete 06:31:09 0ef7d3d256c8: Verifying Checksum 06:31:09 0ef7d3d256c8: Download complete 06:31:09 0d57e429df01: Verifying Checksum 06:31:09 0d57e429df01: Download complete 06:31:09 4e4be7b47b0d: Verifying Checksum 06:31:09 4e4be7b47b0d: Download complete 06:31:09 188c0c94c7c5: Verifying Checksum 06:31:09 188c0c94c7c5: Download complete 06:31:10 188c0c94c7c5: Pull complete 06:31:10 0ef7d3d256c8: Pull complete 06:31:10 de9db76c5a1d: Pull complete 06:31:11 e1f770b5df2f: Verifying Checksum 06:31:11 e1f770b5df2f: Download complete 06:31:13 0eba1c9be4d2: Verifying Checksum 06:31:13 0eba1c9be4d2: Download complete 06:31:13 85a0685a4137: Verifying Checksum 06:31:13 85a0685a4137: Download complete 06:31:20 0eba1c9be4d2: Pull complete 06:31:20 0d57e429df01: Pull complete 06:31:20 4e4be7b47b0d: Pull complete 06:31:22 e1f770b5df2f: Pull complete 06:31:29 85a0685a4137: Pull complete 06:31:29 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 06:31:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:31:29 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 06:31:29 prd-centos7-docker-4c-2g-19422 does not seem to be running inside a container 06:31:29 $ 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-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:31:30 $ docker top fa12526e896faf3e8f5170bc7852ae1276504ab7366360a2c72d2e602880806d -eo pid,comm [Pipeline] { [Pipeline] echo 06:31:31 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 06:31:31 + set -o pipefail 06:31:31 + snyk monitor '--org=edgex-jenkins' 06:31:37 06:31:37 Monitoring /w/workspace/gexfoundry_device-snmp-go_master (github.com/edgexfoundry/device-snmp-go)... 06:31:37 06:31:37 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/c76919d0-7345-4304-8954-aa03851194a6/history/b1e3ddbe-1ff1-4c4a-98e1-ea49a8b7eb1e 06:31:37 06:31:37 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:31:37 06:31:38 [Pipeline] } 06:31:38 $ docker stop --time=1 fa12526e896faf3e8f5170bc7852ae1276504ab7366360a2c72d2e602880806d 06:31:40 $ docker rm -f fa12526e896faf3e8f5170bc7852ae1276504ab7366360a2c72d2e602880806d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) 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 06:31:42 + git log --format=format:%s -1 561c5a452436cba8707a8b2c6132209bc86d4f3d [Pipeline] isUnix [Pipeline] sh 06:31:43 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:31:43 . [Pipeline] withDockerContainer 06:31:43 prd-centos7-docker-4c-2g-19422 does not seem to be running inside a container 06:31:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:31:44 $ docker top 8273c708e5806273c698b3309ec416d5604c2cdaa5f32be082ff4232921f1506 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:31:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:31:44 [ssh-agent] Looking for ssh-agent implementation... 06:31:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:31:44 $ docker exec 8273c708e5806273c698b3309ec416d5604c2cdaa5f32be082ff4232921f1506 ssh-agent 06:31:44 SSH_AUTH_SOCK=/tmp/ssh-cAAPb2t7lU19/agent.11 06:31:44 SSH_AGENT_PID=16 06:31:44 Running ssh-add (command line suppressed) 06:31:45 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_7841329460638415296.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_7841329460638415296.key) 06:31:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:31:45 + git semver tag 06:31:45 # -> Open(): unable to determine branch for HEAD 06:31:45 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 06:31:45 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 06:31:45 # $SEMVER_REMOTE_NAME = origin 06:31:45 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:31:45 # $SEMVER_USER_NAME = edgex-jenkins 06:31:45 # $SEMVER_BRANCH = master 06:31:45 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver 06:31:45 # 561c5a452436cba8707a8b2c6132209bc86d4f3d HEAD 06:31:45 # -> Force: false 06:31:45 # 9dadbd3230c8e1728f453b11a2a2c6c1f0c036b0 refs/tags/v1.3.1-dev.3 [Pipeline] } 06:31:45 $ docker exec --env ******** --env ******** 8273c708e5806273c698b3309ec416d5604c2cdaa5f32be082ff4232921f1506 ssh-agent -k 06:31:45 unset SSH_AUTH_SOCK; 06:31:45 unset SSH_AGENT_PID; 06:31:45 echo Agent pid 16 killed; 06:31:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:31:46 + git semver [Pipeline] } 06:31:46 $ docker stop --time=1 8273c708e5806273c698b3309ec416d5604c2cdaa5f32be082ff4232921f1506 06:31:47 $ docker rm -f 8273c708e5806273c698b3309ec416d5604c2cdaa5f32be082ff4232921f1506 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 06:31:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:31:48 06:31:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 06:31:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:31:48 0.23.1-centos7: Pulling from edgex-lftools 06:31:48 ab5ef0e58194: Pulling fs layer 06:31:48 9712f1f96733: Pulling fs layer 06:31:48 63f879dbbcfc: Pulling fs layer 06:31:48 0d9ebad4ef96: Pulling fs layer 06:31:48 e9a5061849ea: Pulling fs layer 06:31:48 d747dcd14b5f: Pulling fs layer 06:31:48 2de7ff778b66: Pulling fs layer 06:31:48 e9a5061849ea: Waiting 06:31:48 d747dcd14b5f: Waiting 06:31:48 2de7ff778b66: Waiting 06:31:48 0d9ebad4ef96: Waiting 06:31:48 9712f1f96733: Verifying Checksum 06:31:48 9712f1f96733: Download complete 06:31:49 63f879dbbcfc: Verifying Checksum 06:31:49 63f879dbbcfc: Download complete 06:31:49 e9a5061849ea: Verifying Checksum 06:31:49 e9a5061849ea: Download complete 06:31:50 d747dcd14b5f: Verifying Checksum 06:31:50 d747dcd14b5f: Download complete 06:31:50 2de7ff778b66: Verifying Checksum 06:31:50 2de7ff778b66: Download complete 06:31:50 0d9ebad4ef96: Verifying Checksum 06:31:50 0d9ebad4ef96: Download complete 06:31:50 ab5ef0e58194: Verifying Checksum 06:31:50 ab5ef0e58194: Download complete 06:31:54 ab5ef0e58194: Pull complete 06:31:54 9712f1f96733: Pull complete 06:31:56 63f879dbbcfc: Pull complete 06:32:03 0d9ebad4ef96: Pull complete 06:32:05 e9a5061849ea: Pull complete 06:32:05 d747dcd14b5f: Pull complete 06:32:07 2de7ff778b66: Pull complete 06:32:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:32:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:32:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 06:32:07 prd-centos7-docker-4c-2g-19422 does not seem to be running inside a container 06:32:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:32:11 $ docker top f5cba1499b708188cfb9bf1eb6da06f9859e0ee17c4f4d847a4fe36e550946c6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:32:12 provisioning config files... 06:32:12 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config9056676158520844021tmp 06:32:12 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config6915953680594059976tmp 06:32:12 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config792372277033459826tmp [Pipeline] { [Pipeline] echo 06:32:12 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:32:12 ---> sigul-configuration.sh 06:32:12 gpg: directory `/root/.gnupg' created 06:32:12 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:32:12 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:32:12 gpg: keyring `/root/.gnupg/secring.gpg' created 06:32:12 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:32:12 gpg: CAST5 encrypted data 06:32:12 gpg: encrypted with 1 passphrase 06:32:12 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:32:13 + mkdir /home/jenkins 06:32:13 + mkdir /home/jenkins/sigul [Pipeline] sh 06:32:13 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 06:32:13 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:32:13 ---> sigul-install.sh 06:32:19 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 06:32:19 + git tag --list 06:32:19 1.0.0 06:32:19 v0.0.0 06:32:19 v1.1.0 06:32:19 v1.1.1 06:32:19 v1.2.1 06:32:19 v1.2.2 06:32:19 v1.2.2-dev.1 06:32:19 v1.2.2-dev.2 06:32:19 v1.2.3-dev.1 06:32:19 v1.2.3-dev.2 06:32:19 v1.2.3-dev.3 06:32:19 v1.2.3-dev.4 06:32:19 v1.2.3-dev.5 06:32:19 v1.2.3-dev.6 06:32:19 v1.3.0 06:32:19 v1.3.1-dev.1 06:32:19 v1.3.1-dev.2 06:32:19 v1.3.1-dev.3 [Pipeline] sh 06:32:19 + lftools sign git-tag v1.3.1-dev.3 06:32:21 Signing Git tag with Sigul... 06:32:21 Signing v1.3.1-dev.3 [Pipeline] echo 06:32:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:32:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:32:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:32:22 $ docker stop --time=1 f5cba1499b708188cfb9bf1eb6da06f9859e0ee17c4f4d847a4fe36e550946c6 06:32:24 $ docker rm -f f5cba1499b708188cfb9bf1eb6da06f9859e0ee17c4f4d847a4fe36e550946c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 06:32:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:32:25 . [Pipeline] withDockerContainer 06:32:25 prd-centos7-docker-4c-2g-19422 does not seem to be running inside a container 06:32:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:32:26 $ docker top df87635a0f05732bacded8e2e26e12623ad6f038d21ad4a4b43a48d3ea6f835b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:32:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:32:26 [ssh-agent] Looking for ssh-agent implementation... 06:32:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:32:26 $ docker exec df87635a0f05732bacded8e2e26e12623ad6f038d21ad4a4b43a48d3ea6f835b ssh-agent 06:32:27 SSH_AUTH_SOCK=/tmp/ssh-i6uzJllsvEN3/agent.11 06:32:27 SSH_AGENT_PID=16 06:32:27 Running ssh-add (command line suppressed) 06:32:27 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_7252336089326302722.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_7252336089326302722.key) 06:32:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:32:27 + git semver bump pre 06:32:27 # -> Open(): unable to determine branch for HEAD 06:32:27 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 06:32:27 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 06:32:27 # $SEMVER_REMOTE_NAME = origin 06:32:27 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:32:27 # $SEMVER_USER_NAME = edgex-jenkins 06:32:27 # $SEMVER_BRANCH = master 06:32:27 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver 06:32:27 1.3.1-dev.4 [Pipeline] } 06:32:27 $ docker exec --env ******** --env ******** df87635a0f05732bacded8e2e26e12623ad6f038d21ad4a4b43a48d3ea6f835b ssh-agent -k 06:32:27 unset SSH_AUTH_SOCK; 06:32:27 unset SSH_AGENT_PID; 06:32:27 echo Agent pid 16 killed; 06:32:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:32:28 + git semver [Pipeline] } 06:32:28 $ docker stop --time=1 df87635a0f05732bacded8e2e26e12623ad6f038d21ad4a4b43a48d3ea6f835b 06:32:29 $ docker rm -f df87635a0f05732bacded8e2e26e12623ad6f038d21ad4a4b43a48d3ea6f835b [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 06:32:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 06:32:30 . [Pipeline] withDockerContainer 06:32:30 prd-centos7-docker-4c-2g-19422 does not seem to be running inside a container 06:32:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 06:32:31 $ docker top ccf064bffc6fe4eda23a1b1e6dec4b18988f4a5c14b131c9e177e1168cad13a4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:32:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:32:31 [ssh-agent] Looking for ssh-agent implementation... 06:32:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:32:31 $ docker exec ccf064bffc6fe4eda23a1b1e6dec4b18988f4a5c14b131c9e177e1168cad13a4 ssh-agent 06:32:31 SSH_AUTH_SOCK=/tmp/ssh-AV2zU0sYjnEu/agent.11 06:32:31 SSH_AGENT_PID=16 06:32:31 Running ssh-add (command line suppressed) 06:32:32 Identity added: /w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_8542858511308652912.key (/w/workspace/gexfoundry_device-snmp-go_master@tmp/private_key_8542858511308652912.key) 06:32:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:32:32 + git semver push 06:32:32 # -> Open(): unable to determine branch for HEAD 06:32:32 # $GIT_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.git 06:32:32 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-snmp-go_master 06:32:32 # $SEMVER_REMOTE_NAME = origin 06:32:32 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 06:32:32 # $SEMVER_USER_NAME = edgex-jenkins 06:32:32 # $SEMVER_BRANCH = master 06:32:32 # $SEMVER_DIR = /w/workspace/gexfoundry_device-snmp-go_master/.semver [Pipeline] } 06:32:39 $ docker exec --env ******** --env ******** ccf064bffc6fe4eda23a1b1e6dec4b18988f4a5c14b131c9e177e1168cad13a4 ssh-agent -k 06:32:39 unset SSH_AUTH_SOCK; 06:32:39 unset SSH_AGENT_PID; 06:32:39 echo Agent pid 16 killed; 06:32:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:32:39 + git semver [Pipeline] } 06:32:39 $ docker stop --time=1 ccf064bffc6fe4eda23a1b1e6dec4b18988f4a5c14b131c9e177e1168cad13a4 06:32:41 $ docker rm -f ccf064bffc6fe4eda23a1b1e6dec4b18988f4a5c14b131c9e177e1168cad13a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 06:32:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:32:43 ---> package-listing.sh 06:32:43 ++ facter osfamily 06:32:43 ++ tr '[:upper:]' '[:lower:]' 06:32:43 + OS_FAMILY=redhat 06:32:43 + workspace=/w/workspace/gexfoundry_device-snmp-go_master 06:32:43 + START_PACKAGES=/tmp/packages_start.txt 06:32:43 + END_PACKAGES=/tmp/packages_end.txt 06:32:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:32:43 + PACKAGES=/tmp/packages_start.txt 06:32:43 + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' 06:32:43 + PACKAGES=/tmp/packages_end.txt 06:32:43 + case "${OS_FAMILY}" in 06:32:43 + rpm -qa 06:32:43 + sort 06:32:47 + '[' -f /tmp/packages_start.txt ']' 06:32:47 + '[' -f /tmp/packages_end.txt ']' 06:32:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:32:47 + '[' /w/workspace/gexfoundry_device-snmp-go_master ']' 06:32:47 + mkdir -p /w/workspace/gexfoundry_device-snmp-go_master/archives/ 06:32:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-snmp-go_master/archives/ [Pipeline] echo 06:32:47 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-snmp-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:32:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:32:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:32:48 06:32:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 06:32:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:32:48 alpine: Pulling from edgex-lftools-log-publisher 06:32:48 df20fa9351a1: Pulling fs layer 06:32:48 36b3adc4ff6f: Pulling fs layer 06:32:48 8ad3a11d3b57: Pulling fs layer 06:32:48 46f8f816bc3b: Pulling fs layer 06:32:48 93b61091891f: Pulling fs layer 06:32:48 93b9cdb0e59b: Pulling fs layer 06:32:48 5e14af77c1be: Pulling fs layer 06:32:48 01666e4c0597: Pulling fs layer 06:32:48 aa168da1d23b: Pulling fs layer 06:32:48 93b9cdb0e59b: Waiting 06:32:48 5e14af77c1be: Waiting 06:32:48 01666e4c0597: Waiting 06:32:48 aa168da1d23b: Waiting 06:32:48 46f8f816bc3b: Waiting 06:32:48 93b61091891f: Waiting 06:32:48 36b3adc4ff6f: Download complete 06:32:48 46f8f816bc3b: Verifying Checksum 06:32:48 46f8f816bc3b: Download complete 06:32:48 df20fa9351a1: Verifying Checksum 06:32:48 df20fa9351a1: Download complete 06:32:48 93b9cdb0e59b: Verifying Checksum 06:32:48 93b9cdb0e59b: Download complete 06:32:48 93b61091891f: Verifying Checksum 06:32:48 93b61091891f: Download complete 06:32:48 5e14af77c1be: Verifying Checksum 06:32:48 5e14af77c1be: Download complete 06:32:49 01666e4c0597: Verifying Checksum 06:32:49 01666e4c0597: Download complete 06:32:49 8ad3a11d3b57: Verifying Checksum 06:32:49 8ad3a11d3b57: Download complete 06:32:49 df20fa9351a1: Pull complete 06:32:49 36b3adc4ff6f: Pull complete 06:32:51 8ad3a11d3b57: Pull complete 06:32:51 aa168da1d23b: Verifying Checksum 06:32:51 aa168da1d23b: Download complete 06:32:51 46f8f816bc3b: Pull complete 06:32:51 93b61091891f: Pull complete 06:32:51 93b9cdb0e59b: Pull complete 06:32:51 5e14af77c1be: Pull complete 06:32:52 01666e4c0597: Pull complete 06:32:58 aa168da1d23b: Pull complete 06:32:58 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 06:32:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 06:32:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 06:32:58 prd-centos7-docker-4c-2g-19422 does not seem to be running inside a container 06:32:58 $ 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-snmp-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-snmp-go_master -v /w/workspace/gexfoundry_device-snmp-go_master:/w/workspace/gexfoundry_device-snmp-go_master:rw,z -v /w/workspace/gexfoundry_device-snmp-go_master@tmp:/w/workspace/gexfoundry_device-snmp-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 06:33:01 $ docker top b4519237a3a022a8ecfdd5dd591124d663f2c88ef42d27cec0bc2f06070d661b -eo pid,comm [Pipeline] { [Pipeline] sh 06:33:02 + touch /tmp/pre-build-complete [Pipeline] sh 06:33:02 + mkdir -p /var/log/sa [Pipeline] sh 06:33:03 + ls /var/log/sa-host 06:33:03 + sadf -c /var/log/sa-host/sa11 06:33:03 file_magic: OK 06:33:03 HZ: Using current value: 100 06:33:03 file_header: OK 06:33:03 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:33:03 Statistics: 06:33:03 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 06:33:03 File successfully converted to sysstat format version 12.2.1 06:33:03 + sadf -c /var/log/sa-host/sa23 06:33:03 file_magic: OK 06:33:03 HZ: Using current value: 100 06:33:03 file_header: OK 06:33:03 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 06:33:03 Statistics: 06:33:03 Hnuu...uuuununununu... 06:33:03 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:33:03 provisioning config files... 06:33:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-snmp-go_master@tmp/config2408080761193946288tmp [Pipeline] { [Pipeline] echo 06:33:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:33:03 ---> create-netrc.sh [Pipeline] } 06:33:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 06:33:03 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 06:33:04 ---> python-tools-install.sh [Pipeline] echo 06:33:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:33:04 ---> sudo-logs.sh 06:33:04 Archiving 'sudo' log.. [Pipeline] echo 06:33:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:33:04 ---> job-cost.sh 06:33:04 lf-activate-venv: SKIPPING 06:33:04 INFO: No Stack... 06:33:08 INFO: Retrieving Pricing Info for: v1-standard-2 06:33:08 INFO: Archiving Costs [Pipeline] echo 06:33:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:33:08 ---> logs-deploy.sh 06:33:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-snmp-go/master/21 06:33:08 INFO: archiving workspace using pattern(s): 06:33:10 Archives upload complete. 06:33:10 INFO: archiving logs to Nexus