Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 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-ssh8631864067223336801.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-ssh4906668075020216609.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-ssh7917589062678694534.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-ssh5343687730732419664.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-ssh3680887676357635565.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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-1374 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-ssh3035769215673982431.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 d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 (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 d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 # timeout=10 Commit message: "Merge pull request #307 from siggiskulason/snap-fix-version" > git rev-list --no-walk 2edd794ead44ee1cbb795ccb8ebf3dc377aa3945 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-14T08:33:33.355Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-14T08:33:33.386Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-14T08:33:33.399Z] ========================================================= [2021-10-14T08:33:33.399Z] EdgeX Global Pipelines Version Info [2021-10-14T08:33:33.399Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:33:34.521Z] ------------------- [2021-10-14T08:33:34.521Z] stable info: [2021-10-14T08:33:34.521Z] ------------------- [2021-10-14T08:33:34.521Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-14T08:33:34.521Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T08:33:34.521Z] Message: update stable to v1.0.210 [2021-10-14T08:33:35.102Z] ------------------- [2021-10-14T08:33:35.102Z] experimental info: [2021-10-14T08:33:35.102Z] ------------------- [2021-10-14T08:33:35.102Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-14T08:33:35.102Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-14T08:33:35.102Z] Message: update experimental to v1.0.210 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-14T08:33:35.172Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-10-14T08:33:35.181Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-10-14T08:33:35.191Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-14T08:33:35.200Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-14T08:33:35.211Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-14T08:33:35.221Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-14T08:33:35.230Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-14T08:33:35.240Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-14T08:33:35.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-14T08:33:35.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-14T08:33:35.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-14T08:33:35.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-10-14T08:33:35.286Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-14T08:33:35.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-14T08:33:35.304Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-14T08:33:35.314Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-14T08:33:35.323Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T08:33:35.333Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-14T08:33:35.345Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-14T08:33:35.355Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-10-14T08:33:35.365Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-14T08:33:35.375Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-14T08:33:35.384Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-14T08:33:35.396Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-14T08:33:35.406Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-14T08:33:35.415Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-14T08:33:35.425Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-10-14T08:33:35.435Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-10-14T08:33:35.445Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-10-14T08:33:35.457Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 [Pipeline] echo [2021-10-14T08:33:35.466Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d9b9f86 [Pipeline] echo [2021-10-14T08:33:35.477Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:33:35.513Z] provisioning config files... [2021-10-14T08:33:35.534Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8865305586395101339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:33:35.845Z] ---> docker-login.sh [2021-10-14T08:33:35.845Z] nexus3.edgexfoundry.org:10001 [2021-10-14T08:33:35.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:33:35.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:33:35.845Z] Configure a credential helper to remove this warning. See [2021-10-14T08:33:35.845Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:33:35.845Z] [2021-10-14T08:33:35.845Z] Login Succeeded [2021-10-14T08:33:35.845Z] nexus3.edgexfoundry.org:10002 [2021-10-14T08:33:36.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:33:36.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:33:36.107Z] Configure a credential helper to remove this warning. See [2021-10-14T08:33:36.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:33:36.107Z] [2021-10-14T08:33:36.107Z] Login Succeeded [2021-10-14T08:33:36.107Z] nexus3.edgexfoundry.org:10003 [2021-10-14T08:33:36.107Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:33:36.107Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:33:36.107Z] Configure a credential helper to remove this warning. See [2021-10-14T08:33:36.107Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:33:36.107Z] [2021-10-14T08:33:36.107Z] Login Succeeded [2021-10-14T08:33:36.107Z] nexus3.edgexfoundry.org:10004 [2021-10-14T08:33:36.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:33:36.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:33:36.369Z] Configure a credential helper to remove this warning. See [2021-10-14T08:33:36.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:33:36.369Z] [2021-10-14T08:33:36.369Z] Login Succeeded [2021-10-14T08:33:36.369Z] docker.io [2021-10-14T08:33:36.369Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:33:36.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:33:36.631Z] Configure a credential helper to remove this warning. See [2021-10-14T08:33:36.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:33:36.631Z] [2021-10-14T08:33:36.631Z] Login Succeeded [2021-10-14T08:33:36.631Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T08:33:36.639Z] 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-14T08:33:37.079Z] + git log --format=format:%s -1 d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 [Pipeline] echo [2021-10-14T08:33:37.115Z] GIT_COMMIT: d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7, Commit Message: Merge pull request #307 from siggiskulason/snap-fix-version [Pipeline] echo [2021-10-14T08:33:37.124Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:33:37.546Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:33:37.546Z] [2021-10-14T08:33:37.546Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:33:37.863Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:33:37.863Z] latest: Pulling from edgex-devops/git-semver [2021-10-14T08:33:37.863Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T08:33:37.863Z] 3e5f54012d9b: Pulling fs layer [2021-10-14T08:33:37.863Z] 4c7163046ea9: Pulling fs layer [2021-10-14T08:33:37.863Z] 0c2d73faf560: Pulling fs layer [2021-10-14T08:33:37.863Z] 0c2d73faf560: Waiting [2021-10-14T08:33:37.863Z] 3e5f54012d9b: Verifying Checksum [2021-10-14T08:33:37.863Z] 3e5f54012d9b: Download complete [2021-10-14T08:33:37.863Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T08:33:37.863Z] a0d0a0d46f8b: Download complete [2021-10-14T08:33:37.863Z] 0c2d73faf560: Verifying Checksum [2021-10-14T08:33:37.863Z] 0c2d73faf560: Download complete [2021-10-14T08:33:37.863Z] 4c7163046ea9: Verifying Checksum [2021-10-14T08:33:37.863Z] 4c7163046ea9: Download complete [2021-10-14T08:33:38.128Z] a0d0a0d46f8b: Pull complete [2021-10-14T08:33:38.128Z] 3e5f54012d9b: Pull complete [2021-10-14T08:33:38.391Z] 4c7163046ea9: Pull complete [2021-10-14T08:33:38.391Z] 0c2d73faf560: Pull complete [2021-10-14T08:33:38.657Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-14T08:33:38.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:33:38.657Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-14T08:33:38.730Z] prd-centos7-docker-4c-2g-1374 does not seem to be running inside a container [2021-10-14T08:33:38.399Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T08:33:38.989Z] $ docker top af799dd9e857f7e6b9ba10cd689677717e175fe5268d5922ab81e232269a7dd6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T08:33:39.439Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T08:33:39.439Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T08:33:39.538Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T08:33:39.211Z] $ docker exec af799dd9e857f7e6b9ba10cd689677717e175fe5268d5922ab81e232269a7dd6 ssh-agent [2021-10-14T08:33:39.662Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaBoagL/agent.15 [2021-10-14T08:33:39.662Z] SSH_AGENT_PID=21 [2021-10-14T08:33:39.669Z] Running ssh-add (command line suppressed) [2021-10-14T08:33:39.466Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5566788425174003047.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5566788425174003047.key) [2021-10-14T08:33:39.795Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T08:33:40.088Z] + git tag --points-at HEAD [Pipeline] } [2021-10-14T08:33:39.819Z] $ docker exec --env ******** --env ******** af799dd9e857f7e6b9ba10cd689677717e175fe5268d5922ab81e232269a7dd6 ssh-agent -k [2021-10-14T08:33:39.948Z] unset SSH_AUTH_SOCK; [2021-10-14T08:33:39.948Z] unset SSH_AGENT_PID; [2021-10-14T08:33:39.948Z] echo Agent pid 21 killed; [2021-10-14T08:33:40.227Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-14T08:33:40.251Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T08:33:40.251Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T08:33:40.373Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T08:33:40.116Z] $ docker exec af799dd9e857f7e6b9ba10cd689677717e175fe5268d5922ab81e232269a7dd6 ssh-agent [2021-10-14T08:33:40.489Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpcNCCM/agent.55 [2021-10-14T08:33:40.489Z] SSH_AGENT_PID=62 [2021-10-14T08:33:40.494Z] Running ssh-add (command line suppressed) [2021-10-14T08:33:40.357Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8867262116388136911.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8867262116388136911.key) [2021-10-14T08:33:40.611Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T08:33:40.916Z] + git semver init [2021-10-14T08:33:40.916Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T08:33:40.916Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-10-14T08:33:40.916Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-10-14T08:33:40.916Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T08:33:40.916Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T08:33:40.916Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T08:33:40.916Z] # $SEMVER_BRANCH = main [2021-10-14T08:33:40.916Z] # $SEMVER_TEMP = /tmp/semver-105970245 [2021-10-14T08:33:40.916Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-10-14T08:33:41.487Z] # '/tmp/semver-105970245' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' [2021-10-14T08:33:41.487Z] # -> Force: false [2021-10-14T08:33:41.487Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2021-10-14T08:33:41.331Z] $ docker exec --env ******** --env ******** af799dd9e857f7e6b9ba10cd689677717e175fe5268d5922ab81e232269a7dd6 ssh-agent -k [2021-10-14T08:33:41.428Z] unset SSH_AUTH_SOCK; [2021-10-14T08:33:41.429Z] unset SSH_AGENT_PID; [2021-10-14T08:33:41.429Z] echo Agent pid 62 killed; [2021-10-14T08:33:41.595Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T08:33:41.898Z] + git semver [Pipeline] } [2021-10-14T08:33:41.781Z] $ docker stop --time=1 af799dd9e857f7e6b9ba10cd689677717e175fe5268d5922ab81e232269a7dd6 [2021-10-14T08:33:42.994Z] $ docker rm -f af799dd9e857f7e6b9ba10cd689677717e175fe5268d5922ab81e232269a7dd6 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T08:33:43.376Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-14T08:33:43.600Z] Stashed 1 file(s) [Pipeline] echo [2021-10-14T08:33:43.603Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.11 [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-14T08:33:58.762Z] Still waiting to schedule task [2021-10-14T08:33:58.763Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-14T08:33:58.764Z] Still waiting to schedule task [2021-10-14T08:33:58.765Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-10-14T08:35:37.155Z] Running on prd-centos7-docker-4c-2g-1382 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2021-10-14T08:35:37.164Z] Running in /w/workspace/device-mqtt-go/13 [Pipeline] { [Pipeline] checkout [2021-10-14T08:35:37.240Z] Selected Git installation does not exist. Using Default [2021-10-14T08:35:37.240Z] The recommended git tool is: NONE [2021-10-14T08:35:39.255Z] using credential edgex-jenkins-ssh [2021-10-14T08:35:39.265Z] Cloning the remote Git repository [2021-10-14T08:35:39.496Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-10-14T08:35:39.550Z] > git init /w/workspace/device-mqtt-go/13 # timeout=10 [2021-10-14T08:35:39.594Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-10-14T08:35:39.594Z] > git --version # timeout=10 [2021-10-14T08:35:39.611Z] > git --version # 'git version 2.24.4' [2021-10-14T08:35:39.612Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T08:35:39.635Z] [INFO] Currently running in a labeled security context [2021-10-14T08:35:39.635Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-14T08:35:39.636Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/13@tmp/jenkins-gitclient-ssh7270985891960518267.key [2021-10-14T08:35:39.659Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T08:35:40.069Z] Avoid second fetch [2021-10-14T08:35:40.070Z] Checking out Revision d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 (main) [2021-10-14T08:35:40.262Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-10-14T08:35:40.272Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T08:35:40.288Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T08:35:40.295Z] > git checkout -f d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 # timeout=10 [2021-10-14T08:35:43.625Z] Commit message: "Merge pull request #307 from siggiskulason/snap-fix-version" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:35:43.992Z] provisioning config files... [2021-10-14T08:35:44.006Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/13@tmp/config3631391073746371167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:35:44.415Z] ---> docker-login.sh [2021-10-14T08:35:44.415Z] nexus3.edgexfoundry.org:10001 [2021-10-14T08:35:44.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:35:44.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:35:44.415Z] Configure a credential helper to remove this warning. See [2021-10-14T08:35:44.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:35:44.415Z] [2021-10-14T08:35:44.415Z] Login Succeeded [2021-10-14T08:35:44.415Z] nexus3.edgexfoundry.org:10002 [2021-10-14T08:35:44.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:35:44.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:35:44.684Z] Configure a credential helper to remove this warning. See [2021-10-14T08:35:44.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:35:44.684Z] [2021-10-14T08:35:44.684Z] Login Succeeded [2021-10-14T08:35:44.684Z] nexus3.edgexfoundry.org:10003 [2021-10-14T08:35:44.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:35:44.684Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:35:44.684Z] Configure a credential helper to remove this warning. See [2021-10-14T08:35:44.684Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:35:44.684Z] [2021-10-14T08:35:44.684Z] Login Succeeded [2021-10-14T08:35:44.684Z] nexus3.edgexfoundry.org:10004 [2021-10-14T08:35:44.684Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:35:44.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:35:44.944Z] Configure a credential helper to remove this warning. See [2021-10-14T08:35:44.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:35:44.944Z] [2021-10-14T08:35:44.944Z] Login Succeeded [2021-10-14T08:35:44.944Z] docker.io [2021-10-14T08:35:44.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:35:45.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:35:45.205Z] Configure a credential helper to remove this warning. See [2021-10-14T08:35:45.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:35:45.205Z] [2021-10-14T08:35:45.205Z] Login Succeeded [2021-10-14T08:35:45.205Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T08:35:45.230Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T08:35:45.352Z] ========================================================= [2021-10-14T08:35:45.352Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-14T08:35:45.352Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:35:45.659Z] + 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-14T08:35:45.659Z] Sending build context to Docker daemon 661.5kB [2021-10-14T08:35:45.659Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:35:45.659Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-14T08:35:45.659Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-14T08:35:45.659Z] a0d0a0d46f8b: Pulling fs layer [2021-10-14T08:35:45.659Z] 31adcdaf11c8: Pulling fs layer [2021-10-14T08:35:45.659Z] b8b176561691: Pulling fs layer [2021-10-14T08:35:45.659Z] 4527c011a84f: Pulling fs layer [2021-10-14T08:35:45.659Z] 5d74067f8e1e: Pulling fs layer [2021-10-14T08:35:45.659Z] e0aca202a116: Pulling fs layer [2021-10-14T08:35:45.659Z] 3a43be97a3b4: Pulling fs layer [2021-10-14T08:35:45.659Z] 34cad66bf833: Pulling fs layer [2021-10-14T08:35:45.659Z] b4e3c513aaa6: Pulling fs layer [2021-10-14T08:35:45.659Z] e0aca202a116: Waiting [2021-10-14T08:35:45.659Z] 3a43be97a3b4: Waiting [2021-10-14T08:35:45.659Z] 34cad66bf833: Waiting [2021-10-14T08:35:45.659Z] 4527c011a84f: Waiting [2021-10-14T08:35:45.659Z] b4e3c513aaa6: Waiting [2021-10-14T08:35:45.659Z] 5d74067f8e1e: Waiting [2021-10-14T08:35:45.659Z] b8b176561691: Verifying Checksum [2021-10-14T08:35:45.659Z] b8b176561691: Download complete [2021-10-14T08:35:45.659Z] 31adcdaf11c8: Verifying Checksum [2021-10-14T08:35:45.659Z] 31adcdaf11c8: Download complete [2021-10-14T08:35:45.659Z] 5d74067f8e1e: Verifying Checksum [2021-10-14T08:35:45.659Z] 5d74067f8e1e: Download complete [2021-10-14T08:35:45.926Z] a0d0a0d46f8b: Verifying Checksum [2021-10-14T08:35:45.926Z] a0d0a0d46f8b: Download complete [2021-10-14T08:35:45.926Z] e0aca202a116: Verifying Checksum [2021-10-14T08:35:45.926Z] e0aca202a116: Download complete [2021-10-14T08:35:45.926Z] 3a43be97a3b4: Verifying Checksum [2021-10-14T08:35:45.926Z] 3a43be97a3b4: Download complete [2021-10-14T08:35:45.926Z] 34cad66bf833: Verifying Checksum [2021-10-14T08:35:45.926Z] 34cad66bf833: Download complete [2021-10-14T08:35:45.926Z] a0d0a0d46f8b: Pull complete [2021-10-14T08:35:46.197Z] 31adcdaf11c8: Pull complete [2021-10-14T08:35:46.197Z] b8b176561691: Pull complete [2021-10-14T08:35:46.464Z] 4527c011a84f: Verifying Checksum [2021-10-14T08:35:46.464Z] 4527c011a84f: Download complete [2021-10-14T08:35:46.464Z] b4e3c513aaa6: Verifying Checksum [2021-10-14T08:35:46.464Z] b4e3c513aaa6: Download complete [2021-10-14T08:35:49.808Z] 4527c011a84f: Pull complete [2021-10-14T08:35:50.077Z] 5d74067f8e1e: Pull complete [2021-10-14T08:35:50.077Z] e0aca202a116: Pull complete [2021-10-14T08:35:50.077Z] 3a43be97a3b4: Pull complete [2021-10-14T08:35:50.352Z] 34cad66bf833: Pull complete [2021-10-14T08:35:52.920Z] b4e3c513aaa6: Pull complete [2021-10-14T08:35:52.920Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-14T08:35:52.920Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-14T08:35:52.920Z] ---> 9f6097aaca64 [2021-10-14T08:35:52.920Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-14T08:35:57.152Z] ---> Running in 80ee1a071ad6 [2021-10-14T08:35:57.152Z] Removing intermediate container 80ee1a071ad6 [2021-10-14T08:35:57.152Z] ---> c1bc851c9d1d [2021-10-14T08:35:57.152Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-14T08:35:57.152Z] ---> Running in 467c68ec6ce0 [2021-10-14T08:35:57.152Z] Removing intermediate container 467c68ec6ce0 [2021-10-14T08:35:57.152Z] ---> 61cd5bc9a7a3 [2021-10-14T08:35:57.152Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:35:57.152Z] ---> Running in 2f128ed68fe2 [2021-10-14T08:35:57.413Z] Removing intermediate container 2f128ed68fe2 [2021-10-14T08:35:57.413Z] ---> 77c232709bdc [2021-10-14T08:35:57.413Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-14T08:35:57.413Z] ---> Running in 2c327b3621af [2021-10-14T08:35:57.674Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T08:35:58.626Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T08:35:58.888Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-14T08:35:59.152Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-14T08:35:59.152Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-14T08:35:59.152Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-14T08:35:59.417Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T08:35:59.417Z] OK: 224 MiB in 56 packages [2021-10-14T08:35:59.681Z] Removing intermediate container 2c327b3621af [2021-10-14T08:35:59.681Z] ---> f8f0f51c9911 [2021-10-14T08:35:59.681Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-10-14T08:35:59.681Z] ---> Running in 9eef2caf270b [2021-10-14T08:35:59.681Z] Removing intermediate container 9eef2caf270b [2021-10-14T08:35:59.681Z] ---> 1ff3cceee6e1 [2021-10-14T08:35:59.681Z] Step 8/11 : COPY . . [2021-10-14T08:35:59.946Z] ---> b4524e7f22bd [2021-10-14T08:35:59.946Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:35:59.946Z] ---> Running in 0ccb247673a8 [2021-10-14T08:36:09.980Z] Removing intermediate container 0ccb247673a8 [2021-10-14T08:36:09.980Z] ---> ab475405ff24 [2021-10-14T08:36:09.981Z] Step 10/11 : ARG MAKE='make build' [2021-10-14T08:36:09.981Z] ---> Running in 11fac80efeb4 [2021-10-14T08:36:09.981Z] Removing intermediate container 11fac80efeb4 [2021-10-14T08:36:09.981Z] ---> 83bea708e7ce [2021-10-14T08:36:09.981Z] Step 11/11 : RUN $MAKE [2021-10-14T08:36:09.981Z] ---> Running in 4f955c33899f [2021-10-14T08:36:09.981Z] noop [2021-10-14T08:36:09.981Z] Removing intermediate container 4f955c33899f [2021-10-14T08:36:09.981Z] ---> aab19c7b32b8 [2021-10-14T08:36:09.981Z] Successfully built aab19c7b32b8 [2021-10-14T08:36:09.981Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:36:10.278Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T08:36:10.278Z] . [Pipeline] withDockerContainer [2021-10-14T08:36:10.348Z] prd-centos7-docker-4c-2g-1382 does not seem to be running inside a container [2021-10-14T08:36:10.387Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/13 -v /w/workspace/device-mqtt-go/13:/w/workspace/device-mqtt-go/13:rw,z -v /w/workspace/device-mqtt-go/13@tmp:/w/workspace/device-mqtt-go/13@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-x86_64 cat [2021-10-14T08:36:10.693Z] $ docker top f89752b771f74e0bdde06eacb213f24bb468d064d7b7b39ff057e9994e00d729 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T08:36:11.068Z] + go version [2021-10-14T08:36:11.068Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-14T08:36:11.079Z] $ docker stop --time=1 f89752b771f74e0bdde06eacb213f24bb468d064d7b7b39ff057e9994e00d729 [2021-10-14T08:36:12.262Z] $ docker rm -f f89752b771f74e0bdde06eacb213f24bb468d064d7b7b39ff057e9994e00d729 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:36:12.754Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-14T08:36:12.754Z] . [Pipeline] withDockerContainer [2021-10-14T08:36:12.818Z] prd-centos7-docker-4c-2g-1382 does not seem to be running inside a container [2021-10-14T08:36:12.851Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/13 -v /w/workspace/device-mqtt-go/13:/w/workspace/device-mqtt-go/13:rw,z -v /w/workspace/device-mqtt-go/13@tmp:/w/workspace/device-mqtt-go/13@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-x86_64 cat [2021-10-14T08:36:13.172Z] $ docker top 8a59b5d2fe7cff124cea5fc35ecd445120467634131ee8c12e00814554433138 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T08:36:13.543Z] + make test [2021-10-14T08:36:13.543Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-14T08:36:13.812Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-10-14T08:36:28.802Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-10-14T08:36:30.189Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 22.4% of statements [2021-10-14T08:36:30.189Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-10-14T08:36:30.189Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-14T08:36:36.809Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T08:36:36.809Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T08:36:36.809Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T08:36:37.082Z] $ docker stop --time=1 8a59b5d2fe7cff124cea5fc35ecd445120467634131ee8c12e00814554433138 [2021-10-14T08:36:38.575Z] $ docker rm -f 8a59b5d2fe7cff124cea5fc35ecd445120467634131ee8c12e00814554433138 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T08:36:38.957Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T08:36:39.124Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-14T08:36:39.769Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T08:36:40.058Z] + ls -al . [2021-10-14T08:36:40.058Z] total 120 [2021-10-14T08:36:40.058Z] drwxrwxr-x. 9 jenkins jenkins 4096 Oct 14 08:36 . [2021-10-14T08:36:40.058Z] drwxrwxr-x. 4 jenkins jenkins 30 Oct 14 08:35 .. [2021-10-14T08:36:40.058Z] -rw-rw-r--. 1 jenkins jenkins 6985 Oct 14 08:35 Attribution.txt [2021-10-14T08:36:40.058Z] drwxrwxr-x. 2 jenkins jenkins 60 Oct 14 08:35 bin [2021-10-14T08:36:40.058Z] -rw-rw-r--. 1 jenkins jenkins 7447 Oct 14 08:35 CHANGELOG.md [2021-10-14T08:36:40.058Z] drwxrwxr-x. 3 jenkins jenkins 32 Oct 14 08:35 cmd [2021-10-14T08:36:40.058Z] -rw-r--r--. 1 jenkins jenkins 17284 Oct 14 08:36 coverage.out [2021-10-14T08:36:40.058Z] -rw-rw-r--. 1 jenkins jenkins 1907 Oct 14 08:35 Dockerfile [2021-10-14T08:36:40.058Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 14 08:35 .dockerignore [2021-10-14T08:36:40.058Z] drwxrwxr-x. 8 jenkins jenkins 162 Oct 14 08:35 .git [2021-10-14T08:36:40.058Z] drwxrwxr-x. 2 jenkins jenkins 103 Oct 14 08:35 .github [2021-10-14T08:36:40.058Z] -rw-rw-r--. 1 jenkins jenkins 329 Oct 14 08:35 .gitignore [2021-10-14T08:36:40.058Z] -rw-rw-r--. 1 jenkins jenkins 367 Oct 14 08:35 go.mod [2021-10-14T08:36:40.058Z] -rw-rw-r--. 1 jenkins jenkins 20655 Oct 14 08:35 go.sum [2021-10-14T08:36:40.058Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 14 08:35 GOVERNANCE.md [2021-10-14T08:36:40.058Z] drwxrwxr-x. 3 jenkins jenkins 20 Oct 14 08:35 internal [2021-10-14T08:36:40.058Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 14 08:35 Jenkinsfile [2021-10-14T08:36:40.058Z] -rw-rw-r--. 1 jenkins jenkins 11340 Oct 14 08:35 LICENSE [2021-10-14T08:36:40.058Z] -rw-rw-r--. 1 jenkins jenkins 1030 Oct 14 08:35 Makefile [2021-10-14T08:36:40.058Z] drwxrwxr-x. 2 jenkins jenkins 23 Oct 14 08:35 mock [2021-10-14T08:36:40.058Z] -rw-rw-r--. 1 jenkins jenkins 620 Oct 14 08:35 OWNERS.md [2021-10-14T08:36:40.058Z] -rw-rw-r--. 1 jenkins jenkins 2211 Oct 14 08:35 README.md [2021-10-14T08:36:40.058Z] drwxrwxr-x. 4 jenkins jenkins 71 Oct 14 08:35 snap [2021-10-14T08:36:40.058Z] -rw-rw-r--. 1 jenkins jenkins 12 Oct 14 08:33 VERSION [2021-10-14T08:36:40.058Z] -rw-rw-r--. 1 jenkins jenkins 227 Oct 14 08:35 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:36:40.359Z] + 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=d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 --label arch=amd64 --label version=2.0.1-dev.11 . [2021-10-14T08:36:40.359Z] Sending build context to Docker daemon 679.4kB [2021-10-14T08:36:40.359Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:36:40.359Z] Step 2/23 : FROM ${BASE} AS builder [2021-10-14T08:36:40.359Z] ---> aab19c7b32b8 [2021-10-14T08:36:40.359Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-14T08:36:40.359Z] ---> Running in b1d177931550 [2021-10-14T08:36:40.618Z] Removing intermediate container b1d177931550 [2021-10-14T08:36:40.618Z] ---> 04d4a816f044 [2021-10-14T08:36:40.618Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-10-14T08:36:40.618Z] ---> Running in 2cd3a32c7e48 [2021-10-14T08:36:40.618Z] Removing intermediate container 2cd3a32c7e48 [2021-10-14T08:36:40.618Z] ---> 0d7a83ceaf69 [2021-10-14T08:36:40.618Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:36:40.618Z] ---> Running in 1d98009c1c26 [2021-10-14T08:36:41.195Z] Removing intermediate container 1d98009c1c26 [2021-10-14T08:36:41.195Z] ---> 8f6d9ee19f5b [2021-10-14T08:36:41.195Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-14T08:36:41.195Z] ---> Running in cff10e9f5b55 [2021-10-14T08:36:41.455Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T08:36:42.394Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T08:36:42.654Z] OK: 224 MiB in 56 packages [2021-10-14T08:36:42.917Z] Removing intermediate container cff10e9f5b55 [2021-10-14T08:36:42.917Z] ---> da96a69972f1 [2021-10-14T08:36:42.917Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-10-14T08:36:42.917Z] ---> Running in bb74d12e8d8c [2021-10-14T08:36:42.917Z] Removing intermediate container bb74d12e8d8c [2021-10-14T08:36:42.917Z] ---> ed23f61c6147 [2021-10-14T08:36:42.917Z] Step 8/23 : COPY . . [2021-10-14T08:36:43.175Z] ---> c407f064d983 [2021-10-14T08:36:43.175Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:36:43.175Z] ---> Running in 5f0e02d1bf89 [2021-10-14T08:36:43.759Z] Removing intermediate container 5f0e02d1bf89 [2021-10-14T08:36:43.759Z] ---> 40372f0aa57d [2021-10-14T08:36:43.759Z] Step 10/23 : ARG MAKE='make build' [2021-10-14T08:36:43.759Z] ---> Running in 6462c5e336d0 [2021-10-14T08:36:43.759Z] Removing intermediate container 6462c5e336d0 [2021-10-14T08:36:43.759Z] ---> 10139f677e8d [2021-10-14T08:36:43.759Z] Step 11/23 : RUN $MAKE [2021-10-14T08:36:43.759Z] ---> Running in 11b5e5fb7fd4 [2021-10-14T08:36:44.026Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.11" -o cmd/device-mqtt ./cmd [2021-10-14T08:36:56.352Z] Removing intermediate container 11b5e5fb7fd4 [2021-10-14T08:36:56.352Z] ---> bf222e686025 [2021-10-14T08:36:56.352Z] Step 12/23 : FROM alpine:3.14 [2021-10-14T08:36:56.352Z] 3.14: Pulling from library/alpine [2021-10-14T08:36:56.352Z] a0d0a0d46f8b: Already exists [2021-10-14T08:36:56.352Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T08:36:56.352Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T08:36:56.352Z] ---> 14119a10abf4 [2021-10-14T08:36:56.352Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-10-14T08:36:56.352Z] ---> Running in 3271b993fb9e [2021-10-14T08:36:56.352Z] Removing intermediate container 3271b993fb9e [2021-10-14T08:36:56.352Z] ---> 5135453c851f [2021-10-14T08:36:56.352Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-14T08:36:56.352Z] ---> Running in aeda2c90384c [2021-10-14T08:36:56.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-14T08:36:56.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-14T08:36:56.613Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-14T08:36:56.613Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T08:36:56.613Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-14T08:36:56.613Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T08:36:56.613Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-14T08:36:56.613Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-14T08:36:56.613Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T08:36:56.613Z] OK: 8 MiB in 20 packages [2021-10-14T08:36:56.873Z] Removing intermediate container aeda2c90384c [2021-10-14T08:36:56.873Z] ---> 50713666bff6 [2021-10-14T08:36:56.873Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-10-14T08:36:57.442Z] ---> e4120ae8f462 [2021-10-14T08:36:57.442Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-10-14T08:36:57.701Z] ---> 8e898a400e3f [2021-10-14T08:36:57.701Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-10-14T08:36:57.701Z] ---> 83ea780ded7b [2021-10-14T08:36:57.701Z] Step 18/23 : EXPOSE 59982 [2021-10-14T08:36:57.962Z] ---> Running in 2d1db2cc30b7 [2021-10-14T08:36:57.962Z] Removing intermediate container 2d1db2cc30b7 [2021-10-14T08:36:57.962Z] ---> e1b082b2f527 [2021-10-14T08:36:57.962Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-10-14T08:36:57.962Z] ---> Running in fbd6d6f861e7 [2021-10-14T08:36:57.962Z] Removing intermediate container fbd6d6f861e7 [2021-10-14T08:36:57.962Z] ---> 856cdf2f49b0 [2021-10-14T08:36:57.962Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-14T08:36:58.225Z] ---> Running in d1002888aa6a [2021-10-14T08:36:58.225Z] Removing intermediate container d1002888aa6a [2021-10-14T08:36:58.225Z] ---> 7bd9e7b3d313 [2021-10-14T08:36:58.225Z] Step 21/23 : LABEL arch=amd64 [2021-10-14T08:36:58.225Z] ---> Running in 05e8581ff6fc [2021-10-14T08:36:58.225Z] Removing intermediate container 05e8581ff6fc [2021-10-14T08:36:58.225Z] ---> ac224fb9bd42 [2021-10-14T08:36:58.225Z] Step 22/23 : LABEL git_sha=d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 [2021-10-14T08:36:58.225Z] ---> Running in 1ac753fda5c6 [2021-10-14T08:36:58.484Z] Removing intermediate container 1ac753fda5c6 [2021-10-14T08:36:58.484Z] ---> d2b348980cca [2021-10-14T08:36:58.484Z] Step 23/23 : LABEL version=2.0.1-dev.11 [2021-10-14T08:36:58.484Z] ---> Running in 2de4124d0c56 [2021-10-14T08:36:58.484Z] Removing intermediate container 2de4124d0c56 [2021-10-14T08:36:58.484Z] ---> 63ca3fe4f5b3 [2021-10-14T08:36:58.484Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T08:36:58.484Z] Successfully built 63ca3fe4f5b3 [2021-10-14T08:36:58.484Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:36:58.694Z] provisioning config files... [2021-10-14T08:36:58.705Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/13@tmp/config6553519356494496023tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:36:59.005Z] ---> docker-login.sh [2021-10-14T08:36:59.005Z] nexus3.edgexfoundry.org:10001 [2021-10-14T08:36:59.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:36:59.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:36:59.005Z] Configure a credential helper to remove this warning. See [2021-10-14T08:36:59.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:36:59.005Z] [2021-10-14T08:36:59.005Z] Login Succeeded [2021-10-14T08:36:59.005Z] nexus3.edgexfoundry.org:10002 [2021-10-14T08:36:59.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:36:59.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:36:59.005Z] Configure a credential helper to remove this warning. See [2021-10-14T08:36:59.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:36:59.005Z] [2021-10-14T08:36:59.005Z] Login Succeeded [2021-10-14T08:36:59.005Z] nexus3.edgexfoundry.org:10003 [2021-10-14T08:36:59.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:36:59.265Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:36:59.265Z] Configure a credential helper to remove this warning. See [2021-10-14T08:36:59.265Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:36:59.265Z] [2021-10-14T08:36:59.265Z] Login Succeeded [2021-10-14T08:36:59.265Z] nexus3.edgexfoundry.org:10004 [2021-10-14T08:36:59.265Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:36:59.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:36:59.536Z] Configure a credential helper to remove this warning. See [2021-10-14T08:36:59.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:36:59.536Z] [2021-10-14T08:36:59.536Z] Login Succeeded [2021-10-14T08:36:59.536Z] docker.io [2021-10-14T08:36:59.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:36:59.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:36:59.807Z] Configure a credential helper to remove this warning. See [2021-10-14T08:36:59.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:36:59.807Z] [2021-10-14T08:36:59.807Z] Login Succeeded [2021-10-14T08:36:59.807Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T08:36:59.814Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-14T08:36:59.853Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2021-10-14T08:36:59.853Z] d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 [2021-10-14T08:36:59.853Z] latest [2021-10-14T08:36:59.853Z] 2.0.1-dev.11 [2021-10-14T08:36:59.853Z] d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7-2.0.1-dev.11 [2021-10-14T08:36:59.853Z] main [2021-10-14T08:36:59.853Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:00.169Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:00.491Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 [2021-10-14T08:37:00.491Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-10-14T08:37:00.491Z] d29b5922c6f2: Preparing [2021-10-14T08:37:00.491Z] 5f4189dfabad: Preparing [2021-10-14T08:37:00.491Z] e8d0c9864620: Preparing [2021-10-14T08:37:00.491Z] 3932b314970f: Preparing [2021-10-14T08:37:00.491Z] e2eb06d8af82: Preparing [2021-10-14T08:37:00.491Z] e2eb06d8af82: Layer already exists [2021-10-14T08:37:00.756Z] d29b5922c6f2: Pushed [2021-10-14T08:37:00.756Z] 5f4189dfabad: Pushed [2021-10-14T08:37:00.756Z] 3932b314970f: Pushed [2021-10-14T08:37:02.146Z] e8d0c9864620: Pushed [2021-10-14T08:37:02.146Z] d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7: digest: sha256:dcbb43a9b64367bd4a31f1be2a4900c777d504be78985646b0b80d11edd46500 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:02.446Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:02.765Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-10-14T08:37:02.765Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-10-14T08:37:02.765Z] d29b5922c6f2: Preparing [2021-10-14T08:37:02.765Z] 5f4189dfabad: Preparing [2021-10-14T08:37:02.765Z] e8d0c9864620: Preparing [2021-10-14T08:37:02.765Z] 3932b314970f: Preparing [2021-10-14T08:37:02.765Z] e2eb06d8af82: Preparing [2021-10-14T08:37:02.765Z] e8d0c9864620: Layer already exists [2021-10-14T08:37:02.765Z] 5f4189dfabad: Layer already exists [2021-10-14T08:37:02.765Z] e2eb06d8af82: Layer already exists [2021-10-14T08:37:02.765Z] d29b5922c6f2: Layer already exists [2021-10-14T08:37:02.765Z] 3932b314970f: Layer already exists [2021-10-14T08:37:02.765Z] latest: digest: sha256:dcbb43a9b64367bd4a31f1be2a4900c777d504be78985646b0b80d11edd46500 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:03.061Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:03.358Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.11 [2021-10-14T08:37:03.358Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-10-14T08:37:03.358Z] d29b5922c6f2: Preparing [2021-10-14T08:37:03.358Z] 5f4189dfabad: Preparing [2021-10-14T08:37:03.358Z] e8d0c9864620: Preparing [2021-10-14T08:37:03.358Z] 3932b314970f: Preparing [2021-10-14T08:37:03.358Z] e2eb06d8af82: Preparing [2021-10-14T08:37:03.358Z] e2eb06d8af82: Layer already exists [2021-10-14T08:37:03.358Z] 3932b314970f: Layer already exists [2021-10-14T08:37:03.358Z] d29b5922c6f2: Layer already exists [2021-10-14T08:37:03.358Z] e8d0c9864620: Layer already exists [2021-10-14T08:37:03.358Z] 5f4189dfabad: Layer already exists [2021-10-14T08:37:03.358Z] 2.0.1-dev.11: digest: sha256:dcbb43a9b64367bd4a31f1be2a4900c777d504be78985646b0b80d11edd46500 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:03.659Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7-2.0.1-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:03.954Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7-2.0.1-dev.11 [2021-10-14T08:37:03.954Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-10-14T08:37:03.954Z] d29b5922c6f2: Preparing [2021-10-14T08:37:03.954Z] 5f4189dfabad: Preparing [2021-10-14T08:37:03.954Z] e8d0c9864620: Preparing [2021-10-14T08:37:03.954Z] 3932b314970f: Preparing [2021-10-14T08:37:03.954Z] e2eb06d8af82: Preparing [2021-10-14T08:37:03.954Z] e2eb06d8af82: Layer already exists [2021-10-14T08:37:03.954Z] 5f4189dfabad: Layer already exists [2021-10-14T08:37:03.954Z] d29b5922c6f2: Layer already exists [2021-10-14T08:37:03.954Z] e8d0c9864620: Layer already exists [2021-10-14T08:37:03.954Z] 3932b314970f: Layer already exists [2021-10-14T08:37:03.954Z] d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7-2.0.1-dev.11: digest: sha256:dcbb43a9b64367bd4a31f1be2a4900c777d504be78985646b0b80d11edd46500 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:04.248Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:04.556Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2021-10-14T08:37:04.556Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-10-14T08:37:04.556Z] d29b5922c6f2: Preparing [2021-10-14T08:37:04.556Z] 5f4189dfabad: Preparing [2021-10-14T08:37:04.556Z] e8d0c9864620: Preparing [2021-10-14T08:37:04.556Z] 3932b314970f: Preparing [2021-10-14T08:37:04.556Z] e2eb06d8af82: Preparing [2021-10-14T08:37:04.556Z] e2eb06d8af82: Layer already exists [2021-10-14T08:37:04.556Z] d29b5922c6f2: Layer already exists [2021-10-14T08:37:04.556Z] 3932b314970f: Layer already exists [2021-10-14T08:37:04.556Z] 5f4189dfabad: Layer already exists [2021-10-14T08:37:04.556Z] e8d0c9864620: Layer already exists [2021-10-14T08:37:04.556Z] main: digest: sha256:dcbb43a9b64367bd4a31f1be2a4900c777d504be78985646b0b80d11edd46500 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-14T08:37:04.587Z] ===================================================== [Pipeline] echo [2021-10-14T08:37:04.595Z] taggedImages: [2021-10-14T08:37:04.595Z] - nexus3.edgexfoundry.org:10004/device-mqtt:d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 [2021-10-14T08:37:04.595Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-10-14T08:37:04.595Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.11 [2021-10-14T08:37:04.595Z] - nexus3.edgexfoundry.org:10004/device-mqtt:d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7-2.0.1-dev.11 [2021-10-14T08:37:04.595Z] - 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-14T08:37:05.125Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:37:05.125Z] [2021-10-14T08:37:05.125Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:37:05.428Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:37:05.428Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T08:37:05.428Z] b4d181a07f80: Pulling fs layer [2021-10-14T08:37:05.428Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T08:37:05.429Z] ed53099fbce6: Pulling fs layer [2021-10-14T08:37:05.429Z] dc539afda2c1: Pulling fs layer [2021-10-14T08:37:05.429Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T08:37:05.429Z] 9065ff56babe: Pulling fs layer [2021-10-14T08:37:05.429Z] d287ab97295c: Pulling fs layer [2021-10-14T08:37:05.429Z] dc539afda2c1: Waiting [2021-10-14T08:37:05.429Z] 77bc0d833cb6: Waiting [2021-10-14T08:37:05.429Z] 9065ff56babe: Waiting [2021-10-14T08:37:05.429Z] d287ab97295c: Waiting [2021-10-14T08:37:05.429Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T08:37:05.429Z] a1111a8f2ec3: Download complete [2021-10-14T08:37:05.689Z] dc539afda2c1: Verifying Checksum [2021-10-14T08:37:05.689Z] dc539afda2c1: Download complete [2021-10-14T08:37:05.689Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T08:37:05.689Z] 77bc0d833cb6: Download complete [2021-10-14T08:37:05.689Z] 9065ff56babe: Download complete [2021-10-14T08:37:05.689Z] ed53099fbce6: Verifying Checksum [2021-10-14T08:37:05.689Z] ed53099fbce6: Download complete [2021-10-14T08:37:05.953Z] b4d181a07f80: Verifying Checksum [2021-10-14T08:37:05.953Z] b4d181a07f80: Download complete [2021-10-14T08:37:06.537Z] d287ab97295c: Verifying Checksum [2021-10-14T08:37:06.537Z] d287ab97295c: Download complete [2021-10-14T08:37:07.495Z] b4d181a07f80: Pull complete [2021-10-14T08:37:07.495Z] a1111a8f2ec3: Pull complete [2021-10-14T08:37:08.071Z] ed53099fbce6: Pull complete [2021-10-14T08:37:08.071Z] dc539afda2c1: Pull complete [2021-10-14T08:37:08.333Z] 77bc0d833cb6: Pull complete [2021-10-14T08:37:08.596Z] 9065ff56babe: Pull complete [2021-10-14T08:37:13.915Z] d287ab97295c: Pull complete [2021-10-14T08:37:13.915Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T08:37:13.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:37:13.915Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T08:37:13.988Z] prd-centos7-docker-4c-2g-1382 does not seem to be running inside a container [2021-10-14T08:37:14.033Z] $ 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/13 -v /w/workspace/device-mqtt-go/13:/w/workspace/device-mqtt-go/13:rw,z -v /w/workspace/device-mqtt-go/13@tmp:/w/workspace/device-mqtt-go/13@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:latest cat [2021-10-14T08:37:19.315Z] $ docker top 0ed1fd52dce16d4631597f8995949bd50d5bf306dc4e79a0e6fa0569294a9a8c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:37:19.762Z] ---> job-cost.sh [2021-10-14T08:37:19.762Z] lf-activate-venv: SKIPPING [2021-10-14T08:37:19.762Z] INFO: No Stack... [2021-10-14T08:37:20.704Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T08:37:20.976Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T08:37:21.270Z] + cat /w/workspace/device-mqtt-go/13/archives/cost.csv [2021-10-14T08:37:21.270Z] + cut -d, -f6 [Pipeline] lock [2021-10-14T08:37:21.301Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-13-stack-cost] [2021-10-14T08:37:21.308Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-13-stack-cost] did not exist. Created. [2021-10-14T08:37:21.308Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T08:37:21.617Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-14T08:37:21.642Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T08:37:21.647Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-13-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T08:37:21.660Z] $ docker stop --time=1 0ed1fd52dce16d4631597f8995949bd50d5bf306dc4e79a0e6fa0569294a9a8c [2021-10-14T08:37:22.863Z] $ docker rm -f 0ed1fd52dce16d4631597f8995949bd50d5bf306dc4e79a0e6fa0569294a9a8c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-14T08:38:34.874Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-1388 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2021-10-14T08:38:34.886Z] Running in /w/workspace/device-mqtt-go/13 [Pipeline] { [Pipeline] checkout [2021-10-14T08:38:35.224Z] Selected Git installation does not exist. Using Default [2021-10-14T08:38:35.224Z] The recommended git tool is: NONE [2021-10-14T08:38:43.002Z] using credential edgex-jenkins-ssh [2021-10-14T08:38:43.019Z] Cloning the remote Git repository [2021-10-14T08:38:43.076Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-10-14T08:38:43.244Z] > git init /w/workspace/device-mqtt-go/13 # timeout=10 [2021-10-14T08:38:43.360Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-10-14T08:38:43.361Z] > git --version # timeout=10 [2021-10-14T08:38:43.390Z] > git --version # 'git version 2.17.1' [2021-10-14T08:38:43.393Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-14T08:38:43.480Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T08:38:44.401Z] Avoid second fetch [2021-10-14T08:38:44.401Z] Checking out Revision d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 (main) [2021-10-14T08:38:44.340Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-10-14T08:38:44.365Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-14T08:38:44.425Z] > git config core.sparsecheckout # timeout=10 [2021-10-14T08:38:44.444Z] > git checkout -f d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 # timeout=10 [2021-10-14T08:38:48.889Z] Commit message: "Merge pull request #307 from siggiskulason/snap-fix-version" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T08:38:49.771Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-14T08:38:49.772Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T08:38:49.772Z] Dload Upload Total Spent Left Speed [2021-10-14T08:38:49.772Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 172k 0 --:--:-- --:--:-- --:--:-- 172k [Pipeline] sh [2021-10-14T08:38:50.204Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-14T08:38:50.559Z] + sudo tee /etc/docker/daemon.new [2021-10-14T08:38:50.559Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-14T08:38:50.559Z] { [2021-10-14T08:38:50.559Z] "registry-mirrors": [ [2021-10-14T08:38:50.559Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-14T08:38:50.559Z] ], [2021-10-14T08:38:50.559Z] "bip": "10.250.0.254/24", [2021-10-14T08:38:50.559Z] "hosts": [ [2021-10-14T08:38:50.559Z] "tcp://0.0.0.0:5555", [2021-10-14T08:38:50.559Z] "unix:///var/run/docker.sock" [2021-10-14T08:38:50.559Z] ], [2021-10-14T08:38:50.559Z] "mtu": 1458, [2021-10-14T08:38:50.559Z] "selinux-enabled": true, [2021-10-14T08:38:50.559Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-14T08:38:50.559Z] } [Pipeline] sh [2021-10-14T08:38:50.923Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-14T08:38:51.283Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:39:09.741Z] provisioning config files... [2021-10-14T08:39:09.772Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/13@tmp/config3743621996524767322tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:39:10.153Z] ---> docker-login.sh [2021-10-14T08:39:10.154Z] nexus3.edgexfoundry.org:10001 [2021-10-14T08:39:11.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:39:12.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:39:12.262Z] Configure a credential helper to remove this warning. See [2021-10-14T08:39:12.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:39:12.262Z] [2021-10-14T08:39:12.262Z] Login Succeeded [2021-10-14T08:39:12.262Z] nexus3.edgexfoundry.org:10002 [2021-10-14T08:39:12.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:39:12.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:39:12.831Z] Configure a credential helper to remove this warning. See [2021-10-14T08:39:12.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:39:12.831Z] [2021-10-14T08:39:12.831Z] Login Succeeded [2021-10-14T08:39:12.831Z] nexus3.edgexfoundry.org:10003 [2021-10-14T08:39:13.447Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:39:13.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:39:13.447Z] Configure a credential helper to remove this warning. See [2021-10-14T08:39:13.447Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:39:13.447Z] [2021-10-14T08:39:13.447Z] Login Succeeded [2021-10-14T08:39:13.447Z] nexus3.edgexfoundry.org:10004 [2021-10-14T08:39:13.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:39:14.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:39:14.007Z] Configure a credential helper to remove this warning. See [2021-10-14T08:39:14.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:39:14.007Z] [2021-10-14T08:39:14.007Z] Login Succeeded [2021-10-14T08:39:14.007Z] docker.io [2021-10-14T08:39:14.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:39:14.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:39:14.893Z] Configure a credential helper to remove this warning. See [2021-10-14T08:39:14.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:39:14.893Z] [2021-10-14T08:39:14.893Z] Login Succeeded [2021-10-14T08:39:14.893Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T08:39:14.914Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-14T08:39:15.253Z] ========================================================= [2021-10-14T08:39:15.253Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-14T08:39:15.253Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:39:15.624Z] + 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-14T08:39:15.904Z] Sending build context to Docker daemon 660.5kB [2021-10-14T08:39:16.187Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:39:16.187Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-14T08:39:16.187Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-14T08:39:16.187Z] 552d1f2373af: Pulling fs layer [2021-10-14T08:39:16.187Z] ea3f2d53f512: Pulling fs layer [2021-10-14T08:39:16.187Z] 9e70ebbbe112: Pulling fs layer [2021-10-14T08:39:16.187Z] 7a9cfe048b4a: Pulling fs layer [2021-10-14T08:39:16.187Z] 72dc09318566: Pulling fs layer [2021-10-14T08:39:16.187Z] f4f7b4309257: Pulling fs layer [2021-10-14T08:39:16.187Z] 0ac9a79272e3: Pulling fs layer [2021-10-14T08:39:16.187Z] b78e95d17946: Pulling fs layer [2021-10-14T08:39:16.187Z] 72dc09318566: Waiting [2021-10-14T08:39:16.187Z] f4f7b4309257: Waiting [2021-10-14T08:39:16.187Z] 0ac9a79272e3: Waiting [2021-10-14T08:39:16.187Z] b78e95d17946: Waiting [2021-10-14T08:39:16.187Z] 7a9cfe048b4a: Waiting [2021-10-14T08:39:16.467Z] 9e70ebbbe112: Verifying Checksum [2021-10-14T08:39:16.467Z] 9e70ebbbe112: Download complete [2021-10-14T08:39:16.467Z] ea3f2d53f512: Verifying Checksum [2021-10-14T08:39:16.467Z] ea3f2d53f512: Download complete [2021-10-14T08:39:16.467Z] 72dc09318566: Verifying Checksum [2021-10-14T08:39:16.467Z] 72dc09318566: Download complete [2021-10-14T08:39:16.467Z] f4f7b4309257: Download complete [2021-10-14T08:39:16.467Z] 0ac9a79272e3: Verifying Checksum [2021-10-14T08:39:16.467Z] 0ac9a79272e3: Download complete [2021-10-14T08:39:16.467Z] 552d1f2373af: Verifying Checksum [2021-10-14T08:39:17.475Z] 552d1f2373af: Pull complete [2021-10-14T08:39:17.759Z] ea3f2d53f512: Pull complete [2021-10-14T08:39:18.374Z] 9e70ebbbe112: Pull complete [2021-10-14T08:39:18.659Z] b78e95d17946: Verifying Checksum [2021-10-14T08:39:18.659Z] b78e95d17946: Download complete [2021-10-14T08:39:18.944Z] 7a9cfe048b4a: Verifying Checksum [2021-10-14T08:39:18.944Z] 7a9cfe048b4a: Download complete [2021-10-14T08:39:29.183Z] 7a9cfe048b4a: Pull complete [2021-10-14T08:39:29.183Z] 72dc09318566: Pull complete [2021-10-14T08:39:29.183Z] f4f7b4309257: Pull complete [2021-10-14T08:39:29.785Z] 0ac9a79272e3: Pull complete [2021-10-14T08:39:35.428Z] b78e95d17946: Pull complete [2021-10-14T08:39:35.428Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-14T08:39:35.428Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-14T08:39:35.428Z] ---> 8b459fc5aaf0 [2021-10-14T08:39:35.428Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-14T08:39:40.902Z] ---> Running in 2988b2648dda [2021-10-14T08:39:40.902Z] Removing intermediate container 2988b2648dda [2021-10-14T08:39:40.902Z] ---> 884400e9b54f [2021-10-14T08:39:40.902Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-14T08:39:40.902Z] ---> Running in 2d5a80d750b9 [2021-10-14T08:39:41.514Z] Removing intermediate container 2d5a80d750b9 [2021-10-14T08:39:41.514Z] ---> 747134c325a6 [2021-10-14T08:39:41.514Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:39:41.514Z] ---> Running in 6ad6834f743a [2021-10-14T08:39:44.186Z] Removing intermediate container 6ad6834f743a [2021-10-14T08:39:44.186Z] ---> 1ccd78fa32f1 [2021-10-14T08:39:44.186Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-14T08:39:44.468Z] ---> Running in fac9e75bcd59 [2021-10-14T08:39:45.949Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T08:39:46.944Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T08:39:47.549Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-14T08:39:47.828Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-14T08:39:47.828Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-14T08:39:47.828Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-14T08:39:48.105Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T08:39:48.105Z] OK: 223 MiB in 56 packages [2021-10-14T08:39:49.572Z] Removing intermediate container fac9e75bcd59 [2021-10-14T08:39:49.572Z] ---> 762a8d1f4b4e [2021-10-14T08:39:49.572Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-10-14T08:39:49.572Z] ---> Running in 2d430584a629 [2021-10-14T08:39:50.187Z] Removing intermediate container 2d430584a629 [2021-10-14T08:39:50.187Z] ---> 4d6b6fb06474 [2021-10-14T08:39:50.187Z] Step 8/11 : COPY . . [2021-10-14T08:39:51.179Z] ---> e47cc8bdc78c [2021-10-14T08:39:51.179Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:39:51.800Z] ---> Running in 3acc91b07233 [2021-10-14T08:40:24.295Z] Removing intermediate container 3acc91b07233 [2021-10-14T08:40:24.295Z] ---> 64969e50364b [2021-10-14T08:40:24.295Z] Step 10/11 : ARG MAKE='make build' [2021-10-14T08:40:24.295Z] ---> Running in 88cc39a538bc [2021-10-14T08:40:24.295Z] Removing intermediate container 88cc39a538bc [2021-10-14T08:40:24.295Z] ---> 57e7e8cdbba0 [2021-10-14T08:40:24.295Z] Step 11/11 : RUN $MAKE [2021-10-14T08:40:24.295Z] ---> Running in 7c84b653a074 [2021-10-14T08:40:24.295Z] noop [2021-10-14T08:40:24.295Z] Removing intermediate container 7c84b653a074 [2021-10-14T08:40:24.295Z] ---> 00dbe2f9598b [2021-10-14T08:40:24.295Z] Successfully built 00dbe2f9598b [2021-10-14T08:40:24.295Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:40:24.676Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T08:40:24.676Z] . [Pipeline] withDockerContainer [2021-10-14T08:40:25.029Z] prd-ubuntu18.04-docker-arm64-4c-16g-1388 does not seem to be running inside a container [2021-10-14T08:40:25.158Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/13 -v /w/workspace/device-mqtt-go/13:/w/workspace/device-mqtt-go/13:rw,z -v /w/workspace/device-mqtt-go/13@tmp:/w/workspace/device-mqtt-go/13@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-14T08:40:26.961Z] $ docker top 7569e4ef935930a3c3dc079c62b95bb43ac8d41d5b2b2c7f2b1a72d3e1880898 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T08:40:28.014Z] + go version [2021-10-14T08:40:28.014Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-14T08:40:28.068Z] $ docker stop --time=1 7569e4ef935930a3c3dc079c62b95bb43ac8d41d5b2b2c7f2b1a72d3e1880898 [2021-10-14T08:40:30.041Z] $ docker rm -f 7569e4ef935930a3c3dc079c62b95bb43ac8d41d5b2b2c7f2b1a72d3e1880898 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:40:30.825Z] + docker inspect -f . ci-base-image-arm64 [2021-10-14T08:40:30.825Z] . [Pipeline] withDockerContainer [2021-10-14T08:40:31.147Z] prd-ubuntu18.04-docker-arm64-4c-16g-1388 does not seem to be running inside a container [2021-10-14T08:40:31.265Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/13 -v /w/workspace/device-mqtt-go/13:/w/workspace/device-mqtt-go/13:rw,z -v /w/workspace/device-mqtt-go/13@tmp:/w/workspace/device-mqtt-go/13@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-14T08:40:33.102Z] $ docker top d8c565769b42110d49fedf97c4c9674b13e77a22651734ea1c8fdb708fe63696 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-14T08:40:34.176Z] + make test [2021-10-14T08:40:34.176Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-14T08:40:35.655Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-10-14T08:41:44.010Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-10-14T08:41:44.011Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.061s coverage: 22.4% of statements [2021-10-14T08:41:44.011Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-10-14T08:41:44.011Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-14T08:42:16.563Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-14T08:42:16.563Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-14T08:42:16.563Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-14T08:42:18.038Z] $ docker stop --time=1 d8c565769b42110d49fedf97c4c9674b13e77a22651734ea1c8fdb708fe63696 [2021-10-14T08:42:19.960Z] $ docker rm -f d8c565769b42110d49fedf97c4c9674b13e77a22651734ea1c8fdb708fe63696 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-14T08:42:20.867Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-14T08:42:20.896Z] Warning: overwriting stash ‘coverage-report’ [2021-10-14T08:42:21.531Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-14T08:42:21.973Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-14T08:42:22.328Z] + ls -al . [2021-10-14T08:42:22.328Z] total 152 [2021-10-14T08:42:22.328Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 08:42 . [2021-10-14T08:42:22.328Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 08:38 .. [2021-10-14T08:42:22.328Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 14 08:38 .dockerignore [2021-10-14T08:42:22.328Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 08:38 .git [2021-10-14T08:42:22.328Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:38 .github [2021-10-14T08:42:22.328Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 14 08:38 .gitignore [2021-10-14T08:42:22.328Z] -rw-rw-r-- 1 jenkins jenkins 6985 Oct 14 08:38 Attribution.txt [2021-10-14T08:42:22.328Z] -rw-rw-r-- 1 jenkins jenkins 7447 Oct 14 08:38 CHANGELOG.md [2021-10-14T08:42:22.328Z] -rw-rw-r-- 1 jenkins jenkins 1907 Oct 14 08:38 Dockerfile [2021-10-14T08:42:22.328Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 08:38 GOVERNANCE.md [2021-10-14T08:42:22.328Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 08:38 Jenkinsfile [2021-10-14T08:42:22.328Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 08:38 LICENSE [2021-10-14T08:42:22.328Z] -rw-rw-r-- 1 jenkins jenkins 1030 Oct 14 08:38 Makefile [2021-10-14T08:42:22.328Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 14 08:38 OWNERS.md [2021-10-14T08:42:22.328Z] -rw-rw-r-- 1 jenkins jenkins 2211 Oct 14 08:38 README.md [2021-10-14T08:42:22.328Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 14 08:33 VERSION [2021-10-14T08:42:22.328Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:38 bin [2021-10-14T08:42:22.328Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:38 cmd [2021-10-14T08:42:22.328Z] -rw-r--r-- 1 jenkins jenkins 17284 Oct 14 08:41 coverage.out [2021-10-14T08:42:22.328Z] -rw-rw-r-- 1 jenkins jenkins 367 Oct 14 08:38 go.mod [2021-10-14T08:42:22.328Z] -rw-rw-r-- 1 jenkins jenkins 20655 Oct 14 08:38 go.sum [2021-10-14T08:42:22.328Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 08:38 internal [2021-10-14T08:42:22.328Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 08:38 mock [2021-10-14T08:42:22.328Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 08:38 snap [2021-10-14T08:42:22.328Z] -rw-rw-r-- 1 jenkins jenkins 227 Oct 14 08:38 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:42:22.691Z] + 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=d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 --label arch=arm64 --label version=2.0.1-dev.11 . [2021-10-14T08:42:22.968Z] Sending build context to Docker daemon 678.4kB [2021-10-14T08:42:22.968Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-10-14T08:42:22.968Z] Step 2/23 : FROM ${BASE} AS builder [2021-10-14T08:42:22.968Z] ---> 00dbe2f9598b [2021-10-14T08:42:22.968Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-14T08:42:23.246Z] ---> Running in 3dc01a26e6cc [2021-10-14T08:42:23.856Z] Removing intermediate container 3dc01a26e6cc [2021-10-14T08:42:23.856Z] ---> 7f858d2f53b0 [2021-10-14T08:42:23.856Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-10-14T08:42:23.856Z] ---> Running in 1fc5cee4010d [2021-10-14T08:42:24.462Z] Removing intermediate container 1fc5cee4010d [2021-10-14T08:42:24.462Z] ---> e332f1688bcf [2021-10-14T08:42:24.462Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-14T08:42:24.462Z] ---> Running in c491a0949201 [2021-10-14T08:42:27.107Z] Removing intermediate container c491a0949201 [2021-10-14T08:42:27.107Z] ---> de7656e6b567 [2021-10-14T08:42:27.107Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-14T08:42:27.107Z] ---> Running in 25cf205f1eb4 [2021-10-14T08:42:28.099Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T08:42:29.105Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T08:42:29.707Z] OK: 223 MiB in 56 packages [2021-10-14T08:42:30.713Z] Removing intermediate container 25cf205f1eb4 [2021-10-14T08:42:30.713Z] ---> 80de24bcca5b [2021-10-14T08:42:30.713Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-10-14T08:42:30.991Z] ---> Running in 996b60067d7f [2021-10-14T08:42:31.593Z] Removing intermediate container 996b60067d7f [2021-10-14T08:42:31.593Z] ---> fb534a91e222 [2021-10-14T08:42:31.593Z] Step 8/23 : COPY . . [2021-10-14T08:42:32.584Z] ---> 26d9d062b19d [2021-10-14T08:42:32.584Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-14T08:42:32.584Z] ---> Running in 9394380ad14d [2021-10-14T08:42:35.258Z] Removing intermediate container 9394380ad14d [2021-10-14T08:42:35.258Z] ---> 30bb323de1f7 [2021-10-14T08:42:35.258Z] Step 10/23 : ARG MAKE='make build' [2021-10-14T08:42:35.258Z] ---> Running in 00eeb5e38185 [2021-10-14T08:42:35.863Z] Removing intermediate container 00eeb5e38185 [2021-10-14T08:42:35.863Z] ---> 38317a794923 [2021-10-14T08:42:35.863Z] Step 11/23 : RUN $MAKE [2021-10-14T08:42:35.863Z] ---> Running in 917047b657c2 [2021-10-14T08:42:37.322Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.11" -o cmd/device-mqtt ./cmd [2021-10-14T08:43:16.456Z] Removing intermediate container 917047b657c2 [2021-10-14T08:43:16.456Z] ---> 819c55a78949 [2021-10-14T08:43:16.456Z] Step 12/23 : FROM alpine:3.14 [2021-10-14T08:43:16.738Z] 3.14: Pulling from library/alpine [2021-10-14T08:43:17.019Z] 552d1f2373af: Already exists [2021-10-14T08:43:17.300Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-14T08:43:17.300Z] Status: Downloaded newer image for alpine:3.14 [2021-10-14T08:43:17.300Z] ---> bb3de5531c18 [2021-10-14T08:43:17.300Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-10-14T08:43:17.580Z] ---> Running in 8fe3e3ddf251 [2021-10-14T08:43:17.860Z] Removing intermediate container 8fe3e3ddf251 [2021-10-14T08:43:17.860Z] ---> e7a87b340828 [2021-10-14T08:43:17.860Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-10-14T08:43:18.150Z] ---> Running in 9b7d370efbfc [2021-10-14T08:43:19.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-14T08:43:19.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-14T08:43:20.622Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-10-14T08:43:20.622Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-10-14T08:43:20.622Z] (3/6) Installing libsodium (1.0.18-r0) [2021-10-14T08:43:20.622Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-14T08:43:20.622Z] (5/6) Installing libzmq (4.3.4-r0) [2021-10-14T08:43:20.622Z] (6/6) Installing zeromq (4.3.4-r0) [2021-10-14T08:43:20.622Z] Executing busybox-1.33.1-r3.trigger [2021-10-14T08:43:20.622Z] OK: 8 MiB in 20 packages [2021-10-14T08:43:22.096Z] Removing intermediate container 9b7d370efbfc [2021-10-14T08:43:22.096Z] ---> 56aadafa5ffc [2021-10-14T08:43:22.096Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-10-14T08:43:23.098Z] ---> e92c8af043a7 [2021-10-14T08:43:23.098Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-10-14T08:43:24.097Z] ---> 719c2a64ecee [2021-10-14T08:43:24.097Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-10-14T08:43:24.700Z] ---> be1e4fa879d2 [2021-10-14T08:43:24.700Z] Step 18/23 : EXPOSE 59982 [2021-10-14T08:43:24.979Z] ---> Running in 91b8fac2ff04 [2021-10-14T08:43:25.255Z] Removing intermediate container 91b8fac2ff04 [2021-10-14T08:43:25.255Z] ---> ef8d939249d3 [2021-10-14T08:43:25.255Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-10-14T08:43:25.534Z] ---> Running in f7f015fc6c5f [2021-10-14T08:43:25.814Z] Removing intermediate container f7f015fc6c5f [2021-10-14T08:43:25.814Z] ---> a8d964f20653 [2021-10-14T08:43:25.814Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-14T08:43:26.093Z] ---> Running in 11aad4052ea4 [2021-10-14T08:43:26.373Z] Removing intermediate container 11aad4052ea4 [2021-10-14T08:43:26.373Z] ---> dc5b9c32549f [2021-10-14T08:43:26.373Z] Step 21/23 : LABEL arch=arm64 [2021-10-14T08:43:26.650Z] ---> Running in d2bf15fc8108 [2021-10-14T08:43:27.256Z] Removing intermediate container d2bf15fc8108 [2021-10-14T08:43:27.256Z] ---> d803ceb5af33 [2021-10-14T08:43:27.256Z] Step 22/23 : LABEL git_sha=d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 [2021-10-14T08:43:27.256Z] ---> Running in bc0f20a42fc3 [2021-10-14T08:43:27.867Z] Removing intermediate container bc0f20a42fc3 [2021-10-14T08:43:27.867Z] ---> b2f9ba4e6abb [2021-10-14T08:43:27.867Z] Step 23/23 : LABEL version=2.0.1-dev.11 [2021-10-14T08:43:27.867Z] ---> Running in eab7e0bba75c [2021-10-14T08:43:28.475Z] Removing intermediate container eab7e0bba75c [2021-10-14T08:43:28.475Z] ---> 3811f9b451f6 [2021-10-14T08:43:28.475Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-14T08:43:28.475Z] Successfully built 3811f9b451f6 [2021-10-14T08:43:28.475Z] 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-14T08:43:28.617Z] provisioning config files... [2021-10-14T08:43:28.641Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/13@tmp/config8031876312493266097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:43:29.014Z] ---> docker-login.sh [2021-10-14T08:43:29.014Z] nexus3.edgexfoundry.org:10001 [2021-10-14T08:43:29.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:43:29.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:43:29.576Z] Configure a credential helper to remove this warning. See [2021-10-14T08:43:29.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:43:29.576Z] [2021-10-14T08:43:29.576Z] Login Succeeded [2021-10-14T08:43:29.576Z] nexus3.edgexfoundry.org:10002 [2021-10-14T08:43:30.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:43:30.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:43:30.185Z] Configure a credential helper to remove this warning. See [2021-10-14T08:43:30.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:43:30.185Z] [2021-10-14T08:43:30.185Z] Login Succeeded [2021-10-14T08:43:30.185Z] nexus3.edgexfoundry.org:10003 [2021-10-14T08:43:30.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:43:30.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:43:30.793Z] Configure a credential helper to remove this warning. See [2021-10-14T08:43:30.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:43:30.793Z] [2021-10-14T08:43:30.793Z] Login Succeeded [2021-10-14T08:43:30.793Z] nexus3.edgexfoundry.org:10004 [2021-10-14T08:43:31.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:43:31.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:43:31.413Z] Configure a credential helper to remove this warning. See [2021-10-14T08:43:31.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:43:31.413Z] [2021-10-14T08:43:31.413Z] Login Succeeded [2021-10-14T08:43:31.413Z] docker.io [2021-10-14T08:43:32.029Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-14T08:43:32.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-14T08:43:32.639Z] Configure a credential helper to remove this warning. See [2021-10-14T08:43:32.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-14T08:43:32.639Z] [2021-10-14T08:43:32.639Z] Login Succeeded [2021-10-14T08:43:32.639Z] ---> docker-login.sh ends [Pipeline] } [2021-10-14T08:43:32.663Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-14T08:43:32.704Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2021-10-14T08:43:32.704Z] d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 [2021-10-14T08:43:32.704Z] latest [2021-10-14T08:43:32.704Z] 2.0.1-dev.11 [2021-10-14T08:43:32.704Z] d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7-2.0.1-dev.11 [2021-10-14T08:43:32.704Z] main [2021-10-14T08:43:32.704Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:33.085Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:33.451Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 [2021-10-14T08:43:33.451Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-10-14T08:43:33.451Z] d001cd27ebf8: Preparing [2021-10-14T08:43:33.451Z] c375f05b4df5: Preparing [2021-10-14T08:43:33.451Z] d22f253a3cfa: Preparing [2021-10-14T08:43:33.451Z] 72cf191bc3ba: Preparing [2021-10-14T08:43:33.451Z] ee420dfed78a: Preparing [2021-10-14T08:43:33.735Z] ee420dfed78a: Layer already exists [2021-10-14T08:43:33.735Z] c375f05b4df5: Pushed [2021-10-14T08:43:33.735Z] d001cd27ebf8: Pushed [2021-10-14T08:43:34.344Z] 72cf191bc3ba: Pushed [2021-10-14T08:43:36.987Z] d22f253a3cfa: Pushed [2021-10-14T08:43:36.987Z] d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7: digest: sha256:2790548a5edde1d661b37c566d11443392e4e846b36c5294f4a7a3a531954213 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:37.350Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:37.710Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-10-14T08:43:37.710Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-10-14T08:43:37.710Z] d001cd27ebf8: Preparing [2021-10-14T08:43:37.710Z] c375f05b4df5: Preparing [2021-10-14T08:43:37.710Z] d22f253a3cfa: Preparing [2021-10-14T08:43:37.710Z] 72cf191bc3ba: Preparing [2021-10-14T08:43:37.710Z] ee420dfed78a: Preparing [2021-10-14T08:43:37.711Z] d001cd27ebf8: Layer already exists [2021-10-14T08:43:37.711Z] d22f253a3cfa: Layer already exists [2021-10-14T08:43:37.711Z] ee420dfed78a: Layer already exists [2021-10-14T08:43:37.711Z] 72cf191bc3ba: Layer already exists [2021-10-14T08:43:37.711Z] c375f05b4df5: Layer already exists [2021-10-14T08:43:37.988Z] latest: digest: sha256:2790548a5edde1d661b37c566d11443392e4e846b36c5294f4a7a3a531954213 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:38.362Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:38.725Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.11 [2021-10-14T08:43:38.725Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-10-14T08:43:38.725Z] d001cd27ebf8: Preparing [2021-10-14T08:43:38.725Z] c375f05b4df5: Preparing [2021-10-14T08:43:38.725Z] d22f253a3cfa: Preparing [2021-10-14T08:43:38.725Z] 72cf191bc3ba: Preparing [2021-10-14T08:43:38.725Z] ee420dfed78a: Preparing [2021-10-14T08:43:38.725Z] ee420dfed78a: Layer already exists [2021-10-14T08:43:38.725Z] c375f05b4df5: Layer already exists [2021-10-14T08:43:38.725Z] 72cf191bc3ba: Layer already exists [2021-10-14T08:43:38.725Z] d22f253a3cfa: Layer already exists [2021-10-14T08:43:38.725Z] d001cd27ebf8: Layer already exists [2021-10-14T08:43:39.002Z] 2.0.1-dev.11: digest: sha256:2790548a5edde1d661b37c566d11443392e4e846b36c5294f4a7a3a531954213 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:39.374Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7-2.0.1-dev.11 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:39.739Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7-2.0.1-dev.11 [2021-10-14T08:43:39.739Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-10-14T08:43:39.739Z] d001cd27ebf8: Preparing [2021-10-14T08:43:39.739Z] c375f05b4df5: Preparing [2021-10-14T08:43:39.739Z] d22f253a3cfa: Preparing [2021-10-14T08:43:39.739Z] 72cf191bc3ba: Preparing [2021-10-14T08:43:39.739Z] ee420dfed78a: Preparing [2021-10-14T08:43:39.739Z] 72cf191bc3ba: Layer already exists [2021-10-14T08:43:39.739Z] c375f05b4df5: Layer already exists [2021-10-14T08:43:39.739Z] d001cd27ebf8: Layer already exists [2021-10-14T08:43:39.739Z] ee420dfed78a: Layer already exists [2021-10-14T08:43:39.739Z] d22f253a3cfa: Layer already exists [2021-10-14T08:43:40.016Z] d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7-2.0.1-dev.11: digest: sha256:2790548a5edde1d661b37c566d11443392e4e846b36c5294f4a7a3a531954213 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:40.380Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:40.741Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2021-10-14T08:43:40.741Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-10-14T08:43:40.741Z] d001cd27ebf8: Preparing [2021-10-14T08:43:40.741Z] c375f05b4df5: Preparing [2021-10-14T08:43:40.741Z] d22f253a3cfa: Preparing [2021-10-14T08:43:40.741Z] 72cf191bc3ba: Preparing [2021-10-14T08:43:40.741Z] ee420dfed78a: Preparing [2021-10-14T08:43:40.741Z] ee420dfed78a: Layer already exists [2021-10-14T08:43:40.741Z] 72cf191bc3ba: Layer already exists [2021-10-14T08:43:40.741Z] c375f05b4df5: Layer already exists [2021-10-14T08:43:40.741Z] d001cd27ebf8: Layer already exists [2021-10-14T08:43:40.741Z] d22f253a3cfa: Layer already exists [2021-10-14T08:43:41.018Z] main: digest: sha256:2790548a5edde1d661b37c566d11443392e4e846b36c5294f4a7a3a531954213 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-10-14T08:43:41.068Z] ===================================================== [Pipeline] echo [2021-10-14T08:43:41.074Z] taggedImages: [2021-10-14T08:43:41.074Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 [2021-10-14T08:43:41.074Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-10-14T08:43:41.074Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.11 [2021-10-14T08:43:41.074Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7-2.0.1-dev.11 [2021-10-14T08:43:41.074Z] - 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-14T08:43:41.542Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T08:43:41.542Z] [2021-10-14T08:43:41.542Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:43:41.902Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T08:43:42.180Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-14T08:43:42.180Z] 448f6bf000e3: Pulling fs layer [2021-10-14T08:43:42.180Z] f757da607395: Pulling fs layer [2021-10-14T08:43:42.180Z] 05883995daec: Pulling fs layer [2021-10-14T08:43:42.180Z] 8603b9c90790: Pulling fs layer [2021-10-14T08:43:42.180Z] 1560dd03e051: Pulling fs layer [2021-10-14T08:43:42.181Z] 27f5ce0e4adf: Pulling fs layer [2021-10-14T08:43:42.181Z] c2d8d7efcc4b: Pulling fs layer [2021-10-14T08:43:42.181Z] 1560dd03e051: Waiting [2021-10-14T08:43:42.181Z] 27f5ce0e4adf: Waiting [2021-10-14T08:43:42.181Z] c2d8d7efcc4b: Waiting [2021-10-14T08:43:42.181Z] 8603b9c90790: Waiting [2021-10-14T08:43:42.181Z] f757da607395: Verifying Checksum [2021-10-14T08:43:42.181Z] f757da607395: Download complete [2021-10-14T08:43:42.181Z] 8603b9c90790: Verifying Checksum [2021-10-14T08:43:42.181Z] 8603b9c90790: Download complete [2021-10-14T08:43:42.459Z] 1560dd03e051: Verifying Checksum [2021-10-14T08:43:42.459Z] 1560dd03e051: Download complete [2021-10-14T08:43:42.459Z] 27f5ce0e4adf: Verifying Checksum [2021-10-14T08:43:42.459Z] 27f5ce0e4adf: Download complete [2021-10-14T08:43:42.459Z] 05883995daec: Verifying Checksum [2021-10-14T08:43:42.459Z] 05883995daec: Download complete [2021-10-14T08:43:43.068Z] 448f6bf000e3: Verifying Checksum [2021-10-14T08:43:43.068Z] 448f6bf000e3: Download complete [2021-10-14T08:43:45.734Z] c2d8d7efcc4b: Verifying Checksum [2021-10-14T08:43:45.734Z] c2d8d7efcc4b: Download complete [2021-10-14T08:43:46.732Z] 448f6bf000e3: Pull complete [2021-10-14T08:43:47.343Z] f757da607395: Pull complete [2021-10-14T08:43:48.809Z] 05883995daec: Pull complete [2021-10-14T08:43:49.416Z] 8603b9c90790: Pull complete [2021-10-14T08:43:50.413Z] 1560dd03e051: Pull complete [2021-10-14T08:43:50.693Z] 27f5ce0e4adf: Pull complete [2021-10-14T08:44:05.850Z] c2d8d7efcc4b: Pull complete [2021-10-14T08:44:05.850Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-14T08:44:05.850Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-14T08:44:05.850Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-14T08:44:06.146Z] prd-ubuntu18.04-docker-arm64-4c-16g-1388 does not seem to be running inside a container [2021-10-14T08:44:06.250Z] $ 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/13 -v /w/workspace/device-mqtt-go/13:/w/workspace/device-mqtt-go/13:rw,z -v /w/workspace/device-mqtt-go/13@tmp:/w/workspace/device-mqtt-go/13@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-14T08:44:10.786Z] $ docker top 73d325bcceb55afdf157a35192c40072482b053496296fb43bf3b531545c398b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:44:11.834Z] ---> job-cost.sh [2021-10-14T08:44:11.834Z] lf-activate-venv: SKIPPING [2021-10-14T08:44:11.834Z] INFO: No Stack... [2021-10-14T08:44:12.824Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-14T08:44:13.102Z] INFO: Archiving Costs [Pipeline] sh [2021-10-14T08:44:13.795Z] + cat /w/workspace/device-mqtt-go/13/archives/cost.csv [2021-10-14T08:44:13.795Z] + cut -d, -f6 [Pipeline] lock [2021-10-14T08:44:13.868Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-13-stack-cost] [2021-10-14T08:44:13.873Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-13-stack-cost] did not exist. Created. [2021-10-14T08:44:13.873Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-14T08:44:14.581Z] /w/workspace/device-mqtt-go/13@tmp/durable-39a81dba/script.sh: 1: /w/workspace/device-mqtt-go/13@tmp/durable-39a81dba/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-14T08:44:15.289Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-14T08:44:15.312Z] Warning: overwriting stash ‘stack-cost’ [2021-10-14T08:44:15.366Z] Stashed 1 file(s) [Pipeline] } [2021-10-14T08:44:15.374Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-13-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-14T08:44:15.388Z] $ docker stop --time=1 73d325bcceb55afdf157a35192c40072482b053496296fb43bf3b531545c398b [2021-10-14T08:44:17.117Z] $ docker rm -f 73d325bcceb55afdf157a35192c40072482b053496296fb43bf3b531545c398b [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-14T08:44:17.831Z] provisioning config files... [2021-10-14T08:44:17.839Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8114573288789735316tmp [Pipeline] { [Pipeline] sh [2021-10-14T08:44:18.149Z] + set +x [2021-10-14T08:44:18.149Z] + curl -s https://codecov.io/bash [2021-10-14T08:44:18.149Z] + bash -s -- [2021-10-14T08:44:18.149Z] [2021-10-14T08:44:18.149Z] _____ _ [2021-10-14T08:44:18.149Z] / ____| | | [2021-10-14T08:44:18.149Z] | | ___ __| | ___ ___ _____ __ [2021-10-14T08:44:18.149Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-14T08:44:18.149Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-14T08:44:18.149Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-14T08:44:18.149Z] Bash-1.0.6 [2021-10-14T08:44:18.149Z] [2021-10-14T08:44:18.149Z] [2021-10-14T08:44:18.149Z] ==> git version 2.24.4 found [2021-10-14T08:44:18.149Z] ==> 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-14T08:44:18.149Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-14T08:44:18.149Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-14T08:44:18.149Z] ==> Jenkins CI detected. [2021-10-14T08:44:18.149Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2021-10-14T08:44:18.149Z] project root: . [2021-10-14T08:44:18.149Z] --> token set from env [2021-10-14T08:44:18.149Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-14T08:44:18.149Z] ==> Running gcov in . (disable via -X gcov) [2021-10-14T08:44:18.149Z] ==> Python coveragepy not found [2021-10-14T08:44:18.149Z] ==> Searching for coverage reports in: [2021-10-14T08:44:18.149Z] + . [2021-10-14T08:44:18.149Z] -> Found 1 reports [2021-10-14T08:44:18.149Z] ==> Detecting git/mercurial file structure [2021-10-14T08:44:18.149Z] ==> Reading reports [2021-10-14T08:44:18.149Z] + ./coverage.out bytes=17284 [2021-10-14T08:44:18.149Z] ==> Appending adjustments [2021-10-14T08:44:18.149Z] https://docs.codecov.io/docs/fixing-reports [2021-10-14T08:44:18.412Z] + Found adjustments [2021-10-14T08:44:18.412Z] ==> Gzipping contents [2021-10-14T08:44:18.412Z] 4.0K /tmp/codecov.HOjVa6.gz [2021-10-14T08:44:18.412Z] ==> Uploading reports [2021-10-14T08:44:18.412Z] url: https://codecov.io [2021-10-14T08:44:18.412Z] query: branch=main&commit=d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-14T08:44:18.412Z] -> Pinging Codecov [2021-10-14T08:44:18.412Z] 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=d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-10-14T08:44:18.673Z] -> Uploading to [2021-10-14T08:44:18.673Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-14/7D719EC7BBE17E464838252E33014C33/d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7/e9851d1e-cd36-4b0e-8944-223cbbdb9ecf.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211014%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211014T084418Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=83fbd7a7a43ba606017665ec8229fffd86f93fe212a5361d153216c1e1ebf935 [2021-10-14T08:44:18.673Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-14T08:44:18.673Z] Dload Upload Total Spent Left Speed [2021-10-14T08:44:18.934Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3167 0 0 100 3167 0 11399 --:--:-- --:--:-- --:--:-- 11433 [2021-10-14T08:44:18.934Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 [Pipeline] } [2021-10-14T08:44:18.943Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-10-14T08:44:19.109Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-10-14T08:44:19.122Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:44:19.424Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-14T08:44:19.424Z] [2021-10-14T08:44:19.424Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:44:19.739Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-14T08:44:19.739Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-10-14T08:44:19.739Z] 188c0c94c7c5: Pulling fs layer [2021-10-14T08:44:19.739Z] 0ef7d3d256c8: Pulling fs layer [2021-10-14T08:44:19.739Z] de9db76c5a1d: Pulling fs layer [2021-10-14T08:44:19.739Z] 0eba1c9be4d2: Pulling fs layer [2021-10-14T08:44:19.739Z] 0d57e429df01: Pulling fs layer [2021-10-14T08:44:19.739Z] 4e4be7b47b0d: Pulling fs layer [2021-10-14T08:44:19.739Z] e1f770b5df2f: Pulling fs layer [2021-10-14T08:44:19.739Z] 85a0685a4137: Pulling fs layer [2021-10-14T08:44:19.739Z] 0eba1c9be4d2: Waiting [2021-10-14T08:44:19.739Z] 0d57e429df01: Waiting [2021-10-14T08:44:19.739Z] 4e4be7b47b0d: Waiting [2021-10-14T08:44:19.739Z] e1f770b5df2f: Waiting [2021-10-14T08:44:19.739Z] 85a0685a4137: Waiting [2021-10-14T08:44:19.739Z] de9db76c5a1d: Verifying Checksum [2021-10-14T08:44:19.739Z] de9db76c5a1d: Download complete [2021-10-14T08:44:19.739Z] 0ef7d3d256c8: Verifying Checksum [2021-10-14T08:44:19.739Z] 0ef7d3d256c8: Download complete [2021-10-14T08:44:19.739Z] 0d57e429df01: Verifying Checksum [2021-10-14T08:44:19.739Z] 0d57e429df01: Download complete [2021-10-14T08:44:19.739Z] 4e4be7b47b0d: Verifying Checksum [2021-10-14T08:44:19.739Z] 4e4be7b47b0d: Download complete [2021-10-14T08:44:19.739Z] 188c0c94c7c5: Verifying Checksum [2021-10-14T08:44:19.739Z] 188c0c94c7c5: Download complete [2021-10-14T08:44:20.013Z] e1f770b5df2f: Verifying Checksum [2021-10-14T08:44:20.013Z] e1f770b5df2f: Download complete [2021-10-14T08:44:20.013Z] 188c0c94c7c5: Pull complete [2021-10-14T08:44:20.594Z] 0eba1c9be4d2: Verifying Checksum [2021-10-14T08:44:20.594Z] 0eba1c9be4d2: Download complete [2021-10-14T08:44:20.594Z] 0ef7d3d256c8: Pull complete [2021-10-14T08:44:20.594Z] 85a0685a4137: Verifying Checksum [2021-10-14T08:44:20.594Z] 85a0685a4137: Download complete [2021-10-14T08:44:20.594Z] de9db76c5a1d: Pull complete [2021-10-14T08:44:24.854Z] 0eba1c9be4d2: Pull complete [2021-10-14T08:44:24.854Z] 0d57e429df01: Pull complete [2021-10-14T08:44:24.854Z] 4e4be7b47b0d: Pull complete [2021-10-14T08:44:25.126Z] e1f770b5df2f: Pull complete [2021-10-14T08:44:29.370Z] 85a0685a4137: Pull complete [2021-10-14T08:44:29.370Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-10-14T08:44:29.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-10-14T08:44:29.370Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-10-14T08:44:29.434Z] prd-centos7-docker-4c-2g-1374 does not seem to be running inside a container [2021-10-14T08:44:29.470Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-10-14T08:44:31.553Z] $ docker top 7a7ed1965959f4bed5be57160f1ebc16aa055a4bc7ba18bb3f7049a9885b682d -eo pid,comm [Pipeline] { [Pipeline] echo [2021-10-14T08:44:31.624Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-10-14T08:44:31.914Z] + set -o pipefail [2021-10-14T08:44:31.914Z] + snyk monitor '--org=edgex-jenkins' [2021-10-14T08:45:39.694Z] [2021-10-14T08:45:39.694Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2021-10-14T08:45:39.694Z] [2021-10-14T08:45:39.694Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/d64e78bd-49c9-42ac-a7d5-380ec484e8d6 [2021-10-14T08:45:39.694Z] [2021-10-14T08:45:39.694Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-10-14T08:45:39.694Z] [2021-10-14T08:45:39.694Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-10-14T08:45:39.694Z] [2021-10-14T08:45:39.694Z] [2021-10-14T08:45:39.694Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2021-10-14T08:45:39.694Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-10-14T08:45:39.706Z] $ docker stop --time=1 7a7ed1965959f4bed5be57160f1ebc16aa055a4bc7ba18bb3f7049a9885b682d [2021-10-14T08:45:40.931Z] $ docker rm -f 7a7ed1965959f4bed5be57160f1ebc16aa055a4bc7ba18bb3f7049a9885b682d [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-14T08:45:41.780Z] + git log --format=format:%s -1 d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:45:42.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:45:42.082Z] . [Pipeline] withDockerContainer [2021-10-14T08:45:42.145Z] prd-centos7-docker-4c-2g-1374 does not seem to be running inside a container [2021-10-14T08:45:42.177Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T08:45:42.593Z] $ docker top 91a0cc62d0c6ab80ecaefaa18ba9571364272bd938c3b3c85008624c430eb4af -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T08:45:42.715Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T08:45:42.715Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T08:45:42.860Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T08:45:42.862Z] $ docker exec 91a0cc62d0c6ab80ecaefaa18ba9571364272bd938c3b3c85008624c430eb4af ssh-agent [2021-10-14T08:45:42.979Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmceOGL/agent.15 [2021-10-14T08:45:42.979Z] SSH_AGENT_PID=22 [2021-10-14T08:45:42.985Z] Running ssh-add (command line suppressed) [2021-10-14T08:45:43.085Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8389629281581674782.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8389629281581674782.key) [2021-10-14T08:45:43.098Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T08:45:43.395Z] + git semver tag [2021-10-14T08:45:43.395Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T08:45:43.395Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-10-14T08:45:43.395Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-10-14T08:45:43.395Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T08:45:43.395Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T08:45:43.395Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T08:45:43.395Z] # $SEMVER_BRANCH = main [2021-10-14T08:45:43.395Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2021-10-14T08:45:43.395Z] # d9b9f86a238ae1bc5a6cb9e122b0a84d866df2b7 HEAD [2021-10-14T08:45:43.395Z] # -> Force: false [2021-10-14T08:45:43.395Z] # df67093f80bc8c64a9fa5cf3e94ba59013fd3209 refs/tags/v2.0.1-dev.11 [Pipeline] } [2021-10-14T08:45:43.404Z] $ docker exec --env ******** --env ******** 91a0cc62d0c6ab80ecaefaa18ba9571364272bd938c3b3c85008624c430eb4af ssh-agent -k [2021-10-14T08:45:43.489Z] unset SSH_AUTH_SOCK; [2021-10-14T08:45:43.489Z] unset SSH_AGENT_PID; [2021-10-14T08:45:43.489Z] echo Agent pid 22 killed; [2021-10-14T08:45:43.500Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T08:45:43.829Z] + git semver [Pipeline] } [2021-10-14T08:45:43.842Z] $ docker stop --time=1 91a0cc62d0c6ab80ecaefaa18ba9571364272bd938c3b3c85008624c430eb4af [2021-10-14T08:45:45.019Z] $ docker rm -f 91a0cc62d0c6ab80ecaefaa18ba9571364272bd938c3b3c85008624c430eb4af [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:45:45.417Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-14T08:45:45.417Z] [2021-10-14T08:45:45.417Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:45:45.723Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-14T08:45:45.723Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-10-14T08:45:45.723Z] ab5ef0e58194: Pulling fs layer [2021-10-14T08:45:45.723Z] 9712f1f96733: Pulling fs layer [2021-10-14T08:45:45.723Z] 63f879dbbcfc: Pulling fs layer [2021-10-14T08:45:45.723Z] 0d9ebad4ef96: Pulling fs layer [2021-10-14T08:45:45.723Z] e9a5061849ea: Pulling fs layer [2021-10-14T08:45:45.723Z] d747dcd14b5f: Pulling fs layer [2021-10-14T08:45:45.723Z] 2de7ff778b66: Pulling fs layer [2021-10-14T08:45:45.723Z] 0d9ebad4ef96: Waiting [2021-10-14T08:45:45.723Z] e9a5061849ea: Waiting [2021-10-14T08:45:45.723Z] d747dcd14b5f: Waiting [2021-10-14T08:45:45.723Z] 2de7ff778b66: Waiting [2021-10-14T08:45:45.723Z] 9712f1f96733: Verifying Checksum [2021-10-14T08:45:45.723Z] 9712f1f96733: Download complete [2021-10-14T08:45:45.990Z] 63f879dbbcfc: Verifying Checksum [2021-10-14T08:45:45.990Z] 63f879dbbcfc: Download complete [2021-10-14T08:45:46.251Z] 0d9ebad4ef96: Verifying Checksum [2021-10-14T08:45:46.251Z] 0d9ebad4ef96: Download complete [2021-10-14T08:45:46.251Z] d747dcd14b5f: Verifying Checksum [2021-10-14T08:45:46.251Z] d747dcd14b5f: Download complete [2021-10-14T08:45:46.251Z] e9a5061849ea: Verifying Checksum [2021-10-14T08:45:46.251Z] e9a5061849ea: Download complete [2021-10-14T08:45:46.515Z] ab5ef0e58194: Verifying Checksum [2021-10-14T08:45:46.515Z] ab5ef0e58194: Download complete [2021-10-14T08:45:46.515Z] 2de7ff778b66: Verifying Checksum [2021-10-14T08:45:46.515Z] 2de7ff778b66: Download complete [2021-10-14T08:45:49.111Z] ab5ef0e58194: Pull complete [2021-10-14T08:45:49.111Z] 9712f1f96733: Pull complete [2021-10-14T08:45:49.708Z] 63f879dbbcfc: Pull complete [2021-10-14T08:45:54.011Z] 0d9ebad4ef96: Pull complete [2021-10-14T08:45:54.011Z] e9a5061849ea: Pull complete [2021-10-14T08:45:54.011Z] d747dcd14b5f: Pull complete [2021-10-14T08:45:55.408Z] 2de7ff778b66: Pull complete [2021-10-14T08:45:55.408Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-10-14T08:45:55.408Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-10-14T08:45:55.408Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-10-14T08:45:55.478Z] prd-centos7-docker-4c-2g-1374 does not seem to be running inside a container [2021-10-14T08:45:55.529Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-10-14T08:45:58.729Z] $ docker top d91b1614919e82e0367b40389e26f95e9ea4a74f31c9818f6baa760f31eac906 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:45:58.807Z] provisioning config files... [2021-10-14T08:45:58.816Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5133995533366975652tmp [2021-10-14T08:45:58.826Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5825591149961673501tmp [2021-10-14T08:45:58.838Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7329277493016885784tmp [Pipeline] { [Pipeline] echo [2021-10-14T08:45:58.853Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:45:59.140Z] ---> sigul-configuration.sh [2021-10-14T08:45:59.140Z] gpg: directory `/root/.gnupg' created [2021-10-14T08:45:59.140Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-10-14T08:45:59.140Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-10-14T08:45:59.140Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-10-14T08:45:59.140Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-10-14T08:45:59.140Z] gpg: CAST5 encrypted data [2021-10-14T08:45:59.140Z] gpg: encrypted with 1 passphrase [2021-10-14T08:45:59.140Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-10-14T08:45:59.434Z] + mkdir /home/jenkins [2021-10-14T08:45:59.434Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-10-14T08:45:59.725Z] + 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-14T08:45:59.735Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:46:00.021Z] ---> sigul-install.sh [2021-10-14T08:46:00.021Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-10-14T08:46:00.316Z] + git tag --list [2021-10-14T08:46:00.316Z] 0.7.1 [2021-10-14T08:46:00.316Z] v1.0.0 [2021-10-14T08:46:00.316Z] v1.1.0 [2021-10-14T08:46:00.316Z] v1.1.1 [2021-10-14T08:46:00.316Z] v1.2.2 [2021-10-14T08:46:00.316Z] v1.3.0 [2021-10-14T08:46:00.316Z] v1.3.1 [2021-10-14T08:46:00.316Z] v2.0.0 [2021-10-14T08:46:00.316Z] v2.0.1-dev.1 [2021-10-14T08:46:00.316Z] v2.0.1-dev.10 [2021-10-14T08:46:00.316Z] v2.0.1-dev.11 [2021-10-14T08:46:00.316Z] v2.0.1-dev.2 [2021-10-14T08:46:00.316Z] v2.0.1-dev.3 [2021-10-14T08:46:00.316Z] v2.0.1-dev.4 [2021-10-14T08:46:00.316Z] v2.0.1-dev.5 [2021-10-14T08:46:00.316Z] v2.0.1-dev.6 [2021-10-14T08:46:00.316Z] v2.0.1-dev.7 [2021-10-14T08:46:00.316Z] v2.0.1-dev.8 [2021-10-14T08:46:00.316Z] v2.0.1-dev.9 [Pipeline] sh [2021-10-14T08:46:00.609Z] + lftools sign git-tag v2.0.1-dev.11 [2021-10-14T08:46:01.180Z] Signing Git tag with Sigul... [2021-10-14T08:46:01.180Z] Signing v2.0.1-dev.11 [Pipeline] echo [2021-10-14T08:46:02.139Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:46:02.438Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-10-14T08:46:02.446Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-10-14T08:46:02.460Z] $ docker stop --time=1 d91b1614919e82e0367b40389e26f95e9ea4a74f31c9818f6baa760f31eac906 [2021-10-14T08:46:03.649Z] $ docker rm -f d91b1614919e82e0367b40389e26f95e9ea4a74f31c9818f6baa760f31eac906 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:46:04.194Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:46:04.194Z] . [Pipeline] withDockerContainer [2021-10-14T08:46:04.261Z] prd-centos7-docker-4c-2g-1374 does not seem to be running inside a container [2021-10-14T08:46:04.295Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T08:46:04.638Z] $ docker top 347e6cbdbe37c67d84cfa0671e78aea30d12f1e0568c41d6bf7c8b4643fa2a13 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T08:46:04.727Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T08:46:04.727Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T08:46:04.832Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T08:46:04.834Z] $ docker exec 347e6cbdbe37c67d84cfa0671e78aea30d12f1e0568c41d6bf7c8b4643fa2a13 ssh-agent [2021-10-14T08:46:04.940Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLgeCJd/agent.13 [2021-10-14T08:46:04.940Z] SSH_AGENT_PID=20 [2021-10-14T08:46:04.945Z] Running ssh-add (command line suppressed) [2021-10-14T08:46:05.032Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3152023369454612716.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3152023369454612716.key) [2021-10-14T08:46:05.045Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T08:46:05.340Z] + git semver bump pre [2021-10-14T08:46:05.340Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T08:46:05.340Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-10-14T08:46:05.340Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-10-14T08:46:05.340Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T08:46:05.340Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T08:46:05.340Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T08:46:05.340Z] # $SEMVER_BRANCH = main [2021-10-14T08:46:05.340Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2021-10-14T08:46:05.340Z] 2.0.1-dev.12 [Pipeline] } [2021-10-14T08:46:05.349Z] $ docker exec --env ******** --env ******** 347e6cbdbe37c67d84cfa0671e78aea30d12f1e0568c41d6bf7c8b4643fa2a13 ssh-agent -k [2021-10-14T08:46:05.436Z] unset SSH_AUTH_SOCK; [2021-10-14T08:46:05.437Z] unset SSH_AGENT_PID; [2021-10-14T08:46:05.437Z] echo Agent pid 20 killed; [2021-10-14T08:46:05.446Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T08:46:05.761Z] + git semver [Pipeline] } [2021-10-14T08:46:05.774Z] $ docker stop --time=1 347e6cbdbe37c67d84cfa0671e78aea30d12f1e0568c41d6bf7c8b4643fa2a13 [2021-10-14T08:46:06.954Z] $ docker rm -f 347e6cbdbe37c67d84cfa0671e78aea30d12f1e0568c41d6bf7c8b4643fa2a13 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:46:07.319Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-14T08:46:07.319Z] . [Pipeline] withDockerContainer [2021-10-14T08:46:07.378Z] prd-centos7-docker-4c-2g-1374 does not seem to be running inside a container [2021-10-14T08:46:07.414Z] $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-14T08:46:07.756Z] $ docker top 8325e75cbc9301f57e3c43a0b4df8fb5dcf245d7100b5ea6448368d99bdfa705 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-14T08:46:07.844Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-14T08:46:07.844Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-14T08:46:07.956Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-14T08:46:07.957Z] $ docker exec 8325e75cbc9301f57e3c43a0b4df8fb5dcf245d7100b5ea6448368d99bdfa705 ssh-agent [2021-10-14T08:46:08.118Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJGLmLN/agent.13 [2021-10-14T08:46:08.118Z] SSH_AGENT_PID=19 [2021-10-14T08:46:08.159Z] Running ssh-add (command line suppressed) [2021-10-14T08:46:08.280Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7061211400251546241.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7061211400251546241.key) [2021-10-14T08:46:08.356Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-14T08:46:08.692Z] + git semver push [2021-10-14T08:46:08.692Z] # -> Open(): unable to determine branch for HEAD [2021-10-14T08:46:08.692Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-10-14T08:46:08.692Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-10-14T08:46:08.692Z] # $SEMVER_REMOTE_NAME = origin [2021-10-14T08:46:08.692Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-14T08:46:08.692Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-14T08:46:08.692Z] # $SEMVER_BRANCH = main [2021-10-14T08:46:08.692Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2021-10-14T08:46:10.611Z] $ docker exec --env ******** --env ******** 8325e75cbc9301f57e3c43a0b4df8fb5dcf245d7100b5ea6448368d99bdfa705 ssh-agent -k [2021-10-14T08:46:10.709Z] unset SSH_AUTH_SOCK; [2021-10-14T08:46:10.709Z] unset SSH_AGENT_PID; [2021-10-14T08:46:10.710Z] echo Agent pid 19 killed; [2021-10-14T08:46:10.720Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-14T08:46:11.026Z] + git semver [Pipeline] } [2021-10-14T08:46:11.038Z] $ docker stop --time=1 8325e75cbc9301f57e3c43a0b4df8fb5dcf245d7100b5ea6448368d99bdfa705 [2021-10-14T08:46:12.214Z] $ docker rm -f 8325e75cbc9301f57e3c43a0b4df8fb5dcf245d7100b5ea6448368d99bdfa705 [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-14T08:46:12.914Z] + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:46:13.231Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:46:13.788Z] ---> package-listing.sh [2021-10-14T08:46:13.788Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-14T08:46:13.788Z] ++ facter osfamily [2021-10-14T08:46:14.049Z] + OS_FAMILY=redhat [2021-10-14T08:46:14.049Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2021-10-14T08:46:14.049Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-14T08:46:14.049Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-14T08:46:14.049Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-14T08:46:14.049Z] + PACKAGES=/tmp/packages_start.txt [2021-10-14T08:46:14.049Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2021-10-14T08:46:14.049Z] + PACKAGES=/tmp/packages_end.txt [2021-10-14T08:46:14.049Z] + case "${OS_FAMILY}" in [2021-10-14T08:46:14.049Z] + rpm -qa [2021-10-14T08:46:14.049Z] + sort [2021-10-14T08:46:14.622Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-14T08:46:14.622Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-14T08:46:14.622Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-14T08:46:14.622Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2021-10-14T08:46:14.622Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2021-10-14T08:46:14.622Z] + 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-14T08:46:14.633Z] 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-14T08:46:14.916Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:46:15.470Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:46:15.470Z] [2021-10-14T08:46:15.470Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-14T08:46:15.771Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:46:15.771Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-14T08:46:15.771Z] b4d181a07f80: Pulling fs layer [2021-10-14T08:46:15.771Z] a1111a8f2ec3: Pulling fs layer [2021-10-14T08:46:15.771Z] ed53099fbce6: Pulling fs layer [2021-10-14T08:46:15.771Z] dc539afda2c1: Pulling fs layer [2021-10-14T08:46:15.771Z] 77bc0d833cb6: Pulling fs layer [2021-10-14T08:46:15.771Z] 9065ff56babe: Pulling fs layer [2021-10-14T08:46:15.771Z] d287ab97295c: Pulling fs layer [2021-10-14T08:46:15.771Z] dc539afda2c1: Waiting [2021-10-14T08:46:15.771Z] 77bc0d833cb6: Waiting [2021-10-14T08:46:15.771Z] 9065ff56babe: Waiting [2021-10-14T08:46:15.771Z] d287ab97295c: Waiting [2021-10-14T08:46:15.771Z] a1111a8f2ec3: Verifying Checksum [2021-10-14T08:46:15.771Z] a1111a8f2ec3: Download complete [2021-10-14T08:46:15.771Z] dc539afda2c1: Verifying Checksum [2021-10-14T08:46:15.771Z] dc539afda2c1: Download complete [2021-10-14T08:46:16.036Z] 77bc0d833cb6: Verifying Checksum [2021-10-14T08:46:16.036Z] 77bc0d833cb6: Download complete [2021-10-14T08:46:16.036Z] ed53099fbce6: Verifying Checksum [2021-10-14T08:46:16.036Z] ed53099fbce6: Download complete [2021-10-14T08:46:16.036Z] 9065ff56babe: Verifying Checksum [2021-10-14T08:46:16.036Z] 9065ff56babe: Download complete [2021-10-14T08:46:16.036Z] b4d181a07f80: Verifying Checksum [2021-10-14T08:46:16.036Z] b4d181a07f80: Download complete [2021-10-14T08:46:16.632Z] d287ab97295c: Verifying Checksum [2021-10-14T08:46:16.632Z] d287ab97295c: Download complete [2021-10-14T08:46:17.575Z] b4d181a07f80: Pull complete [2021-10-14T08:46:17.575Z] a1111a8f2ec3: Pull complete [2021-10-14T08:46:18.155Z] ed53099fbce6: Pull complete [2021-10-14T08:46:18.155Z] dc539afda2c1: Pull complete [2021-10-14T08:46:18.415Z] 77bc0d833cb6: Pull complete [2021-10-14T08:46:18.677Z] 9065ff56babe: Pull complete [2021-10-14T08:46:23.979Z] d287ab97295c: Pull complete [2021-10-14T08:46:23.979Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-14T08:46:23.979Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-14T08:46:23.979Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-14T08:46:24.039Z] prd-centos7-docker-4c-2g-1374 does not seem to be running inside a container [2021-10-14T08:46:24.074Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-14T08:46:26.186Z] $ docker top eef2bb007c39167e0664f591aa6b5d9471afcdb452ba85a5d32aca94cb223e37 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-14T08:46:26.541Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-14T08:46:26.834Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-14T08:46:27.131Z] + ls /var/log/sa-host [2021-10-14T08:46:27.131Z] + sadf -c /var/log/sa-host/sa14 [2021-10-14T08:46:27.131Z] file_magic: OK [2021-10-14T08:46:27.131Z] HZ: Using current value: 100 [2021-10-14T08:46:27.131Z] file_header: OK [2021-10-14T08:46:27.131Z] 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-14T08:46:27.131Z] Statistics: [2021-10-14T08:46:27.131Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T08:46:27.131Z] File successfully converted to sysstat format version 12.0.3 [2021-10-14T08:46:27.132Z] + sadf -c /var/log/sa-host/sa30 [2021-10-14T08:46:27.132Z] file_magic: OK [2021-10-14T08:46:27.132Z] HZ: Using current value: 100 [2021-10-14T08:46:27.132Z] file_header: OK [2021-10-14T08:46:27.132Z] 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-14T08:46:27.132Z] Statistics: [2021-10-14T08:46:27.132Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-14T08:46:27.132Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-14T08:46:27.212Z] provisioning config files... [2021-10-14T08:46:27.224Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2586348169305079791tmp [Pipeline] { [Pipeline] echo [2021-10-14T08:46:27.236Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:46:27.522Z] ---> create-netrc.sh [Pipeline] } [2021-10-14T08:46:27.530Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:46:27.859Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-14T08:46:27.868Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:46:28.156Z] ---> sudo-logs.sh [2021-10-14T08:46:28.156Z] Archiving 'sudo' log.. [2021-10-14T08:46:28.156Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1374.novalocal: Name or service not known [2021-10-14T08:46:28.156Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-1374.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-14T08:46:28.179Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:46:28.467Z] ---> job-cost.sh [2021-10-14T08:46:28.467Z] lf-activate-venv: SKIPPING [2021-10-14T08:46:28.467Z] DEBUG: total: 0.10999999940395355 [2021-10-14T08:46:28.467Z] INFO: Retrieving Stack Cost... [2021-10-14T08:46:43.374Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-14T08:46:43.374Z] INFO: Archiving Costs [Pipeline] echo [2021-10-14T08:46:43.385Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-14T08:46:43.674Z] ---> logs-deploy.sh [2021-10-14T08:46:43.674Z] lf-activate-venv: SKIPPING [2021-10-14T08:46:43.674Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/13 [2021-10-14T08:46:43.674Z] INFO: archiving workspace using pattern(s): [2021-10-14T08:46:44.243Z] Archives upload complete. [2021-10-14T08:46:44.502Z] INFO: archiving logs to Nexus