Push event to branch main Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Obtained Jenkinsfile from f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 Running in Durability level: MAX_SURVIVABILITY 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6483281801537205468.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 144eb70ba3d470a427e699408e811d3f535e987a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5108089121127094315.key > 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 144eb70ba3d470a427e699408e811d3f535e987a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines # timeout=10 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9038054988252420854.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh643309780682281176.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 144eb70ba3d470a427e699408e811d3f535e987a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 144eb70ba3d470a427e699408e811d3f535e987a # timeout=10 Commit message: "Merge pull request #341 from ernestojeda/master-2-main" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh856771565142327823.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 958cd7e315bbc9ba310183e4d590ee91b14940ee The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/lf-pipelines # timeout=10 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh28216453833634633.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 958cd7e315bbc9ba310183e4d590ee91b14940ee (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 958cd7e315bbc9ba310183e4d590ee91b14940ee # timeout=10 Commit message: "Fix: job-cost.sh no longer causes build failures" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a 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.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: device-mqtt 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-221 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/edgexfoundry_device-mqtt-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > git /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/jenkins-gitclient-ssh8664586874855204211.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 # timeout=10 Commit message: "feat(snap): add go-based configure and install hooks (#294)" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:38:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:38:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:38:12 ========================================================= 22:38:12 EdgeX Global Pipelines Version Info 22:38:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:38:16 ------------------- 22:38:16 stable info: 22:38:16 ------------------- 22:38:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:38:16 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 22:38:16 Message: update stable to v1.0.196 22:38:17 ------------------- 22:38:17 experimental info: 22:38:17 ------------------- 22:38:17 Commited By: **** collab-it+edgex@linuxfoundation.org 22:38:17 Commit SHA: 144eb70ba3d470a427e699408e811d3f535e987a 22:38:17 Message: update experimental to v1.0.196 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:38:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 22:38:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 22:38:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:38:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:38:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:38:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 22:38:17 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 22:38:17 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 22:38:18 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:38:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:38:18 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:38:18 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 22:38:18 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:38:18 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:38:18 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:38:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:38:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:38:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:38:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:38:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo 22:38:19 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:38:19 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:38:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:38:19 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:38:19 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:38:19 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:38:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 22:38:19 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 22:38:19 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 22:38:19 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] echo 22:38:19 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f108e1f [Pipeline] echo 22:38:19 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:38:20 provisioning config files... 22:38:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config492742763647432130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:38:20 ---> docker-login.sh 22:38:20 nexus3.edgexfoundry.org:10001 22:38:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:21 Configure a credential helper to remove this warning. See 22:38:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:21 22:38:21 Login Succeeded 22:38:21 nexus3.edgexfoundry.org:10002 22:38:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:21 Configure a credential helper to remove this warning. See 22:38:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:21 22:38:21 Login Succeeded 22:38:21 nexus3.edgexfoundry.org:10003 22:38:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:21 Configure a credential helper to remove this warning. See 22:38:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:21 22:38:21 Login Succeeded 22:38:21 nexus3.edgexfoundry.org:10004 22:38:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:21 Configure a credential helper to remove this warning. See 22:38:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:21 22:38:21 Login Succeeded 22:38:21 docker.io 22:38:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:38:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:38:21 Configure a credential helper to remove this warning. See 22:38:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:38:21 22:38:21 Login Succeeded 22:38:21 ---> docker-login.sh ends [Pipeline] } 22:38:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:38:22 + git log --format=format:%s -1 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] echo 22:38:22 GIT_COMMIT: f108e1f6dac2bdd3d582b44a0d019ed09ad7b604, Commit Message: feat(snap): add go-based configure and install hooks (#294) [Pipeline] echo 22:38:22 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 22:38:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:38:23 22:38:23 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 22:38:23 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:38:23 latest: Pulling from edgex-devops/git-semver 22:38:23 31603596830f: Pulling fs layer 22:38:23 54011a49482f: Pulling fs layer 22:38:23 a6820b24f6d8: Pulling fs layer 22:38:23 f581987b2513: Pulling fs layer 22:38:23 f581987b2513: Waiting 22:38:23 54011a49482f: Verifying Checksum 22:38:23 54011a49482f: Download complete 22:38:24 31603596830f: Verifying Checksum 22:38:24 31603596830f: Download complete 22:38:24 f581987b2513: Verifying Checksum 22:38:24 f581987b2513: Download complete 22:38:24 a6820b24f6d8: Verifying Checksum 22:38:24 a6820b24f6d8: Download complete 22:38:24 31603596830f: Pull complete 22:38:24 54011a49482f: Pull complete 22:38:25 a6820b24f6d8: Pull complete 22:38:25 f581987b2513: Pull complete 22:38:25 Digest: sha256:772af3cb61214e5a22880db9bb273bb039d0aa3a8f4edfa0c1def8b4e20ea536 22:38:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:38:25 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 22:38:25 prd-centos7-docker-4c-2g-221 does not seem to be running inside a container 22:38:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:38:27 $ docker top eb66f45c8ba660410248124b8423aec9a6afea419093090d760b1b54f42d40c3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:38:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:38:27 [ssh-agent] Looking for ssh-agent implementation... 22:38:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:38:27 $ docker exec eb66f45c8ba660410248124b8423aec9a6afea419093090d760b1b54f42d40c3 ssh-agent 22:38:28 SSH_AUTH_SOCK=/tmp/ssh-Udprk76WbUTO/agent.14 22:38:28 SSH_AGENT_PID=20 22:38:28 Running ssh-add (command line suppressed) 22:38:28 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_861742057529206519.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_861742057529206519.key) 22:38:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:38:28 + git tag --points-at HEAD [Pipeline] } 22:38:28 $ docker exec --env ******** --env ******** eb66f45c8ba660410248124b8423aec9a6afea419093090d760b1b54f42d40c3 ssh-agent -k 22:38:28 unset SSH_AUTH_SOCK; 22:38:28 unset SSH_AGENT_PID; 22:38:28 echo Agent pid 20 killed; 22:38:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 22:38:28 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.0.0' [Pipeline] sshagent 22:38:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:38:28 [ssh-agent] Looking for ssh-agent implementation... 22:38:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:38:28 $ docker exec eb66f45c8ba660410248124b8423aec9a6afea419093090d760b1b54f42d40c3 ssh-agent 22:38:28 SSH_AUTH_SOCK=/tmp/ssh-Y7aEnTDtq3yF/agent.52 22:38:28 SSH_AGENT_PID=59 22:38:28 Running ssh-add (command line suppressed) 22:38:29 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3644573314678580708.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3644573314678580708.key) 22:38:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:38:29 + git semver init 22:38:29 # -> Open(): unable to determine branch for HEAD 22:38:29 # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git 22:38:29 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main 22:38:29 # $SEMVER_REMOTE_NAME = origin 22:38:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 22:38:29 # $SEMVER_USER_NAME = edgex-jenkins 22:38:29 # $SEMVER_BRANCH = main 22:38:29 # $SEMVER_TEMP = /tmp/semver-612085146 22:38:29 # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP 22:38:29 # '/tmp/semver-612085146' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' 22:38:29 # -> Force: false 22:38:29 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } 22:38:29 $ docker exec --env ******** --env ******** eb66f45c8ba660410248124b8423aec9a6afea419093090d760b1b54f42d40c3 ssh-agent -k 22:38:29 unset SSH_AUTH_SOCK; 22:38:29 unset SSH_AGENT_PID; 22:38:29 echo Agent pid 59 killed; 22:38:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:38:30 + git semver [Pipeline] } 22:38:30 $ docker stop --time=1 eb66f45c8ba660410248124b8423aec9a6afea419093090d760b1b54f42d40c3 22:38:31 $ docker rm -f eb66f45c8ba660410248124b8423aec9a6afea419093090d760b1b54f42d40c3 [Pipeline] // withDockerContainer [Pipeline] sh 22:38:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:38:32 Stashed 1 file(s) [Pipeline] echo 22:38:32 [edgeXSemver]: initialized semver on version 2.0.1-dev.1 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 22:38:48 Still waiting to schedule task 22:38:48 ‘prd-centos7-blackbox-4c-2g-1384’ doesn’t have label ‘centos7-docker-4c-2g’ 22:38:48 ‘prd-centos7-docker-4c-2g-215’ is offline 22:38:48 ‘prd-centos7-docker-4c-2g-225’ is offline 22:38:48 ‘prd-centos7-docker-4c-2g-226’ is offline 22:38:48 Still waiting to schedule task 22:38:48 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 22:40:26 Running on prd-centos7-docker-4c-2g-237 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 22:40:26 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 22:40:27 Selected Git installation does not exist. Using Default 22:40:27 The recommended git tool is: NONE 22:40:29 using credential edgex-jenkins-ssh 22:40:29 Cloning the remote Git repository 22:40:30 Avoid second fetch 22:40:30 Checking out Revision f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 (main) 22:40:29 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 22:40:29 > git init /w/workspace/device-mqtt-go/1 # timeout=10 22:40:29 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 22:40:29 > git --version # timeout=10 22:40:29 > git --version # 'git version 2.24.4' 22:40:29 using GIT_SSH to set credentials SSH Credentials for GitHub 22:40:29 [INFO] Currently running in a labeled security context 22:40:29 [INFO] Currently SELinux is 'enforcing' on the host 22:40:29 > git /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/1@tmp/jenkins-gitclient-ssh7412738657783956721.key 22:40:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:40:30 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 22:40:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:40:30 > git config core.sparsecheckout # timeout=10 22:40:30 > git checkout -f f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 # timeout=10 22:40:34 Commit message: "feat(snap): add go-based configure and install hooks (#294)" 22:40:34 > git --version # timeout=10 22:40:34 > git --version # 'git version 2.24.4' 22:40:34 fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:40:35 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 22:40:35 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:40:36 + true 22:40:36 + sudo service docker restart 22:40:36 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:40:54 provisioning config files... 22:40:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config7745019359160043529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:40:55 ---> docker-login.sh 22:40:55 nexus3.edgexfoundry.org:10001 22:40:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:55 Configure a credential helper to remove this warning. See 22:40:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:55 22:40:55 Login Succeeded 22:40:55 nexus3.edgexfoundry.org:10002 22:40:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:55 Configure a credential helper to remove this warning. See 22:40:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:55 22:40:55 Login Succeeded 22:40:55 nexus3.edgexfoundry.org:10003 22:40:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:55 Configure a credential helper to remove this warning. See 22:40:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:55 22:40:55 Login Succeeded 22:40:55 nexus3.edgexfoundry.org:10004 22:40:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:55 Configure a credential helper to remove this warning. See 22:40:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:55 22:40:55 Login Succeeded 22:40:55 docker.io 22:40:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:40:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:40:56 Configure a credential helper to remove this warning. See 22:40:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:40:56 22:40:56 Login Succeeded 22:40:56 ---> docker-login.sh ends [Pipeline] } 22:40:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:40:56 ========================================================= 22:40:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 22:40:56 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:40:57 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine . 22:40:57 Sending build context to Docker daemon 602.6kB 22:40:57 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 22:40:57 Step 2/8 : FROM ${BASE} 22:40:57 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 22:40:57 540db60ca938: Pulling fs layer 22:40:57 adcc1eea9eea: Pulling fs layer 22:40:57 4c4ab2625f07: Pulling fs layer 22:40:57 0510c868ecb4: Pulling fs layer 22:40:57 afea3b2eda06: Pulling fs layer 22:40:57 7809a108b3ef: Pulling fs layer 22:40:57 f706445af74f: Pulling fs layer 22:40:57 afea3b2eda06: Waiting 22:40:57 7809a108b3ef: Waiting 22:40:57 f706445af74f: Waiting 22:40:57 0510c868ecb4: Waiting 22:40:57 4c4ab2625f07: Verifying Checksum 22:40:57 4c4ab2625f07: Download complete 22:40:57 adcc1eea9eea: Verifying Checksum 22:40:57 adcc1eea9eea: Download complete 22:40:57 afea3b2eda06: Verifying Checksum 22:40:57 afea3b2eda06: Download complete 22:40:57 540db60ca938: Verifying Checksum 22:40:57 540db60ca938: Download complete 22:40:57 7809a108b3ef: Verifying Checksum 22:40:57 7809a108b3ef: Download complete 22:40:57 540db60ca938: Pull complete 22:40:57 adcc1eea9eea: Pull complete 22:40:57 4c4ab2625f07: Pull complete 22:40:58 f706445af74f: Verifying Checksum 22:40:58 f706445af74f: Download complete 22:40:59 0510c868ecb4: Verifying Checksum 22:40:59 0510c868ecb4: Download complete 22:41:02 0510c868ecb4: Pull complete 22:41:02 afea3b2eda06: Pull complete 22:41:02 7809a108b3ef: Pull complete 22:41:04 f706445af74f: Pull complete 22:41:04 Digest: sha256:3789524f83b4b99ff44900c39f6da7fc44f99660cd9adf292610dec398b137f4 22:41:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 22:41:04 ---> b068be0155e3 22:41:04 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 22:41:11 ---> Running in 5878dda1b288 22:41:11 Removing intermediate container 5878dda1b288 22:41:11 ---> 2a3e317800fb 22:41:11 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:41:11 ---> Running in ed4bd035ce1c 22:41:11 Removing intermediate container ed4bd035ce1c 22:41:11 ---> 9e541d3f9f44 22:41:11 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:41:11 ---> Running in e482a2af8779 22:41:11 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:41:11 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:41:12 (1/13) Installing libc-dev (0.7.2-r3) 22:41:12 (2/13) Installing libsodium (1.0.18-r0) 22:41:12 (3/13) Installing pkgconf (1.7.3-r0) 22:41:13 (4/13) Installing libsodium-dev (1.0.18-r0) 22:41:13 (5/13) Installing openssh-keygen (8.4_p1-r3) 22:41:13 (6/13) Installing libedit (20191231.3.1-r1) 22:41:14 (7/13) Installing openssh-client (8.4_p1-r3) 22:41:14 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 22:41:14 (9/13) Installing openssh-server-common (8.4_p1-r3) 22:41:14 (10/13) Installing openssh-server (8.4_p1-r3) 22:41:14 (11/13) Installing openssh (8.4_p1-r3) 22:41:14 (12/13) Installing libzmq (4.3.3-r1) 22:41:15 (13/13) Installing zeromq-dev (4.3.3-r1) 22:41:15 Executing busybox-1.32.1-r6.trigger 22:41:15 OK: 156 MiB in 53 packages 22:41:16 Removing intermediate container e482a2af8779 22:41:16 ---> 7e1eec7aab4d 22:41:16 Step 6/8 : WORKDIR /device-mqtt-go 22:41:16 ---> Running in 9485e3696309 22:41:16 Removing intermediate container 9485e3696309 22:41:16 ---> fb624d8ef0b2 22:41:16 Step 7/8 : COPY . . 22:41:16 ---> 5b83a5fd9485 22:41:16 Step 8/8 : RUN go mod download 22:41:16 ---> Running in 54dbb4380dfb 22:41:34 Removing intermediate container 54dbb4380dfb 22:41:34 ---> a38f48f72f6c 22:41:34 Successfully built a38f48f72f6c 22:41:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 22:41:35 + docker inspect -f . ci-base-image-x86_64 22:41:35 . [Pipeline] withDockerContainer 22:41:35 prd-centos7-docker-4c-2g-237 does not seem to be running inside a container 22:41:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:41:35 $ docker top 6a7db1315c5a856f3bbd10c11741161bc3804dbc943d810a690e7521c59b63be -eo pid,comm [Pipeline] { [Pipeline] sh 22:41:36 + go version 22:41:36 go version go1.16.3 linux/amd64 [Pipeline] } 22:41:36 $ docker stop --time=1 6a7db1315c5a856f3bbd10c11741161bc3804dbc943d810a690e7521c59b63be 22:41:37 $ docker rm -f 6a7db1315c5a856f3bbd10c11741161bc3804dbc943d810a690e7521c59b63be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:41:38 + docker inspect -f . ci-base-image-x86_64 22:41:38 . [Pipeline] withDockerContainer 22:41:38 prd-centos7-docker-4c-2g-237 does not seem to be running inside a container 22:41:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:41:39 $ docker top 83ddc9636d2eb4964f64c462f10d083418e39951cec296558d3e4e891eacceb2 -eo pid,comm [Pipeline] { [Pipeline] sh 22:41:39 Running on prd-ubuntu18.04-docker-arm64-4c-16g-240 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { 22:41:39 + go mod tidy [Pipeline] ws 22:41:40 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout [Pipeline] sh 22:41:40 Selected Git installation does not exist. Using Default 22:41:40 The recommended git tool is: NONE 22:41:40 + make test 22:41:40 go mod tidy 22:41:40 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:41:41 ? github.com/edgexfoundry/device-mqtt-go [no test files] 22:41:46 using credential edgex-jenkins-ssh 22:41:46 Cloning the remote Git repository 22:41:46 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 22:41:46 > git init /w/workspace/device-mqtt-go/1 # timeout=10 22:41:46 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 22:41:46 > git --version # timeout=10 22:41:46 > git --version # 'git version 2.17.1' 22:41:46 using GIT_SSH to set credentials SSH Credentials for GitHub 22:41:47 Avoid second fetch 22:41:47 Checking out Revision f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 (main) 22:41:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:41:47 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 22:41:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:41:47 > git config core.sparsecheckout # timeout=10 22:41:47 > git checkout -f f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 # timeout=10 22:41:52 Commit message: "feat(snap): add go-based configure and install hooks (#294)" 22:41:52 > git --version # timeout=10 22:41:52 > git --version # 'git version 2.17.1' 22:41:52 fatal: bad object 144eb70ba3d470a427e699408e811d3f535e987a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:41:53 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 22:41:54 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 22:41:54 + sudo service docker restart 22:41:54 + true 22:41:59 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 22:41:59 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 24.3% of statements 22:41:59 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 22:41:59 GCO_ENABLED=1 GO111MODULE=on go vet ./... 22:42:06 gofmt -l . 22:42:06 ["`gofmt -l .`" = ""] 22:42:06 ./bin/test-attribution-txt.sh [Pipeline] } 22:42:06 $ docker stop --time=1 83ddc9636d2eb4964f64c462f10d083418e39951cec296558d3e4e891eacceb2 22:42:07 $ docker rm -f 83ddc9636d2eb4964f64c462f10d083418e39951cec296558d3e4e891eacceb2 [Pipeline] // withDockerContainer [Pipeline] sh 22:42:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:42:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:42:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:42:10 + ls -al . 22:42:10 total 112 22:42:10 drwxrwxr-x. 9 jenkins jenkins 4096 Jul 6 22:42 . 22:42:10 drwxrwxr-x. 4 jenkins jenkins 28 Jul 6 22:40 .. 22:42:10 -rw-rw-r--. 1 jenkins jenkins 7100 Jul 6 22:40 Attribution.txt 22:42:10 drwxrwxr-x. 2 jenkins jenkins 60 Jul 6 22:40 bin 22:42:10 -rw-rw-r--. 1 jenkins jenkins 7447 Jul 6 22:40 CHANGELOG.md 22:42:10 drwxrwxr-x. 3 jenkins jenkins 32 Jul 6 22:40 cmd 22:42:10 -rw-r--r--. 1 jenkins jenkins 16226 Jul 6 22:41 coverage.out 22:42:10 -rw-rw-r--. 1 jenkins jenkins 1877 Jul 6 22:40 Dockerfile 22:42:10 -rw-rw-r--. 1 jenkins jenkins 994 Jul 6 22:40 Dockerfile.build 22:42:10 -rw-rw-r--. 1 jenkins jenkins 140 Jul 6 22:40 .dockerignore 22:42:10 drwxrwxr-x. 8 jenkins jenkins 162 Jul 6 22:40 .git 22:42:10 drwxrwxr-x. 2 jenkins jenkins 103 Jul 6 22:40 .github 22:42:10 -rw-rw-r--. 1 jenkins jenkins 336 Jul 6 22:40 .gitignore 22:42:10 -rw-rw-r--. 1 jenkins jenkins 388 Jul 6 22:40 go.mod 22:42:10 -rw-r--r--. 1 jenkins jenkins 20775 Jul 6 22:41 go.sum 22:42:10 drwxrwxr-x. 3 jenkins jenkins 20 Jul 6 22:40 internal 22:42:10 -rw-rw-r--. 1 jenkins jenkins 677 Jul 6 22:40 Jenkinsfile 22:42:10 -rw-rw-r--. 1 jenkins jenkins 11340 Jul 6 22:40 LICENSE 22:42:10 -rw-rw-r--. 1 jenkins jenkins 907 Jul 6 22:40 Makefile 22:42:10 drwxrwxr-x. 2 jenkins jenkins 23 Jul 6 22:40 mock 22:42:10 -rw-rw-r--. 1 jenkins jenkins 2217 Jul 6 22:40 README.md 22:42:10 drwxrwxr-x. 4 jenkins jenkins 71 Jul 6 22:40 snap 22:42:10 -rw-rw-r--. 1 jenkins jenkins 11 Jul 6 22:38 VERSION 22:42:10 -rw-rw-r--. 1 jenkins jenkins 227 Jul 6 22:40 version.go [Pipeline] isUnix [Pipeline] sh 22:42:10 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 --label arch=amd64 --label version=2.0.1-dev.1 . 22:42:10 Sending build context to Docker daemon 619.5kB 22:42:10 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 22:42:10 Step 2/24 : FROM ${BASE} AS builder 22:42:10 ---> a38f48f72f6c 22:42:10 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:42:10 ---> Running in 2e515b9ba5b6 22:42:10 Removing intermediate container 2e515b9ba5b6 22:42:10 ---> 6d9c3556b170 22:42:10 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 22:42:10 ---> Running in 2457e58366b3 22:42:10 Removing intermediate container 2457e58366b3 22:42:10 ---> 09b5205fd1f5 22:42:10 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:42:10 ---> Running in 941fb5b31c62 22:42:11 Removing intermediate container 941fb5b31c62 22:42:11 ---> 406c17e39942 22:42:11 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:42:11 ---> Running in 9e04dde83f4f 22:42:11 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 22:42:12 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 22:42:12 OK: 156 MiB in 53 packages 22:42:13 Removing intermediate container 9e04dde83f4f 22:42:13 ---> 83c10eff4304 22:42:13 Step 7/24 : WORKDIR /device-mqtt-go 22:42:13 ---> Running in 47b041a2227f 22:42:13 Removing intermediate container 47b041a2227f 22:42:13 ---> 43efb5631ef3 22:42:13 Step 8/24 : COPY . . [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:42:13 provisioning config files... 22:42:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config1161393752983245837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:13 ---> 79a59794d905 22:42:13 Step 9/24 : RUN go mod tidy 22:42:13 ---> Running in f4133313483a 22:42:13 ---> docker-login.sh 22:42:13 nexus3.edgexfoundry.org:10001 22:42:14 Removing intermediate container f4133313483a 22:42:14 ---> 7a614ecb5c62 22:42:14 Step 10/24 : RUN go mod download 22:42:14 ---> Running in 26fc7576b4cb 22:42:14 Removing intermediate container 26fc7576b4cb 22:42:14 ---> cefe3d1f0708 22:42:14 Step 11/24 : ARG MAKE='make build' 22:42:14 ---> Running in 28a40746e89e 22:42:14 Removing intermediate container 28a40746e89e 22:42:14 ---> acc81b23a8fa 22:42:14 Step 12/24 : RUN $MAKE 22:42:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:14 ---> Running in 3703c08b211e 22:42:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:14 Configure a credential helper to remove this warning. See 22:42:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:14 22:42:14 Login Succeeded 22:42:14 nexus3.edgexfoundry.org:10002 22:42:15 go mod tidy 22:42:15 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.1" -o cmd/device-mqtt ./cmd 22:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:15 Configure a credential helper to remove this warning. See 22:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:15 22:42:15 Login Succeeded 22:42:15 nexus3.edgexfoundry.org:10003 22:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:16 Configure a credential helper to remove this warning. See 22:42:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:16 22:42:16 Login Succeeded 22:42:16 nexus3.edgexfoundry.org:10004 22:42:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:16 Configure a credential helper to remove this warning. See 22:42:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:16 22:42:16 Login Succeeded 22:42:16 docker.io 22:42:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:17 Configure a credential helper to remove this warning. See 22:42:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:17 22:42:17 Login Succeeded 22:42:17 ---> docker-login.sh ends [Pipeline] } 22:42:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:42:18 ========================================================= 22:42:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 22:42:18 ========================================================= [Pipeline] isUnix [Pipeline] sh 22:42:18 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine . 22:42:19 Sending build context to Docker daemon 601.6kB 22:42:19 Step 1/8 : ARG BASE=golang:1.16-alpine3.12 22:42:19 Step 2/8 : FROM ${BASE} 22:42:19 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:42:19 595b0fe564bb: Pulling fs layer 22:42:19 3088b5b3c5c0: Pulling fs layer 22:42:19 5b7225fbf94c: Pulling fs layer 22:42:19 ba82ee9f976e: Pulling fs layer 22:42:19 506bd15cee9f: Pulling fs layer 22:42:19 75a0a4a0db45: Pulling fs layer 22:42:19 618dc40b7e24: Pulling fs layer 22:42:19 506bd15cee9f: Waiting 22:42:19 75a0a4a0db45: Waiting 22:42:19 618dc40b7e24: Waiting 22:42:19 ba82ee9f976e: Waiting 22:42:19 5b7225fbf94c: Download complete 22:42:19 3088b5b3c5c0: Download complete 22:42:19 506bd15cee9f: Verifying Checksum 22:42:19 506bd15cee9f: Download complete 22:42:19 75a0a4a0db45: Download complete 22:42:19 595b0fe564bb: Verifying Checksum 22:42:19 595b0fe564bb: Download complete 22:42:20 595b0fe564bb: Pull complete 22:42:20 3088b5b3c5c0: Pull complete 22:42:21 5b7225fbf94c: Pull complete 22:42:21 618dc40b7e24: Verifying Checksum 22:42:21 618dc40b7e24: Download complete 22:42:23 ba82ee9f976e: Verifying Checksum 22:42:23 ba82ee9f976e: Download complete 22:42:27 Removing intermediate container 3703c08b211e 22:42:27 ---> 3a24f274235d 22:42:27 Step 13/24 : FROM alpine:3.12 22:42:28 3.12: Pulling from library/alpine 22:42:28 339de151aab4: Pulling fs layer 22:42:28 339de151aab4: Verifying Checksum 22:42:28 339de151aab4: Download complete 22:42:28 339de151aab4: Pull complete 22:42:28 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 22:42:28 Status: Downloaded newer image for alpine:3.12 22:42:28 ---> 13621d1b12d4 22:42:28 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 22:42:28 ---> Running in 6c3a2eeda483 22:42:28 Removing intermediate container 6c3a2eeda483 22:42:28 ---> b9cf7e78c690 22:42:28 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 22:42:28 ---> Running in 51dffc5461ca 22:42:28 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 22:42:29 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 22:42:29 (1/6) Installing dumb-init (1.2.2-r1) 22:42:29 (2/6) Installing libgcc (9.3.0-r2) 22:42:29 (3/6) Installing libsodium (1.0.18-r0) 22:42:29 (4/6) Installing libstdc++ (9.3.0-r2) 22:42:29 (5/6) Installing libzmq (4.3.3-r0) 22:42:29 (6/6) Installing zeromq (4.3.3-r0) 22:42:29 Executing busybox-1.31.1-r20.trigger 22:42:29 OK: 8 MiB in 20 packages 22:42:29 Removing intermediate container 51dffc5461ca 22:42:29 ---> 8d1250edfc10 22:42:29 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 22:42:30 ---> 7efb8570b9f1 22:42:30 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 22:42:30 ---> 395eee12f558 22:42:30 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 22:42:30 ---> 8df398785431 22:42:30 Step 19/24 : EXPOSE 59982 22:42:30 ---> Running in 5d231a4aad89 22:42:30 Removing intermediate container 5d231a4aad89 22:42:30 ---> 77b09821909d 22:42:30 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 22:42:30 ---> Running in 9ea5b7a61c0d 22:42:30 Removing intermediate container 9ea5b7a61c0d 22:42:30 ---> 47f98128df97 22:42:30 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:42:30 ---> Running in 65a1c92b0f00 22:42:31 Removing intermediate container 65a1c92b0f00 22:42:31 ---> 7f55158a0a5e 22:42:31 Step 22/24 : LABEL arch=amd64 22:42:31 ---> Running in cfa6784eac58 22:42:31 Removing intermediate container cfa6784eac58 22:42:31 ---> af68a1ea12cc 22:42:31 Step 23/24 : LABEL git_sha=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 22:42:31 ---> Running in f286767faca4 22:42:31 Removing intermediate container f286767faca4 22:42:31 ---> 3bb9c2c66ec8 22:42:31 Step 24/24 : LABEL version=2.0.1-dev.1 22:42:31 ---> Running in 617f2d2014e0 22:42:31 Removing intermediate container 617f2d2014e0 22:42:31 ---> 6acc4b55cb34 22:42:31 [Warning] One or more build-args [ARCH] were not consumed 22:42:31 Successfully built 6acc4b55cb34 22:42:31 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:42:31 provisioning config files... 22:42:31 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config8480708838303478898tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:42:32 ---> docker-login.sh 22:42:32 nexus3.edgexfoundry.org:10001 22:42:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:32 Configure a credential helper to remove this warning. See 22:42:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:32 22:42:32 Login Succeeded 22:42:32 nexus3.edgexfoundry.org:10002 22:42:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:32 Configure a credential helper to remove this warning. See 22:42:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:32 22:42:32 Login Succeeded 22:42:32 nexus3.edgexfoundry.org:10003 22:42:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:32 Configure a credential helper to remove this warning. See 22:42:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:32 22:42:32 Login Succeeded 22:42:32 nexus3.edgexfoundry.org:10004 22:42:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:32 Configure a credential helper to remove this warning. See 22:42:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:32 22:42:32 Login Succeeded 22:42:32 docker.io 22:42:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:42:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:42:32 Configure a credential helper to remove this warning. See 22:42:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:42:32 22:42:32 Login Succeeded 22:42:32 ---> docker-login.sh ends [Pipeline] } 22:42:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:42:33 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 22:42:33 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 22:42:33 latest 22:42:33 2.0.1-dev.1 22:42:33 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 22:42:33 main 22:42:33 ===================================================== [Pipeline] withEnv [Pipeline] { 22:42:33 ba82ee9f976e: Pull complete 22:42:33 506bd15cee9f: Pull complete 22:42:33 75a0a4a0db45: Pull complete [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:42:33 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] isUnix [Pipeline] sh 22:42:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 22:42:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 22:42:34 56ee32859f79: Preparing 22:42:34 3a65e647d96d: Preparing 22:42:34 dab7b774e2f1: Preparing 22:42:34 5d5749bff33c: Preparing 22:42:34 32f366d666a5: Preparing 22:42:34 32f366d666a5: Layer already exists 22:42:34 3a65e647d96d: Pushed 22:42:34 56ee32859f79: Pushed 22:42:34 5d5749bff33c: Pushed 22:42:35 dab7b774e2f1: Pushed 22:42:35 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604: digest: sha256:e83dc1020f2429a1916f2fa19ebb43bf4b2b0196cfca8d3a4969d6edfe31739d size: 1365 [Pipeline] isUnix [Pipeline] sh 22:42:36 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh 22:42:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 22:42:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 22:42:36 56ee32859f79: Preparing 22:42:36 3a65e647d96d: Preparing 22:42:36 dab7b774e2f1: Preparing 22:42:36 5d5749bff33c: Preparing 22:42:36 32f366d666a5: Preparing 22:42:36 dab7b774e2f1: Layer already exists 22:42:36 3a65e647d96d: Layer already exists 22:42:36 5d5749bff33c: Layer already exists 22:42:36 56ee32859f79: Layer already exists 22:42:36 32f366d666a5: Layer already exists 22:42:36 latest: digest: sha256:e83dc1020f2429a1916f2fa19ebb43bf4b2b0196cfca8d3a4969d6edfe31739d size: 1365 [Pipeline] isUnix [Pipeline] sh 22:42:36 618dc40b7e24: Pull complete 22:42:36 Digest: sha256:191d62e8e984ab65c8d79a04719ea24e645fa2781e820aadaa53da5888d6c818 22:42:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 22:42:36 ---> a36622ca3599 22:42:36 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IOTech' 22:42:36 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 22:42:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.1 22:42:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 22:42:37 56ee32859f79: Preparing 22:42:37 3a65e647d96d: Preparing 22:42:37 dab7b774e2f1: Preparing 22:42:37 5d5749bff33c: Preparing 22:42:37 32f366d666a5: Preparing 22:42:37 3a65e647d96d: Layer already exists 22:42:37 32f366d666a5: Layer already exists 22:42:37 56ee32859f79: Layer already exists 22:42:37 5d5749bff33c: Layer already exists 22:42:37 dab7b774e2f1: Layer already exists 22:42:37 2.0.1-dev.1: digest: sha256:e83dc1020f2429a1916f2fa19ebb43bf4b2b0196cfca8d3a4969d6edfe31739d size: 1365 [Pipeline] isUnix [Pipeline] sh 22:42:37 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 22:42:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 22:42:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 22:42:37 56ee32859f79: Preparing 22:42:37 3a65e647d96d: Preparing 22:42:37 dab7b774e2f1: Preparing 22:42:37 5d5749bff33c: Preparing 22:42:37 32f366d666a5: Preparing 22:42:37 dab7b774e2f1: Layer already exists 22:42:37 56ee32859f79: Layer already exists 22:42:37 5d5749bff33c: Layer already exists 22:42:37 32f366d666a5: Layer already exists 22:42:37 3a65e647d96d: Layer already exists 22:42:37 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1: digest: sha256:e83dc1020f2429a1916f2fa19ebb43bf4b2b0196cfca8d3a4969d6edfe31739d size: 1365 [Pipeline] isUnix [Pipeline] sh 22:42:38 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh 22:42:38 ---> Running in 8a42469aef11 22:42:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 22:42:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 22:42:38 56ee32859f79: Preparing 22:42:38 3a65e647d96d: Preparing 22:42:38 dab7b774e2f1: Preparing 22:42:38 5d5749bff33c: Preparing 22:42:38 32f366d666a5: Preparing 22:42:38 3a65e647d96d: Layer already exists 22:42:38 56ee32859f79: Layer already exists 22:42:38 dab7b774e2f1: Layer already exists 22:42:38 32f366d666a5: Layer already exists 22:42:38 5d5749bff33c: Layer already exists 22:42:38 main: digest: sha256:e83dc1020f2429a1916f2fa19ebb43bf4b2b0196cfca8d3a4969d6edfe31739d size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:42:38 ===================================================== [Pipeline] echo 22:42:39 taggedImages: 22:42:39 - nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 22:42:39 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 22:42:39 - nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.1 22:42:39 - nexus3.edgexfoundry.org:10004/device-mqtt:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 22:42:39 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 22:42:39 Removing intermediate container 8a42469aef11 22:42:39 ---> 6972311b2c85 22:42:39 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:42:39 ---> Running in ae0f4ec37382 [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 22:42:40 ---> job-cost.sh 22:42:40 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-dPkY 22:42:42 Removing intermediate container ae0f4ec37382 22:42:42 ---> 2ebff429e504 22:42:42 Step 5/8 : RUN apk add --update --no-cache make git openssh gcc libc-dev zeromq-dev libsodium-dev 22:42:42 ---> Running in 3a8ffaa39dfc 22:42:43 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:42:44 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:42:45 (1/13) Installing libc-dev (0.7.2-r3) 22:42:45 (2/13) Installing libsodium (1.0.18-r0) 22:42:45 (3/13) Installing pkgconf (1.7.3-r0) 22:42:46 (4/13) Installing libsodium-dev (1.0.18-r0) 22:42:46 (5/13) Installing openssh-keygen (8.4_p1-r3) 22:42:46 (6/13) Installing libedit (20191231.3.1-r1) 22:42:46 (7/13) Installing openssh-client (8.4_p1-r3) 22:42:46 (8/13) Installing openssh-sftp-server (8.4_p1-r3) 22:42:46 (9/13) Installing openssh-server-common (8.4_p1-r3) 22:42:46 (10/13) Installing openssh-server (8.4_p1-r3) 22:42:47 (11/13) Installing openssh (8.4_p1-r3) 22:42:47 (12/13) Installing libzmq (4.3.3-r1) 22:42:47 (13/13) Installing zeromq-dev (4.3.3-r1) 22:42:47 Executing busybox-1.32.1-r6.trigger 22:42:47 OK: 145 MiB in 53 packages 22:42:48 Removing intermediate container 3a8ffaa39dfc 22:42:48 ---> c70ca37c294e 22:42:48 Step 6/8 : WORKDIR /device-mqtt-go 22:42:49 ---> Running in 185d1dfe21a8 22:42:49 Removing intermediate container 185d1dfe21a8 22:42:49 ---> 875e55327b3a 22:42:49 Step 7/8 : COPY . . 22:42:50 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:42:50 ---> 80aa4170eaf0 22:42:50 Step 8/8 : RUN go mod download 22:42:50 ---> Running in ee06735dccf4 22:43:05 lf-activate-venv(): INFO: Adding /tmp/venv-dPkY/bin to PATH 22:43:05 INFO: No Stack... 22:43:05 INFO: Retrieving Pricing Info for: v3-standard-2 22:43:05 INFO: Archiving Costs [Pipeline] sh 22:43:05 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 22:43:05 + cut -d, -f6 [Pipeline] lock 22:43:05 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-1-stack-cost] 22:43:05 Resource [jenkins-edgexfoundry-device-mqtt-go-main-1-stack-cost] did not exist. Created. 22:43:05 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:43:06 + echo total: 0.05999999865889549 [Pipeline] stash 22:43:06 Stashed 1 file(s) [Pipeline] } 22:43:06 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-1-stack-cost] [Pipeline] // lock [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 22:43:17 Removing intermediate container ee06735dccf4 22:43:17 ---> 7d5a7c8a946d 22:43:17 Successfully built 7d5a7c8a946d 22:43:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:43:18 + docker inspect -f . ci-base-image-arm64 22:43:18 . [Pipeline] withDockerContainer 22:43:18 prd-ubuntu18.04-docker-arm64-4c-16g-240 does not seem to be running inside a container 22:43:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:43:19 $ docker top e84181e44fea81786627f709c7d5491ca4f276b8daed3d3aef2ce69b982fc0f0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:43:20 + go version 22:43:20 go version go1.16.5 linux/arm64 [Pipeline] } 22:43:21 $ docker stop --time=1 e84181e44fea81786627f709c7d5491ca4f276b8daed3d3aef2ce69b982fc0f0 22:43:22 $ docker rm -f e84181e44fea81786627f709c7d5491ca4f276b8daed3d3aef2ce69b982fc0f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:43:23 + docker inspect -f . ci-base-image-arm64 22:43:23 . [Pipeline] withDockerContainer 22:43:24 prd-ubuntu18.04-docker-arm64-4c-16g-240 does not seem to be running inside a container 22:43:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:43:25 $ docker top 9efd09e7f9ea4e2ca072647569c992e0c6916919681d84e2f97d5c78ab4c2c7d -eo pid,comm [Pipeline] { [Pipeline] sh 22:43:27 + go mod tidy [Pipeline] sh 22:43:28 + make test 22:43:28 go mod tidy 22:43:28 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 22:43:29 ? github.com/edgexfoundry/device-mqtt-go [no test files] 22:44:26 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 22:44:26 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.047s coverage: 24.3% of statements 22:44:26 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 22:44:26 GCO_ENABLED=1 GO111MODULE=on go vet ./... 22:44:53 gofmt -l . 22:44:53 ["`gofmt -l .`" = ""] 22:44:53 ./bin/test-attribution-txt.sh [Pipeline] } 22:44:53 $ docker stop --time=1 9efd09e7f9ea4e2ca072647569c992e0c6916919681d84e2f97d5c78ab4c2c7d 22:44:55 $ docker rm -f 9efd09e7f9ea4e2ca072647569c992e0c6916919681d84e2f97d5c78ab4c2c7d [Pipeline] // withDockerContainer [Pipeline] sh 22:44:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:44:56 Warning: overwriting stash ‘coverage-report’ 22:44:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:44:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:44:57 + ls -al . 22:44:57 total 144 22:44:57 drwxrwxr-x 9 jenkins jenkins 4096 Jul 6 22:44 . 22:44:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 22:41 .. 22:44:57 -rw-rw-r-- 1 jenkins jenkins 140 Jul 6 22:41 .dockerignore 22:44:57 drwxrwxr-x 8 jenkins jenkins 4096 Jul 6 22:41 .git 22:44:57 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 22:41 .github 22:44:57 -rw-rw-r-- 1 jenkins jenkins 336 Jul 6 22:41 .gitignore 22:44:57 -rw-rw-r-- 1 jenkins jenkins 7100 Jul 6 22:41 Attribution.txt 22:44:57 -rw-rw-r-- 1 jenkins jenkins 7447 Jul 6 22:41 CHANGELOG.md 22:44:57 -rw-rw-r-- 1 jenkins jenkins 1877 Jul 6 22:41 Dockerfile 22:44:57 -rw-rw-r-- 1 jenkins jenkins 994 Jul 6 22:41 Dockerfile.build 22:44:57 -rw-rw-r-- 1 jenkins jenkins 677 Jul 6 22:41 Jenkinsfile 22:44:57 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 6 22:41 LICENSE 22:44:57 -rw-rw-r-- 1 jenkins jenkins 907 Jul 6 22:41 Makefile 22:44:57 -rw-rw-r-- 1 jenkins jenkins 2217 Jul 6 22:41 README.md 22:44:57 -rw-rw-r-- 1 jenkins jenkins 11 Jul 6 22:38 VERSION 22:44:57 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 22:41 bin 22:44:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 22:41 cmd 22:44:57 -rw-r--r-- 1 jenkins jenkins 16226 Jul 6 22:44 coverage.out 22:44:57 -rw-rw-r-- 1 jenkins jenkins 388 Jul 6 22:41 go.mod 22:44:57 -rw-r--r-- 1 jenkins jenkins 20775 Jul 6 22:43 go.sum 22:44:57 drwxrwxr-x 3 jenkins jenkins 4096 Jul 6 22:41 internal 22:44:57 drwxrwxr-x 2 jenkins jenkins 4096 Jul 6 22:41 mock 22:44:57 drwxrwxr-x 4 jenkins jenkins 4096 Jul 6 22:41 snap 22:44:57 -rw-rw-r-- 1 jenkins jenkins 227 Jul 6 22:41 version.go [Pipeline] isUnix [Pipeline] sh 22:44:58 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 --label arch=arm64 --label version=2.0.1-dev.1 . 22:44:58 Sending build context to Docker daemon 618.5kB 22:44:58 Step 1/24 : ARG BASE=golang:1.16-alpine3.12 22:44:58 Step 2/24 : FROM ${BASE} AS builder 22:44:58 ---> 7d5a7c8a946d 22:44:58 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:44:59 ---> Running in b2c514f26597 22:44:59 Removing intermediate container b2c514f26597 22:44:59 ---> 7b959f2feb86 22:44:59 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 22:44:59 ---> Running in 23ae728277da 22:45:00 Removing intermediate container 23ae728277da 22:45:00 ---> 89a5463d1571 22:45:00 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 22:45:00 ---> Running in 69efdc1e5c87 22:45:02 Removing intermediate container 69efdc1e5c87 22:45:02 ---> 76a8458df366 22:45:02 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:45:02 ---> Running in 2d5a23c2734d 22:45:03 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 22:45:04 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 22:45:05 OK: 145 MiB in 53 packages 22:45:06 Removing intermediate container 2d5a23c2734d 22:45:06 ---> cf20730b8f40 22:45:06 Step 7/24 : WORKDIR /device-mqtt-go 22:45:06 ---> Running in 3880e29f46a3 22:45:07 Removing intermediate container 3880e29f46a3 22:45:07 ---> 91016a78fc8a 22:45:07 Step 8/24 : COPY . . 22:45:08 ---> b9522dc8435a 22:45:08 Step 9/24 : RUN go mod tidy 22:45:08 ---> Running in 2ff5256ae4b0 22:45:11 Removing intermediate container 2ff5256ae4b0 22:45:11 ---> abecc8bd10a0 22:45:11 Step 10/24 : RUN go mod download 22:45:11 ---> Running in bf906d7209ec 22:45:13 Removing intermediate container bf906d7209ec 22:45:13 ---> 8a21d0e200ff 22:45:13 Step 11/24 : ARG MAKE='make build' 22:45:13 ---> Running in 66158c3ec996 22:45:14 Removing intermediate container 66158c3ec996 22:45:14 ---> 07631f7b204c 22:45:14 Step 12/24 : RUN $MAKE 22:45:14 ---> Running in 57326e82b8ec 22:45:15 go mod tidy 22:45:16 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.1" -o cmd/device-mqtt ./cmd 22:45:55 Removing intermediate container 57326e82b8ec 22:45:55 ---> 8d028e3a12a4 22:45:55 Step 13/24 : FROM alpine:3.12 22:45:55 3.12: Pulling from library/alpine 22:45:55 d2f70382dc9a: Pulling fs layer 22:45:55 d2f70382dc9a: Verifying Checksum 22:45:55 d2f70382dc9a: Download complete 22:45:55 d2f70382dc9a: Pull complete 22:45:55 Digest: sha256:87703314048c40236c6d674424159ee862e2b96ce1c37c62d877e21ed27a387e 22:45:55 Status: Downloaded newer image for alpine:3.12 22:45:55 ---> c4fd0aeabfcf 22:45:55 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 22:45:55 ---> Running in 428bf32c08aa 22:45:55 Removing intermediate container 428bf32c08aa 22:45:55 ---> 1046b928c43f 22:45:55 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 22:45:55 ---> Running in 9a4104e68e06 22:45:55 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 22:45:55 fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 22:45:56 (1/6) Installing dumb-init (1.2.2-r1) 22:45:56 (2/6) Installing libgcc (9.3.0-r2) 22:45:56 (3/6) Installing libsodium (1.0.18-r0) 22:45:56 (4/6) Installing libstdc++ (9.3.0-r2) 22:45:56 (5/6) Installing libzmq (4.3.3-r0) 22:45:56 (6/6) Installing zeromq (4.3.3-r0) 22:45:56 Executing busybox-1.31.1-r20.trigger 22:45:56 OK: 8 MiB in 20 packages 22:45:57 Removing intermediate container 9a4104e68e06 22:45:57 ---> af4c58ce323f 22:45:57 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 22:45:58 ---> 73ea787b8edc 22:45:58 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 22:45:59 ---> 29a11f0b1354 22:45:59 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 22:46:00 ---> 53839bbd1975 22:46:00 Step 19/24 : EXPOSE 59982 22:46:00 ---> Running in 56b43e40e6f7 22:46:01 Removing intermediate container 56b43e40e6f7 22:46:01 ---> 4af8ac33233d 22:46:01 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 22:46:01 ---> Running in b80488049625 22:46:01 Removing intermediate container b80488049625 22:46:01 ---> a4e164815fec 22:46:01 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:46:01 ---> Running in e5a75fa48ce8 22:46:02 Removing intermediate container e5a75fa48ce8 22:46:02 ---> 26d9203c038b 22:46:02 Step 22/24 : LABEL arch=arm64 22:46:02 ---> Running in e238444f29ab 22:46:03 Removing intermediate container e238444f29ab 22:46:03 ---> af7228027898 22:46:03 Step 23/24 : LABEL git_sha=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 22:46:03 ---> Running in bbbf619819a2 22:46:03 Removing intermediate container bbbf619819a2 22:46:03 ---> 61f24752474f 22:46:03 Step 24/24 : LABEL version=2.0.1-dev.1 22:46:03 ---> Running in 158ad8ba9582 22:46:04 Removing intermediate container 158ad8ba9582 22:46:04 ---> 0b76e56b8c8d 22:46:04 [Warning] One or more build-args [ARCH] were not consumed 22:46:04 Successfully built 0b76e56b8c8d 22:46:04 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:46:04 provisioning config files... 22:46:04 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config2765364292863572367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:46:05 ---> docker-login.sh 22:46:05 nexus3.edgexfoundry.org:10001 22:46:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:05 Configure a credential helper to remove this warning. See 22:46:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:05 22:46:05 Login Succeeded 22:46:05 nexus3.edgexfoundry.org:10002 22:46:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:06 Configure a credential helper to remove this warning. See 22:46:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:06 22:46:06 Login Succeeded 22:46:06 nexus3.edgexfoundry.org:10003 22:46:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:06 Configure a credential helper to remove this warning. See 22:46:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:06 22:46:06 Login Succeeded 22:46:06 nexus3.edgexfoundry.org:10004 22:46:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:07 Configure a credential helper to remove this warning. See 22:46:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:07 22:46:07 Login Succeeded 22:46:07 docker.io 22:46:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:46:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:46:08 Configure a credential helper to remove this warning. See 22:46:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:46:08 22:46:08 Login Succeeded 22:46:08 ---> docker-login.sh ends [Pipeline] } 22:46:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:46:08 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 22:46:08 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 22:46:08 latest 22:46:08 2.0.1-dev.1 22:46:08 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 22:46:08 main 22:46:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:46:09 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] isUnix [Pipeline] sh 22:46:09 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 22:46:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 22:46:09 b05ec584bcd6: Preparing 22:46:09 b8c4c0f92202: Preparing 22:46:09 b70536939cec: Preparing 22:46:09 b72a877f9459: Preparing 22:46:09 3fbe34a1663b: Preparing 22:46:09 3fbe34a1663b: Layer already exists 22:46:09 b8c4c0f92202: Pushed 22:46:09 b05ec584bcd6: Pushed 22:46:10 b72a877f9459: Pushed 22:46:13 b70536939cec: Pushed 22:46:13 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604: digest: sha256:ac7ca2a5614f85951c0deb94035e89ccff661d610969f26b6ec8a16195f777c7 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:46:13 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh 22:46:13 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 22:46:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 22:46:13 b05ec584bcd6: Preparing 22:46:13 b8c4c0f92202: Preparing 22:46:13 b70536939cec: Preparing 22:46:13 b72a877f9459: Preparing 22:46:13 3fbe34a1663b: Preparing 22:46:13 b70536939cec: Layer already exists 22:46:13 3fbe34a1663b: Layer already exists 22:46:13 b72a877f9459: Layer already exists 22:46:13 b8c4c0f92202: Layer already exists 22:46:13 b05ec584bcd6: Layer already exists 22:46:14 latest: digest: sha256:ac7ca2a5614f85951c0deb94035e89ccff661d610969f26b6ec8a16195f777c7 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:46:14 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 22:46:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.1 22:46:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 22:46:14 b05ec584bcd6: Preparing 22:46:14 b8c4c0f92202: Preparing 22:46:14 b70536939cec: Preparing 22:46:14 b72a877f9459: Preparing 22:46:14 3fbe34a1663b: Preparing 22:46:14 b72a877f9459: Layer already exists 22:46:14 b8c4c0f92202: Layer already exists 22:46:14 3fbe34a1663b: Layer already exists 22:46:14 b05ec584bcd6: Layer already exists 22:46:14 b70536939cec: Layer already exists 22:46:15 2.0.1-dev.1: digest: sha256:ac7ca2a5614f85951c0deb94035e89ccff661d610969f26b6ec8a16195f777c7 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:46:15 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 [Pipeline] isUnix [Pipeline] sh 22:46:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 22:46:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 22:46:15 b05ec584bcd6: Preparing 22:46:15 b8c4c0f92202: Preparing 22:46:15 b70536939cec: Preparing 22:46:15 b72a877f9459: Preparing 22:46:15 3fbe34a1663b: Preparing 22:46:16 b05ec584bcd6: Layer already exists 22:46:16 b8c4c0f92202: Layer already exists 22:46:16 b70536939cec: Layer already exists 22:46:16 b72a877f9459: Layer already exists 22:46:16 3fbe34a1663b: Layer already exists 22:46:16 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1: digest: sha256:ac7ca2a5614f85951c0deb94035e89ccff661d610969f26b6ec8a16195f777c7 size: 1365 [Pipeline] isUnix [Pipeline] sh 22:46:16 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh 22:46:16 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 22:46:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 22:46:16 b05ec584bcd6: Preparing 22:46:16 b8c4c0f92202: Preparing 22:46:16 b70536939cec: Preparing 22:46:16 b72a877f9459: Preparing 22:46:16 3fbe34a1663b: Preparing 22:46:17 b05ec584bcd6: Layer already exists 22:46:17 b72a877f9459: Layer already exists 22:46:17 b70536939cec: Layer already exists 22:46:17 b8c4c0f92202: Layer already exists 22:46:17 3fbe34a1663b: Layer already exists 22:46:17 main: digest: sha256:ac7ca2a5614f85951c0deb94035e89ccff661d610969f26b6ec8a16195f777c7 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 22:46:17 ===================================================== [Pipeline] echo 22:46:17 taggedImages: 22:46:17 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 22:46:17 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 22:46:17 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.1 22:46:17 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f108e1f6dac2bdd3d582b44a0d019ed09ad7b604-2.0.1-dev.1 22:46:17 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] libraryResource [Pipeline] sh 22:46:18 ---> job-cost.sh 22:46:18 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-LnOb 22:46:57 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient 22:48:34 lf-activate-venv(): INFO: Adding /tmp/venv-LnOb/bin to PATH 22:48:34 INFO: No Stack... 22:48:34 INFO: Retrieving Pricing Info for: v2-standard-4 22:48:34 INFO: Archiving Costs [Pipeline] sh 22:48:34 + + cutcat -d, /w/workspace/device-mqtt-go/1/archives/cost.csv -f6 22:48:34 [Pipeline] lock 22:48:34 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-1-stack-cost] 22:48:34 Resource [jenkins-edgexfoundry-device-mqtt-go-main-1-stack-cost] did not exist. Created. 22:48:34 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:48:35 /w/workspace/device-mqtt-go/1@tmp/durable-5be12784/script.sh: 1: /w/workspace/device-mqtt-go/1@tmp/durable-5be12784/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 22:48:35 + echo total: 0.18000000715255737 [Pipeline] stash 22:48:35 Warning: overwriting stash ‘stack-cost’ 22:48:35 Stashed 1 file(s) [Pipeline] } 22:48:35 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-1-stack-cost] [Pipeline] // lock [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] configFileProvider 22:48:36 provisioning config files... 22:48:36 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8224464955231573715tmp [Pipeline] { [Pipeline] sh 22:48:37 + set +x 22:48:37 + bash -s -- 22:48:37 + curl -s https://codecov.io/bash 22:48:37 22:48:37 _____ _ 22:48:37 / ____| | | 22:48:37 | | ___ __| | ___ ___ _____ __ 22:48:37 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:48:37 | |___| (_) | (_| | __/ (_| (_) \ V / 22:48:37 \_____\___/ \__,_|\___|\___\___/ \_/ 22:48:37 Bash-1.0.3 22:48:37 22:48:37 22:48:37 ==> git version 2.24.4 found 22:48:37 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 22:48:37 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 22:48:37 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 22:48:37 ==> Jenkins CI detected. 22:48:37 project root: . 22:48:37 --> token set from env 22:48:37 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:48:37 ==> Running gcov in . (disable via -X gcov) 22:48:37 ==> Python coveragepy not found 22:48:37 ==> Searching for coverage reports in: 22:48:37 + . 22:48:37 -> Found 1 reports 22:48:37 ==> Detecting git/mercurial file structure 22:48:37 ==> Reading reports 22:48:37 + ./coverage.out bytes=16226 22:48:37 ==> Appending adjustments 22:48:37 https://docs.codecov.io/docs/fixing-reports 22:48:37 + Found adjustments 22:48:37 ==> Gzipping contents 22:48:37 4.0K /tmp/codecov.QOPmAj.gz 22:48:37 ==> Uploading reports 22:48:37 url: https://codecov.io 22:48:37 query: branch=main&commit=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:48:37 -> Pinging Codecov 22:48:37 https://codecov.io/upload/v4?package=bash-1.0.3&token=secret&branch=main&commit=f108e1f6dac2bdd3d582b44a0d019ed09ad7b604&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 22:48:37 -> Uploading to 22:48:37 https://storage.googleapis.com/codecov/v4/raw/2021-07-06/7D719EC7BBE17E464838252E33014C33/f108e1f6dac2bdd3d582b44a0d019ed09ad7b604/6e520fa2-d530-40b5-a3e7-3cec0f6fac11.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20210706%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210706T224837Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f1a44051595d8b01bdffa7db4168742da0fab886b82bae661228571018e8697c 22:48:37 % Total % Received % Xferd Average Speed Time Time Time Current 22:48:37 Dload Upload Total Spent Left Speed 22:48:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3178 0 0 100 3178 0 7351 --:--:-- --:--:-- --:--:-- 7356 22:48:38 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] } 22:48:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 22:48:38 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 22:48:38 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 22:48:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:48:39 22:48:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 22:48:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:48:40 1.410.4: Pulling from edgex-devops/edgex-snyk-go 22:48:40 188c0c94c7c5: Pulling fs layer 22:48:40 0ef7d3d256c8: Pulling fs layer 22:48:40 de9db76c5a1d: Pulling fs layer 22:48:40 0eba1c9be4d2: Pulling fs layer 22:48:40 0d57e429df01: Pulling fs layer 22:48:40 4e4be7b47b0d: Pulling fs layer 22:48:40 e1f770b5df2f: Pulling fs layer 22:48:40 85a0685a4137: Pulling fs layer 22:48:40 0d57e429df01: Waiting 22:48:40 4e4be7b47b0d: Waiting 22:48:40 e1f770b5df2f: Waiting 22:48:40 85a0685a4137: Waiting 22:48:40 0eba1c9be4d2: Waiting 22:48:40 de9db76c5a1d: Verifying Checksum 22:48:40 de9db76c5a1d: Download complete 22:48:40 0ef7d3d256c8: Verifying Checksum 22:48:40 0ef7d3d256c8: Download complete 22:48:40 0d57e429df01: Verifying Checksum 22:48:40 0d57e429df01: Download complete 22:48:40 4e4be7b47b0d: Verifying Checksum 22:48:40 4e4be7b47b0d: Download complete 22:48:40 188c0c94c7c5: Verifying Checksum 22:48:40 188c0c94c7c5: Download complete 22:48:40 188c0c94c7c5: Pull complete 22:48:40 e1f770b5df2f: Verifying Checksum 22:48:40 e1f770b5df2f: Download complete 22:48:41 0ef7d3d256c8: Pull complete 22:48:41 de9db76c5a1d: Pull complete 22:48:43 0eba1c9be4d2: Verifying Checksum 22:48:43 0eba1c9be4d2: Download complete 22:48:43 85a0685a4137: Verifying Checksum 22:48:43 85a0685a4137: Download complete 22:48:46 0eba1c9be4d2: Pull complete 22:48:47 0d57e429df01: Pull complete 22:48:47 4e4be7b47b0d: Pull complete 22:48:48 e1f770b5df2f: Pull complete 22:48:54 85a0685a4137: Pull complete 22:48:54 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 22:48:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 22:48:54 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 22:48:55 prd-centos7-docker-4c-2g-221 does not seem to be running inside a container 22:48: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/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 22:49:36 $ docker top 29fa9e6916ac91c989d4630517a5a383eba4aae0eb18384b33ea098b9964061c -eo pid,comm [Pipeline] { [Pipeline] echo 22:49:36 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 22:49:36 + set -o pipefail 22:49:36 + snyk monitor '--org=edgex-jenkins' 22:49:58 22:49:58 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 22:49:58 22:49:58 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/7a577cee-e63a-40f2-97a5-97c4855366fb 22:49:58 22:49:58 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 22:49:58 22:49:58 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 22:49:58 22:49:58 [Pipeline] } 22:49:58 $ docker stop --time=1 29fa9e6916ac91c989d4630517a5a383eba4aae0eb18384b33ea098b9964061c 22:50:29 $ docker rm -f 29fa9e6916ac91c989d4630517a5a383eba4aae0eb18384b33ea098b9964061c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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 22:50:31 + git log --format=format:%s -1 f108e1f6dac2bdd3d582b44a0d019ed09ad7b604 [Pipeline] isUnix [Pipeline] sh 22:50:31 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:50:31 . [Pipeline] withDockerContainer 22:50:31 prd-centos7-docker-4c-2g-221 does not seem to be running inside a container 22:50:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:50:32 $ docker top 32365ea3b1681e454d2c32fbaba34760f7a08432bfff3f73cea7e86d9a927f5e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:50:32 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:50:33 + git semver [Pipeline] } 22:50:33 $ docker stop --time=1 32365ea3b1681e454d2c32fbaba34760f7a08432bfff3f73cea7e86d9a927f5e 22:50:34 $ docker rm -f 32365ea3b1681e454d2c32fbaba34760f7a08432bfff3f73cea7e86d9a927f5e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 22:50:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:50:35 22:50:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 22:50:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:50:36 0.23.1-centos7: Pulling from edgex-lftools 22:50:36 ab5ef0e58194: Pulling fs layer 22:50:36 9712f1f96733: Pulling fs layer 22:50:36 63f879dbbcfc: Pulling fs layer 22:50:36 0d9ebad4ef96: Pulling fs layer 22:50:36 e9a5061849ea: Pulling fs layer 22:50:36 d747dcd14b5f: Pulling fs layer 22:50:36 2de7ff778b66: Pulling fs layer 22:50:36 e9a5061849ea: Waiting 22:50:36 d747dcd14b5f: Waiting 22:50:36 2de7ff778b66: Waiting 22:50:36 0d9ebad4ef96: Waiting 22:50:36 9712f1f96733: Verifying Checksum 22:50:36 9712f1f96733: Download complete 22:50:37 63f879dbbcfc: Verifying Checksum 22:50:37 63f879dbbcfc: Download complete 22:50:37 e9a5061849ea: Verifying Checksum 22:50:37 e9a5061849ea: Download complete 22:50:37 d747dcd14b5f: Verifying Checksum 22:50:37 d747dcd14b5f: Download complete 22:50:38 2de7ff778b66: Verifying Checksum 22:50:38 2de7ff778b66: Download complete 22:50:38 ab5ef0e58194: Verifying Checksum 22:50:38 ab5ef0e58194: Download complete 22:50:38 0d9ebad4ef96: Verifying Checksum 22:50:38 0d9ebad4ef96: Download complete 22:50:41 ab5ef0e58194: Pull complete 22:50:41 9712f1f96733: Pull complete 22:50:42 63f879dbbcfc: Pull complete 22:50:46 0d9ebad4ef96: Pull complete 22:50:46 e9a5061849ea: Pull complete 22:50:46 d747dcd14b5f: Pull complete 22:50:47 2de7ff778b66: Pull complete 22:50:47 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 22:50:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 22:50:47 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 22:50:47 prd-centos7-docker-4c-2g-221 does not seem to be running inside a container 22:50:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 22:51:08 $ docker top d9ef481d3e02c968ea0f326266060088d3e74421eb8a2ad498461f70228ca4a8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 22:51:09 provisioning config files... 22:51:09 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7363271922548299566tmp 22:51:09 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8537408076597134942tmp 22:51:09 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4742421421157338777tmp [Pipeline] { [Pipeline] echo 22:51:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 22:51:09 ---> sigul-configuration.sh 22:51:09 gpg: directory `/root/.gnupg' created 22:51:09 gpg: new configuration file `/root/.gnupg/gpg.conf' created 22:51:09 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 22:51:09 gpg: keyring `/root/.gnupg/secring.gpg' created 22:51:09 gpg: keyring `/root/.gnupg/pubring.gpg' created 22:51:09 gpg: CAST5 encrypted data 22:51:09 gpg: encrypted with 1 passphrase 22:51:09 gpg: WARNING: message was not integrity protected [Pipeline] sh 22:51:09 + mkdir /home/jenkins 22:51:09 + mkdir /home/jenkins/sigul [Pipeline] sh 22:51:10 + 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 22:51:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 22:51:10 ---> sigul-install.sh 22:51:17 Package sigul-0.207-1.el7.x86_64 already installed and latest version [Pipeline] sh 22:51:17 + git tag --list 22:51:17 0.7.1 22:51:17 v1.0.0 22:51:17 v1.1.0 22:51:17 v1.1.1 22:51:17 v1.2.2 22:51:17 v1.3.0 22:51:17 v1.3.1 22:51:17 v2.0.0 [Pipeline] sh 22:51:18 + lftools sign git-tag v2.0.1-dev.1 22:51:18 Signing Git tag with Sigul... 22:51:18 Signing v2.0.1-dev.1 22:51:18 Error while calling git, args ['git', 'show-ref', '-s', 'refs/tags/v2.0.1-dev.1'], return code 1, stdout , stderr [Pipeline] echo 22:51:18 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 22:51:19 ---> sigul-configuration-cleanup.sh [Pipeline] } 22:51:19 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 22:51:19 $ docker stop --time=1 d9ef481d3e02c968ea0f326266060088d3e74421eb8a2ad498461f70228ca4a8 22:51:22 $ docker rm -f d9ef481d3e02c968ea0f326266060088d3e74421eb8a2ad498461f70228ca4a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 22:51:23 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:51:23 . [Pipeline] withDockerContainer 22:51:23 prd-centos7-docker-4c-2g-221 does not seem to be running inside a container 22:51:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:51:24 $ docker top 3bad7e2894034f789df8f78511c0bb6bb5e6e939218c6a530446f5059e6e3688 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:51:24 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:51:24 + git semver [Pipeline] } 22:51:24 $ docker stop --time=1 3bad7e2894034f789df8f78511c0bb6bb5e6e939218c6a530446f5059e6e3688 22:51:26 $ docker rm -f 3bad7e2894034f789df8f78511c0bb6bb5e6e939218c6a530446f5059e6e3688 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 22:51:26 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 22:51:26 . [Pipeline] withDockerContainer 22:51:26 prd-centos7-docker-4c-2g-221 does not seem to be running inside a container 22:51:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 22:51:27 $ docker top 40944322ae1aa847c9fbb154ffae8b9dda29f94eb4adc4d182741043a33a385d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:51:27 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.0.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:51:27 + git semver [Pipeline] } 22:51:27 $ docker stop --time=1 40944322ae1aa847c9fbb154ffae8b9dda29f94eb4adc4d182741043a33a385d 22:51:28 $ docker rm -f 40944322ae1aa847c9fbb154ffae8b9dda29f94eb4adc4d182741043a33a385d [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 22:51:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:51:31 ---> package-listing.sh 22:51:31 ++ facter osfamily 22:51:31 ++ tr '[:upper:]' '[:lower:]' 22:51:31 + OS_FAMILY=redhat 22:51:31 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 22:51:31 + START_PACKAGES=/tmp/packages_start.txt 22:51:31 + END_PACKAGES=/tmp/packages_end.txt 22:51:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:51:31 + PACKAGES=/tmp/packages_start.txt 22:51:31 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 22:51:31 + PACKAGES=/tmp/packages_end.txt 22:51:31 + case "${OS_FAMILY}" in 22:51:31 + rpm -qa 22:51:31 + sort 22:51:32 + '[' -f /tmp/packages_start.txt ']' 22:51:32 + '[' -f /tmp/packages_end.txt ']' 22:51:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:51:32 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 22:51:32 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 22:51:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 22:51:32 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/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:51:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 22:51:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:51:32 22:51:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 22:51:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:51:33 alpine: Pulling from edgex-lftools-log-publisher 22:51:33 df20fa9351a1: Pulling fs layer 22:51:33 36b3adc4ff6f: Pulling fs layer 22:51:33 8ad3a11d3b57: Pulling fs layer 22:51:33 46f8f816bc3b: Pulling fs layer 22:51:33 93b61091891f: Pulling fs layer 22:51:33 93b9cdb0e59b: Pulling fs layer 22:51:33 5e14af77c1be: Pulling fs layer 22:51:33 01666e4c0597: Pulling fs layer 22:51:33 aa168da1d23b: Pulling fs layer 22:51:33 93b9cdb0e59b: Waiting 22:51:33 5e14af77c1be: Waiting 22:51:33 01666e4c0597: Waiting 22:51:33 aa168da1d23b: Waiting 22:51:33 46f8f816bc3b: Waiting 22:51:33 93b61091891f: Waiting 22:51:33 36b3adc4ff6f: Verifying Checksum 22:51:33 36b3adc4ff6f: Download complete 22:51:33 46f8f816bc3b: Verifying Checksum 22:51:33 46f8f816bc3b: Download complete 22:51:33 df20fa9351a1: Verifying Checksum 22:51:33 df20fa9351a1: Download complete 22:51:33 93b9cdb0e59b: Verifying Checksum 22:51:33 93b9cdb0e59b: Download complete 22:51:33 5e14af77c1be: Verifying Checksum 22:51:33 5e14af77c1be: Download complete 22:51:33 01666e4c0597: Verifying Checksum 22:51:33 01666e4c0597: Download complete 22:51:33 8ad3a11d3b57: Verifying Checksum 22:51:33 8ad3a11d3b57: Download complete 22:51:33 df20fa9351a1: Pull complete 22:51:33 36b3adc4ff6f: Pull complete 22:51:34 8ad3a11d3b57: Pull complete 22:51:34 46f8f816bc3b: Pull complete 22:51:34 93b61091891f: Verifying Checksum 22:51:34 93b61091891f: Download complete 22:51:34 93b61091891f: Pull complete 22:51:34 93b9cdb0e59b: Pull complete 22:51:35 5e14af77c1be: Pull complete 22:51:35 01666e4c0597: Pull complete 22:51:35 aa168da1d23b: Verifying Checksum 22:51:35 aa168da1d23b: Download complete 22:51:40 aa168da1d23b: Pull complete 22:51:40 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 22:51:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 22:51:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 22:51:40 prd-centos7-docker-4c-2g-221 does not seem to be running inside a container 22:51:40 $ 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/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 22:51:43 $ docker top 2b5258e5192dbd034e34d9b170a7b1572850377bc63585c7a60bf8890e7eba18 -eo pid,comm [Pipeline] { [Pipeline] sh 22:51:43 + touch /tmp/pre-build-complete [Pipeline] sh 22:51:44 + mkdir -p /var/log/sa [Pipeline] sh 22:51:44 + ls /var/log/sa-host 22:51:44 + sadf -c /var/log/sa-host/sa05 22:51:44 file_magic: OK 22:51:44 HZ: Using current value: 100 22:51:44 file_header: OK 22:51:44 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 22:51:44 Statistics: 22:51:44 Hnuu...uuuununununu...Hnuu...uuuununununu... 22:51:44 File successfully converted to sysstat format version 12.2.1 22:51:44 + sadf -c /var/log/sa-host/sa06 22:51:44 file_magic: OK 22:51:44 HZ: Using current value: 100 22:51:44 file_header: OK 22:51:44 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 22:51:44 Statistics: 22:51:44 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 22:51:44 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:51:44 provisioning config files... 22:51:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3042236875447303032tmp [Pipeline] { [Pipeline] echo 22:51:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:51:45 ---> create-netrc.sh [Pipeline] } 22:51:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:51:45 ---> python-tools-install.sh [Pipeline] echo 22:51:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:51:46 ---> sudo-logs.sh 22:51:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:51:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:51:46 ---> job-cost.sh 22:51:46 lf-activate-venv: SKIPPING 22:51:46 DEBUG: total: 0.18000000715255737 22:51:46 INFO: Retrieving Stack Cost... 22:51:47 INFO: Retrieving Pricing Info for: v3-standard-2 22:51:47 INFO: Archiving Costs [Pipeline] echo 22:51:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:51:48 ---> logs-deploy.sh 22:51:48 lf-activate-venv: SKIPPING 22:51:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/1 22:51:48 INFO: archiving workspace using pattern(s): 22:51:49 Archives upload complete. 22:51:49 INFO: archiving logs to Nexus 22:51:49 ---> uname -a: 22:51:49 Linux prd-centos7-docker-4c-2g-221.vexxhost.local 3.10.0-1160.21.1.el7.x86_64 #1 SMP Tue Mar 16 18:28:22 UTC 2021 x86_64 Linux 22:51:49 22:51:49 22:51:49 ---> lscpu: 22:51:49 Architecture: x86_64 22:51:49 CPU op-mode(s): 32-bit, 64-bit 22:51:49 Byte Order: Little Endian 22:51:49 Address sizes: 40 bits physical, 48 bits virtual 22:51:49 CPU(s): 2 22:51:49 On-line CPU(s) list: 0,1 22:51:49 Thread(s) per core: 1 22:51:49 Core(s) per socket: 1 22:51:49 Socket(s): 2 22:51:49 NUMA node(s): 1 22:51:49 Vendor ID: AuthenticAMD 22:51:49 CPU family: 23 22:51:49 Model: 49 22:51:49 Model name: AMD EPYC-Rome Processor 22:51:49 Stepping: 0 22:51:49 CPU MHz: 2799.998 22:51:49 BogoMIPS: 5599.99 22:51:49 Virtualization: AMD-V 22:51:49 Hypervisor vendor: KVM 22:51:49 Virtualization type: full 22:51:49 L1d cache: 64 KiB 22:51:49 L1i cache: 64 KiB 22:51:49 L2 cache: 1 MiB 22:51:49 L3 cache: 32 MiB 22:51:49 NUMA node0 CPU(s): 0,1 22:51:49 Vulnerability Itlb multihit: Not affected 22:51:49 Vulnerability L1tf: Not affected 22:51:49 Vulnerability Mds: Not affected 22:51:49 Vulnerability Meltdown: Not affected 22:51:49 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:51:49 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 22:51:49 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 22:51:49 Vulnerability Srbds: Not affected 22:51:49 Vulnerability Tsx async abort: Not affected 22:51:49 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 arat npt nrip_save umip spec_ctrl intel_stibp 22:51:49 22:51:49 22:51:49 ---> nproc: 22:51:49 2 22:51:49 22:51:49 22:51:49 ---> df -h: 22:51:49 Filesystem Size Used Available Use% Mounted on 22:51:49 overlay 40.0G 8.9G 31.1G 22% / 22:51:49 tmpfs 64.0M 0 64.0M 0% /dev 22:51:49 tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup 22:51:49 shm 64.0M 0 64.0M 0% /dev/shm 22:51:49 /dev/vda1 40.0G 8.9G 31.1G 22% /facter-os 22:51:49 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/resolv.conf 22:51:49 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hostname 22:51:49 /dev/vda1 40.0G 8.9G 31.1G 22% /etc/hosts 22:51:49 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/auth.log 22:51:49 /dev/vda1 40.0G 8.9G 31.1G 22% /run/cloud-init/result.json 22:51:49 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/edgexfoundry_device-mqtt-go_main 22:51:49 /dev/vda1 40.0G 8.9G 31.1G 22% /w/workspace/edgexfoundry_device-mqtt-go_main@tmp 22:51:49 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/sa-host 22:51:49 /dev/vda1 40.0G 8.9G 31.1G 22% /var/log/secure 22:51:49 22:51:49 22:51:49 ---> free -m: 22:51:49 total used free shared buff/cache available 22:51:49 Mem: 7821 1148 3288 0 3384 6591 22:51:49 Swap: 1023 0 1023 22:51:49 22:51:49 22:51:49 ---> ip addr: 22:51:49 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 22:51:49 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 22:51:49 inet 127.0.0.1/8 scope host lo 22:51:49 valid_lft forever preferred_lft forever 22:51:49 inet6 ::1/128 scope host 22:51:49 valid_lft forever preferred_lft forever 22:51:49 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 22:51:49 link/ether fa:16:3e:9b:b9:0c brd ff:ff:ff:ff:ff:ff 22:51:49 inet 10.30.122.100/23 brd 10.30.123.255 scope global dynamic eth0 22:51:49 valid_lft 85554sec preferred_lft 85554sec 22:51:49 inet6 fe80::f816:3eff:fe9b:b90c/64 scope link 22:51:49 valid_lft forever preferred_lft forever 22:51:49 3: docker0: mtu 1500 qdisc noqueue state DOWN 22:51:49 link/ether 02:42:52:3e:1f:6c brd ff:ff:ff:ff:ff:ff 22:51:49 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 22:51:49 valid_lft forever preferred_lft forever 22:51:49 inet6 fe80::42:52ff:fe3e:1f6c/64 scope link 22:51:49 valid_lft forever preferred_lft forever 22:51:49 22:51:49 22:51:49 ---> sar -b -r -n DEV: 22:51:49 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/06/21 _x86_64_ (2 CPU) 22:51:49 22:51:49 22:37:31 LINUX RESTART (2 CPU) 22:51:49 22:51:49 22:38:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 22:51:49 22:39:01 84.26 5.93 78.33 0.00 3562.50 3398.68 0.00 22:51:49 22:40:01 1.82 0.00 1.82 0.00 0.00 36.69 0.00 22:51:49 22:41:01 0.17 0.00 0.17 0.00 0.00 2.28 0.00 22:51:49 22:42:01 0.28 0.00 0.28 0.00 0.00 3.76 0.00 22:51:49 22:43:01 0.23 0.00 0.23 0.00 0.00 2.92 0.00 22:51:49 22:44:01 0.35 0.00 0.35 0.00 0.00 4.68 0.00 22:51:49 22:45:01 0.20 0.00 0.20 0.00 0.00 2.50 0.00 22:51:49 22:46:01 0.30 0.00 0.30 0.00 0.00 3.56 0.00 22:51:49 22:47:01 0.33 0.00 0.33 0.00 0.00 4.91 0.00 22:51:49 22:48:01 0.25 0.00 0.25 0.00 0.00 4.03 0.00 22:51:49 22:49:02 22.65 0.03 22.62 0.00 3.65 8709.85 0.00 22:51:49 22:50:02 63.88 0.00 63.88 0.00 0.00 19042.17 0.00 22:51:49 22:51:01 115.94 0.00 115.94 0.00 0.00 25840.04 0.00 22:51:49 Average: 22.25 0.46 21.79 0.00 274.27 4370.97 0.00 22:51:49 22:51:49 22:38:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:51:49 22:39:01 5476440 0 793396 9.91 2620 1736484 1158320 12.79 559632 1573572 132 22:51:49 22:40:01 5474040 0 795788 9.94 2620 1736492 1175844 12.98 561876 1573536 20 22:51:49 22:41:01 5485412 0 784416 9.79 2620 1736492 1100180 12.15 552548 1573424 20 22:51:49 22:42:01 5485244 0 784580 9.80 2620 1736496 1089008 12.02 552948 1573424 8 22:51:49 22:43:01 5488244 0 781572 9.76 2620 1736504 1067348 11.78 546092 1577944 16 22:51:49 22:44:01 5484052 0 785764 9.81 2620 1736504 1070340 11.82 550548 1577944 8 22:51:49 22:45:01 5475492 0 794312 9.92 2620 1736516 1070232 11.82 558876 1577944 8 22:51:49 22:46:01 5473448 0 796352 9.94 2620 1736520 1070232 11.82 563084 1576144 8 22:51:49 22:47:01 5473168 0 796628 9.95 2620 1736524 1070232 11.82 563088 1576144 8 22:51:49 22:48:01 5473184 0 796608 9.95 2620 1736528 1070232 11.82 563156 1576144 12 22:51:49 22:49:02 4627368 0 924312 11.54 2620 2454640 1248392 13.78 665588 2229840 476780 22:51:49 22:50:02 4474616 0 951964 11.89 2620 2579740 1269316 14.01 753160 2267760 91452 22:51:49 22:51:01 3876860 0 1071080 13.37 2620 3058380 1288140 14.22 771732 2725648 8 22:51:49 Average: 5212890 0 835136 10.43 2620 1958294 1134447 12.52 597102 1767651 43729 22:51:49 22:51:49 22:38:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:51:49 22:39:01 eth0 557.97 375.30 1045.14 84.10 0.00 0.00 0.00 0.00 22:51:49 22:39:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:39:01 docker0 2.45 1.73 0.47 5.87 0.00 0.00 0.00 0.00 22:51:49 22:40:01 eth0 7.41 2.71 1.34 21.06 0.00 0.00 0.00 0.00 22:51:49 22:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:41:01 eth0 5.73 1.13 1.44 2.16 0.00 0.00 0.00 0.00 22:51:49 22:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:42:01 eth0 1.82 0.95 1.06 0.79 0.00 0.00 0.00 0.00 22:51:49 22:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:43:01 eth0 0.13 0.08 0.01 0.04 0.00 0.00 0.00 0.00 22:51:49 22:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:44:01 eth0 0.40 0.20 0.15 0.07 0.00 0.00 0.00 0.00 22:51:49 22:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:45:01 eth0 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 22:51:49 22:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:46:01 eth0 0.08 0.08 0.01 0.01 0.00 0.00 0.00 0.00 22:51:49 22:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:47:01 eth0 0.22 0.08 0.01 0.01 0.00 0.00 0.00 0.00 22:51:49 22:47:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:48:01 eth0 3.81 0.08 0.28 0.01 0.00 0.00 0.00 0.00 22:51:49 22:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:49:02 eth0 382.91 344.14 3994.69 29.74 0.00 0.00 0.00 0.00 22:51:49 22:49:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:49:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:50:02 eth0 84.38 81.37 399.26 10.14 0.00 0.00 0.00 0.00 22:51:49 22:50:02 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:50:02 docker0 76.74 76.26 5.99 392.02 0.00 0.00 0.00 0.00 22:51:49 22:51:01 eth0 360.30 325.30 3256.30 39.43 0.00 0.00 0.00 0.00 22:51:49 22:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 22:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 Average: eth0 108.26 87.19 671.62 14.42 0.00 0.00 0.00 0.00 22:51:49 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:51:49 Average: docker0 6.09 6.00 0.50 30.61 0.00 0.00 0.00 0.00 22:51:49 22:51:49 22:51:49 ---> sar -P ALL: 22:51:49 Linux 3.10.0-1160.21.1.el7.x86_64 (centos-7-docker-606adb87-c9a3-b56e-c965-7bc42a059c0f.vexxhost.lo) 07/06/21 _x86_64_ (2 CPU) 22:51:49 22:51:49 22:37:31 LINUX RESTART (2 CPU) 22:51:49 22:51:49 22:38:01 CPU %user %nice %system %iowait %steal %idle 22:51:49 22:39:01 all 9.35 0.00 2.90 2.49 0.05 85.20 22:51:49 22:39:01 0 8.94 0.00 3.54 2.74 0.05 84.73 22:51:49 22:39:01 1 9.76 0.00 2.27 2.25 0.05 85.66 22:51:49 22:40:01 all 0.24 0.00 0.08 0.00 0.01 99.67 22:51:49 22:40:01 0 0.30 0.00 0.08 0.00 0.02 99.60 22:51:49 22:40:01 1 0.18 0.00 0.07 0.00 0.00 99.75 22:51:49 22:41:01 all 0.26 0.00 0.05 0.00 0.03 99.67 22:51:49 22:41:01 0 0.18 0.00 0.03 0.00 0.03 99.75 22:51:49 22:41:01 1 0.33 0.00 0.07 0.00 0.02 99.58 22:51:49 22:42:01 all 0.20 0.00 0.03 0.00 0.02 99.76 22:51:49 22:42:01 0 0.03 0.00 0.03 0.00 0.02 99.92 22:51:49 22:42:01 1 0.37 0.00 0.02 0.00 0.02 99.60 22:51:49 22:43:01 all 0.13 0.00 0.04 0.00 0.01 99.82 22:51:49 22:43:01 0 0.05 0.00 0.03 0.00 0.02 99.90 22:51:49 22:43:01 1 0.20 0.00 0.05 0.00 0.00 99.75 22:51:49 22:44:01 all 0.08 0.00 0.05 0.00 0.03 99.84 22:51:49 22:44:01 0 0.03 0.00 0.05 0.00 0.03 99.88 22:51:49 22:44:01 1 0.13 0.00 0.05 0.00 0.02 99.80 22:51:49 22:45:01 all 0.17 0.00 0.03 0.00 0.01 99.80 22:51:49 22:45:01 0 0.30 0.00 0.02 0.00 0.02 99.67 22:51:49 22:45:01 1 0.03 0.00 0.03 0.00 0.00 99.93 22:51:49 22:46:01 all 0.16 0.00 0.03 0.00 0.03 99.79 22:51:49 22:46:01 0 0.28 0.00 0.02 0.00 0.02 99.68 22:51:49 22:46:01 1 0.03 0.00 0.03 0.00 0.03 99.90 22:51:49 22:47:01 all 0.15 0.00 0.02 0.00 0.01 99.82 22:51:49 22:47:01 0 0.28 0.00 0.02 0.00 0.02 99.68 22:51:49 22:47:01 1 0.02 0.00 0.02 0.00 0.00 99.97 22:51:49 22:48:01 all 0.16 0.00 0.03 0.00 0.02 99.80 22:51:49 22:48:01 0 0.27 0.00 0.02 0.00 0.00 99.72 22:51:49 22:48:01 1 0.05 0.00 0.03 0.00 0.03 99.88 22:51:49 22:49:02 all 7.79 0.00 3.25 8.52 0.04 80.40 22:51:49 22:49:02 0 7.92 0.00 3.34 8.76 0.05 79.93 22:51:49 22:49:02 1 7.65 0.00 3.15 8.29 0.03 80.88 22:51:49 22:51:49 22:49:02 CPU %user %nice %system %iowait %steal %idle 22:51:49 22:50:02 all 3.41 0.00 1.39 33.31 0.05 61.84 22:51:49 22:50:02 0 3.92 0.00 1.42 31.52 0.03 63.11 22:51:49 22:50:02 1 2.91 0.00 1.35 35.10 0.07 60.58 22:51:49 22:51:01 all 8.78 0.00 4.02 7.54 0.05 79.61 22:51:49 22:51:01 0 9.01 0.00 4.01 9.46 0.05 77.47 22:51:49 22:51:01 1 8.56 0.00 4.02 5.62 0.05 81.75 22:51:49 Average: all 2.34 0.00 0.90 3.95 0.03 92.78 22:51:49 Average: 0 2.39 0.00 0.95 3.99 0.03 92.64 22:51:49 Average: 1 2.29 0.00 0.85 3.91 0.02 92.92 22:51:49 22:51:49 22:51:49