Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1103380303279076337.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 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 > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8466492494648161711.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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /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-ssh1138411713646414463.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2774573566097060414.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /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-ssh4833962868019217058.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 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_BUILD_IMAGE_TARGET: builder 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-13331 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 > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/jenkins-gitclient-ssh4981667403829091378.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 c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 (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 c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 # timeout=10 Commit message: "feat: update config file to include secrets file parameters (#310)" > git rev-list --no-walk a06e272b6922a1d7524aeda6151acf418e859d75 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-28T23:12:23.581Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-28T23:12:23.640Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-28T23:12:23.657Z] ========================================================= [2021-10-28T23:12:23.657Z] EdgeX Global Pipelines Version Info [2021-10-28T23:12:23.657Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:12:24.789Z] ------------------- [2021-10-28T23:12:24.789Z] stable info: [2021-10-28T23:12:24.789Z] ------------------- [2021-10-28T23:12:24.789Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-28T23:12:24.789Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-28T23:12:24.789Z] Message: update stable to v1.0.210 [2021-10-28T23:12:25.366Z] ------------------- [2021-10-28T23:12:25.366Z] experimental info: [2021-10-28T23:12:25.366Z] ------------------- [2021-10-28T23:12:25.366Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-28T23:12:25.366Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-10-28T23:12:25.366Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-28T23:12:25.444Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-10-28T23:12:25.455Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-10-28T23:12:25.464Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-28T23:12:25.473Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-28T23:12:25.482Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-28T23:12:25.490Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-28T23:12:25.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-28T23:12:25.503Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-28T23:12:25.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-28T23:12:25.515Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-28T23:12:25.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-28T23:12:25.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-10-28T23:12:25.542Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-28T23:12:25.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-28T23:12:25.560Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-28T23:12:25.568Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-28T23:12:25.577Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T23:12:25.586Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T23:12:25.628Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-28T23:12:25.640Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-10-28T23:12:25.648Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-28T23:12:25.658Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-28T23:12:25.668Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-28T23:12:25.679Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-28T23:12:25.689Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-28T23:12:25.698Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-28T23:12:25.706Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-28T23:12:25.714Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-28T23:12:25.723Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-28T23:12:25.733Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 [Pipeline] echo [2021-10-28T23:12:25.743Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c11b57c [Pipeline] echo [2021-10-28T23:12:25.753Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:12:25.793Z] provisioning config files... [2021-10-28T23:12:25.808Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6097871602741808612tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:12:26.126Z] ---> docker-login.sh [2021-10-28T23:12:26.126Z] nexus3.edgexfoundry.org:10001 [2021-10-28T23:12:26.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:12:26.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:12:26.126Z] Configure a credential helper to remove this warning. See [2021-10-28T23:12:26.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:12:26.126Z] [2021-10-28T23:12:26.126Z] Login Succeeded [2021-10-28T23:12:26.393Z] nexus3.edgexfoundry.org:10002 [2021-10-28T23:12:26.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:12:26.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:12:26.393Z] Configure a credential helper to remove this warning. See [2021-10-28T23:12:26.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:12:26.393Z] [2021-10-28T23:12:26.393Z] Login Succeeded [2021-10-28T23:12:26.393Z] nexus3.edgexfoundry.org:10003 [2021-10-28T23:12:26.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:12:26.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:12:26.393Z] Configure a credential helper to remove this warning. See [2021-10-28T23:12:26.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:12:26.393Z] [2021-10-28T23:12:26.393Z] Login Succeeded [2021-10-28T23:12:26.393Z] nexus3.edgexfoundry.org:10004 [2021-10-28T23:12:26.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:12:26.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:12:26.657Z] Configure a credential helper to remove this warning. See [2021-10-28T23:12:26.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:12:26.657Z] [2021-10-28T23:12:26.657Z] Login Succeeded [2021-10-28T23:12:26.657Z] docker.io [2021-10-28T23:12:26.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:12:27.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:12:27.236Z] Configure a credential helper to remove this warning. See [2021-10-28T23:12:27.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:12:27.236Z] [2021-10-28T23:12:27.236Z] Login Succeeded [2021-10-28T23:12:27.236Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T23:12:27.246Z] 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 [2021-10-28T23:12:27.703Z] + git log --format=format:%s -1 c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 [Pipeline] echo [2021-10-28T23:12:27.748Z] GIT_COMMIT: c11b57cd0fcb2e2ae2ea0895cfda036458c19b50, Commit Message: feat: update config file to include secrets file parameters (#310) [Pipeline] echo [2021-10-28T23:12:27.756Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:12:28.264Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T23:12:28.264Z] [2021-10-28T23:12:28.264Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:12:28.575Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T23:12:28.575Z] latest: Pulling from edgex-devops/git-semver [2021-10-28T23:12:28.575Z] a0d0a0d46f8b: Pulling fs layer [2021-10-28T23:12:28.575Z] 3e5f54012d9b: Pulling fs layer [2021-10-28T23:12:28.575Z] 4c7163046ea9: Pulling fs layer [2021-10-28T23:12:28.575Z] 0c2d73faf560: Pulling fs layer [2021-10-28T23:12:28.575Z] 0c2d73faf560: Waiting [2021-10-28T23:12:28.575Z] 3e5f54012d9b: Verifying Checksum [2021-10-28T23:12:28.575Z] 3e5f54012d9b: Download complete [2021-10-28T23:12:28.575Z] a0d0a0d46f8b: Verifying Checksum [2021-10-28T23:12:28.575Z] a0d0a0d46f8b: Download complete [2021-10-28T23:12:28.849Z] 0c2d73faf560: Verifying Checksum [2021-10-28T23:12:28.849Z] 0c2d73faf560: Download complete [2021-10-28T23:12:28.849Z] 4c7163046ea9: Verifying Checksum [2021-10-28T23:12:28.849Z] 4c7163046ea9: Download complete [2021-10-28T23:12:28.849Z] a0d0a0d46f8b: Pull complete [2021-10-28T23:12:28.849Z] 3e5f54012d9b: Pull complete [2021-10-28T23:12:29.425Z] 4c7163046ea9: Pull complete [2021-10-28T23:12:29.425Z] 0c2d73faf560: Pull complete [2021-10-28T23:12:29.425Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-28T23:12:29.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T23:12:29.425Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-28T23:12:29.500Z] prd-centos7-docker-4c-2g-13331 does not seem to be running inside a container [2021-10-28T23:12:29.544Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-28T23:12:30.132Z] $ docker top 73d7bb50e8460dbe33331e0636a4cb240598e57eae00704d1cf30eeaff692dc0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T23:12:30.224Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T23:12:30.224Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T23:12:30.330Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T23:12:30.332Z] $ docker exec 73d7bb50e8460dbe33331e0636a4cb240598e57eae00704d1cf30eeaff692dc0 ssh-agent [2021-10-28T23:12:30.429Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfajIhd/agent.15 [2021-10-28T23:12:30.429Z] SSH_AGENT_PID=21 [2021-10-28T23:12:30.437Z] Running ssh-add (command line suppressed) [2021-10-28T23:12:30.527Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2586714007564941579.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2586714007564941579.key) [2021-10-28T23:12:30.538Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T23:12:30.831Z] + git tag --points-at HEAD [Pipeline] } [2021-10-28T23:12:30.844Z] $ docker exec --env ******** --env ******** 73d7bb50e8460dbe33331e0636a4cb240598e57eae00704d1cf30eeaff692dc0 ssh-agent -k [2021-10-28T23:12:30.926Z] unset SSH_AUTH_SOCK; [2021-10-28T23:12:30.927Z] unset SSH_AGENT_PID; [2021-10-28T23:12:30.927Z] echo Agent pid 21 killed; [2021-10-28T23:12:30.938Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-28T23:12:30.960Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T23:12:30.960Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T23:12:31.049Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T23:12:31.052Z] $ docker exec 73d7bb50e8460dbe33331e0636a4cb240598e57eae00704d1cf30eeaff692dc0 ssh-agent [2021-10-28T23:12:31.141Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdaFkgl/agent.56 [2021-10-28T23:12:31.141Z] SSH_AGENT_PID=63 [2021-10-28T23:12:31.146Z] Running ssh-add (command line suppressed) [2021-10-28T23:12:31.233Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4301918242221040271.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4301918242221040271.key) [2021-10-28T23:12:31.249Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T23:12:31.546Z] + git semver init [2021-10-28T23:12:31.546Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T23:12:31.546Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-10-28T23:12:31.546Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-10-28T23:12:31.546Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T23:12:31.546Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T23:12:31.546Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T23:12:31.546Z] # $SEMVER_BRANCH = main [2021-10-28T23:12:31.546Z] # $SEMVER_TEMP = /tmp/semver-718421360 [2021-10-28T23:12:31.546Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-10-28T23:12:32.117Z] # '/tmp/semver-718421360' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' [2021-10-28T23:12:32.117Z] # -> Force: false [2021-10-28T23:12:32.117Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2021-10-28T23:12:32.128Z] $ docker exec --env ******** --env ******** 73d7bb50e8460dbe33331e0636a4cb240598e57eae00704d1cf30eeaff692dc0 ssh-agent -k [2021-10-28T23:12:32.225Z] unset SSH_AUTH_SOCK; [2021-10-28T23:12:32.225Z] unset SSH_AGENT_PID; [2021-10-28T23:12:32.225Z] echo Agent pid 63 killed; [2021-10-28T23:12:32.233Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T23:12:32.549Z] + git semver [Pipeline] } [2021-10-28T23:12:32.565Z] $ docker stop --time=1 73d7bb50e8460dbe33331e0636a4cb240598e57eae00704d1cf30eeaff692dc0 [2021-10-28T23:12:33.765Z] $ docker rm -f 73d7bb50e8460dbe33331e0636a4cb240598e57eae00704d1cf30eeaff692dc0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T23:12:34.113Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-28T23:12:34.347Z] Stashed 1 file(s) [Pipeline] echo [2021-10-28T23:12:34.350Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.13 [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 [2021-10-28T23:12:49.501Z] Still waiting to schedule task [2021-10-28T23:12:49.502Z] ‘prd-centos7-docker-4c-2g-13319’ is offline [2021-10-28T23:12:49.502Z] ‘prd-centos7-docker-4c-2g-13320’ is offline [2021-10-28T23:12:49.502Z] ‘prd-centos7-docker-4c-2g-13332’ is offline [2021-10-28T23:12:49.502Z] ‘prd-centos7-docker-4c-2g-13333’ is offline [2021-10-28T23:12:49.502Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-13322’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-10-28T23:12:49.502Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-13327’ doesn’t have label ‘centos7-docker-4c-2g’ [2021-10-28T23:12:49.505Z] Still waiting to schedule task [2021-10-28T23:12:49.505Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-10-28T23:13:39.152Z] Running on prd-centos7-docker-4c-2g-13335 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2021-10-28T23:13:39.161Z] Running in /w/workspace/device-mqtt-go/15 [Pipeline] { [Pipeline] checkout [2021-10-28T23:13:39.262Z] Selected Git installation does not exist. Using Default [2021-10-28T23:13:39.262Z] The recommended git tool is: NONE [2021-10-28T23:13:41.366Z] using credential edgex-jenkins-ssh [2021-10-28T23:13:41.390Z] Cloning the remote Git repository [2021-10-28T23:13:41.492Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-10-28T23:13:41.548Z] > git init /w/workspace/device-mqtt-go/15 # timeout=10 [2021-10-28T23:13:42.403Z] Avoid second fetch [2021-10-28T23:13:42.404Z] Checking out Revision c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 (main) [2021-10-28T23:13:41.788Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-10-28T23:13:41.789Z] > git --version # timeout=10 [2021-10-28T23:13:41.802Z] > git --version # 'git version 2.24.4' [2021-10-28T23:13:41.802Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T23:13:41.830Z] [INFO] Currently running in a labeled security context [2021-10-28T23:13:41.831Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T23:13:41.831Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/15@tmp/jenkins-gitclient-ssh4223241690650121823.key [2021-10-28T23:13:41.853Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T23:13:42.467Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-10-28T23:13:42.479Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T23:13:42.496Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T23:13:42.507Z] > git checkout -f c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 # timeout=10 [2021-10-28T23:13:46.117Z] Commit message: "feat: update config file to include secrets file parameters (#310)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:13:46.452Z] provisioning config files... [2021-10-28T23:13:46.468Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/15@tmp/config2195461354937537436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:13:46.873Z] ---> docker-login.sh [2021-10-28T23:13:46.874Z] nexus3.edgexfoundry.org:10001 [2021-10-28T23:13:46.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:13:46.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:13:46.874Z] Configure a credential helper to remove this warning. See [2021-10-28T23:13:46.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:13:46.874Z] [2021-10-28T23:13:46.874Z] Login Succeeded [2021-10-28T23:13:46.874Z] nexus3.edgexfoundry.org:10002 [2021-10-28T23:13:47.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:13:47.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:13:47.138Z] Configure a credential helper to remove this warning. See [2021-10-28T23:13:47.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:13:47.138Z] [2021-10-28T23:13:47.138Z] Login Succeeded [2021-10-28T23:13:47.138Z] nexus3.edgexfoundry.org:10003 [2021-10-28T23:13:47.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:13:47.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:13:47.138Z] Configure a credential helper to remove this warning. See [2021-10-28T23:13:47.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:13:47.138Z] [2021-10-28T23:13:47.138Z] Login Succeeded [2021-10-28T23:13:47.399Z] nexus3.edgexfoundry.org:10004 [2021-10-28T23:13:47.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:13:47.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:13:47.399Z] Configure a credential helper to remove this warning. See [2021-10-28T23:13:47.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:13:47.399Z] [2021-10-28T23:13:47.399Z] Login Succeeded [2021-10-28T23:13:47.399Z] docker.io [2021-10-28T23:13:47.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:13:47.975Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:13:47.975Z] Configure a credential helper to remove this warning. See [2021-10-28T23:13:47.975Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:13:47.975Z] [2021-10-28T23:13:47.975Z] Login Succeeded [2021-10-28T23:13:47.975Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T23:13:48.013Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-28T23:13:48.167Z] ========================================================= [2021-10-28T23:13:48.167Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-28T23:13:48.167Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:13:48.496Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-28T23:13:48.497Z] Sending build context to Docker daemon 683.5kB [2021-10-28T23:13:48.497Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T23:13:48.497Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-28T23:13:48.497Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-28T23:13:48.497Z] a0d0a0d46f8b: Pulling fs layer [2021-10-28T23:13:48.497Z] 31adcdaf11c8: Pulling fs layer [2021-10-28T23:13:48.497Z] b8b176561691: Pulling fs layer [2021-10-28T23:13:48.497Z] 4527c011a84f: Pulling fs layer [2021-10-28T23:13:48.497Z] 5d74067f8e1e: Pulling fs layer [2021-10-28T23:13:48.497Z] e0aca202a116: Pulling fs layer [2021-10-28T23:13:48.497Z] 3a43be97a3b4: Pulling fs layer [2021-10-28T23:13:48.497Z] 34cad66bf833: Pulling fs layer [2021-10-28T23:13:48.497Z] b4e3c513aaa6: Pulling fs layer [2021-10-28T23:13:48.497Z] 4527c011a84f: Waiting [2021-10-28T23:13:48.497Z] 5d74067f8e1e: Waiting [2021-10-28T23:13:48.497Z] e0aca202a116: Waiting [2021-10-28T23:13:48.497Z] 3a43be97a3b4: Waiting [2021-10-28T23:13:48.497Z] 34cad66bf833: Waiting [2021-10-28T23:13:48.497Z] b4e3c513aaa6: Waiting [2021-10-28T23:13:48.497Z] b8b176561691: Verifying Checksum [2021-10-28T23:13:48.497Z] b8b176561691: Download complete [2021-10-28T23:13:48.497Z] 31adcdaf11c8: Verifying Checksum [2021-10-28T23:13:48.497Z] 31adcdaf11c8: Download complete [2021-10-28T23:13:48.772Z] 5d74067f8e1e: Verifying Checksum [2021-10-28T23:13:48.772Z] 5d74067f8e1e: Download complete [2021-10-28T23:13:48.772Z] e0aca202a116: Verifying Checksum [2021-10-28T23:13:48.772Z] e0aca202a116: Download complete [2021-10-28T23:13:48.772Z] 3a43be97a3b4: Verifying Checksum [2021-10-28T23:13:48.772Z] 3a43be97a3b4: Download complete [2021-10-28T23:13:48.772Z] a0d0a0d46f8b: Verifying Checksum [2021-10-28T23:13:48.772Z] a0d0a0d46f8b: Download complete [2021-10-28T23:13:48.772Z] 34cad66bf833: Verifying Checksum [2021-10-28T23:13:48.772Z] 34cad66bf833: Download complete [2021-10-28T23:13:48.772Z] a0d0a0d46f8b: Pull complete [2021-10-28T23:13:49.043Z] 31adcdaf11c8: Pull complete [2021-10-28T23:13:49.044Z] b8b176561691: Pull complete [2021-10-28T23:13:49.622Z] 4527c011a84f: Verifying Checksum [2021-10-28T23:13:49.622Z] 4527c011a84f: Download complete [2021-10-28T23:13:53.864Z] 4527c011a84f: Pull complete [2021-10-28T23:13:53.864Z] 5d74067f8e1e: Pull complete [2021-10-28T23:13:53.864Z] e0aca202a116: Pull complete [2021-10-28T23:13:53.864Z] 3a43be97a3b4: Pull complete [2021-10-28T23:13:53.864Z] 34cad66bf833: Pull complete [2021-10-28T23:13:54.123Z] b4e3c513aaa6: Verifying Checksum [2021-10-28T23:13:54.123Z] b4e3c513aaa6: Download complete [2021-10-28T23:13:56.687Z] b4e3c513aaa6: Pull complete [2021-10-28T23:13:56.687Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-28T23:13:56.687Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-28T23:13:56.687Z] ---> 9f6097aaca64 [2021-10-28T23:13:56.687Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-28T23:13:58.607Z] ---> Running in b0010cc78767 [2021-10-28T23:13:58.607Z] Removing intermediate container b0010cc78767 [2021-10-28T23:13:58.607Z] ---> 2e0842b3a637 [2021-10-28T23:13:58.607Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-28T23:13:58.607Z] ---> Running in af97b3447c33 [2021-10-28T23:13:58.607Z] Removing intermediate container af97b3447c33 [2021-10-28T23:13:58.607Z] ---> 4a9a2da6c39c [2021-10-28T23:13:58.607Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T23:13:58.607Z] ---> Running in 80637bfa7f06 [2021-10-28T23:13:59.184Z] Removing intermediate container 80637bfa7f06 [2021-10-28T23:13:59.184Z] ---> f8fd4b31c994 [2021-10-28T23:13:59.184Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-28T23:13:59.184Z] ---> Running in e066181850ac [2021-10-28T23:13:59.445Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-28T23:14:00.407Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-28T23:14:00.673Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-28T23:14:00.673Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-28T23:14:00.673Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-28T23:14:00.934Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-28T23:14:00.934Z] Executing busybox-1.33.1-r3.trigger [2021-10-28T23:14:00.934Z] OK: 224 MiB in 56 packages [2021-10-28T23:14:01.196Z] Removing intermediate container e066181850ac [2021-10-28T23:14:01.196Z] ---> 059f64453816 [2021-10-28T23:14:01.196Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-10-28T23:14:01.457Z] ---> Running in 4f4c2dc2a9e8 [2021-10-28T23:14:01.457Z] Removing intermediate container 4f4c2dc2a9e8 [2021-10-28T23:14:01.457Z] ---> 38de2b27476a [2021-10-28T23:14:01.457Z] Step 8/11 : COPY . . [2021-10-28T23:14:01.719Z] ---> bd1fa63ac586 [2021-10-28T23:14:01.719Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T23:14:01.719Z] ---> Running in 07fad0f3fcb7 [2021-10-28T23:14:33.893Z] Removing intermediate container 07fad0f3fcb7 [2021-10-28T23:14:33.893Z] ---> e1ec980330d0 [2021-10-28T23:14:33.893Z] Step 10/11 : ARG MAKE='make build' [2021-10-28T23:14:33.893Z] ---> Running in dd80274231c5 [2021-10-28T23:14:33.893Z] Removing intermediate container dd80274231c5 [2021-10-28T23:14:33.893Z] ---> 03ca70b7212f [2021-10-28T23:14:33.893Z] Step 11/11 : RUN $MAKE [2021-10-28T23:14:33.893Z] ---> Running in d1908b986ede [2021-10-28T23:14:33.893Z] noop [2021-10-28T23:14:33.893Z] Removing intermediate container d1908b986ede [2021-10-28T23:14:33.893Z] ---> cd41ebbaf931 [2021-10-28T23:14:33.893Z] Successfully built cd41ebbaf931 [2021-10-28T23:14:33.893Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:14:34.201Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-28T23:14:34.201Z] . [Pipeline] withDockerContainer [2021-10-28T23:14:34.278Z] prd-centos7-docker-4c-2g-13335 does not seem to be running inside a container [2021-10-28T23:14:34.329Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/15 -v /w/workspace/device-mqtt-go/15:/w/workspace/device-mqtt-go/15:rw,z -v /w/workspace/device-mqtt-go/15@tmp:/w/workspace/device-mqtt-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-28T23:14:34.694Z] $ docker top 8ec8a730728a5302fa51c6c57a53cc4f2f20cc5f00ede73dfa966fc3128a98ed -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T23:14:35.071Z] + go version [2021-10-28T23:14:35.071Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-28T23:14:35.083Z] $ docker stop --time=1 8ec8a730728a5302fa51c6c57a53cc4f2f20cc5f00ede73dfa966fc3128a98ed [2021-10-28T23:14:36.272Z] $ docker rm -f 8ec8a730728a5302fa51c6c57a53cc4f2f20cc5f00ede73dfa966fc3128a98ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:14:36.725Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-28T23:14:36.725Z] . [Pipeline] withDockerContainer [2021-10-28T23:14:36.794Z] prd-centos7-docker-4c-2g-13335 does not seem to be running inside a container [2021-10-28T23:14:36.840Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/15 -v /w/workspace/device-mqtt-go/15:/w/workspace/device-mqtt-go/15:rw,z -v /w/workspace/device-mqtt-go/15@tmp:/w/workspace/device-mqtt-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-28T23:14:37.246Z] $ docker top 3423d324e30c979c4f31e181045adf39e1d78a46c886ad195089ec3178927e56 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-28T23:14:37.624Z] + make test [2021-10-28T23:14:37.624Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-28T23:14:38.207Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-10-28T23:14:56.401Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-10-28T23:14:56.401Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 22.4% of statements [2021-10-28T23:14:56.401Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-10-28T23:14:56.401Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-28T23:15:01.718Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-28T23:15:01.718Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-28T23:15:01.718Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-28T23:15:01.727Z] $ docker stop --time=1 3423d324e30c979c4f31e181045adf39e1d78a46c886ad195089ec3178927e56 [2021-10-28T23:15:03.181Z] $ docker rm -f 3423d324e30c979c4f31e181045adf39e1d78a46c886ad195089ec3178927e56 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T23:15:03.571Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-28T23:15:03.758Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-28T23:15:04.931Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-28T23:15:05.221Z] + ls -al . [2021-10-28T23:15:05.221Z] total 148 [2021-10-28T23:15:05.221Z] drwxrwxr-x. 9 jenkins jenkins 4096 Oct 28 23:15 . [2021-10-28T23:15:05.221Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 28 23:13 .. [2021-10-28T23:15:05.221Z] -rw-rw-r--. 1 jenkins jenkins 7287 Oct 28 23:13 Attribution.txt [2021-10-28T23:15:05.221Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 28 23:13 bin [2021-10-28T23:15:05.221Z] -rw-rw-r--. 1 jenkins jenkins 7447 Oct 28 23:13 CHANGELOG.md [2021-10-28T23:15:05.221Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 28 23:13 cmd [2021-10-28T23:15:05.221Z] -rw-r--r--. 1 jenkins jenkins 17284 Oct 28 23:14 coverage.out [2021-10-28T23:15:05.221Z] -rw-rw-r--. 1 jenkins jenkins 1907 Oct 28 23:13 Dockerfile [2021-10-28T23:15:05.221Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 28 23:13 .dockerignore [2021-10-28T23:15:05.221Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 28 23:13 .git [2021-10-28T23:15:05.221Z] drwxrwxr-x. 2 jenkins jenkins 103 Oct 28 23:13 .github [2021-10-28T23:15:05.221Z] -rw-rw-r--. 1 jenkins jenkins 329 Oct 28 23:13 .gitignore [2021-10-28T23:15:05.221Z] -rw-rw-r--. 1 jenkins jenkins 388 Oct 28 23:13 go.mod [2021-10-28T23:15:05.221Z] -rw-rw-r--. 1 jenkins jenkins 50360 Oct 28 23:13 go.sum [2021-10-28T23:15:05.221Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 28 23:13 GOVERNANCE.md [2021-10-28T23:15:05.221Z] drwxrwxr-x. 3 jenkins jenkins 20 Oct 28 23:13 internal [2021-10-28T23:15:05.221Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 28 23:13 Jenkinsfile [2021-10-28T23:15:05.221Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 28 23:13 LICENSE [2021-10-28T23:15:05.221Z] -rw-rw-r--. 1 jenkins jenkins 1030 Oct 28 23:13 Makefile [2021-10-28T23:15:05.221Z] drwxrwxr-x. 2 jenkins jenkins 23 Oct 28 23:13 mock [2021-10-28T23:15:05.221Z] -rw-rw-r--. 1 jenkins jenkins 620 Oct 28 23:13 OWNERS.md [2021-10-28T23:15:05.221Z] -rw-rw-r--. 1 jenkins jenkins 2211 Oct 28 23:13 README.md [2021-10-28T23:15:05.221Z] drwxrwxr-x. 4 jenkins jenkins 71 Oct 28 23:13 snap [2021-10-28T23:15:05.221Z] -rw-rw-r--. 1 jenkins jenkins 12 Oct 28 23:12 VERSION [2021-10-28T23:15:05.221Z] -rw-rw-r--. 1 jenkins jenkins 227 Oct 28 23:13 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:15:05.519Z] + 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=c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 --label arch=amd64 --label version=2.0.1-dev.13 . [2021-10-28T23:15:05.519Z] Sending build context to Docker daemon 701.4kB [2021-10-28T23:15:05.519Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T23:15:05.519Z] Step 2/23 : FROM ${BASE} AS builder [2021-10-28T23:15:05.519Z] ---> cd41ebbaf931 [2021-10-28T23:15:05.519Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-28T23:15:05.519Z] ---> Running in 96e2370ea338 [2021-10-28T23:15:05.786Z] Removing intermediate container 96e2370ea338 [2021-10-28T23:15:05.786Z] ---> b2f4e8308648 [2021-10-28T23:15:05.786Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-10-28T23:15:05.786Z] ---> Running in 05c33d19eede [2021-10-28T23:15:05.786Z] Removing intermediate container 05c33d19eede [2021-10-28T23:15:05.786Z] ---> 7a94a3f02892 [2021-10-28T23:15:05.786Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T23:15:05.786Z] ---> Running in 2cf964689998 [2021-10-28T23:15:06.363Z] Removing intermediate container 2cf964689998 [2021-10-28T23:15:06.363Z] ---> 6adb55bc15e5 [2021-10-28T23:15:06.363Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-28T23:15:06.363Z] ---> Running in 844afe8da49f [2021-10-28T23:15:06.625Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-28T23:15:07.568Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-28T23:15:07.568Z] OK: 224 MiB in 56 packages [2021-10-28T23:15:07.829Z] Removing intermediate container 844afe8da49f [2021-10-28T23:15:07.829Z] ---> 23e79c1d9cf9 [2021-10-28T23:15:07.829Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-10-28T23:15:07.829Z] ---> Running in de9002fbb4b2 [2021-10-28T23:15:08.094Z] Removing intermediate container de9002fbb4b2 [2021-10-28T23:15:08.094Z] ---> 92f50c823557 [2021-10-28T23:15:08.094Z] Step 8/23 : COPY . . [2021-10-28T23:15:08.094Z] ---> ad2a56f4fdf4 [2021-10-28T23:15:08.094Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T23:15:08.354Z] ---> Running in 0466aa533710 [2021-10-28T23:15:08.927Z] Removing intermediate container 0466aa533710 [2021-10-28T23:15:08.927Z] ---> 4d7130a61b50 [2021-10-28T23:15:08.927Z] Step 10/23 : ARG MAKE='make build' [2021-10-28T23:15:08.927Z] ---> Running in 5bd9f5fe7b1b [2021-10-28T23:15:08.927Z] Removing intermediate container 5bd9f5fe7b1b [2021-10-28T23:15:08.927Z] ---> f3517d6451c7 [2021-10-28T23:15:08.927Z] Step 11/23 : RUN $MAKE [2021-10-28T23:15:08.927Z] ---> Running in 4c1040d5702b [2021-10-28T23:15:09.191Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.13" -o cmd/device-mqtt ./cmd [2021-10-28T23:15:21.495Z] Removing intermediate container 4c1040d5702b [2021-10-28T23:15:21.495Z] ---> b86789fe4998 [2021-10-28T23:15:21.495Z] Step 12/23 : FROM alpine:3.14 [2021-10-28T23:15:21.495Z] 3.14: Pulling from library/alpine [2021-10-28T23:15:21.495Z] a0d0a0d46f8b: Already exists [2021-10-28T23:15:21.495Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-28T23:15:21.495Z] Status: Downloaded newer image for alpine:3.14 [2021-10-28T23:15:21.495Z] ---> 14119a10abf4 [2021-10-28T23:15:21.495Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-10-28T23:15:21.495Z] ---> Running in 8c954b2b2177 [2021-10-28T23:15:21.495Z] Removing intermediate container 8c954b2b2177 [2021-10-28T23:15:21.495Z] ---> dc0aab2bdcd2 [2021-10-28T23:15:21.495Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-28T23:15:21.495Z] ---> Running in b0a3ae664bdd [2021-10-28T23:15:21.495Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-28T23:15:21.765Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-28T23:15:21.765Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-28T23:15:22.028Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-28T23:15:22.028Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-28T23:15:22.028Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-28T23:15:22.028Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-28T23:15:22.028Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-28T23:15:22.028Z] Executing busybox-1.33.1-r3.trigger [2021-10-28T23:15:22.028Z] OK: 8 MiB in 20 packages [2021-10-28T23:15:22.291Z] Removing intermediate container b0a3ae664bdd [2021-10-28T23:15:22.291Z] ---> 64bb810470c2 [2021-10-28T23:15:22.291Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-10-28T23:15:22.554Z] ---> 7e78abdd206c [2021-10-28T23:15:22.554Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-10-28T23:15:22.813Z] ---> 9ac1ced9021d [2021-10-28T23:15:22.813Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-10-28T23:15:22.813Z] ---> 830dcd38c1db [2021-10-28T23:15:22.813Z] Step 18/23 : EXPOSE 59982 [2021-10-28T23:15:22.813Z] ---> Running in 795a9d74ed28 [2021-10-28T23:15:23.072Z] Removing intermediate container 795a9d74ed28 [2021-10-28T23:15:23.072Z] ---> d886c0efa973 [2021-10-28T23:15:23.072Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-10-28T23:15:23.072Z] ---> Running in 723d67b6bbfb [2021-10-28T23:15:23.072Z] Removing intermediate container 723d67b6bbfb [2021-10-28T23:15:23.072Z] ---> bbd23afb9199 [2021-10-28T23:15:23.072Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-28T23:15:23.072Z] ---> Running in 9ff15f504c4f [2021-10-28T23:15:23.072Z] Removing intermediate container 9ff15f504c4f [2021-10-28T23:15:23.072Z] ---> 9429f64e53a6 [2021-10-28T23:15:23.072Z] Step 21/23 : LABEL arch=amd64 [2021-10-28T23:15:23.340Z] ---> Running in 546b686b0f60 [2021-10-28T23:15:23.340Z] Removing intermediate container 546b686b0f60 [2021-10-28T23:15:23.340Z] ---> 2f44884dbed1 [2021-10-28T23:15:23.340Z] Step 22/23 : LABEL git_sha=c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 [2021-10-28T23:15:23.340Z] ---> Running in 552ad51bf7d9 [2021-10-28T23:15:23.340Z] Removing intermediate container 552ad51bf7d9 [2021-10-28T23:15:23.340Z] ---> 3502f2ae24bb [2021-10-28T23:15:23.340Z] Step 23/23 : LABEL version=2.0.1-dev.13 [2021-10-28T23:15:23.340Z] ---> Running in adc498ed7f7a [2021-10-28T23:15:23.603Z] Removing intermediate container adc498ed7f7a [2021-10-28T23:15:23.603Z] ---> eac1ca63be92 [2021-10-28T23:15:23.603Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-28T23:15:23.603Z] Successfully built eac1ca63be92 [2021-10-28T23:15:23.603Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:15:23.757Z] provisioning config files... [2021-10-28T23:15:23.767Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/15@tmp/config577228458029528221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:15:24.083Z] ---> docker-login.sh [2021-10-28T23:15:24.083Z] nexus3.edgexfoundry.org:10001 [2021-10-28T23:15:24.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:15:24.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:15:24.083Z] Configure a credential helper to remove this warning. See [2021-10-28T23:15:24.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:15:24.083Z] [2021-10-28T23:15:24.083Z] Login Succeeded [2021-10-28T23:15:24.083Z] nexus3.edgexfoundry.org:10002 [2021-10-28T23:15:24.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:15:24.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:15:24.346Z] Configure a credential helper to remove this warning. See [2021-10-28T23:15:24.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:15:24.346Z] [2021-10-28T23:15:24.346Z] Login Succeeded [2021-10-28T23:15:24.346Z] nexus3.edgexfoundry.org:10003 [2021-10-28T23:15:24.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:15:24.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:15:24.346Z] Configure a credential helper to remove this warning. See [2021-10-28T23:15:24.346Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:15:24.346Z] [2021-10-28T23:15:24.346Z] Login Succeeded [2021-10-28T23:15:24.346Z] nexus3.edgexfoundry.org:10004 [2021-10-28T23:15:24.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:15:24.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:15:24.605Z] Configure a credential helper to remove this warning. See [2021-10-28T23:15:24.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:15:24.605Z] [2021-10-28T23:15:24.605Z] Login Succeeded [2021-10-28T23:15:24.605Z] docker.io [2021-10-28T23:15:24.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:15:24.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:15:24.865Z] Configure a credential helper to remove this warning. See [2021-10-28T23:15:24.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:15:24.865Z] [2021-10-28T23:15:24.865Z] Login Succeeded [2021-10-28T23:15:24.865Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T23:15:24.872Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-28T23:15:24.911Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2021-10-28T23:15:24.911Z] c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 [2021-10-28T23:15:24.911Z] latest [2021-10-28T23:15:24.911Z] 2.0.1-dev.13 [2021-10-28T23:15:24.911Z] c11b57cd0fcb2e2ae2ea0895cfda036458c19b50-2.0.1-dev.13 [2021-10-28T23:15:24.911Z] main [2021-10-28T23:15:24.911Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:15:25.213Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:15:25.509Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 [2021-10-28T23:15:25.509Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-10-28T23:15:25.509Z] f6cd97ccf85b: Preparing [2021-10-28T23:15:25.509Z] 995a7e3215cc: Preparing [2021-10-28T23:15:25.509Z] 6fba5d669cfd: Preparing [2021-10-28T23:15:25.509Z] 901d057d98f7: Preparing [2021-10-28T23:15:25.509Z] e2eb06d8af82: Preparing [2021-10-28T23:15:25.509Z] e2eb06d8af82: Layer already exists [2021-10-28T23:15:25.769Z] f6cd97ccf85b: Pushed [2021-10-28T23:15:25.769Z] 995a7e3215cc: Pushed [2021-10-28T23:15:25.769Z] 901d057d98f7: Pushed [2021-10-28T23:15:26.707Z] 6fba5d669cfd: Pushed [2021-10-28T23:15:26.707Z] c11b57cd0fcb2e2ae2ea0895cfda036458c19b50: digest: sha256:0c2c1fa6b256f446200ff16395050abf47a64cc7998dd5563041393ccec5e8af size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:15:27.021Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:15:27.316Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-10-28T23:15:27.316Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-10-28T23:15:27.316Z] f6cd97ccf85b: Preparing [2021-10-28T23:15:27.316Z] 995a7e3215cc: Preparing [2021-10-28T23:15:27.316Z] 6fba5d669cfd: Preparing [2021-10-28T23:15:27.316Z] 901d057d98f7: Preparing [2021-10-28T23:15:27.316Z] e2eb06d8af82: Preparing [2021-10-28T23:15:27.316Z] e2eb06d8af82: Layer already exists [2021-10-28T23:15:27.316Z] 995a7e3215cc: Layer already exists [2021-10-28T23:15:27.316Z] 901d057d98f7: Layer already exists [2021-10-28T23:15:27.316Z] 6fba5d669cfd: Layer already exists [2021-10-28T23:15:27.316Z] f6cd97ccf85b: Layer already exists [2021-10-28T23:15:27.316Z] latest: digest: sha256:0c2c1fa6b256f446200ff16395050abf47a64cc7998dd5563041393ccec5e8af size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:15:27.615Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.13 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:15:27.920Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.13 [2021-10-28T23:15:27.920Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-10-28T23:15:27.920Z] f6cd97ccf85b: Preparing [2021-10-28T23:15:27.920Z] 995a7e3215cc: Preparing [2021-10-28T23:15:27.920Z] 6fba5d669cfd: Preparing [2021-10-28T23:15:27.920Z] 901d057d98f7: Preparing [2021-10-28T23:15:27.920Z] e2eb06d8af82: Preparing [2021-10-28T23:15:27.920Z] f6cd97ccf85b: Layer already exists [2021-10-28T23:15:27.920Z] e2eb06d8af82: Layer already exists [2021-10-28T23:15:27.920Z] 901d057d98f7: Layer already exists [2021-10-28T23:15:27.920Z] 995a7e3215cc: Layer already exists [2021-10-28T23:15:27.920Z] 6fba5d669cfd: Layer already exists [2021-10-28T23:15:27.920Z] 2.0.1-dev.13: digest: sha256:0c2c1fa6b256f446200ff16395050abf47a64cc7998dd5563041393ccec5e8af size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:15:28.223Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50-2.0.1-dev.13 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:15:28.517Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50-2.0.1-dev.13 [2021-10-28T23:15:28.517Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-10-28T23:15:28.517Z] f6cd97ccf85b: Preparing [2021-10-28T23:15:28.517Z] 995a7e3215cc: Preparing [2021-10-28T23:15:28.517Z] 6fba5d669cfd: Preparing [2021-10-28T23:15:28.517Z] 901d057d98f7: Preparing [2021-10-28T23:15:28.517Z] e2eb06d8af82: Preparing [2021-10-28T23:15:28.517Z] e2eb06d8af82: Layer already exists [2021-10-28T23:15:28.517Z] f6cd97ccf85b: Layer already exists [2021-10-28T23:15:28.517Z] 995a7e3215cc: Layer already exists [2021-10-28T23:15:28.517Z] 901d057d98f7: Layer already exists [2021-10-28T23:15:28.517Z] 6fba5d669cfd: Layer already exists [2021-10-28T23:15:28.517Z] c11b57cd0fcb2e2ae2ea0895cfda036458c19b50-2.0.1-dev.13: digest: sha256:0c2c1fa6b256f446200ff16395050abf47a64cc7998dd5563041393ccec5e8af size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:15:28.813Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:15:29.101Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2021-10-28T23:15:29.101Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-10-28T23:15:29.101Z] f6cd97ccf85b: Preparing [2021-10-28T23:15:29.101Z] 995a7e3215cc: Preparing [2021-10-28T23:15:29.101Z] 6fba5d669cfd: Preparing [2021-10-28T23:15:29.101Z] 901d057d98f7: Preparing [2021-10-28T23:15:29.101Z] e2eb06d8af82: Preparing [2021-10-28T23:15:29.101Z] 901d057d98f7: Layer already exists [2021-10-28T23:15:29.101Z] 995a7e3215cc: Layer already exists [2021-10-28T23:15:29.101Z] f6cd97ccf85b: Layer already exists [2021-10-28T23:15:29.101Z] 6fba5d669cfd: Layer already exists [2021-10-28T23:15:29.101Z] e2eb06d8af82: Layer already exists [2021-10-28T23:15:29.101Z] main: digest: sha256:0c2c1fa6b256f446200ff16395050abf47a64cc7998dd5563041393ccec5e8af size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-28T23:15:29.134Z] ===================================================== [Pipeline] echo [2021-10-28T23:15:29.141Z] taggedImages: [2021-10-28T23:15:29.141Z] - nexus3.edgexfoundry.org:10004/device-mqtt:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 [2021-10-28T23:15:29.141Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-10-28T23:15:29.141Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.13 [2021-10-28T23:15:29.141Z] - nexus3.edgexfoundry.org:10004/device-mqtt:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50-2.0.1-dev.13 [2021-10-28T23:15:29.141Z] - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:15:29.715Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:15:29.715Z] [2021-10-28T23:15:29.715Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:15:30.013Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:15:30.013Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-28T23:15:30.013Z] b4d181a07f80: Pulling fs layer [2021-10-28T23:15:30.013Z] a1111a8f2ec3: Pulling fs layer [2021-10-28T23:15:30.013Z] ed53099fbce6: Pulling fs layer [2021-10-28T23:15:30.013Z] dc539afda2c1: Pulling fs layer [2021-10-28T23:15:30.013Z] 77bc0d833cb6: Pulling fs layer [2021-10-28T23:15:30.013Z] 9065ff56babe: Pulling fs layer [2021-10-28T23:15:30.013Z] d287ab97295c: Pulling fs layer [2021-10-28T23:15:30.013Z] dc539afda2c1: Waiting [2021-10-28T23:15:30.013Z] 77bc0d833cb6: Waiting [2021-10-28T23:15:30.013Z] 9065ff56babe: Waiting [2021-10-28T23:15:30.013Z] d287ab97295c: Waiting [2021-10-28T23:15:30.013Z] a1111a8f2ec3: Verifying Checksum [2021-10-28T23:15:30.013Z] a1111a8f2ec3: Download complete [2021-10-28T23:15:30.013Z] dc539afda2c1: Verifying Checksum [2021-10-28T23:15:30.014Z] dc539afda2c1: Download complete [2021-10-28T23:15:30.274Z] ed53099fbce6: Verifying Checksum [2021-10-28T23:15:30.274Z] ed53099fbce6: Download complete [2021-10-28T23:15:30.274Z] 9065ff56babe: Verifying Checksum [2021-10-28T23:15:30.274Z] 9065ff56babe: Download complete [2021-10-28T23:15:30.274Z] 77bc0d833cb6: Verifying Checksum [2021-10-28T23:15:30.274Z] 77bc0d833cb6: Download complete [2021-10-28T23:15:30.274Z] b4d181a07f80: Verifying Checksum [2021-10-28T23:15:30.274Z] b4d181a07f80: Download complete [2021-10-28T23:15:30.860Z] d287ab97295c: Verifying Checksum [2021-10-28T23:15:30.860Z] d287ab97295c: Download complete [2021-10-28T23:15:31.814Z] b4d181a07f80: Pull complete [2021-10-28T23:15:31.814Z] a1111a8f2ec3: Pull complete [2021-10-28T23:15:32.399Z] ed53099fbce6: Pull complete [2021-10-28T23:15:32.399Z] dc539afda2c1: Pull complete [2021-10-28T23:15:32.662Z] 77bc0d833cb6: Pull complete [2021-10-28T23:15:32.923Z] 9065ff56babe: Pull complete [2021-10-28T23:15:38.232Z] d287ab97295c: Pull complete [2021-10-28T23:15:38.232Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-28T23:15:38.232Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:15:38.232Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-28T23:15:38.306Z] prd-centos7-docker-4c-2g-13335 does not seem to be running inside a container [2021-10-28T23:15:38.345Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/15 -v /w/workspace/device-mqtt-go/15:/w/workspace/device-mqtt-go/15:rw,z -v /w/workspace/device-mqtt-go/15@tmp:/w/workspace/device-mqtt-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-28T23:15:40.798Z] $ docker top 21a18900fd63054537d09cad2c4ec4c26c4ae96b8961deccff718de8c72c9f85 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:15:41.220Z] ---> job-cost.sh [2021-10-28T23:15:41.220Z] lf-activate-venv: SKIPPING [2021-10-28T23:15:41.220Z] INFO: No Stack... [2021-10-28T23:15:41.480Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-28T23:15:41.739Z] INFO: Archiving Costs [Pipeline] sh [2021-10-28T23:15:42.032Z] + cat /w/workspace/device-mqtt-go/15/archives/cost.csv [2021-10-28T23:15:42.032Z] + cut -d, -f6 [Pipeline] lock [2021-10-28T23:15:42.057Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-15-stack-cost] [2021-10-28T23:15:42.062Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-15-stack-cost] did not exist. Created. [2021-10-28T23:15:42.063Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-28T23:15:42.368Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-28T23:15:42.396Z] Stashed 1 file(s) [Pipeline] } [2021-10-28T23:15:42.403Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-15-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-28T23:15:42.414Z] $ docker stop --time=1 21a18900fd63054537d09cad2c4ec4c26c4ae96b8961deccff718de8c72c9f85 [2021-10-28T23:15:43.547Z] $ docker rm -f 21a18900fd63054537d09cad2c4ec4c26c4ae96b8961deccff718de8c72c9f85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-28T23:16:06.819Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13336 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2021-10-28T23:16:06.831Z] Running in /w/workspace/device-mqtt-go/15 [Pipeline] { [Pipeline] checkout [2021-10-28T23:16:07.041Z] Selected Git installation does not exist. Using Default [2021-10-28T23:16:07.041Z] The recommended git tool is: NONE [2021-10-28T23:16:13.956Z] using credential edgex-jenkins-ssh [2021-10-28T23:16:13.982Z] Cloning the remote Git repository [2021-10-28T23:16:14.109Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-10-28T23:16:14.226Z] > git init /w/workspace/device-mqtt-go/15 # timeout=10 [2021-10-28T23:16:14.312Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-10-28T23:16:14.313Z] > git --version # timeout=10 [2021-10-28T23:16:14.332Z] > git --version # 'git version 2.17.1' [2021-10-28T23:16:14.335Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T23:16:14.440Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T23:16:15.275Z] Avoid second fetch [2021-10-28T23:16:15.276Z] Checking out Revision c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 (main) [2021-10-28T23:16:15.233Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-10-28T23:16:15.269Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T23:16:15.311Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T23:16:15.327Z] > git checkout -f c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 # timeout=10 [2021-10-28T23:16:19.892Z] Commit message: "feat: update config file to include secrets file parameters (#310)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-28T23:16:20.826Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-28T23:16:20.826Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-28T23:16:20.826Z] Dload Upload Total Spent Left Speed [2021-10-28T23:16:20.826Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 85064 0 --:--:-- --:--:-- --:--:-- 85681 [Pipeline] sh [2021-10-28T23:16:21.300Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-28T23:16:21.660Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-28T23:16:21.660Z] + sudo tee /etc/docker/daemon.new [2021-10-28T23:16:21.660Z] { [2021-10-28T23:16:21.660Z] "registry-mirrors": [ [2021-10-28T23:16:21.660Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-28T23:16:21.660Z] ], [2021-10-28T23:16:21.660Z] "bip": "10.250.0.254/24", [2021-10-28T23:16:21.660Z] "hosts": [ [2021-10-28T23:16:21.660Z] "tcp://0.0.0.0:5555", [2021-10-28T23:16:21.660Z] "unix:///var/run/docker.sock" [2021-10-28T23:16:21.660Z] ], [2021-10-28T23:16:21.660Z] "mtu": 1458, [2021-10-28T23:16:21.660Z] "selinux-enabled": true, [2021-10-28T23:16:21.660Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-28T23:16:21.660Z] } [Pipeline] sh [2021-10-28T23:16:22.024Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-28T23:16:22.394Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:16:40.809Z] provisioning config files... [2021-10-28T23:16:40.839Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/15@tmp/config6303575209417640422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:16:41.226Z] ---> docker-login.sh [2021-10-28T23:16:41.227Z] nexus3.edgexfoundry.org:10001 [2021-10-28T23:16:42.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:16:42.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:16:42.566Z] Configure a credential helper to remove this warning. See [2021-10-28T23:16:42.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:16:42.566Z] [2021-10-28T23:16:42.566Z] Login Succeeded [2021-10-28T23:16:42.566Z] nexus3.edgexfoundry.org:10002 [2021-10-28T23:16:43.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:16:43.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:16:43.169Z] Configure a credential helper to remove this warning. See [2021-10-28T23:16:43.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:16:43.169Z] [2021-10-28T23:16:43.169Z] Login Succeeded [2021-10-28T23:16:43.169Z] nexus3.edgexfoundry.org:10003 [2021-10-28T23:16:43.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:16:43.837Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:16:43.837Z] Configure a credential helper to remove this warning. See [2021-10-28T23:16:43.837Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:16:43.837Z] [2021-10-28T23:16:43.837Z] Login Succeeded [2021-10-28T23:16:43.837Z] nexus3.edgexfoundry.org:10004 [2021-10-28T23:16:44.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:16:44.444Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:16:44.444Z] Configure a credential helper to remove this warning. See [2021-10-28T23:16:44.444Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:16:44.444Z] [2021-10-28T23:16:44.444Z] Login Succeeded [2021-10-28T23:16:44.444Z] docker.io [2021-10-28T23:16:45.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:16:45.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:16:45.654Z] Configure a credential helper to remove this warning. See [2021-10-28T23:16:45.654Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:16:45.654Z] [2021-10-28T23:16:45.654Z] Login Succeeded [2021-10-28T23:16:45.654Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T23:16:45.675Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-28T23:16:46.064Z] ========================================================= [2021-10-28T23:16:46.064Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-28T23:16:46.064Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:16:46.439Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-28T23:16:47.052Z] Sending build context to Docker daemon 682.5kB [2021-10-28T23:16:47.052Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T23:16:47.052Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-28T23:16:47.052Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-28T23:16:47.052Z] 552d1f2373af: Pulling fs layer [2021-10-28T23:16:47.052Z] ea3f2d53f512: Pulling fs layer [2021-10-28T23:16:47.052Z] 9e70ebbbe112: Pulling fs layer [2021-10-28T23:16:47.052Z] 7a9cfe048b4a: Pulling fs layer [2021-10-28T23:16:47.052Z] 72dc09318566: Pulling fs layer [2021-10-28T23:16:47.052Z] f4f7b4309257: Pulling fs layer [2021-10-28T23:16:47.052Z] 0ac9a79272e3: Pulling fs layer [2021-10-28T23:16:47.052Z] b78e95d17946: Pulling fs layer [2021-10-28T23:16:47.052Z] 7a9cfe048b4a: Waiting [2021-10-28T23:16:47.052Z] 72dc09318566: Waiting [2021-10-28T23:16:47.052Z] 0ac9a79272e3: Waiting [2021-10-28T23:16:47.052Z] 9e70ebbbe112: Verifying Checksum [2021-10-28T23:16:47.052Z] 9e70ebbbe112: Download complete [2021-10-28T23:16:47.355Z] ea3f2d53f512: Verifying Checksum [2021-10-28T23:16:47.355Z] ea3f2d53f512: Download complete [2021-10-28T23:16:47.355Z] 72dc09318566: Verifying Checksum [2021-10-28T23:16:47.355Z] 72dc09318566: Download complete [2021-10-28T23:16:47.355Z] f4f7b4309257: Verifying Checksum [2021-10-28T23:16:47.355Z] f4f7b4309257: Download complete [2021-10-28T23:16:47.355Z] 552d1f2373af: Verifying Checksum [2021-10-28T23:16:47.355Z] 552d1f2373af: Download complete [2021-10-28T23:16:47.355Z] 0ac9a79272e3: Verifying Checksum [2021-10-28T23:16:47.355Z] 0ac9a79272e3: Download complete [2021-10-28T23:16:48.372Z] 552d1f2373af: Pull complete [2021-10-28T23:16:48.996Z] ea3f2d53f512: Pull complete [2021-10-28T23:16:49.600Z] b78e95d17946: Verifying Checksum [2021-10-28T23:16:49.600Z] b78e95d17946: Download complete [2021-10-28T23:16:49.600Z] 9e70ebbbe112: Pull complete [2021-10-28T23:16:49.882Z] 7a9cfe048b4a: Verifying Checksum [2021-10-28T23:16:49.882Z] 7a9cfe048b4a: Download complete [2021-10-28T23:17:00.065Z] 7a9cfe048b4a: Pull complete [2021-10-28T23:17:00.065Z] 72dc09318566: Pull complete [2021-10-28T23:17:00.339Z] f4f7b4309257: Pull complete [2021-10-28T23:17:00.941Z] 0ac9a79272e3: Pull complete [2021-10-28T23:17:07.720Z] b78e95d17946: Pull complete [2021-10-28T23:17:07.720Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-28T23:17:07.720Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-28T23:17:07.720Z] ---> 8b459fc5aaf0 [2021-10-28T23:17:07.720Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-28T23:17:08.711Z] ---> Running in d3ef1e2ee4df [2021-10-28T23:17:08.986Z] Removing intermediate container d3ef1e2ee4df [2021-10-28T23:17:08.986Z] ---> 8090e59b624b [2021-10-28T23:17:08.986Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-28T23:17:09.263Z] ---> Running in 814d41aaf6c3 [2021-10-28T23:17:09.544Z] Removing intermediate container 814d41aaf6c3 [2021-10-28T23:17:09.544Z] ---> 948eded90242 [2021-10-28T23:17:09.544Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T23:17:09.818Z] ---> Running in bcd4feef19e4 [2021-10-28T23:17:12.464Z] Removing intermediate container bcd4feef19e4 [2021-10-28T23:17:12.464Z] ---> ea4482dd98ce [2021-10-28T23:17:12.464Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-28T23:17:12.464Z] ---> Running in 78bea60f7431 [2021-10-28T23:17:13.924Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-28T23:17:14.905Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-28T23:17:15.907Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-28T23:17:15.907Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-28T23:17:15.907Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-28T23:17:16.182Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-28T23:17:16.182Z] Executing busybox-1.33.1-r3.trigger [2021-10-28T23:17:16.459Z] OK: 223 MiB in 56 packages [2021-10-28T23:17:17.902Z] Removing intermediate container 78bea60f7431 [2021-10-28T23:17:17.902Z] ---> ee3b04066086 [2021-10-28T23:17:17.902Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-10-28T23:17:17.902Z] ---> Running in 1e0f13322f2b [2021-10-28T23:17:18.177Z] Removing intermediate container 1e0f13322f2b [2021-10-28T23:17:18.177Z] ---> e911b327b03b [2021-10-28T23:17:18.177Z] Step 8/11 : COPY . . [2021-10-28T23:17:19.183Z] ---> 6a75dca66ab5 [2021-10-28T23:17:19.183Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T23:17:19.460Z] ---> Running in d9c352894c85 [2021-10-28T23:18:41.325Z] Removing intermediate container d9c352894c85 [2021-10-28T23:18:41.325Z] ---> a5b239a7d73c [2021-10-28T23:18:41.325Z] Step 10/11 : ARG MAKE='make build' [2021-10-28T23:18:41.325Z] ---> Running in f881e9e5517e [2021-10-28T23:18:41.325Z] Removing intermediate container f881e9e5517e [2021-10-28T23:18:41.325Z] ---> 91bb1f52315b [2021-10-28T23:18:41.325Z] Step 11/11 : RUN $MAKE [2021-10-28T23:18:41.325Z] ---> Running in 252383b8edbb [2021-10-28T23:18:41.325Z] noop [2021-10-28T23:18:41.930Z] Removing intermediate container 252383b8edbb [2021-10-28T23:18:41.930Z] ---> f4838d4e4815 [2021-10-28T23:18:41.930Z] Successfully built f4838d4e4815 [2021-10-28T23:18:41.930Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:18:42.290Z] + docker inspect -f . ci-base-image-arm64 [2021-10-28T23:18:42.290Z] . [Pipeline] withDockerContainer [2021-10-28T23:18:42.578Z] prd-ubuntu18.04-docker-arm64-4c-16g-13336 does not seem to be running inside a container [2021-10-28T23:18:42.688Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/15 -v /w/workspace/device-mqtt-go/15:/w/workspace/device-mqtt-go/15:rw,z -v /w/workspace/device-mqtt-go/15@tmp:/w/workspace/device-mqtt-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-28T23:18:44.455Z] $ docker top 01cba97032a95c4fc442f0cfa79d38ed8da645b3e64de9f47b0376cbdc487cab -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T23:18:45.445Z] + go version [2021-10-28T23:18:45.445Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-28T23:18:45.477Z] $ docker stop --time=1 01cba97032a95c4fc442f0cfa79d38ed8da645b3e64de9f47b0376cbdc487cab [2021-10-28T23:18:47.402Z] $ docker rm -f 01cba97032a95c4fc442f0cfa79d38ed8da645b3e64de9f47b0376cbdc487cab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:18:48.132Z] + docker inspect -f . ci-base-image-arm64 [2021-10-28T23:18:48.132Z] . [Pipeline] withDockerContainer [2021-10-28T23:18:48.442Z] prd-ubuntu18.04-docker-arm64-4c-16g-13336 does not seem to be running inside a container [2021-10-28T23:18:48.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/15 -v /w/workspace/device-mqtt-go/15:/w/workspace/device-mqtt-go/15:rw,z -v /w/workspace/device-mqtt-go/15@tmp:/w/workspace/device-mqtt-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-28T23:18:50.371Z] $ docker top 3052ec79c15c0f39dc73655714ef04340a63593229714fb2bdb5dba6097c7aaf -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-28T23:18:51.406Z] + make test [2021-10-28T23:18:51.406Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-28T23:18:52.855Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-10-28T23:20:00.971Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-10-28T23:20:00.971Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.061s coverage: 22.4% of statements [2021-10-28T23:20:00.971Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-10-28T23:20:00.971Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-28T23:20:23.176Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-28T23:20:23.176Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-28T23:20:23.449Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-28T23:20:25.442Z] $ docker stop --time=1 3052ec79c15c0f39dc73655714ef04340a63593229714fb2bdb5dba6097c7aaf [2021-10-28T23:20:27.281Z] $ docker rm -f 3052ec79c15c0f39dc73655714ef04340a63593229714fb2bdb5dba6097c7aaf [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T23:20:28.168Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-28T23:20:28.194Z] Warning: overwriting stash ‘coverage-report’ [2021-10-28T23:20:28.740Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-28T23:20:29.191Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-28T23:20:29.525Z] + ls -al . [2021-10-28T23:20:29.525Z] total 180 [2021-10-28T23:20:29.525Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 28 23:20 . [2021-10-28T23:20:29.525Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 23:16 .. [2021-10-28T23:20:29.525Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 28 23:16 .dockerignore [2021-10-28T23:20:29.525Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 23:16 .git [2021-10-28T23:20:29.525Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 23:16 .github [2021-10-28T23:20:29.525Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 28 23:16 .gitignore [2021-10-28T23:20:29.525Z] -rw-rw-r-- 1 jenkins jenkins 7287 Oct 28 23:16 Attribution.txt [2021-10-28T23:20:29.525Z] -rw-rw-r-- 1 jenkins jenkins 7447 Oct 28 23:16 CHANGELOG.md [2021-10-28T23:20:29.525Z] -rw-rw-r-- 1 jenkins jenkins 1907 Oct 28 23:16 Dockerfile [2021-10-28T23:20:29.525Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 28 23:16 GOVERNANCE.md [2021-10-28T23:20:29.525Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 28 23:16 Jenkinsfile [2021-10-28T23:20:29.525Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 28 23:16 LICENSE [2021-10-28T23:20:29.525Z] -rw-rw-r-- 1 jenkins jenkins 1030 Oct 28 23:16 Makefile [2021-10-28T23:20:29.525Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 28 23:16 OWNERS.md [2021-10-28T23:20:29.525Z] -rw-rw-r-- 1 jenkins jenkins 2211 Oct 28 23:16 README.md [2021-10-28T23:20:29.525Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 28 23:12 VERSION [2021-10-28T23:20:29.525Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 23:16 bin [2021-10-28T23:20:29.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 23:16 cmd [2021-10-28T23:20:29.525Z] -rw-r--r-- 1 jenkins jenkins 17284 Oct 28 23:19 coverage.out [2021-10-28T23:20:29.525Z] -rw-rw-r-- 1 jenkins jenkins 388 Oct 28 23:16 go.mod [2021-10-28T23:20:29.525Z] -rw-rw-r-- 1 jenkins jenkins 50360 Oct 28 23:16 go.sum [2021-10-28T23:20:29.525Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 23:16 internal [2021-10-28T23:20:29.525Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 23:16 mock [2021-10-28T23:20:29.525Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 23:16 snap [2021-10-28T23:20:29.525Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 28 23:16 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:20:29.865Z] + 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=c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 --label arch=arm64 --label version=2.0.1-dev.13 . [2021-10-28T23:20:30.142Z] Sending build context to Docker daemon 700.4kB [2021-10-28T23:20:30.142Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T23:20:30.142Z] Step 2/23 : FROM ${BASE} AS builder [2021-10-28T23:20:30.142Z] ---> f4838d4e4815 [2021-10-28T23:20:30.142Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-28T23:20:30.413Z] ---> Running in 71916bbd5817 [2021-10-28T23:20:31.031Z] Removing intermediate container 71916bbd5817 [2021-10-28T23:20:31.031Z] ---> 7beb23a76614 [2021-10-28T23:20:31.031Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-10-28T23:20:31.031Z] ---> Running in 0dd1ec087e8c [2021-10-28T23:20:31.309Z] Removing intermediate container 0dd1ec087e8c [2021-10-28T23:20:31.309Z] ---> 56104845a3ee [2021-10-28T23:20:31.309Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T23:20:31.582Z] ---> Running in aeee50229309 [2021-10-28T23:20:33.560Z] Removing intermediate container aeee50229309 [2021-10-28T23:20:33.560Z] ---> 2f528f664d5b [2021-10-28T23:20:33.560Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-28T23:20:33.837Z] ---> Running in 019ae884ad16 [2021-10-28T23:20:34.819Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-28T23:20:36.251Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-28T23:20:37.245Z] OK: 223 MiB in 56 packages [2021-10-28T23:20:38.294Z] Removing intermediate container 019ae884ad16 [2021-10-28T23:20:38.294Z] ---> 9fb81bb27777 [2021-10-28T23:20:38.294Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-10-28T23:20:38.294Z] ---> Running in d22531d21060 [2021-10-28T23:20:38.921Z] Removing intermediate container d22531d21060 [2021-10-28T23:20:38.921Z] ---> 82cc4d97064e [2021-10-28T23:20:38.921Z] Step 8/23 : COPY . . [2021-10-28T23:20:39.920Z] ---> 6b840ba8d2ff [2021-10-28T23:20:39.920Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T23:20:40.195Z] ---> Running in 89a8b6d5f1f4 [2021-10-28T23:20:42.806Z] Removing intermediate container 89a8b6d5f1f4 [2021-10-28T23:20:42.806Z] ---> bd87d7b427f9 [2021-10-28T23:20:42.806Z] Step 10/23 : ARG MAKE='make build' [2021-10-28T23:20:42.806Z] ---> Running in 8002335d43c0 [2021-10-28T23:20:43.079Z] Removing intermediate container 8002335d43c0 [2021-10-28T23:20:43.079Z] ---> 3424cb24053d [2021-10-28T23:20:43.079Z] Step 11/23 : RUN $MAKE [2021-10-28T23:20:43.353Z] ---> Running in bddbaacffbae [2021-10-28T23:20:44.799Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.13" -o cmd/device-mqtt ./cmd [2021-10-28T23:21:31.816Z] Removing intermediate container bddbaacffbae [2021-10-28T23:21:31.816Z] ---> 659e5cd2192d [2021-10-28T23:21:31.816Z] Step 12/23 : FROM alpine:3.14 [2021-10-28T23:21:31.816Z] 3.14: Pulling from library/alpine [2021-10-28T23:21:31.816Z] 552d1f2373af: Already exists [2021-10-28T23:21:31.816Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-28T23:21:31.816Z] Status: Downloaded newer image for alpine:3.14 [2021-10-28T23:21:31.816Z] ---> bb3de5531c18 [2021-10-28T23:21:31.816Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-10-28T23:21:31.816Z] ---> Running in 9d654dc95c33 [2021-10-28T23:21:31.816Z] Removing intermediate container 9d654dc95c33 [2021-10-28T23:21:31.816Z] ---> cc3b394a6959 [2021-10-28T23:21:31.816Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-28T23:21:31.816Z] ---> Running in 8bce4b46fa93 [2021-10-28T23:21:31.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-28T23:21:31.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-28T23:21:31.816Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-28T23:21:31.816Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-28T23:21:31.816Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-28T23:21:31.816Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-28T23:21:31.816Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-28T23:21:31.816Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-28T23:21:31.816Z] Executing busybox-1.33.1-r3.trigger [2021-10-28T23:21:31.816Z] OK: 8 MiB in 20 packages [2021-10-28T23:21:31.816Z] Removing intermediate container 8bce4b46fa93 [2021-10-28T23:21:31.816Z] ---> 7c5f5baad5fa [2021-10-28T23:21:31.816Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-10-28T23:21:33.252Z] ---> 90591c07d647 [2021-10-28T23:21:33.252Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-10-28T23:21:33.849Z] ---> ecd4eb3c77de [2021-10-28T23:21:33.849Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-10-28T23:21:34.828Z] ---> ab044e3f743c [2021-10-28T23:21:34.828Z] Step 18/23 : EXPOSE 59982 [2021-10-28T23:21:34.828Z] ---> Running in 2650adc9e990 [2021-10-28T23:21:35.428Z] Removing intermediate container 2650adc9e990 [2021-10-28T23:21:35.428Z] ---> fe85b15a1eb8 [2021-10-28T23:21:35.428Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-10-28T23:21:35.428Z] ---> Running in 3c7682da5f07 [2021-10-28T23:21:36.028Z] Removing intermediate container 3c7682da5f07 [2021-10-28T23:21:36.028Z] ---> a97acb33eb3a [2021-10-28T23:21:36.028Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-28T23:21:36.028Z] ---> Running in 4ac77b349aa4 [2021-10-28T23:21:36.627Z] Removing intermediate container 4ac77b349aa4 [2021-10-28T23:21:36.627Z] ---> 77aef772fc0a [2021-10-28T23:21:36.627Z] Step 21/23 : LABEL arch=arm64 [2021-10-28T23:21:36.627Z] ---> Running in 6cbd4f728c17 [2021-10-28T23:21:37.227Z] Removing intermediate container 6cbd4f728c17 [2021-10-28T23:21:37.227Z] ---> c67baad0b8d6 [2021-10-28T23:21:37.227Z] Step 22/23 : LABEL git_sha=c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 [2021-10-28T23:21:37.505Z] ---> Running in c08156165ffa [2021-10-28T23:21:38.107Z] Removing intermediate container c08156165ffa [2021-10-28T23:21:38.107Z] ---> abf0d325aa44 [2021-10-28T23:21:38.107Z] Step 23/23 : LABEL version=2.0.1-dev.13 [2021-10-28T23:21:38.107Z] ---> Running in 9530c216aabf [2021-10-28T23:21:38.709Z] Removing intermediate container 9530c216aabf [2021-10-28T23:21:38.709Z] ---> 5ab7625148e9 [2021-10-28T23:21:38.709Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-28T23:21:38.709Z] Successfully built 5ab7625148e9 [2021-10-28T23:21:38.709Z] 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 [2021-10-28T23:21:38.863Z] provisioning config files... [2021-10-28T23:21:38.887Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/15@tmp/config9078796534086797394tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:21:39.258Z] ---> docker-login.sh [2021-10-28T23:21:39.258Z] nexus3.edgexfoundry.org:10001 [2021-10-28T23:21:39.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:21:39.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:21:39.809Z] Configure a credential helper to remove this warning. See [2021-10-28T23:21:39.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:21:39.809Z] [2021-10-28T23:21:39.809Z] Login Succeeded [2021-10-28T23:21:39.809Z] nexus3.edgexfoundry.org:10002 [2021-10-28T23:21:40.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:21:40.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:21:40.407Z] Configure a credential helper to remove this warning. See [2021-10-28T23:21:40.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:21:40.407Z] [2021-10-28T23:21:40.407Z] Login Succeeded [2021-10-28T23:21:40.680Z] nexus3.edgexfoundry.org:10003 [2021-10-28T23:21:40.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:21:41.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:21:41.234Z] Configure a credential helper to remove this warning. See [2021-10-28T23:21:41.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:21:41.234Z] [2021-10-28T23:21:41.234Z] Login Succeeded [2021-10-28T23:21:41.234Z] nexus3.edgexfoundry.org:10004 [2021-10-28T23:21:41.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:21:41.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:21:41.832Z] Configure a credential helper to remove this warning. See [2021-10-28T23:21:41.832Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:21:41.832Z] [2021-10-28T23:21:41.832Z] Login Succeeded [2021-10-28T23:21:42.107Z] docker.io [2021-10-28T23:21:42.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:21:43.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:21:43.010Z] Configure a credential helper to remove this warning. See [2021-10-28T23:21:43.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:21:43.010Z] [2021-10-28T23:21:43.010Z] Login Succeeded [2021-10-28T23:21:43.010Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T23:21:43.028Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-28T23:21:43.074Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2021-10-28T23:21:43.074Z] c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 [2021-10-28T23:21:43.074Z] latest [2021-10-28T23:21:43.074Z] 2.0.1-dev.13 [2021-10-28T23:21:43.074Z] c11b57cd0fcb2e2ae2ea0895cfda036458c19b50-2.0.1-dev.13 [2021-10-28T23:21:43.074Z] main [2021-10-28T23:21:43.074Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:21:43.437Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:21:43.787Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 [2021-10-28T23:21:43.787Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-10-28T23:21:43.787Z] 05cba937b61b: Preparing [2021-10-28T23:21:43.787Z] 2892e6e3f165: Preparing [2021-10-28T23:21:43.787Z] 0115a74dc065: Preparing [2021-10-28T23:21:43.787Z] 2d5a0c0fec40: Preparing [2021-10-28T23:21:43.787Z] ee420dfed78a: Preparing [2021-10-28T23:21:44.065Z] ee420dfed78a: Layer already exists [2021-10-28T23:21:44.065Z] 2892e6e3f165: Pushed [2021-10-28T23:21:44.065Z] 05cba937b61b: Pushed [2021-10-28T23:21:45.051Z] 2d5a0c0fec40: Pushed [2021-10-28T23:21:47.035Z] 0115a74dc065: Pushed [2021-10-28T23:21:47.308Z] c11b57cd0fcb2e2ae2ea0895cfda036458c19b50: digest: sha256:cf015b66f0e5af16c0388c7ec076604a832d661e278ece64baa9cc06fb11cca6 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:21:47.664Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:21:48.012Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-10-28T23:21:48.012Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-10-28T23:21:48.012Z] 05cba937b61b: Preparing [2021-10-28T23:21:48.012Z] 2892e6e3f165: Preparing [2021-10-28T23:21:48.012Z] 0115a74dc065: Preparing [2021-10-28T23:21:48.012Z] 2d5a0c0fec40: Preparing [2021-10-28T23:21:48.012Z] ee420dfed78a: Preparing [2021-10-28T23:21:48.289Z] 2d5a0c0fec40: Layer already exists [2021-10-28T23:21:48.289Z] 2892e6e3f165: Layer already exists [2021-10-28T23:21:48.289Z] 0115a74dc065: Layer already exists [2021-10-28T23:21:48.289Z] ee420dfed78a: Layer already exists [2021-10-28T23:21:48.289Z] 05cba937b61b: Layer already exists [2021-10-28T23:21:48.289Z] latest: digest: sha256:cf015b66f0e5af16c0388c7ec076604a832d661e278ece64baa9cc06fb11cca6 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:21:48.641Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.13 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:21:48.986Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.13 [2021-10-28T23:21:48.986Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-10-28T23:21:49.261Z] 05cba937b61b: Preparing [2021-10-28T23:21:49.261Z] 2892e6e3f165: Preparing [2021-10-28T23:21:49.261Z] 0115a74dc065: Preparing [2021-10-28T23:21:49.261Z] 2d5a0c0fec40: Preparing [2021-10-28T23:21:49.261Z] ee420dfed78a: Preparing [2021-10-28T23:21:49.261Z] 2d5a0c0fec40: Layer already exists [2021-10-28T23:21:49.261Z] ee420dfed78a: Layer already exists [2021-10-28T23:21:49.261Z] 05cba937b61b: Layer already exists [2021-10-28T23:21:49.261Z] 2892e6e3f165: Layer already exists [2021-10-28T23:21:49.261Z] 0115a74dc065: Layer already exists [2021-10-28T23:21:49.261Z] 2.0.1-dev.13: digest: sha256:cf015b66f0e5af16c0388c7ec076604a832d661e278ece64baa9cc06fb11cca6 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:21:49.619Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50-2.0.1-dev.13 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:21:49.966Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50-2.0.1-dev.13 [2021-10-28T23:21:49.966Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-10-28T23:21:49.966Z] 05cba937b61b: Preparing [2021-10-28T23:21:49.966Z] 2892e6e3f165: Preparing [2021-10-28T23:21:49.966Z] 0115a74dc065: Preparing [2021-10-28T23:21:49.966Z] 2d5a0c0fec40: Preparing [2021-10-28T23:21:49.966Z] ee420dfed78a: Preparing [2021-10-28T23:21:50.244Z] 2892e6e3f165: Layer already exists [2021-10-28T23:21:50.244Z] 2d5a0c0fec40: Layer already exists [2021-10-28T23:21:50.244Z] 05cba937b61b: Layer already exists [2021-10-28T23:21:50.244Z] 0115a74dc065: Layer already exists [2021-10-28T23:21:50.244Z] ee420dfed78a: Layer already exists [2021-10-28T23:21:50.244Z] c11b57cd0fcb2e2ae2ea0895cfda036458c19b50-2.0.1-dev.13: digest: sha256:cf015b66f0e5af16c0388c7ec076604a832d661e278ece64baa9cc06fb11cca6 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:21:50.607Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:21:50.956Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2021-10-28T23:21:50.956Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-10-28T23:21:50.956Z] 05cba937b61b: Preparing [2021-10-28T23:21:50.956Z] 2892e6e3f165: Preparing [2021-10-28T23:21:50.956Z] 0115a74dc065: Preparing [2021-10-28T23:21:50.956Z] 2d5a0c0fec40: Preparing [2021-10-28T23:21:50.956Z] ee420dfed78a: Preparing [2021-10-28T23:21:51.233Z] 2892e6e3f165: Layer already exists [2021-10-28T23:21:51.233Z] ee420dfed78a: Layer already exists [2021-10-28T23:21:51.233Z] 05cba937b61b: Layer already exists [2021-10-28T23:21:51.233Z] 2d5a0c0fec40: Layer already exists [2021-10-28T23:21:51.233Z] 0115a74dc065: Layer already exists [2021-10-28T23:21:51.233Z] main: digest: sha256:cf015b66f0e5af16c0388c7ec076604a832d661e278ece64baa9cc06fb11cca6 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-28T23:21:51.278Z] ===================================================== [Pipeline] echo [2021-10-28T23:21:51.284Z] taggedImages: [2021-10-28T23:21:51.284Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 [2021-10-28T23:21:51.284Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-10-28T23:21:51.284Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.13 [2021-10-28T23:21:51.284Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:c11b57cd0fcb2e2ae2ea0895cfda036458c19b50-2.0.1-dev.13 [2021-10-28T23:21:51.284Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:21:51.796Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T23:21:52.071Z] [2021-10-28T23:21:52.071Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:21:52.437Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T23:21:52.713Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-28T23:21:52.713Z] 448f6bf000e3: Pulling fs layer [2021-10-28T23:21:52.713Z] f757da607395: Pulling fs layer [2021-10-28T23:21:52.713Z] 05883995daec: Pulling fs layer [2021-10-28T23:21:52.713Z] 8603b9c90790: Pulling fs layer [2021-10-28T23:21:52.713Z] 1560dd03e051: Pulling fs layer [2021-10-28T23:21:52.713Z] 27f5ce0e4adf: Pulling fs layer [2021-10-28T23:21:52.713Z] c2d8d7efcc4b: Pulling fs layer [2021-10-28T23:21:52.713Z] 1560dd03e051: Waiting [2021-10-28T23:21:52.713Z] 27f5ce0e4adf: Waiting [2021-10-28T23:21:52.713Z] c2d8d7efcc4b: Waiting [2021-10-28T23:21:52.713Z] 8603b9c90790: Waiting [2021-10-28T23:21:52.713Z] f757da607395: Verifying Checksum [2021-10-28T23:21:52.713Z] f757da607395: Download complete [2021-10-28T23:21:52.713Z] 8603b9c90790: Verifying Checksum [2021-10-28T23:21:52.713Z] 8603b9c90790: Download complete [2021-10-28T23:21:52.989Z] 1560dd03e051: Verifying Checksum [2021-10-28T23:21:52.989Z] 1560dd03e051: Download complete [2021-10-28T23:21:52.989Z] 27f5ce0e4adf: Verifying Checksum [2021-10-28T23:21:52.989Z] 27f5ce0e4adf: Download complete [2021-10-28T23:21:52.989Z] 05883995daec: Verifying Checksum [2021-10-28T23:21:52.989Z] 05883995daec: Download complete [2021-10-28T23:21:53.269Z] 448f6bf000e3: Verifying Checksum [2021-10-28T23:21:53.269Z] 448f6bf000e3: Download complete [2021-10-28T23:21:56.674Z] c2d8d7efcc4b: Verifying Checksum [2021-10-28T23:21:56.674Z] c2d8d7efcc4b: Download complete [2021-10-28T23:21:57.665Z] 448f6bf000e3: Pull complete [2021-10-28T23:21:58.267Z] f757da607395: Pull complete [2021-10-28T23:21:59.739Z] 05883995daec: Pull complete [2021-10-28T23:22:00.340Z] 8603b9c90790: Pull complete [2021-10-28T23:22:01.326Z] 1560dd03e051: Pull complete [2021-10-28T23:22:01.924Z] 27f5ce0e4adf: Pull complete [2021-10-28T23:22:20.315Z] c2d8d7efcc4b: Pull complete [2021-10-28T23:22:20.315Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-28T23:22:20.315Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T23:22:20.315Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-28T23:22:20.596Z] prd-ubuntu18.04-docker-arm64-4c-16g-13336 does not seem to be running inside a container [2021-10-28T23:22:20.711Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/15 -v /w/workspace/device-mqtt-go/15:/w/workspace/device-mqtt-go/15:rw,z -v /w/workspace/device-mqtt-go/15@tmp:/w/workspace/device-mqtt-go/15@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-28T23:22:24.315Z] $ docker top d1606ddeaf025baf0e8cd916f84a1b1c61fd5e031194d4e8ce76403bb1df9aba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:22:25.326Z] ---> job-cost.sh [2021-10-28T23:22:25.326Z] lf-activate-venv: SKIPPING [2021-10-28T23:22:25.326Z] INFO: No Stack... [2021-10-28T23:22:25.603Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-28T23:22:26.199Z] INFO: Archiving Costs [Pipeline] sh [2021-10-28T23:22:26.867Z] + cat /w/workspace/device-mqtt-go/15/archives/cost.csv [2021-10-28T23:22:26.867Z] + cut -d, -f6 [Pipeline] lock [2021-10-28T23:22:26.937Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-15-stack-cost] [2021-10-28T23:22:26.944Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-15-stack-cost] did not exist. Created. [2021-10-28T23:22:26.944Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-15-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-28T23:22:27.635Z] /w/workspace/device-mqtt-go/15@tmp/durable-a19d77c2/script.sh: 1: /w/workspace/device-mqtt-go/15@tmp/durable-a19d77c2/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-28T23:22:28.324Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-28T23:22:28.352Z] Warning: overwriting stash ‘stack-cost’ [2021-10-28T23:22:28.414Z] Stashed 1 file(s) [Pipeline] } [2021-10-28T23:22:28.435Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-15-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-28T23:22:28.461Z] $ docker stop --time=1 d1606ddeaf025baf0e8cd916f84a1b1c61fd5e031194d4e8ce76403bb1df9aba [2021-10-28T23:22:30.170Z] $ docker rm -f d1606ddeaf025baf0e8cd916f84a1b1c61fd5e031194d4e8ce76403bb1df9aba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [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 [2021-10-28T23:22:31.028Z] provisioning config files... [2021-10-28T23:22:31.037Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5387611595387761273tmp [Pipeline] { [Pipeline] sh [2021-10-28T23:22:31.346Z] + set +x [2021-10-28T23:22:31.346Z] + bash -s -- [2021-10-28T23:22:31.346Z] + curl -s https://codecov.io/bash [2021-10-28T23:22:31.346Z] [2021-10-28T23:22:31.346Z] _____ _ [2021-10-28T23:22:31.346Z] / ____| | | [2021-10-28T23:22:31.346Z] | | ___ __| | ___ ___ _____ __ [2021-10-28T23:22:31.346Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-28T23:22:31.346Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-28T23:22:31.346Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-28T23:22:31.346Z] Bash-1.0.6 [2021-10-28T23:22:31.346Z] [2021-10-28T23:22:31.346Z] [2021-10-28T23:22:31.346Z] ==> git version 2.24.4 found [2021-10-28T23:22:31.346Z] ==> 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 [2021-10-28T23:22:31.346Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-28T23:22:31.346Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-28T23:22:31.346Z] ==> Jenkins CI detected. [2021-10-28T23:22:31.346Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2021-10-28T23:22:31.346Z] project root: . [2021-10-28T23:22:31.346Z] --> token set from env [2021-10-28T23:22:31.346Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-28T23:22:31.612Z] ==> Running gcov in . (disable via -X gcov) [2021-10-28T23:22:31.612Z] ==> Python coveragepy not found [2021-10-28T23:22:31.612Z] ==> Searching for coverage reports in: [2021-10-28T23:22:31.612Z] + . [2021-10-28T23:22:31.612Z] -> Found 1 reports [2021-10-28T23:22:31.612Z] ==> Detecting git/mercurial file structure [2021-10-28T23:22:31.612Z] ==> Reading reports [2021-10-28T23:22:31.612Z] + ./coverage.out bytes=17284 [2021-10-28T23:22:31.612Z] ==> Appending adjustments [2021-10-28T23:22:31.612Z] https://docs.codecov.io/docs/fixing-reports [2021-10-28T23:22:31.612Z] + Found adjustments [2021-10-28T23:22:31.612Z] ==> Gzipping contents [2021-10-28T23:22:31.612Z] 4.0K /tmp/codecov.o9NvdD.gz [2021-10-28T23:22:31.612Z] ==> Uploading reports [2021-10-28T23:22:31.612Z] url: https://codecov.io [2021-10-28T23:22:31.612Z] query: branch=main&commit=c11b57cd0fcb2e2ae2ea0895cfda036458c19b50&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-28T23:22:31.612Z] -> Pinging Codecov [2021-10-28T23:22:31.612Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=main&commit=c11b57cd0fcb2e2ae2ea0895cfda036458c19b50&build=15&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F15%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-28T23:22:31.873Z] -> Uploading to [2021-10-28T23:22:31.873Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-28/7D719EC7BBE17E464838252E33014C33/c11b57cd0fcb2e2ae2ea0895cfda036458c19b50/ef67a8fe-4236-4797-aae5-83da4fc5a54c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211028%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211028T232231Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f3a04ddddd0e491a34e074e9fabeee9485b5b75a2f3ee33f98148c8d88c0d3b5 [2021-10-28T23:22:31.873Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-28T23:22:31.873Z] Dload Upload Total Spent Left Speed [2021-10-28T23:22:32.135Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3181 0 0 100 3181 0 10688 --:--:-- --:--:-- --:--:-- 10710 [2021-10-28T23:22:32.396Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 [Pipeline] } [2021-10-28T23:22:32.403Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-28T23:22:32.683Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-28T23:22:32.691Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:22:32.990Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-28T23:22:32.990Z] [2021-10-28T23:22:32.990Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:22:33.299Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-28T23:22:33.299Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-28T23:22:33.299Z] 188c0c94c7c5: Pulling fs layer [2021-10-28T23:22:33.299Z] 0ef7d3d256c8: Pulling fs layer [2021-10-28T23:22:33.299Z] de9db76c5a1d: Pulling fs layer [2021-10-28T23:22:33.299Z] 0eba1c9be4d2: Pulling fs layer [2021-10-28T23:22:33.299Z] 0d57e429df01: Pulling fs layer [2021-10-28T23:22:33.299Z] 4e4be7b47b0d: Pulling fs layer [2021-10-28T23:22:33.299Z] e1f770b5df2f: Pulling fs layer [2021-10-28T23:22:33.299Z] 85a0685a4137: Pulling fs layer [2021-10-28T23:22:33.299Z] 0eba1c9be4d2: Waiting [2021-10-28T23:22:33.299Z] 0d57e429df01: Waiting [2021-10-28T23:22:33.299Z] 4e4be7b47b0d: Waiting [2021-10-28T23:22:33.299Z] e1f770b5df2f: Waiting [2021-10-28T23:22:33.299Z] 85a0685a4137: Waiting [2021-10-28T23:22:33.299Z] de9db76c5a1d: Verifying Checksum [2021-10-28T23:22:33.299Z] de9db76c5a1d: Download complete [2021-10-28T23:22:33.299Z] 0ef7d3d256c8: Verifying Checksum [2021-10-28T23:22:33.299Z] 0ef7d3d256c8: Download complete [2021-10-28T23:22:33.299Z] 0d57e429df01: Verifying Checksum [2021-10-28T23:22:33.299Z] 0d57e429df01: Download complete [2021-10-28T23:22:33.299Z] 4e4be7b47b0d: Verifying Checksum [2021-10-28T23:22:33.299Z] 4e4be7b47b0d: Download complete [2021-10-28T23:22:33.299Z] 188c0c94c7c5: Verifying Checksum [2021-10-28T23:22:33.299Z] 188c0c94c7c5: Download complete [2021-10-28T23:22:33.568Z] e1f770b5df2f: Verifying Checksum [2021-10-28T23:22:33.568Z] e1f770b5df2f: Download complete [2021-10-28T23:22:33.568Z] 188c0c94c7c5: Pull complete [2021-10-28T23:22:33.836Z] 0ef7d3d256c8: Pull complete [2021-10-28T23:22:33.836Z] de9db76c5a1d: Pull complete [2021-10-28T23:22:34.118Z] 0eba1c9be4d2: Verifying Checksum [2021-10-28T23:22:34.118Z] 0eba1c9be4d2: Download complete [2021-10-28T23:22:34.381Z] 85a0685a4137: Verifying Checksum [2021-10-28T23:22:34.381Z] 85a0685a4137: Download complete [2021-10-28T23:22:37.705Z] 0eba1c9be4d2: Pull complete [2021-10-28T23:22:37.705Z] 0d57e429df01: Pull complete [2021-10-28T23:22:37.705Z] 4e4be7b47b0d: Pull complete [2021-10-28T23:22:38.284Z] e1f770b5df2f: Pull complete [2021-10-28T23:22:42.513Z] 85a0685a4137: Pull complete [2021-10-28T23:22:42.513Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-28T23:22:42.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-28T23:22:42.513Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-28T23:22:42.582Z] prd-centos7-docker-4c-2g-13331 does not seem to be running inside a container [2021-10-28T23:22:42.624Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-10-28T23:22:44.720Z] $ docker top e8382e4f2637e3c586182b1a4b80f1546ffd0b6197cc30481a63c4e379475d61 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-28T23:22:44.786Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-28T23:22:45.094Z] + set -o pipefail [2021-10-28T23:22:45.094Z] + snyk monitor '--org=edgex-jenkins' [2021-10-28T23:22:50.397Z] [2021-10-28T23:22:50.397Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2021-10-28T23:22:50.397Z] [2021-10-28T23:22:50.397Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/e2f3aef3-5fbe-4384-b1ff-a5632ebd51d2 [2021-10-28T23:22:50.397Z] [2021-10-28T23:22:50.397Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-10-28T23:22:50.397Z] [2021-10-28T23:22:50.397Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-10-28T23:22:50.397Z] [2021-10-28T23:22:50.656Z] [Pipeline] } [2021-10-28T23:22:50.668Z] $ docker stop --time=1 e8382e4f2637e3c586182b1a4b80f1546ffd0b6197cc30481a63c4e379475d61 [2021-10-28T23:22:52.395Z] $ docker rm -f e8382e4f2637e3c586182b1a4b80f1546ffd0b6197cc30481a63c4e379475d61 [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 [2021-10-28T23:22:53.242Z] + git log --format=format:%s -1 c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:22:53.542Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T23:22:53.542Z] . [Pipeline] withDockerContainer [2021-10-28T23:22:53.608Z] prd-centos7-docker-4c-2g-13331 does not seem to be running inside a container [2021-10-28T23:22:53.644Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-28T23:22:54.029Z] $ docker top 0aef180f497bfbdc1f58ca443b3c1097e466c80755a5681036210b7ff75b8837 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T23:22:54.115Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T23:22:54.115Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T23:22:54.230Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T23:22:54.232Z] $ docker exec 0aef180f497bfbdc1f58ca443b3c1097e466c80755a5681036210b7ff75b8837 ssh-agent [2021-10-28T23:22:54.351Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLGgbLj/agent.13 [2021-10-28T23:22:54.351Z] SSH_AGENT_PID=20 [2021-10-28T23:22:54.356Z] Running ssh-add (command line suppressed) [2021-10-28T23:22:54.465Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2590049869800146583.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2590049869800146583.key) [2021-10-28T23:22:54.477Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T23:22:54.770Z] + git semver tag [2021-10-28T23:22:54.770Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T23:22:54.770Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-10-28T23:22:54.770Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-10-28T23:22:54.770Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T23:22:54.770Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T23:22:54.770Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T23:22:54.770Z] # $SEMVER_BRANCH = main [2021-10-28T23:22:54.770Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2021-10-28T23:22:54.770Z] # c11b57cd0fcb2e2ae2ea0895cfda036458c19b50 HEAD [2021-10-28T23:22:54.770Z] # -> Force: false [2021-10-28T23:22:54.770Z] # b59f0ec731b5da683903c0fb399cf31527fb5dda refs/tags/v2.0.1-dev.13 [Pipeline] } [2021-10-28T23:22:54.779Z] $ docker exec --env ******** --env ******** 0aef180f497bfbdc1f58ca443b3c1097e466c80755a5681036210b7ff75b8837 ssh-agent -k [2021-10-28T23:22:54.876Z] unset SSH_AUTH_SOCK; [2021-10-28T23:22:54.876Z] unset SSH_AGENT_PID; [2021-10-28T23:22:54.876Z] echo Agent pid 20 killed; [2021-10-28T23:22:54.884Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T23:22:55.183Z] + git semver [Pipeline] } [2021-10-28T23:22:55.196Z] $ docker stop --time=1 0aef180f497bfbdc1f58ca443b3c1097e466c80755a5681036210b7ff75b8837 [2021-10-28T23:22:56.360Z] $ docker rm -f 0aef180f497bfbdc1f58ca443b3c1097e466c80755a5681036210b7ff75b8837 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:22:56.767Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-28T23:22:56.767Z] [2021-10-28T23:22:56.767Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:22:57.067Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-28T23:22:57.067Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-28T23:22:57.067Z] ab5ef0e58194: Pulling fs layer [2021-10-28T23:22:57.067Z] 9712f1f96733: Pulling fs layer [2021-10-28T23:22:57.067Z] 63f879dbbcfc: Pulling fs layer [2021-10-28T23:22:57.067Z] 0d9ebad4ef96: Pulling fs layer [2021-10-28T23:22:57.067Z] e9a5061849ea: Pulling fs layer [2021-10-28T23:22:57.067Z] d747dcd14b5f: Pulling fs layer [2021-10-28T23:22:57.067Z] 2de7ff778b66: Pulling fs layer [2021-10-28T23:22:57.067Z] e9a5061849ea: Waiting [2021-10-28T23:22:57.067Z] d747dcd14b5f: Waiting [2021-10-28T23:22:57.067Z] 2de7ff778b66: Waiting [2021-10-28T23:22:57.067Z] 0d9ebad4ef96: Waiting [2021-10-28T23:22:57.067Z] 9712f1f96733: Download complete [2021-10-28T23:22:57.652Z] 63f879dbbcfc: Verifying Checksum [2021-10-28T23:22:57.652Z] 63f879dbbcfc: Download complete [2021-10-28T23:22:57.652Z] ab5ef0e58194: Verifying Checksum [2021-10-28T23:22:57.652Z] ab5ef0e58194: Download complete [2021-10-28T23:22:57.652Z] d747dcd14b5f: Verifying Checksum [2021-10-28T23:22:57.652Z] d747dcd14b5f: Download complete [2021-10-28T23:22:57.652Z] 0d9ebad4ef96: Verifying Checksum [2021-10-28T23:22:57.652Z] 0d9ebad4ef96: Download complete [2021-10-28T23:22:57.652Z] e9a5061849ea: Verifying Checksum [2021-10-28T23:22:57.652Z] e9a5061849ea: Download complete [2021-10-28T23:22:57.916Z] 2de7ff778b66: Verifying Checksum [2021-10-28T23:22:57.916Z] 2de7ff778b66: Download complete [2021-10-28T23:23:00.457Z] ab5ef0e58194: Pull complete [2021-10-28T23:23:00.457Z] 9712f1f96733: Pull complete [2021-10-28T23:23:01.406Z] 63f879dbbcfc: Pull complete [2021-10-28T23:23:05.645Z] 0d9ebad4ef96: Pull complete [2021-10-28T23:23:05.645Z] e9a5061849ea: Pull complete [2021-10-28T23:23:05.645Z] d747dcd14b5f: Pull complete [2021-10-28T23:23:06.586Z] 2de7ff778b66: Pull complete [2021-10-28T23:23:06.586Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-28T23:23:06.586Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-28T23:23:06.586Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-28T23:23:06.661Z] prd-centos7-docker-4c-2g-13331 does not seem to be running inside a container [2021-10-28T23:23:06.693Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-10-28T23:23:09.778Z] $ docker top b4eb70d9dba06d2b978fa9becd316a0d776f47653e0af062320a7a10f4a8424b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:23:09.857Z] provisioning config files... [2021-10-28T23:23:09.866Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7016156005881311007tmp [2021-10-28T23:23:09.880Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6224313174315697828tmp [2021-10-28T23:23:09.897Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1793890370624747734tmp [Pipeline] { [Pipeline] echo [2021-10-28T23:23:09.909Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:23:10.211Z] ---> sigul-configuration.sh [2021-10-28T23:23:10.211Z] gpg: directory `/root/.gnupg' created [2021-10-28T23:23:10.211Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-28T23:23:10.211Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-28T23:23:10.211Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-28T23:23:10.211Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-28T23:23:10.211Z] gpg: CAST5 encrypted data [2021-10-28T23:23:10.211Z] gpg: encrypted with 1 passphrase [2021-10-28T23:23:10.211Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-28T23:23:10.510Z] + mkdir /home/jenkins [2021-10-28T23:23:10.510Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-28T23:23:10.799Z] + 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 [2021-10-28T23:23:10.808Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:23:11.094Z] ---> sigul-install.sh [2021-10-28T23:23:11.094Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-28T23:23:11.393Z] + git tag --list [2021-10-28T23:23:11.393Z] 0.7.1 [2021-10-28T23:23:11.393Z] v1.0.0 [2021-10-28T23:23:11.393Z] v1.1.0 [2021-10-28T23:23:11.393Z] v1.1.1 [2021-10-28T23:23:11.393Z] v1.2.2 [2021-10-28T23:23:11.393Z] v1.3.0 [2021-10-28T23:23:11.393Z] v1.3.1 [2021-10-28T23:23:11.393Z] v2.0.0 [2021-10-28T23:23:11.393Z] v2.0.1-dev.1 [2021-10-28T23:23:11.393Z] v2.0.1-dev.10 [2021-10-28T23:23:11.393Z] v2.0.1-dev.11 [2021-10-28T23:23:11.393Z] v2.0.1-dev.12 [2021-10-28T23:23:11.393Z] v2.0.1-dev.13 [2021-10-28T23:23:11.393Z] v2.0.1-dev.2 [2021-10-28T23:23:11.393Z] v2.0.1-dev.3 [2021-10-28T23:23:11.393Z] v2.0.1-dev.4 [2021-10-28T23:23:11.393Z] v2.0.1-dev.5 [2021-10-28T23:23:11.393Z] v2.0.1-dev.6 [2021-10-28T23:23:11.393Z] v2.0.1-dev.7 [2021-10-28T23:23:11.393Z] v2.0.1-dev.8 [2021-10-28T23:23:11.393Z] v2.0.1-dev.9 [Pipeline] sh [2021-10-28T23:23:11.697Z] + lftools sign git-tag v2.0.1-dev.13 [2021-10-28T23:23:12.270Z] Signing Git tag with Sigul... [2021-10-28T23:23:12.270Z] Signing v2.0.1-dev.13 [Pipeline] echo [2021-10-28T23:23:13.237Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:23:13.524Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-28T23:23:13.531Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-28T23:23:13.548Z] $ docker stop --time=1 b4eb70d9dba06d2b978fa9becd316a0d776f47653e0af062320a7a10f4a8424b [2021-10-28T23:23:14.734Z] $ docker rm -f b4eb70d9dba06d2b978fa9becd316a0d776f47653e0af062320a7a10f4a8424b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:23:15.263Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T23:23:15.263Z] . [Pipeline] withDockerContainer [2021-10-28T23:23:15.324Z] prd-centos7-docker-4c-2g-13331 does not seem to be running inside a container [2021-10-28T23:23:15.359Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-28T23:23:15.694Z] $ docker top 10f4807ae602dd94b92c83cde16b1a9223b44cf1fa55b6d7139e31c03cb4dbf5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T23:23:15.775Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T23:23:15.775Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T23:23:15.879Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T23:23:15.882Z] $ docker exec 10f4807ae602dd94b92c83cde16b1a9223b44cf1fa55b6d7139e31c03cb4dbf5 ssh-agent [2021-10-28T23:23:15.977Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLOHefB/agent.14 [2021-10-28T23:23:15.977Z] SSH_AGENT_PID=20 [2021-10-28T23:23:15.983Z] Running ssh-add (command line suppressed) [2021-10-28T23:23:16.073Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2007694973879319466.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2007694973879319466.key) [2021-10-28T23:23:16.087Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T23:23:16.385Z] + git semver bump pre [2021-10-28T23:23:16.385Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T23:23:16.385Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-10-28T23:23:16.385Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-10-28T23:23:16.385Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T23:23:16.385Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T23:23:16.385Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T23:23:16.385Z] # $SEMVER_BRANCH = main [2021-10-28T23:23:16.385Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2021-10-28T23:23:16.385Z] 2.0.1-dev.14 [Pipeline] } [2021-10-28T23:23:16.397Z] $ docker exec --env ******** --env ******** 10f4807ae602dd94b92c83cde16b1a9223b44cf1fa55b6d7139e31c03cb4dbf5 ssh-agent -k [2021-10-28T23:23:16.487Z] unset SSH_AUTH_SOCK; [2021-10-28T23:23:16.487Z] unset SSH_AGENT_PID; [2021-10-28T23:23:16.487Z] echo Agent pid 20 killed; [2021-10-28T23:23:16.497Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T23:23:16.801Z] + git semver [Pipeline] } [2021-10-28T23:23:16.813Z] $ docker stop --time=1 10f4807ae602dd94b92c83cde16b1a9223b44cf1fa55b6d7139e31c03cb4dbf5 [2021-10-28T23:23:17.989Z] $ docker rm -f 10f4807ae602dd94b92c83cde16b1a9223b44cf1fa55b6d7139e31c03cb4dbf5 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:23:18.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T23:23:18.334Z] . [Pipeline] withDockerContainer [2021-10-28T23:23:18.440Z] prd-centos7-docker-4c-2g-13331 does not seem to be running inside a container [2021-10-28T23:23:18.601Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-28T23:23:18.954Z] $ docker top 7bb9e8b04a6aa6b8310a2a47b097053c2d34d5af6eccbabfafee6a9a47bde81f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T23:23:19.036Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T23:23:19.036Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T23:23:19.127Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T23:23:19.130Z] $ docker exec 7bb9e8b04a6aa6b8310a2a47b097053c2d34d5af6eccbabfafee6a9a47bde81f ssh-agent [2021-10-28T23:23:19.235Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGAkJPn/agent.14 [2021-10-28T23:23:19.235Z] SSH_AGENT_PID=21 [2021-10-28T23:23:19.241Z] Running ssh-add (command line suppressed) [2021-10-28T23:23:19.322Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6049879510319381283.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6049879510319381283.key) [2021-10-28T23:23:19.334Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T23:23:19.619Z] + git semver push [2021-10-28T23:23:19.619Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T23:23:19.619Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-10-28T23:23:19.619Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-10-28T23:23:19.619Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T23:23:19.619Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T23:23:19.619Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T23:23:19.619Z] # $SEMVER_BRANCH = main [2021-10-28T23:23:19.619Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2021-10-28T23:23:21.009Z] $ docker exec --env ******** --env ******** 7bb9e8b04a6aa6b8310a2a47b097053c2d34d5af6eccbabfafee6a9a47bde81f ssh-agent -k [2021-10-28T23:23:21.101Z] unset SSH_AUTH_SOCK; [2021-10-28T23:23:21.101Z] unset SSH_AGENT_PID; [2021-10-28T23:23:21.102Z] echo Agent pid 21 killed; [2021-10-28T23:23:21.109Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T23:23:21.416Z] + git semver [Pipeline] } [2021-10-28T23:23:21.435Z] $ docker stop --time=1 7bb9e8b04a6aa6b8310a2a47b097053c2d34d5af6eccbabfafee6a9a47bde81f [2021-10-28T23:23:22.625Z] $ docker rm -f 7bb9e8b04a6aa6b8310a2a47b097053c2d34d5af6eccbabfafee6a9a47bde81f [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] sh [2021-10-28T23:23:23.522Z] + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:23:23.817Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:23:24.369Z] ---> package-listing.sh [2021-10-28T23:23:24.369Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-28T23:23:24.369Z] ++ facter osfamily [2021-10-28T23:23:24.630Z] + OS_FAMILY=redhat [2021-10-28T23:23:24.630Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2021-10-28T23:23:24.630Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-28T23:23:24.630Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-28T23:23:24.630Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-28T23:23:24.630Z] + PACKAGES=/tmp/packages_start.txt [2021-10-28T23:23:24.630Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2021-10-28T23:23:24.630Z] + PACKAGES=/tmp/packages_end.txt [2021-10-28T23:23:24.630Z] + case "${OS_FAMILY}" in [2021-10-28T23:23:24.630Z] + sort [2021-10-28T23:23:24.630Z] + rpm -qa [2021-10-28T23:23:25.200Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-28T23:23:25.200Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-28T23:23:25.200Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-28T23:23:25.200Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2021-10-28T23:23:25.200Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2021-10-28T23:23:25.200Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2021-10-28T23:23:25.210Z] 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 [2021-10-28T23:23:25.496Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:23:26.051Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:23:26.051Z] [2021-10-28T23:23:26.051Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:23:26.354Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:23:26.354Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-28T23:23:26.354Z] b4d181a07f80: Pulling fs layer [2021-10-28T23:23:26.354Z] a1111a8f2ec3: Pulling fs layer [2021-10-28T23:23:26.354Z] ed53099fbce6: Pulling fs layer [2021-10-28T23:23:26.354Z] dc539afda2c1: Pulling fs layer [2021-10-28T23:23:26.354Z] 77bc0d833cb6: Pulling fs layer [2021-10-28T23:23:26.354Z] 9065ff56babe: Pulling fs layer [2021-10-28T23:23:26.354Z] d287ab97295c: Pulling fs layer [2021-10-28T23:23:26.354Z] dc539afda2c1: Waiting [2021-10-28T23:23:26.354Z] 77bc0d833cb6: Waiting [2021-10-28T23:23:26.354Z] 9065ff56babe: Waiting [2021-10-28T23:23:26.354Z] d287ab97295c: Waiting [2021-10-28T23:23:26.354Z] a1111a8f2ec3: Verifying Checksum [2021-10-28T23:23:26.354Z] a1111a8f2ec3: Download complete [2021-10-28T23:23:26.354Z] dc539afda2c1: Verifying Checksum [2021-10-28T23:23:26.354Z] dc539afda2c1: Download complete [2021-10-28T23:23:26.627Z] 77bc0d833cb6: Verifying Checksum [2021-10-28T23:23:26.627Z] 77bc0d833cb6: Download complete [2021-10-28T23:23:26.627Z] ed53099fbce6: Verifying Checksum [2021-10-28T23:23:26.627Z] ed53099fbce6: Download complete [2021-10-28T23:23:26.627Z] 9065ff56babe: Verifying Checksum [2021-10-28T23:23:26.627Z] 9065ff56babe: Download complete [2021-10-28T23:23:26.627Z] b4d181a07f80: Verifying Checksum [2021-10-28T23:23:26.627Z] b4d181a07f80: Download complete [2021-10-28T23:23:27.210Z] d287ab97295c: Verifying Checksum [2021-10-28T23:23:27.210Z] d287ab97295c: Download complete [2021-10-28T23:23:28.156Z] b4d181a07f80: Pull complete [2021-10-28T23:23:28.156Z] a1111a8f2ec3: Pull complete [2021-10-28T23:23:28.416Z] ed53099fbce6: Pull complete [2021-10-28T23:23:28.675Z] dc539afda2c1: Pull complete [2021-10-28T23:23:28.940Z] 77bc0d833cb6: Pull complete [2021-10-28T23:23:28.940Z] 9065ff56babe: Pull complete [2021-10-28T23:23:34.289Z] d287ab97295c: Pull complete [2021-10-28T23:23:34.289Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-28T23:23:34.289Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:23:34.289Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-28T23:23:34.351Z] prd-centos7-docker-4c-2g-13331 does not seem to be running inside a container [2021-10-28T23:23:34.388Z] $ 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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-28T23:23:36.650Z] $ docker top c91f15b33848c3ddb28886aaabb007d19c704d23025008e405952bfdda786b39 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T23:23:37.004Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-28T23:23:37.299Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-28T23:23:37.593Z] + ls /var/log/sa-host [2021-10-28T23:23:37.593Z] + sadf -c /var/log/sa-host/sa28 [2021-10-28T23:23:37.593Z] file_magic: OK [2021-10-28T23:23:37.593Z] HZ: Using current value: 100 [2021-10-28T23:23:37.593Z] file_header: OK [2021-10-28T23:23:37.593Z] 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 [2021-10-28T23:23:37.593Z] Statistics: [2021-10-28T23:23:37.593Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-28T23:23:37.593Z] File successfully converted to sysstat format version 12.0.3 [2021-10-28T23:23:37.593Z] + sadf -c /var/log/sa-host/sa30 [2021-10-28T23:23:37.593Z] file_magic: OK [2021-10-28T23:23:37.593Z] HZ: Using current value: 100 [2021-10-28T23:23:37.593Z] file_header: OK [2021-10-28T23:23:37.593Z] 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 [2021-10-28T23:23:37.593Z] Statistics: [2021-10-28T23:23:37.593Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-28T23:23:37.593Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:23:37.672Z] provisioning config files... [2021-10-28T23:23:37.680Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2055139554982528006tmp [Pipeline] { [Pipeline] echo [2021-10-28T23:23:37.690Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:23:37.982Z] ---> create-netrc.sh [Pipeline] } [2021-10-28T23:23:37.989Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:23:38.319Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-28T23:23:38.327Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:23:38.616Z] ---> sudo-logs.sh [2021-10-28T23:23:38.616Z] Archiving 'sudo' log.. [2021-10-28T23:23:38.616Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13331.novalocal: Name or service not known [2021-10-28T23:23:38.616Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13331.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-28T23:23:38.638Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:23:38.922Z] ---> job-cost.sh [2021-10-28T23:23:38.922Z] lf-activate-venv: SKIPPING [2021-10-28T23:23:38.922Z] DEBUG: total: 0.10999999940395355 [2021-10-28T23:23:38.922Z] INFO: Retrieving Stack Cost... [2021-10-28T23:23:39.182Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-28T23:23:39.749Z] INFO: Archiving Costs [Pipeline] echo [2021-10-28T23:23:39.758Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:23:40.041Z] ---> logs-deploy.sh [2021-10-28T23:23:40.041Z] lf-activate-venv: SKIPPING [2021-10-28T23:23:40.041Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/15 [2021-10-28T23:23:40.041Z] INFO: archiving workspace using pattern(s): [2021-10-28T23:23:40.613Z] Archives upload complete. [2021-10-28T23:23:40.873Z] INFO: archiving logs to Nexus