Started by upstream project "edgexfoundry/cd-management/release" build number 39 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 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 d8dcacb1afd64ffd41a88d498332b01d09cee174 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 d8dcacb1afd64ffd41a88d498332b01d09cee174 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 d8dcacb1afd64ffd41a88d498332b01d09cee174 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d8dcacb1afd64ffd41a88d498332b01d09cee174 # timeout=10 Commit message: "Merge pull request #299 from bill-mahoney/releaseStream" > 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-mqtt-go, buildSnap:true] ========================================================= [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-mqtt-go-settings PROJECT: device-mqtt-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-mqtt-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: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-12563’ Running on prd-centos7-docker-4c-2g-12570 in /w/workspace/gexfoundry_device-mqtt-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-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_master # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.16.5' using GIT_SSH to set credentials SSH Credentials for GitHub Checking out Revision 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 (master) > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-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-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 Commit message: "Merge pull request #185 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" > git rev-list --no-walk 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:35:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:35:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:35:22 ========================================================= 19:35:22 EdgeX Global Pipelines Version Info 19:35:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:35:25 ------------------- 19:35:25 stable info: 19:35:25 ------------------- 19:35:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:35:25 Commit SHA: d8dcacb1afd64ffd41a88d498332b01d09cee174 19:35:25 Message: update stable to v1.0.165 19:35:26 ------------------- 19:35:26 experimental info: 19:35:26 ------------------- 19:35:26 Commited By: **** collab-it+edgex@linuxfoundation.org 19:35:26 Commit SHA: d8dcacb1afd64ffd41a88d498332b01d09cee174 19:35:26 Message: update experimental to v1.0.165 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] echo 19:35:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 19:35:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 19:35:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:35:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:35:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:35:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 19:35:27 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 19:35:27 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 19:35:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:35:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:35:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:35:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-mqtt-go [Pipeline] echo 19:35:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:35:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:35:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:35:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:35:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:35:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:35:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:35:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 19:35:28 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:35:28 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:35:28 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:35:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:35:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:35:29 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 19:35:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = master [Pipeline] echo 19:35:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = master [Pipeline] echo 19:35:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = master [Pipeline] echo 19:35:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 [Pipeline] echo 19:35:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 06d3741 [Pipeline] echo 19:35:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:35:30 provisioning config files... 19:35:30 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config2141479421529856913tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:35:30 ---> docker-login.sh 19:35:30 nexus3.edgexfoundry.org:10001 19:35:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:35:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:35:31 Configure a credential helper to remove this warning. See 19:35:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:35:31 19:35:31 Login Succeeded 19:35:31 nexus3.edgexfoundry.org:10002 19:35:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:35:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:35:31 Configure a credential helper to remove this warning. See 19:35:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:35:31 19:35:31 Login Succeeded 19:35:31 nexus3.edgexfoundry.org:10003 19:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:35:32 Configure a credential helper to remove this warning. See 19:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:35:32 19:35:32 Login Succeeded 19:35:32 nexus3.edgexfoundry.org:10004 19:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:35:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:35:32 Configure a credential helper to remove this warning. See 19:35:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:35:32 19:35:32 Login Succeeded 19:35:32 docker.io 19:35:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:35:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:35:33 Configure a credential helper to remove this warning. See 19:35:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:35:33 19:35:33 Login Succeeded 19:35:33 ---> docker-login.sh ends [Pipeline] } 19:35:33 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:35:34 + git log --format=format:%s -1 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 [Pipeline] echo 19:35:34 GIT_COMMIT: 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372, Commit Message: Merge pull request #185 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0 [Pipeline] echo 19:35:34 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 19:35:34 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:35:34 19:35:34 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:35:35 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:35:35 latest: Pulling from edgex-devops/git-semver 19:35:35 31603596830f: Pulling fs layer 19:35:35 2a8b12db71e7: Pulling fs layer 19:35:35 6ca5941a6612: Pulling fs layer 19:35:35 ecc8261a40a4: Pulling fs layer 19:35:35 ecc8261a40a4: Waiting 19:35:35 2a8b12db71e7: Verifying Checksum 19:35:35 2a8b12db71e7: Download complete 19:35:36 31603596830f: Download complete 19:35:36 31603596830f: Pull complete 19:35:37 ecc8261a40a4: Verifying Checksum 19:35:37 ecc8261a40a4: Download complete 19:35:37 2a8b12db71e7: Pull complete 19:35:37 6ca5941a6612: Verifying Checksum 19:35:37 6ca5941a6612: Download complete 19:35:39 6ca5941a6612: Pull complete 19:35:40 ecc8261a40a4: Pull complete 19:35:40 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 19:35:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:35:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:35:40 prd-centos7-docker-4c-2g-12570 does not seem to be running inside a container 19:35:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:35:43 $ docker top 73b482cc421002bd9b7598169b00a88ac1157363020851db1d34b4f1076ee8b8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:35:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:35:43 [ssh-agent] Looking for ssh-agent implementation... 19:35:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:35:44 $ docker exec 73b482cc421002bd9b7598169b00a88ac1157363020851db1d34b4f1076ee8b8 ssh-agent 19:35:44 SSH_AUTH_SOCK=/tmp/ssh-ddS4paBuZQE0/agent.12 19:35:44 SSH_AGENT_PID=17 19:35:44 Running ssh-add (command line suppressed) 19:35:44 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2578024221255991706.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_2578024221255991706.key) 19:35:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:35:45 + git tag --points-at HEAD [Pipeline] } 19:35:45 $ docker exec --env ******** --env ******** 73b482cc421002bd9b7598169b00a88ac1157363020851db1d34b4f1076ee8b8 ssh-agent -k 19:35:45 unset SSH_AUTH_SOCK; 19:35:45 unset SSH_AGENT_PID; 19:35:45 echo Agent pid 17 killed; 19:35:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 19:35:45 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v1.2.3-dev.10|v1.3.0' [Pipeline] sshagent 19:35:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:35:45 [ssh-agent] Looking for ssh-agent implementation... 19:35:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:35:46 $ docker exec 73b482cc421002bd9b7598169b00a88ac1157363020851db1d34b4f1076ee8b8 ssh-agent 19:35:46 SSH_AUTH_SOCK=/tmp/ssh-qEhTNObeG53N/agent.46 19:35:46 SSH_AGENT_PID=51 19:35:46 Running ssh-add (command line suppressed) 19:35:46 Identity added: /w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4773224495616316860.key (/w/workspace/gexfoundry_device-mqtt-go_master@tmp/private_key_4773224495616316860.key) 19:35:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:35:47 + git semver init 19:35:47 # -> Open(): unable to determine branch for HEAD 19:35:47 # $GIT_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.git 19:35:47 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-mqtt-go_master 19:35:47 # $SEMVER_REMOTE_NAME = origin 19:35:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:35:47 # $SEMVER_USER_NAME = edgex-jenkins 19:35:47 # $SEMVER_BRANCH = master 19:35:47 # $SEMVER_TEMP = /tmp/semver-437716241 19:35:47 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 19:35:48 # '/tmp/semver-437716241' -> '/w/workspace/gexfoundry_device-mqtt-go_master/.semver' 19:35:48 # -> Force: false 19:35:48 # $SEMVER_DIR = /w/workspace/gexfoundry_device-mqtt-go_master/.semver [Pipeline] } 19:35:48 $ docker exec --env ******** --env ******** 73b482cc421002bd9b7598169b00a88ac1157363020851db1d34b4f1076ee8b8 ssh-agent -k 19:35:48 unset SSH_AUTH_SOCK; 19:35:48 unset SSH_AGENT_PID; 19:35:48 echo Agent pid 51 killed; 19:35:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:35:49 + git semver [Pipeline] } 19:35:49 $ docker stop --time=1 73b482cc421002bd9b7598169b00a88ac1157363020851db1d34b4f1076ee8b8 19:35:51 $ docker rm -f 73b482cc421002bd9b7598169b00a88ac1157363020851db1d34b4f1076ee8b8 [Pipeline] // withDockerContainer [Pipeline] sh 19:35:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:35:53 Stashed 1 file(s) [Pipeline] echo 19:35:53 [edgeXSemver]: initialized semver on version 1.3.0 [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 19:36:09 Still waiting to schedule task 19:36:09 Waiting for next available executor on ‘centos7-docker-4c-2g’ 19:36:09 Still waiting to schedule task 19:36:09 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 19:38:27 Running on prd-centos7-docker-4c-2g-12587 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { [Pipeline] ws 19:38:27 Running in /w/workspace/device-mqtt-go/25 [Pipeline] { [Pipeline] checkout 19:38:31 using credential edgex-jenkins-ssh 19:38:31 Cloning the remote Git repository 19:38:31 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 19:38:32 > git init /w/workspace/device-mqtt-go/25 # timeout=10 19:38:32 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:38:32 > git --version # timeout=10 19:38:32 > git --version # 'git version 2.16.5' 19:38:32 using GIT_SSH to set credentials SSH Credentials for GitHub 19:38:32 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:38:34 Checking out Revision 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 (master) 19:38:33 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:38:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:38:33 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:38:33 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:38:33 using GIT_SSH to set credentials SSH Credentials for GitHub 19:38:33 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 19:38:34 > git config core.sparsecheckout # timeout=10 19:38:34 > git checkout -f 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 19:38:37 Commit message: "Merge pull request #185 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:38:38 provisioning config files... 19:38:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/25@tmp/config8937229243190843160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:38:39 ---> docker-login.sh 19:38:39 nexus3.edgexfoundry.org:10001 19:38:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:38:39 Configure a credential helper to remove this warning. See 19:38:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:38:39 19:38:39 Login Succeeded 19:38:39 nexus3.edgexfoundry.org:10002 19:38:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:38:39 Configure a credential helper to remove this warning. See 19:38:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:38:39 19:38:39 Login Succeeded 19:38:39 nexus3.edgexfoundry.org:10003 19:38:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:38:40 Configure a credential helper to remove this warning. See 19:38:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:38:40 19:38:40 Login Succeeded 19:38:40 nexus3.edgexfoundry.org:10004 19:38:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:38:40 Configure a credential helper to remove this warning. See 19:38:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:38:40 19:38:40 Login Succeeded 19:38:40 docker.io 19:38:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:38:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:38:40 Configure a credential helper to remove this warning. See 19:38:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:38:40 19:38:40 Login Succeeded 19:38:40 ---> docker-login.sh ends [Pipeline] } 19:38:40 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:38:41 ========================================================= 19:38:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 19:38:41 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:38:41 + 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 . 19:38:41 Sending build context to Docker daemon 462.3kB 19:38:41 Step 1/8 : ARG BASE=golang:1.15-alpine 19:38:41 Step 2/8 : FROM ${BASE} 19:38:41 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 19:38:41 df20fa9351a1: Pulling fs layer 19:38:41 ed8968b2872e: Pulling fs layer 19:38:41 a92cc7c5fd73: Pulling fs layer 19:38:41 e871e8e8d7a9: Pulling fs layer 19:38:41 e73272ec9a57: Pulling fs layer 19:38:41 1e910a182e73: Pulling fs layer 19:38:41 4e634b169226: Pulling fs layer 19:38:41 e871e8e8d7a9: Waiting 19:38:41 e73272ec9a57: Waiting 19:38:41 4e634b169226: Waiting 19:38:41 1e910a182e73: Waiting 19:38:41 a92cc7c5fd73: Verifying Checksum 19:38:41 a92cc7c5fd73: Download complete 19:38:41 ed8968b2872e: Download complete 19:38:42 e73272ec9a57: Verifying Checksum 19:38:42 e73272ec9a57: Download complete 19:38:42 1e910a182e73: Verifying Checksum 19:38:42 1e910a182e73: Download complete 19:38:42 df20fa9351a1: Verifying Checksum 19:38:42 df20fa9351a1: Download complete 19:38:42 df20fa9351a1: Pull complete 19:38:42 ed8968b2872e: Pull complete 19:38:42 a92cc7c5fd73: Pull complete 19:38:44 4e634b169226: Verifying Checksum 19:38:44 4e634b169226: Download complete 19:38:44 e871e8e8d7a9: Verifying Checksum 19:38:50 e871e8e8d7a9: Pull complete 19:38:50 e73272ec9a57: Pull complete 19:38:50 1e910a182e73: Pull complete 19:39:00 4e634b169226: Pull complete 19:39:00 Digest: sha256:0b802f5dd80e2ad8551c53c724486b1db3b79f86ac5ae7c7a2db79f17045b642 19:39:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 19:39:00 ---> f7629b54cfaa 19:39:00 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 19:39:00 ---> Running in a75454882d46 19:39:00 Removing intermediate container a75454882d46 19:39:00 ---> 403d0bc40fff 19:39:00 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:39:00 ---> Running in 30d9ea2748ab 19:39:01 Removing intermediate container 30d9ea2748ab 19:39:01 ---> 11671cde4b61 19:39:01 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 19:39:01 ---> Running in 7afa174227f7 19:39:01 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:39:03 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:39:04 (1/14) Installing libmagic (5.38-r0) 19:39:04 (2/14) Installing file (5.38-r0) 19:39:04 (3/14) Installing libc-dev (0.7.2-r3) 19:39:04 (4/14) Installing g++ (9.3.0-r2) 19:39:23 (5/14) Installing fortify-headers (1.1-r0) 19:39:23 (6/14) Installing patch (2.7.6-r6) 19:39:23 (7/14) Installing build-base (0.5-r2) 19:39:23 (8/14) Installing openssh-keygen (8.3_p1-r0) 19:39:23 (9/14) Installing libedit (20191231.3.1-r0) 19:39:23 (10/14) Installing openssh-client (8.3_p1-r0) 19:39:24 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 19:39:24 (12/14) Installing openssh-server-common (8.3_p1-r0) 19:39:24 (13/14) Installing openssh-server (8.3_p1-r0) 19:39:24 (14/14) Installing openssh (8.3_p1-r0) 19:39:25 Executing busybox-1.31.1-r16.trigger 19:39:25 OK: 237 MiB in 53 packages 19:39:28 Removing intermediate container 7afa174227f7 19:39:28 ---> de38f524f112 19:39:28 Step 6/8 : WORKDIR /device-mqtt-go 19:39:28 ---> Running in 4fc72cf7a450 19:39:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-12588 in /w/workspace/gexfoundry_device-mqtt-go_master [Pipeline] { 19:39:28 Removing intermediate container 4fc72cf7a450 19:39:28 ---> 58f95d67b8e5 19:39:28 Step 7/8 : COPY . . [Pipeline] ws 19:39:28 Running in /w/workspace/device-mqtt-go/25 [Pipeline] { [Pipeline] checkout 19:39:29 ---> b12fc1782664 19:39:29 Step 8/8 : RUN go mod download 19:39:30 ---> Running in 4afbc0505582 19:39:34 using credential edgex-jenkins-ssh 19:39:34 Cloning the remote Git repository 19:39:34 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 19:39:34 > git init /w/workspace/device-mqtt-go/25 # timeout=10 19:39:34 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:39:34 > git --version # timeout=10 19:39:34 > git --version # 'git version 2.17.1' 19:39:34 using GIT_SSH to set credentials SSH Credentials for GitHub 19:39:34 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:39:36 Checking out Revision 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 (master) 19:39:35 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:39:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:39:35 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:39:35 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:39:35 using GIT_SSH to set credentials SSH Credentials for GitHub 19:39:35 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/master:refs/remotes/origin/master # timeout=10 19:39:36 > git config core.sparsecheckout # timeout=10 19:39:36 > git checkout -f 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 # timeout=10 19:39:40 Commit message: "Merge pull request #185 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go-1.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:39:41 provisioning config files... 19:39:41 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/25@tmp/config6018511681485891627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:39:42 ---> docker-login.sh 19:39:42 nexus3.edgexfoundry.org:10001 19:39:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:39:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:39:44 Configure a credential helper to remove this warning. See 19:39:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:39:44 19:39:44 Login Succeeded 19:39:44 nexus3.edgexfoundry.org:10002 19:39:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:39:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:39:44 Configure a credential helper to remove this warning. See 19:39:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:39:44 19:39:44 Login Succeeded 19:39:44 nexus3.edgexfoundry.org:10003 19:39:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:39:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:39:45 Configure a credential helper to remove this warning. See 19:39:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:39:45 19:39:45 Login Succeeded 19:39:45 nexus3.edgexfoundry.org:10004 19:39:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:39:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:39:45 Configure a credential helper to remove this warning. See 19:39:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:39:45 19:39:45 Login Succeeded 19:39:45 docker.io 19:39:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:39:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:39:46 Configure a credential helper to remove this warning. See 19:39:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:39:46 19:39:46 Login Succeeded 19:39:46 ---> docker-login.sh ends [Pipeline] } 19:39:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:39:47 ========================================================= 19:39:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 19:39:47 ========================================================= [Pipeline] isUnix [Pipeline] sh 19:39:47 + 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 . 19:39:48 Sending build context to Docker daemon 462.3kB 19:39:48 Step 1/8 : ARG BASE=golang:1.15-alpine 19:39:48 Step 2/8 : FROM ${BASE} 19:39:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:39:48 b538f80385f9: Pulling fs layer 19:39:48 74f711af9a0d: Pulling fs layer 19:39:48 99f96fe45779: Pulling fs layer 19:39:48 8529a6b9a6be: Pulling fs layer 19:39:48 45590311c82a: Pulling fs layer 19:39:48 69ca0ff8b7b3: Pulling fs layer 19:39:48 209524e5b208: Pulling fs layer 19:39:48 8529a6b9a6be: Waiting 19:39:48 45590311c82a: Waiting 19:39:48 69ca0ff8b7b3: Waiting 19:39:48 209524e5b208: Waiting 19:39:48 99f96fe45779: Verifying Checksum 19:39:48 99f96fe45779: Download complete 19:39:48 74f711af9a0d: Verifying Checksum 19:39:48 74f711af9a0d: Download complete 19:39:48 45590311c82a: Download complete 19:39:49 69ca0ff8b7b3: Verifying Checksum 19:39:49 69ca0ff8b7b3: Download complete 19:39:49 b538f80385f9: Verifying Checksum 19:39:49 b538f80385f9: Download complete 19:39:50 b538f80385f9: Pull complete 19:39:50 74f711af9a0d: Pull complete 19:39:50 99f96fe45779: Pull complete 19:39:51 209524e5b208: Verifying Checksum 19:39:51 209524e5b208: Download complete 19:39:52 Removing intermediate container 4afbc0505582 19:39:52 ---> d66251a28667 19:39:52 Successfully built d66251a28667 19:39:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:39:52 8529a6b9a6be: Verifying Checksum 19:39:52 8529a6b9a6be: Download complete 19:39:52 + docker inspect -f . ci-base-image-x86_64 19:39:52 . [Pipeline] withDockerContainer 19:39:53 prd-centos7-docker-4c-2g-12587 does not seem to be running inside a container 19:39:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/25 -v /w/workspace/device-mqtt-go/25:/w/workspace/device-mqtt-go/25:rw,z -v /w/workspace/device-mqtt-go/25@tmp:/w/workspace/device-mqtt-go/25@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 19:39:54 $ docker top 60940aed0533c83fc3c190bc00496ab24a121d8516829424407cf2e1f8ee0b4d -eo pid,comm [Pipeline] { [Pipeline] sh 19:39:54 + go version 19:39:54 go version go1.15.2 linux/amd64 [Pipeline] } 19:39:54 $ docker stop --time=1 60940aed0533c83fc3c190bc00496ab24a121d8516829424407cf2e1f8ee0b4d 19:39:56 $ docker rm -f 60940aed0533c83fc3c190bc00496ab24a121d8516829424407cf2e1f8ee0b4d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:39:56 + docker inspect -f . ci-base-image-x86_64 19:39:56 . [Pipeline] withDockerContainer 19:39:57 prd-centos7-docker-4c-2g-12587 does not seem to be running inside a container 19:39:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/25 -v /w/workspace/device-mqtt-go/25:/w/workspace/device-mqtt-go/25:rw,z -v /w/workspace/device-mqtt-go/25@tmp:/w/workspace/device-mqtt-go/25@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 19:39:57 $ docker top dd082e820c03bb3f655ee5ac45d672a244a04124b6edfbad3225cf9a416c56dc -eo pid,comm [Pipeline] { [Pipeline] sh 19:39:58 + make test 19:39:58 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:39:59 ? github.com/edgexfoundry/device-mqtt-go [no test files] 19:40:02 8529a6b9a6be: Pull complete 19:40:02 45590311c82a: Pull complete 19:40:03 69ca0ff8b7b3: Pull complete 19:40:07 209524e5b208: Pull complete 19:40:07 Digest: sha256:ed1c815e5e6ec4cca07509da726365701584b6c3e8c7d74a761ef336e5f8fb68 19:40:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 19:40:07 ---> 5bddaf1c2fca 19:40:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 19:40:10 ---> Running in a0b33cff18d0 19:40:10 Removing intermediate container a0b33cff18d0 19:40:10 ---> 6cc8de130029 19:40:10 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:40:10 ---> Running in 22672a53e254 19:40:13 Removing intermediate container 22672a53e254 19:40:13 ---> 11014561b4f1 19:40:13 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 19:40:13 ---> Running in 6fc8e2998397 19:40:14 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 19:40:14 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 28.3% of statements 19:40:14 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 19:40:14 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:40:14 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:40:16 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:40:17 gofmt -l . 19:40:17 ["`gofmt -l .`" = ""] 19:40:17 ./bin/test-attribution-txt.sh 19:40:17 (1/14) Installing libmagic (5.38-r0) 19:40:18 ./bin/test-go-mod-tidy.sh 19:40:18 (2/14) Installing file (5.38-r0) 19:40:18 (3/14) Installing libc-dev (0.7.2-r3) 19:40:18 (4/14) Installing g++ (9.3.0-r2) [Pipeline] } 19:40:18 $ docker stop --time=1 dd082e820c03bb3f655ee5ac45d672a244a04124b6edfbad3225cf9a416c56dc 19:40:20 $ docker rm -f dd082e820c03bb3f655ee5ac45d672a244a04124b6edfbad3225cf9a416c56dc [Pipeline] // withDockerContainer [Pipeline] sh 19:40:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:40:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:40:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:40:23 + ls -al . 19:40:23 total 100 19:40:23 drwxrwxr-x. 9 jenkins jenkins 4096 Nov 18 19:40 . 19:40:23 drwxrwxr-x. 4 jenkins jenkins 30 Nov 18 19:38 .. 19:40:23 -rw-rw-r--. 1 jenkins jenkins 5932 Nov 18 19:38 Attribution.txt 19:40:23 drwxrwxr-x. 2 jenkins jenkins 87 Nov 18 19:38 bin 19:40:23 drwxrwxr-x. 3 jenkins jenkins 32 Nov 18 19:38 cmd 19:40:23 -rw-r--r--. 1 jenkins jenkins 18940 Nov 18 19:40 coverage.out 19:40:23 -rw-rw-r--. 1 jenkins jenkins 1784 Nov 18 19:38 Dockerfile 19:40:23 -rw-rw-r--. 1 jenkins jenkins 953 Nov 18 19:38 Dockerfile.build 19:40:23 -rw-rw-r--. 1 jenkins jenkins 140 Nov 18 19:38 .dockerignore 19:40:23 drwxrwxr-x. 8 jenkins jenkins 162 Nov 18 19:38 .git 19:40:23 drwxrwxr-x. 2 jenkins jenkins 60 Nov 18 19:38 .github 19:40:23 -rw-rw-r--. 1 jenkins jenkins 336 Nov 18 19:38 .gitignore 19:40:23 -rw-r--r--. 1 jenkins jenkins 504 Nov 18 19:40 go.mod 19:40:23 -rw-r--r--. 1 jenkins jenkins 14793 Nov 18 19:40 go.sum 19:40:23 drwxrwxr-x. 3 jenkins jenkins 20 Nov 18 19:38 internal 19:40:23 -rw-rw-r--. 1 jenkins jenkins 677 Nov 18 19:38 Jenkinsfile 19:40:23 -rw-rw-r--. 1 jenkins jenkins 11340 Nov 18 19:38 LICENSE 19:40:23 -rw-rw-r--. 1 jenkins jenkins 902 Nov 18 19:38 Makefile 19:40:23 drwxrwxr-x. 2 jenkins jenkins 23 Nov 18 19:38 mock 19:40:23 -rw-rw-r--. 1 jenkins jenkins 444 Nov 18 19:38 README.md 19:40:23 drwxrwxr-x. 4 jenkins jenkins 54 Nov 18 19:38 snap 19:40:23 -rw-rw-r--. 1 jenkins jenkins 5 Nov 18 19:35 VERSION 19:40:23 -rw-rw-r--. 1 jenkins jenkins 227 Nov 18 19:38 version.go 19:40:23 (5/14) Installing fortify-headers (1.1-r0) 19:40:23 (6/14) Installing patch (2.7.6-r6) [Pipeline] isUnix [Pipeline] sh 19:40:24 (7/14) Installing build-base (0.5-r2) 19:40:24 (8/14) Installing openssh-keygen (8.3_p1-r0) 19:40:24 (9/14) Installing libedit (20191231.3.1-r0) 19:40:24 + docker build -t docker-device-mqtt-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 --label arch=amd64 --label version=1.3.0 . 19:40:24 (10/14) Installing openssh-client (8.3_p1-r0) 19:40:24 Sending build context to Docker daemon 481.8kB 19:40:24 Step 1/22 : ARG BASE=golang:1.15-alpine 19:40:24 Step 2/22 : FROM ${BASE} AS builder 19:40:24 ---> d66251a28667 19:40:24 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 19:40:24 (11/14) Installing openssh-sftp-server (8.3_p1-r0) 19:40:24 (12/14) Installing openssh-server-common (8.3_p1-r0) 19:40:24 ---> Running in 8f9ee1bfd477 19:40:24 (13/14) Installing openssh-server (8.3_p1-r0) 19:40:24 (14/14) Installing openssh (8.3_p1-r0) 19:40:24 Removing intermediate container 8f9ee1bfd477 19:40:24 ---> d8136af6460b 19:40:24 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 19:40:24 ---> Running in 4d5360da5ab2 19:40:25 Executing busybox-1.31.1-r16.trigger 19:40:25 OK: 221 MiB in 53 packages 19:40:25 Removing intermediate container 4d5360da5ab2 19:40:25 ---> 433010f4660f 19:40:25 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:40:25 ---> Running in be9d5be696e9 19:40:26 Removing intermediate container be9d5be696e9 19:40:26 ---> 3a0a13b4c8bb 19:40:26 Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:40:26 ---> Running in b88d59e33d15 19:40:26 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 19:40:27 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 19:40:28 OK: 237 MiB in 53 packages 19:40:28 Removing intermediate container b88d59e33d15 19:40:28 ---> af9acee08bbb 19:40:28 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 19:40:28 ---> Running in c68331340f39 19:40:28 Removing intermediate container c68331340f39 19:40:28 ---> 4177a95eb358 19:40:28 Step 8/22 : COPY . . 19:40:29 Removing intermediate container 6fc8e2998397 19:40:29 ---> 8d82301d1c9b 19:40:29 Step 6/8 : WORKDIR /device-mqtt-go 19:40:29 ---> b471a3e68a97 19:40:29 Step 9/22 : ARG MAKE='make build' 19:40:29 ---> Running in bc2e75f7bb3f 19:40:29 ---> Running in 1d291095f6ae 19:40:29 Removing intermediate container bc2e75f7bb3f 19:40:29 ---> cbd750dd7599 19:40:29 Step 10/22 : RUN $MAKE 19:40:29 ---> Running in 56b5c89dcd49 19:40:30 Removing intermediate container 1d291095f6ae 19:40:30 ---> d1c4114d06d2 19:40:30 Step 7/8 : COPY . . 19:40:30 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.0" -o cmd/device-mqtt ./cmd 19:40:30 ---> f2ccfae88c54 19:40:30 Step 8/8 : RUN go mod download 19:40:31 ---> Running in 7fa21be4bcaf 19:40:40 CGO_ENABLED=0 GO111MODULE=on go build ./... 19:40:43 Removing intermediate container 56b5c89dcd49 19:40:43 ---> fa917ccfe2b9 19:40:43 Step 11/22 : FROM alpine 19:40:44 latest: Pulling from library/alpine 19:40:44 188c0c94c7c5: Pulling fs layer 19:40:44 188c0c94c7c5: Verifying Checksum 19:40:44 188c0c94c7c5: Download complete 19:40:45 188c0c94c7c5: Pull complete 19:40:45 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 19:40:45 Status: Downloaded newer image for alpine:latest 19:40:45 ---> d6e46aa2470d 19:40:45 Step 12/22 : ENV APP_PORT=49982 19:40:45 ---> Running in ad4163e4ba67 19:40:46 Removing intermediate container ad4163e4ba67 19:40:46 ---> 01b06819a238 19:40:46 Step 13/22 : EXPOSE $APP_PORT 19:40:46 ---> Running in 805c2dcb6317 19:40:46 Removing intermediate container 805c2dcb6317 19:40:46 ---> a76a42bef008 19:40:46 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 19:40:46 ---> 429400447281 19:40:46 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 19:40:47 ---> 161dd33ace4d 19:40:47 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 19:40:47 ---> b2b2a93111a1 19:40:47 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 19:40:47 ---> Running in bfb1a72dc5ad 19:40:47 Removing intermediate container bfb1a72dc5ad 19:40:47 ---> 6616560a04c2 19:40:47 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 19:40:47 ---> Running in 68cf55fe1a58 19:40:47 Removing intermediate container 68cf55fe1a58 19:40:47 ---> 2f1c6358a6c5 19:40:47 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:40:47 ---> Running in 205f84e4d2e0 19:40:48 Removing intermediate container 205f84e4d2e0 19:40:48 ---> 7f214eb5ec96 19:40:48 Step 20/22 : LABEL arch=amd64 19:40:48 ---> Running in 6a611b2b1587 19:40:48 Removing intermediate container 6a611b2b1587 19:40:48 ---> 5fbc14257769 19:40:48 Step 21/22 : LABEL git_sha=06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 19:40:48 ---> Running in 7cfaea40cf7f 19:40:48 Removing intermediate container 7cfaea40cf7f 19:40:48 ---> 08a2c051bb1b 19:40:48 Step 22/22 : LABEL version=1.3.0 19:40:48 ---> Running in 79fe6579d623 19:40:48 Removing intermediate container 79fe6579d623 19:40:48 ---> 63b711db97d7 19:40:48 [Warning] One or more build-args [ARCH] were not consumed 19:40:48 Successfully built 63b711db97d7 19:40:48 Successfully tagged docker-device-mqtt-go:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:40:52 provisioning config files... 19:40:52 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/25@tmp/config6263032523078427545tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:40:52 ---> docker-login.sh 19:40:52 nexus3.edgexfoundry.org:10001 19:40:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:40:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:40:52 Configure a credential helper to remove this warning. See 19:40:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:40:52 19:40:52 Login Succeeded 19:40:52 nexus3.edgexfoundry.org:10002 19:40:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:40:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:40:53 Configure a credential helper to remove this warning. See 19:40:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:40:53 19:40:53 Login Succeeded 19:40:53 nexus3.edgexfoundry.org:10003 19:40:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:40:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:40:53 Configure a credential helper to remove this warning. See 19:40:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:40:53 19:40:53 Login Succeeded 19:40:53 nexus3.edgexfoundry.org:10004 19:40:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:40:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:40:53 Configure a credential helper to remove this warning. See 19:40:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:40:53 19:40:53 Login Succeeded 19:40:53 docker.io 19:40:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:40:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:40:53 Configure a credential helper to remove this warning. See 19:40:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:40:53 19:40:53 Login Succeeded 19:40:53 ---> docker-login.sh ends [Pipeline] } 19:40:53 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:40:54 [edgeXDocker.push] Tagging docker image docker-device-mqtt-go with the following tags: 19:40:54 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 19:40:54 latest 19:40:54 1.3.0 19:40:54 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372-1.3.0 19:40:54 master 19:40:54 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:40:54 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 [Pipeline] isUnix [Pipeline] sh 19:40:55 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 19:40:55 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 19:40:55 2c068e106fbd: Preparing 19:40:55 b1a6b016252d: Preparing 19:40:55 b233f7fc93ca: Preparing 19:40:55 ace0eda3e3be: Preparing 19:40:55 ace0eda3e3be: Layer already exists 19:40:55 2c068e106fbd: Pushed 19:40:55 b1a6b016252d: Pushed 19:40:56 b233f7fc93ca: Pushed 19:40:56 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372: digest: sha256:346f9556dafaebcfb19a98eb5e30912969e6f5d24616842999dad766a3e82d18 size: 1155 [Pipeline] isUnix [Pipeline] sh 19:40:56 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest [Pipeline] isUnix [Pipeline] sh 19:40:57 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest 19:40:57 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 19:40:57 2c068e106fbd: Preparing 19:40:57 b1a6b016252d: Preparing 19:40:57 b233f7fc93ca: Preparing 19:40:57 ace0eda3e3be: Preparing 19:40:57 b233f7fc93ca: Layer already exists 19:40:57 ace0eda3e3be: Layer already exists 19:40:57 b1a6b016252d: Layer already exists 19:40:57 2c068e106fbd: Layer already exists 19:40:57 latest: digest: sha256:346f9556dafaebcfb19a98eb5e30912969e6f5d24616842999dad766a3e82d18 size: 1155 [Pipeline] isUnix [Pipeline] sh 19:40:57 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.0 [Pipeline] isUnix [Pipeline] sh 19:40:57 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.0 19:40:57 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 19:40:57 2c068e106fbd: Preparing 19:40:57 b1a6b016252d: Preparing 19:40:57 b233f7fc93ca: Preparing 19:40:57 ace0eda3e3be: Preparing 19:40:57 ace0eda3e3be: Layer already exists 19:40:57 b233f7fc93ca: Layer already exists 19:40:57 2c068e106fbd: Layer already exists 19:40:57 b1a6b016252d: Layer already exists 19:40:57 1.3.0: digest: sha256:346f9556dafaebcfb19a98eb5e30912969e6f5d24616842999dad766a3e82d18 size: 1155 [Pipeline] isUnix [Pipeline] sh 19:40:57 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372-1.3.0 [Pipeline] isUnix [Pipeline] sh 19:40:58 Removing intermediate container 7fa21be4bcaf 19:40:58 ---> d5dcc963ecfd 19:40:58 Successfully built d5dcc963ecfd 19:40:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:40:58 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372-1.3.0 19:40:58 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 19:40:58 2c068e106fbd: Preparing 19:40:58 b1a6b016252d: Preparing 19:40:58 b233f7fc93ca: Preparing 19:40:58 ace0eda3e3be: Preparing 19:40:58 + docker inspect -f . ci-base-image-arm64 19:40:58 . [Pipeline] withDockerContainer 19:40:58 ace0eda3e3be: Layer already exists 19:40:58 b1a6b016252d: Layer already exists 19:40:58 b233f7fc93ca: Layer already exists 19:40:58 2c068e106fbd: Layer already exists 19:40:58 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372-1.3.0: digest: sha256:346f9556dafaebcfb19a98eb5e30912969e6f5d24616842999dad766a3e82d18 size: 1155 19:40:58 prd-ubuntu18.04-docker-arm64-4c-16g-12588 does not seem to be running inside a container 19:40:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/25 -v /w/workspace/device-mqtt-go/25:/w/workspace/device-mqtt-go/25:rw,z -v /w/workspace/device-mqtt-go/25@tmp:/w/workspace/device-mqtt-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:41:00 $ docker top aacda13385782c2a8280fe3240466ccaf9a58120861c333b5ca66d00770244e0 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] sh 19:41:01 + docker tag docker-device-mqtt-go nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] isUnix [Pipeline] sh 19:41:02 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master 19:41:02 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go] 19:41:02 2c068e106fbd: Preparing 19:41:02 b1a6b016252d: Preparing 19:41:02 b233f7fc93ca: Preparing 19:41:02 ace0eda3e3be: Preparing 19:41:02 ace0eda3e3be: Layer already exists 19:41:02 b1a6b016252d: Layer already exists 19:41:02 2c068e106fbd: Layer already exists 19:41:02 b233f7fc93ca: Layer already exists 19:41:02 master: digest: sha256:346f9556dafaebcfb19a98eb5e30912969e6f5d24616842999dad766a3e82d18 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:41:02 ===================================================== 19:41:02 + go version 19:41:02 go version go1.15.2 linux/arm64 [Pipeline] echo 19:41:02 taggedImages: 19:41:02 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 19:41:02 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:latest 19:41:02 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:1.3.0 19:41:02 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372-1.3.0 19:41:02 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:master [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] } 19:41:02 $ docker stop --time=1 aacda13385782c2a8280fe3240466ccaf9a58120861c333b5ca66d00770244e0 19:41:04 $ docker rm -f aacda13385782c2a8280fe3240466ccaf9a58120861c333b5ca66d00770244e0 [Pipeline] // stage [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] stage [Pipeline] { (Snap) [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] findFiles [Pipeline] script [Pipeline] { Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] isUnix [Pipeline] sh [Pipeline] // stage 19:41:05 + docker inspect -f . ci-base-image-arm64 19:41:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] withDockerContainer 19:41:06 prd-ubuntu18.04-docker-arm64-4c-16g-12588 does not seem to be running inside a container 19:41:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/25 -v /w/workspace/device-mqtt-go/25:/w/workspace/device-mqtt-go/25:rw,z -v /w/workspace/device-mqtt-go/25@tmp:/w/workspace/device-mqtt-go/25@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:41:08 $ docker top 9968f50abc32bcf4339fe1b80cf44d1a45015f0d59f25c8f556954ee569d387a -eo pid,comm [Pipeline] { [Pipeline] // withEnv [Pipeline] } [Pipeline] sh [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 19:41:09 + make test 19:41:09 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 19:41:11 ? github.com/edgexfoundry/device-mqtt-go [no test files] 19:41:58 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 19:41:58 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.036s coverage: 28.3% of statements 19:41:58 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 19:41:58 CGO_ENABLED=0 GO111MODULE=on go vet ./... 19:42:05 gofmt -l . 19:42:05 ["`gofmt -l .`" = ""] 19:42:05 ./bin/test-attribution-txt.sh 19:42:05 ./bin/test-go-mod-tidy.sh [Pipeline] } 19:42:05 $ docker stop --time=1 9968f50abc32bcf4339fe1b80cf44d1a45015f0d59f25c8f556954ee569d387a 19:42:08 $ docker rm -f 9968f50abc32bcf4339fe1b80cf44d1a45015f0d59f25c8f556954ee569d387a [Pipeline] // withDockerContainer [Pipeline] sh 19:42:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:42:09 Warning: overwriting stash ‘coverage-report’ 19:42:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:42:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:42:11 + ls -al . 19:42:11 total 132 19:42:11 drwxrwxr-x 9 jenkins jenkins 4096 Nov 18 19:42 . 19:42:11 drwxrwxr-x 4 jenkins jenkins 4096 Nov 18 19:39 .. 19:42:11 -rw-rw-r-- 1 jenkins jenkins 140 Nov 18 19:39 .dockerignore 19:42:11 drwxrwxr-x 8 jenkins jenkins 4096 Nov 18 19:39 .git 19:42:11 drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 19:39 .github 19:42:11 -rw-rw-r-- 1 jenkins jenkins 336 Nov 18 19:39 .gitignore 19:42:11 -rw-rw-r-- 1 jenkins jenkins 5932 Nov 18 19:39 Attribution.txt 19:42:11 -rw-rw-r-- 1 jenkins jenkins 1784 Nov 18 19:39 Dockerfile 19:42:11 -rw-rw-r-- 1 jenkins jenkins 953 Nov 18 19:39 Dockerfile.build 19:42:11 -rw-rw-r-- 1 jenkins jenkins 677 Nov 18 19:39 Jenkinsfile 19:42:11 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 18 19:39 LICENSE 19:42:11 -rw-rw-r-- 1 jenkins jenkins 902 Nov 18 19:39 Makefile 19:42:11 -rw-rw-r-- 1 jenkins jenkins 444 Nov 18 19:39 README.md 19:42:11 -rw-rw-r-- 1 jenkins jenkins 5 Nov 18 19:35 VERSION 19:42:11 drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 19:39 bin 19:42:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 19:39 cmd 19:42:11 -rw-r--r-- 1 jenkins jenkins 18940 Nov 18 19:41 coverage.out 19:42:11 -rw-r--r-- 1 jenkins jenkins 504 Nov 18 19:42 go.mod 19:42:11 -rw-r--r-- 1 jenkins jenkins 14793 Nov 18 19:42 go.sum 19:42:11 drwxrwxr-x 3 jenkins jenkins 4096 Nov 18 19:39 internal 19:42:11 drwxrwxr-x 2 jenkins jenkins 4096 Nov 18 19:39 mock 19:42:11 drwxrwxr-x 4 jenkins jenkins 4096 Nov 18 19:39 snap 19:42:11 -rw-rw-r-- 1 jenkins jenkins 227 Nov 18 19:39 version.go [Pipeline] isUnix [Pipeline] sh 19:42:12 + docker build -t docker-device-mqtt-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 --label arch=arm64 --label version=1.3.0 . 19:42:12 Sending build context to Docker daemon 481.8kB 19:42:12 Step 1/22 : ARG BASE=golang:1.15-alpine 19:42:12 Step 2/22 : FROM ${BASE} AS builder 19:42:12 ---> d5dcc963ecfd 19:42:12 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 19:42:12 ---> Running in 52dc21759ab4 19:42:13 Removing intermediate container 52dc21759ab4 19:42:13 ---> 1466f5cf683e 19:42:13 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 19:42:13 ---> Running in 80b67aae100e 19:42:13 Removing intermediate container 80b67aae100e 19:42:13 ---> 6d2775bc1dba 19:42:13 Step 5/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:42:14 ---> Running in ae9f6043f8ed 19:42:16 Removing intermediate container ae9f6043f8ed 19:42:16 ---> d6478334bab5 19:42:16 Step 6/22 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:42:16 ---> Running in 0440a022d4a4 19:42:18 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 19:42:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 19:42:19 OK: 221 MiB in 53 packages 19:42:21 Removing intermediate container 0440a022d4a4 19:42:21 ---> e7530084b2cd 19:42:21 Step 7/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-mqtt-go 19:42:21 ---> Running in b52f381fe0f8 19:42:21 Removing intermediate container b52f381fe0f8 19:42:21 ---> 883571be1bcb 19:42:21 Step 8/22 : COPY . . 19:42:22 ---> 8e7003959da5 19:42:22 Step 9/22 : ARG MAKE='make build' 19:42:22 ---> Running in 11247522146a 19:42:23 Removing intermediate container 11247522146a 19:42:23 ---> 79ab7c2a573d 19:42:23 Step 10/22 : RUN $MAKE 19:42:23 ---> Running in 3675b583381d 19:42:24 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=1.3.0" -o cmd/device-mqtt ./cmd 19:42:57 CGO_ENABLED=0 GO111MODULE=on go build ./... 19:43:01 Removing intermediate container 3675b583381d 19:43:01 ---> 2deb2091fe04 19:43:01 Step 11/22 : FROM alpine 19:43:01 latest: Pulling from library/alpine 19:43:01 5f621e34cdf4: Pulling fs layer 19:43:01 5f621e34cdf4: Verifying Checksum 19:43:01 5f621e34cdf4: Download complete 19:43:02 5f621e34cdf4: Pull complete 19:43:02 Digest: sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 19:43:02 Status: Downloaded newer image for alpine:latest 19:43:02 ---> 2e77e061c27f 19:43:02 Step 12/22 : ENV APP_PORT=49982 19:43:02 ---> Running in 43b4c60a3bb0 19:43:02 Removing intermediate container 43b4c60a3bb0 19:43:02 ---> 71712b4d4e53 19:43:02 Step 13/22 : EXPOSE $APP_PORT 19:43:02 ---> Running in 1bfa0aa334a1 19:43:03 Removing intermediate container 1bfa0aa334a1 19:43:03 ---> 4ec521f9cb6c 19:43:03 Step 14/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/cmd / 19:43:04 ---> 9edb2eca737a 19:43:04 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/LICENSE / 19:43:05 ---> f79c19456d1f 19:43:05 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-mqtt-go/Attribution.txt / 19:43:06 ---> 26c93e4403ba 19:43:06 Step 17/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IoTech Ltd' 19:43:06 ---> Running in c9fb3e7a4041 19:43:06 Removing intermediate container c9fb3e7a4041 19:43:06 ---> d0515e962ba2 19:43:06 Step 18/22 : ENTRYPOINT ["/device-mqtt"] 19:43:06 ---> Running in bcba49ffb7f9 19:43:07 Removing intermediate container bcba49ffb7f9 19:43:07 ---> b520795a14d7 19:43:07 Step 19/22 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:43:07 ---> Running in d96ca7b97d1e 19:43:07 Removing intermediate container d96ca7b97d1e 19:43:07 ---> 740558719f4e 19:43:07 Step 20/22 : LABEL arch=arm64 19:43:08 ---> Running in 2d1d068cb14b 19:43:08 Removing intermediate container 2d1d068cb14b 19:43:08 ---> 4940ba9e8c45 19:43:08 Step 21/22 : LABEL git_sha=06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 19:43:08 ---> Running in 9cec836cd949 19:43:08 Removing intermediate container 9cec836cd949 19:43:08 ---> fe8f7f38ac2a 19:43:08 Step 22/22 : LABEL version=1.3.0 19:43:09 ---> Running in 8d17ce348107 19:43:09 Removing intermediate container 8d17ce348107 19:43:09 ---> ffdc0ba23e8e 19:43:09 [Warning] One or more build-args [ARCH] were not consumed 19:43:09 Successfully built ffdc0ba23e8e 19:43:09 Successfully tagged docker-device-mqtt-go-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 19:43:10 provisioning config files... 19:43:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/25@tmp/config3868617880749655371tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:43:12 ---> docker-login.sh 19:43:12 nexus3.edgexfoundry.org:10001 19:43:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:12 Configure a credential helper to remove this warning. See 19:43:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:12 19:43:12 Login Succeeded 19:43:12 nexus3.edgexfoundry.org:10002 19:43:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:13 Configure a credential helper to remove this warning. See 19:43:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:13 19:43:13 Login Succeeded 19:43:13 nexus3.edgexfoundry.org:10003 19:43:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:13 Configure a credential helper to remove this warning. See 19:43:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:13 19:43:13 Login Succeeded 19:43:13 nexus3.edgexfoundry.org:10004 19:43:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:14 Configure a credential helper to remove this warning. See 19:43:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:14 19:43:14 Login Succeeded 19:43:14 docker.io 19:43:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:43:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:43:14 Configure a credential helper to remove this warning. See 19:43:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:43:14 19:43:14 Login Succeeded 19:43:15 ---> docker-login.sh ends [Pipeline] } 19:43:15 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:43:15 [edgeXDocker.push] Tagging docker image docker-device-mqtt-go-arm64 with the following tags: 19:43:15 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 19:43:15 latest 19:43:15 1.3.0 19:43:15 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372-1.3.0 19:43:15 master 19:43:15 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:43:16 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 [Pipeline] isUnix [Pipeline] sh 19:43:16 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 19:43:16 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 19:43:16 e8ed8033db26: Preparing 19:43:16 092b45f8ba72: Preparing 19:43:16 a690de3e59e9: Preparing 19:43:16 cd3761cfa1d9: Preparing 19:43:16 cd3761cfa1d9: Layer already exists 19:43:16 e8ed8033db26: Pushed 19:43:16 092b45f8ba72: Pushed 19:43:19 a690de3e59e9: Pushed 19:43:19 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372: digest: sha256:68617f1892bf5adf5cca3cceef39b404fbc81f154c8a74ec2c4377f115740670 size: 1155 [Pipeline] isUnix [Pipeline] sh 19:43:19 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:43:20 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest 19:43:20 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 19:43:20 e8ed8033db26: Preparing 19:43:20 092b45f8ba72: Preparing 19:43:20 a690de3e59e9: Preparing 19:43:20 cd3761cfa1d9: Preparing 19:43:20 e8ed8033db26: Layer already exists 19:43:20 a690de3e59e9: Layer already exists 19:43:20 cd3761cfa1d9: Layer already exists 19:43:20 092b45f8ba72: Layer already exists 19:43:20 latest: digest: sha256:68617f1892bf5adf5cca3cceef39b404fbc81f154c8a74ec2c4377f115740670 size: 1155 [Pipeline] isUnix [Pipeline] sh 19:43:20 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.0 [Pipeline] isUnix [Pipeline] sh 19:43:21 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.0 19:43:21 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 19:43:21 e8ed8033db26: Preparing 19:43:21 092b45f8ba72: Preparing 19:43:21 a690de3e59e9: Preparing 19:43:21 cd3761cfa1d9: Preparing 19:43:21 092b45f8ba72: Layer already exists 19:43:21 cd3761cfa1d9: Layer already exists 19:43:21 e8ed8033db26: Layer already exists 19:43:21 a690de3e59e9: Layer already exists 19:43:21 1.3.0: digest: sha256:68617f1892bf5adf5cca3cceef39b404fbc81f154c8a74ec2c4377f115740670 size: 1155 [Pipeline] isUnix [Pipeline] sh 19:43:21 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372-1.3.0 [Pipeline] isUnix [Pipeline] sh 19:43:22 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372-1.3.0 19:43:22 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 19:43:22 e8ed8033db26: Preparing 19:43:22 092b45f8ba72: Preparing 19:43:22 a690de3e59e9: Preparing 19:43:22 cd3761cfa1d9: Preparing 19:43:22 cd3761cfa1d9: Layer already exists 19:43:22 a690de3e59e9: Layer already exists 19:43:22 092b45f8ba72: Layer already exists 19:43:22 e8ed8033db26: Layer already exists 19:43:22 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372-1.3.0: digest: sha256:68617f1892bf5adf5cca3cceef39b404fbc81f154c8a74ec2c4377f115740670 size: 1155 [Pipeline] isUnix [Pipeline] sh 19:43:22 + docker tag docker-device-mqtt-go-arm64 nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master [Pipeline] isUnix [Pipeline] sh 19:43:23 + docker push nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:master 19:43:23 The push refers to repository [nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64] 19:43:23 e8ed8033db26: Preparing 19:43:23 092b45f8ba72: Preparing 19:43:23 a690de3e59e9: Preparing 19:43:23 cd3761cfa1d9: Preparing 19:43:23 a690de3e59e9: Layer already exists 19:43:23 cd3761cfa1d9: Layer already exists 19:43:23 e8ed8033db26: Layer already exists 19:43:23 092b45f8ba72: Layer already exists 19:43:23 master: digest: sha256:68617f1892bf5adf5cca3cceef39b404fbc81f154c8a74ec2c4377f115740670 size: 1155 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 19:43:24 ===================================================== [Pipeline] echo 19:43:24 taggedImages: 19:43:24 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 19:43:24 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:latest 19:43:24 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:1.3.0 19:43:24 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-go-arm64:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372-1.3.0 19:43:24 - nexus3.edgexfoundry.org:10004/docker-device-mqtt-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 19:43:25 provisioning config files... 19:43:25 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7158843221221829037tmp [Pipeline] { [Pipeline] sh 19:43:25 + set +x 19:43:25 + curl -s https://codecov.io/bash 19:43:25 + bash -s -- 19:43:26 19:43:26 _____ _ 19:43:26 / ____| | | 19:43:26 | | ___ __| | ___ ___ _____ __ 19:43:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:43:26 | |___| (_) | (_| | __/ (_| (_) \ V / 19:43:26 \_____\___/ \__,_|\___|\___\___/ \_/ 19:43:26 Bash-20201116-eea08d9 19:43:26 19:43:26 19:43:26 ==> Jenkins CI detected. 19:43:26 project root: . 19:43:26 --> token set from env 19:43:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:43:26 ==> Running gcov in . (disable via -X gcov) 19:43:26 ==> Python coveragepy not found 19:43:26 ==> Searching for coverage reports in: 19:43:26 + . 19:43:26 -> Found 1 reports 19:43:26 ==> Detecting git/mercurial file structure 19:43:26 ==> Reading reports 19:43:26 + ./coverage.out bytes=18940 19:43:26 ==> Appending adjustments 19:43:26 https://docs.codecov.io/docs/fixing-reports 19:43:26 + Found adjustments 19:43:26 ==> Gzipping contents 19:43:26 ==> Uploading reports 19:43:26 url: https://codecov.io 19:43:26 query: branch=master&commit=06d3741ca62ebd3e4d9b2e85a020dae99c1fa372&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:43:26 -> Pinging Codecov 19:43:26 https://codecov.io/upload/v4?package=bash-20201116-eea08d9&token=secret&branch=master&commit=06d3741ca62ebd3e4d9b2e85a020dae99c1fa372&build=25&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmaster%2F25%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:43:27 -> Uploading to 19:43:27 https://storage.googleapis.com/codecov/v4/raw/2020-11-18/7D719EC7BBE17E464838252E33014C33/06d3741ca62ebd3e4d9b2e85a020dae99c1fa372/96df05ca-fab3-4d78-816d-e85340e6c5cd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201118%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201118T194327Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5cda10c047081263dd5ecb4526a747fe02f2d57f7bb8a7ef500f907d06c789e2 19:43:27 % Total % Received % Xferd Average Speed Time Time Time Current 19:43:27 Dload Upload Total Spent Left Speed 19:43:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3247 0 0 100 3247 0 7801 --:--:-- --:--:-- --:--:-- 7786 19:43:27 -> View reports at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 [Pipeline] } 19:43:27 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:43:28 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:43:28 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:43:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:43:28 19:43:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 19:43:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:43:29 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:43:29 188c0c94c7c5: Pulling fs layer 19:43:29 0ef7d3d256c8: Pulling fs layer 19:43:29 de9db76c5a1d: Pulling fs layer 19:43:29 0eba1c9be4d2: Pulling fs layer 19:43:29 0d57e429df01: Pulling fs layer 19:43:29 4e4be7b47b0d: Pulling fs layer 19:43:29 e1f770b5df2f: Pulling fs layer 19:43:29 85a0685a4137: Pulling fs layer 19:43:29 0d57e429df01: Waiting 19:43:29 4e4be7b47b0d: Waiting 19:43:29 0eba1c9be4d2: Waiting 19:43:29 e1f770b5df2f: Waiting 19:43:29 de9db76c5a1d: Verifying Checksum 19:43:29 de9db76c5a1d: Download complete 19:43:29 0ef7d3d256c8: Verifying Checksum 19:43:29 0ef7d3d256c8: Download complete 19:43:29 0d57e429df01: Verifying Checksum 19:43:29 0d57e429df01: Download complete 19:43:29 4e4be7b47b0d: Verifying Checksum 19:43:29 4e4be7b47b0d: Download complete 19:43:29 188c0c94c7c5: Download complete 19:43:30 188c0c94c7c5: Pull complete 19:43:30 0ef7d3d256c8: Pull complete 19:43:31 de9db76c5a1d: Pull complete 19:43:32 e1f770b5df2f: Verifying Checksum 19:43:32 e1f770b5df2f: Download complete 19:43:36 0eba1c9be4d2: Download complete 19:43:36 85a0685a4137: Verifying Checksum 19:43:36 85a0685a4137: Download complete 19:43:45 0eba1c9be4d2: Pull complete 19:43:45 0d57e429df01: Pull complete 19:43:45 4e4be7b47b0d: Pull complete 19:43:47 e1f770b5df2f: Pull complete 19:43:55 85a0685a4137: Pull complete 19:43:55 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 19:43:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:43:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 19:43:55 prd-centos7-docker-4c-2g-12570 does not seem to be running inside a container 19:43:55 $ 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-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 19:43:56 $ docker top 1b8c66c2c24f5e187481a0542c27abd56d7d9c315648e50e18cdfdb6a9e1222c -eo pid,comm [Pipeline] { [Pipeline] echo 19:43:57 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 19:43:57 + set -o pipefail 19:43:57 + snyk monitor '--org=edgex-jenkins' 19:44:05 19:44:05 Monitoring /w/workspace/gexfoundry_device-mqtt-go_master (github.com/edgexfoundry/device-mqtt-go)... 19:44:05 19:44:05 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/53dac4a4-7655-4aa5-935f-c5026caa54b4 19:44:05 19:44:05 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:44:05 19:44:05 19:44:05 You are approaching your monthly limit of 300 private tests for your edgex-jenkins org. 19:44:05 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 19:44:05 $ docker stop --time=1 1b8c66c2c24f5e187481a0542c27abd56d7d9c315648e50e18cdfdb6a9e1222c 19:44:08 $ docker rm -f 1b8c66c2c24f5e187481a0542c27abd56d7d9c315648e50e18cdfdb6a9e1222c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) [Pipeline] script [Pipeline] { [Pipeline] echo 19:44:09 [edgeXSnyk] dockerImage=nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372, dockerFile=Dockerfile [Pipeline] echo 19:44:09 [edgeXSnyk] downloading global ignore policy file from: https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk [Pipeline] sh 19:44:10 + set -o pipefail 19:44:10 + curl -s https://raw.githubusercontent.com/edgexfoundry/security-pipeline-policies/main/snyk/.snyk 19:44:10 + tee .snyk 19:44:10 # Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. 19:44:10 version: v1.14.1 19:44:10 # ignores vulnerabilities until expiry date; change duration by modifying expiry date 19:44:10 ignore: 19:44:10 SNYK-ALPINE312-ONIGURUMA-1017392: # snyk ID for the issue to ignore. Required. 19:44:10 - '*': 19:44:10 reason: does not apply # justification for ignoring 19:44:10 expires: 2021-01-01T00:00:00 # expiry date string, according to RFC2822 (https://tools.ietf.org/html/rfc2822#page-14)https://snyk.io/vuln/SNYK-ALPINE312-ONIGURUMA-1017392 19:44:10 SNYK-ALPINE312-JQ-588886: 19:44:10 - '*': 19:44:10 reason: false positive 19:44:10 expires: 2021-01-01T00:00:00 19:44:10 # patch: {} [Pipeline] withCredentials 19:44:10 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:44:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:44:10 . [Pipeline] withDockerContainer 19:44:11 prd-centos7-docker-4c-2g-12570 does not seem to be running inside a container 19:44:11 $ 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-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 19:44:12 $ docker top 895d250a468860522913f4e28edaf6e4ee930f30d23b55f4d3bf7ab34c2ba507 -eo pid,comm [Pipeline] { [Pipeline] sh 19:44:12 + rm -f snykReport.html [Pipeline] echo 19:44:12 [edgeXSnyk] command to run: set -o pipefail ; snyk test --org=edgex-jenkins --docker nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 --file=./Dockerfile --severity-threshold=high --policy-path=./.snyk --json | snyk-to-html -o snykReport.html [Pipeline] sh 19:44:12 + set -o pipefail 19:44:12 + snyk test '--org=edgex-jenkins' --docker nexus3.edgexfoundry.org:10004/docker-device-mqtt-go:06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 '--file=./Dockerfile' '--severity-threshold=high' '--policy-path=./.snyk' --json 19:44:12 + snyk-to-html -o snykReport.html 19:44:21 Vulnerability snapshot saved at snykReport.html [Pipeline] } 19:44:21 $ docker stop --time=1 895d250a468860522913f4e28edaf6e4ee930f30d23b55f4d3bf7ab34c2ba507 19:44:22 $ docker rm -f 895d250a468860522913f4e28edaf6e4ee930f30d23b55f4d3bf7ab34c2ba507 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:44:24 + git log --format=format:%s -1 06d3741ca62ebd3e4d9b2e85a020dae99c1fa372 [Pipeline] isUnix [Pipeline] sh 19:44:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:44:25 . [Pipeline] withDockerContainer 19:44:25 prd-centos7-docker-4c-2g-12570 does not seem to be running inside a container 19:44:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:44:26 $ docker top dbb680e884a430692626bb1664ef2b3a95dd51b774982ef021413fd1e623a107 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:44:26 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v1.2.3-dev.10|v1.3.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:44:26 + git semver [Pipeline] } 19:44:26 $ docker stop --time=1 dbb680e884a430692626bb1664ef2b3a95dd51b774982ef021413fd1e623a107 19:44:28 $ docker rm -f dbb680e884a430692626bb1664ef2b3a95dd51b774982ef021413fd1e623a107 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 19:44:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:44:28 19:44:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 19:44:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:44:29 0.23.1-centos7: Pulling from edgex-lftools 19:44:29 ab5ef0e58194: Pulling fs layer 19:44:29 9712f1f96733: Pulling fs layer 19:44:29 63f879dbbcfc: Pulling fs layer 19:44:29 0d9ebad4ef96: Pulling fs layer 19:44:29 e9a5061849ea: Pulling fs layer 19:44:29 d747dcd14b5f: Pulling fs layer 19:44:29 2de7ff778b66: Pulling fs layer 19:44:29 e9a5061849ea: Waiting 19:44:29 d747dcd14b5f: Waiting 19:44:29 2de7ff778b66: Waiting 19:44:29 0d9ebad4ef96: Waiting 19:44:29 9712f1f96733: Verifying Checksum 19:44:29 9712f1f96733: Download complete 19:44:33 63f879dbbcfc: Verifying Checksum 19:44:33 63f879dbbcfc: Download complete 19:44:33 e9a5061849ea: Verifying Checksum 19:44:33 e9a5061849ea: Download complete 19:44:33 d747dcd14b5f: Verifying Checksum 19:44:33 d747dcd14b5f: Download complete 19:44:34 2de7ff778b66: Verifying Checksum 19:44:34 2de7ff778b66: Download complete 19:44:34 0d9ebad4ef96: Verifying Checksum 19:44:34 0d9ebad4ef96: Download complete 19:44:35 ab5ef0e58194: Verifying Checksum 19:44:35 ab5ef0e58194: Download complete 19:44:40 ab5ef0e58194: Pull complete 19:44:40 9712f1f96733: Pull complete 19:44:43 63f879dbbcfc: Pull complete 19:44:51 0d9ebad4ef96: Pull complete 19:44:52 e9a5061849ea: Pull complete 19:44:52 d747dcd14b5f: Pull complete 19:44:55 2de7ff778b66: Pull complete 19:44:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:44:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:44:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 19:44:55 prd-centos7-docker-4c-2g-12570 does not seem to be running inside a container 19:44:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 19:44:59 $ docker top e5ca2b078d6095165565636cd8ce12d8727ad5fb36fc2bc43b8faf596e1aa7e8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:44:59 provisioning config files... 19:44:59 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config3606462629374828440tmp 19:44:59 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7031842022057989073tmp 19:44:59 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config7137436380767991704tmp [Pipeline] { [Pipeline] echo 19:44:59 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:44:59 ---> sigul-configuration.sh 19:44:59 gpg: directory `/root/.gnupg' created 19:44:59 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:44:59 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:44:59 gpg: keyring `/root/.gnupg/secring.gpg' created 19:44:59 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:44:59 gpg: CAST5 encrypted data 19:45:00 gpg: encrypted with 1 passphrase 19:45:00 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:45:00 + mkdir /home/jenkins 19:45:00 + mkdir /home/jenkins/sigul [Pipeline] sh 19:45:00 + 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 19:45:00 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:45:01 ---> sigul-install.sh 19:45:08 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 19:45:08 + git tag --list 19:45:08 0.7.1 19:45:08 v1.0.0 19:45:08 v1.1.0 19:45:08 v1.1.1 19:45:08 v1.2.1 19:45:08 v1.2.2 19:45:08 v1.2.2-dev.1 19:45:08 v1.2.2-dev.2 19:45:08 v1.2.3-dev.1 19:45:08 v1.2.3-dev.10 19:45:08 v1.2.3-dev.2 19:45:08 v1.2.3-dev.3 19:45:08 v1.2.3-dev.4 19:45:08 v1.2.3-dev.5 19:45:08 v1.2.3-dev.6 19:45:08 v1.2.3-dev.7 19:45:08 v1.2.3-dev.8 19:45:08 v1.2.3-dev.9 19:45:08 v1.3.0 [Pipeline] sh 19:45:09 + lftools sign git-tag v1.3.0 19:45:10 Signing Git tag with Sigul... 19:45:10 Signing v1.3.0 [Pipeline] echo 19:45:12 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:45:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:45:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:45:12 $ docker stop --time=1 e5ca2b078d6095165565636cd8ce12d8727ad5fb36fc2bc43b8faf596e1aa7e8 19:45:14 $ docker rm -f e5ca2b078d6095165565636cd8ce12d8727ad5fb36fc2bc43b8faf596e1aa7e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 19:45:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:45:15 . [Pipeline] withDockerContainer 19:45:15 prd-centos7-docker-4c-2g-12570 does not seem to be running inside a container 19:45:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:45:16 $ docker top a929ed7000b42c590c5182e8c58bc325c00332492c67d0efdb3667e1469b5959 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:45:17 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v1.2.3-dev.10|v1.3.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:45:17 + git semver [Pipeline] } 19:45:17 $ docker stop --time=1 a929ed7000b42c590c5182e8c58bc325c00332492c67d0efdb3667e1469b5959 19:45:18 $ docker rm -f a929ed7000b42c590c5182e8c58bc325c00332492c67d0efdb3667e1469b5959 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 19:45:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:45:19 . [Pipeline] withDockerContainer 19:45:19 prd-centos7-docker-4c-2g-12570 does not seem to be running inside a container 19:45:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:45:20 $ docker top efd0d5c3d746ee4c879473ea1d941cb8d8c2b849316f4a1a2fa333a20715a3bb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:45:20 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v1.2.3-dev.10|v1.3.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:45:21 + git semver [Pipeline] } 19:45:21 $ docker stop --time=1 efd0d5c3d746ee4c879473ea1d941cb8d8c2b849316f4a1a2fa333a20715a3bb 19:45:22 $ docker rm -f efd0d5c3d746ee4c879473ea1d941cb8d8c2b849316f4a1a2fa333a20715a3bb [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 19:45:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:45:25 ---> package-listing.sh 19:45:25 ++ tr '[:upper:]' '[:lower:]' 19:45:25 ++ facter osfamily 19:45:25 + OS_FAMILY=redhat 19:45:25 + workspace=/w/workspace/gexfoundry_device-mqtt-go_master 19:45:25 + START_PACKAGES=/tmp/packages_start.txt 19:45:25 + END_PACKAGES=/tmp/packages_end.txt 19:45:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:45:25 + PACKAGES=/tmp/packages_start.txt 19:45:25 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 19:45:25 + PACKAGES=/tmp/packages_end.txt 19:45:25 + case "${OS_FAMILY}" in 19:45:25 + rpm -qa 19:45:25 + sort 19:45:29 + '[' -f /tmp/packages_start.txt ']' 19:45:29 + '[' -f /tmp/packages_end.txt ']' 19:45:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:45:29 + '[' /w/workspace/gexfoundry_device-mqtt-go_master ']' 19:45:29 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_master/archives/ 19:45:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_master/archives/ [Pipeline] echo 19:45:29 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-mqtt-go_master/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:45:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:45:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:45:30 19:45:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 19:45:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:45:30 alpine: Pulling from edgex-lftools-log-publisher 19:45:30 df20fa9351a1: Pulling fs layer 19:45:30 36b3adc4ff6f: Pulling fs layer 19:45:30 8ad3a11d3b57: Pulling fs layer 19:45:30 46f8f816bc3b: Pulling fs layer 19:45:30 93b61091891f: Pulling fs layer 19:45:30 93b9cdb0e59b: Pulling fs layer 19:45:30 5e14af77c1be: Pulling fs layer 19:45:30 01666e4c0597: Pulling fs layer 19:45:30 aa168da1d23b: Pulling fs layer 19:45:30 93b9cdb0e59b: Waiting 19:45:30 5e14af77c1be: Waiting 19:45:30 aa168da1d23b: Waiting 19:45:30 01666e4c0597: Waiting 19:45:30 46f8f816bc3b: Waiting 19:45:30 93b61091891f: Waiting 19:45:30 36b3adc4ff6f: Verifying Checksum 19:45:30 36b3adc4ff6f: Download complete 19:45:30 46f8f816bc3b: Verifying Checksum 19:45:30 46f8f816bc3b: Download complete 19:45:31 df20fa9351a1: Verifying Checksum 19:45:31 df20fa9351a1: Download complete 19:45:31 93b61091891f: Download complete 19:45:31 93b9cdb0e59b: Verifying Checksum 19:45:31 93b9cdb0e59b: Download complete 19:45:31 5e14af77c1be: Verifying Checksum 19:45:31 5e14af77c1be: Download complete 19:45:31 01666e4c0597: Verifying Checksum 19:45:31 01666e4c0597: Download complete 19:45:31 df20fa9351a1: Pull complete 19:45:31 8ad3a11d3b57: Verifying Checksum 19:45:31 8ad3a11d3b57: Download complete 19:45:31 36b3adc4ff6f: Pull complete 19:45:32 8ad3a11d3b57: Pull complete 19:45:32 46f8f816bc3b: Pull complete 19:45:33 93b61091891f: Pull complete 19:45:33 93b9cdb0e59b: Pull complete 19:45:34 5e14af77c1be: Pull complete 19:45:34 01666e4c0597: Pull complete 19:45:35 aa168da1d23b: Verifying Checksum 19:45:35 aa168da1d23b: Download complete 19:45:43 aa168da1d23b: Pull complete 19:45:43 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 19:45:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 19:45:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 19:45:44 prd-centos7-docker-4c-2g-12570 does not seem to be running inside a container 19:45:44 $ 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-mqtt-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-mqtt-go_master -v /w/workspace/gexfoundry_device-mqtt-go_master:/w/workspace/gexfoundry_device-mqtt-go_master:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_master@tmp:/w/workspace/gexfoundry_device-mqtt-go_master@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 19:45:47 $ docker top 4eb0894f6d0c6a9328f606d0d958712da1b6d9d91a7f9e68c9e11b76fc692b23 -eo pid,comm [Pipeline] { [Pipeline] sh 19:45:47 + touch /tmp/pre-build-complete [Pipeline] sh 19:45:48 + mkdir -p /var/log/sa [Pipeline] sh 19:45:48 + ls /var/log/sa-host 19:45:48 + sadf -c /var/log/sa-host/sa05 19:45:48 file_magic: OK 19:45:48 HZ: Using current value: 100 19:45:48 file_header: OK 19:45:48 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 19:45:48 Statistics: 19:45:48 Hnuu...uuuununununu...Hnuu...uuuununununu... 19:45:48 File successfully converted to sysstat format version 12.2.1 19:45:48 + sadf -c /var/log/sa-host/sa18 19:45:48 file_magic: OK 19:45:48 HZ: Using current value: 100 19:45:48 file_header: OK 19:45:48 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 19:45:48 Statistics: 19:45:48 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 19:45:48 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:45:48 provisioning config files... 19:45:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_master@tmp/config6677283263492198388tmp [Pipeline] { [Pipeline] echo 19:45:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:45:49 ---> create-netrc.sh [Pipeline] } 19:45:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 19:45:49 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 19:45:49 ---> python-tools-install.sh [Pipeline] echo 19:45:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:45:50 ---> sudo-logs.sh 19:45:50 Archiving 'sudo' log.. [Pipeline] echo 19:45:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:45:50 ---> job-cost.sh 19:45:50 lf-activate-venv: SKIPPING 19:45:50 INFO: No Stack... 19:45:51 INFO: Retrieving Pricing Info for: v1-standard-2 19:45:51 INFO: Archiving Costs [Pipeline] echo 19:45:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:45:52 ---> logs-deploy.sh 19:45:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/master/25 19:45:52 INFO: archiving workspace using pattern(s): 19:45:54 Archives upload complete. 19:45:54 INFO: archiving logs to Nexus