Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 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-ssh1168546064908868304.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh1666494321514720495.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 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 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-ssh596785787580689141.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > 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-ssh1937614129638311463.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-ssh4920299720234819440.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 USE_ALPINE: true 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 ‘prd-centos7-docker-4c-2g-28086’ is offline Running on prd-centos7-docker-4c-2g-28087 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-ssh4516060375013250413.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 f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 (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 f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 # timeout=10 Commit message: "Merge pull request #311 from farshidtz/snap-secretsfile" > git rev-list --no-walk 0e166eef1a6848e87a3e9284c5f6e1926be9efdf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-09T11:10:23.961Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-09T11:10:23.998Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-09T11:10:24.009Z] ========================================================= [2021-11-09T11:10:24.010Z] EdgeX Global Pipelines Version Info [2021-11-09T11:10:24.010Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-09T11:10:25.459Z] ------------------- [2021-11-09T11:10:25.460Z] stable info: [2021-11-09T11:10:25.460Z] ------------------- [2021-11-09T11:10:25.460Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-09T11:10:25.460Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-09T11:10:25.460Z] Message: update stable to v1.0.211 [2021-11-09T11:10:25.726Z] ------------------- [2021-11-09T11:10:25.726Z] experimental info: [2021-11-09T11:10:25.726Z] ------------------- [2021-11-09T11:10:25.726Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-09T11:10:25.726Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-09T11:10:25.726Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-09T11:10:25.814Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-11-09T11:10:25.824Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-11-09T11:10:25.834Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-09T11:10:25.846Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-09T11:10:25.857Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-09T11:10:25.867Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-09T11:10:25.879Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-09T11:10:25.890Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-09T11:10:25.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-09T11:10:25.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-09T11:10:25.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-09T11:10:25.933Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-11-09T11:10:25.951Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-09T11:10:25.964Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-09T11:10:25.977Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-09T11:10:25.987Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-09T11:10:25.997Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T11:10:26.008Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-09T11:10:26.019Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-09T11:10:26.029Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-11-09T11:10:26.040Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-09T11:10:26.050Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-09T11:10:26.065Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-09T11:10:26.082Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-09T11:10:26.099Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-09T11:10:26.119Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-09T11:10:26.140Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-09T11:10:26.155Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-09T11:10:26.166Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-09T11:10:26.180Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 [Pipeline] echo [2021-11-09T11:10:26.193Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f142b7d [Pipeline] echo [2021-11-09T11:10:26.208Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T11:10:26.258Z] provisioning config files... [2021-11-09T11:10:26.272Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6502120974328887866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T11:10:26.585Z] ---> docker-login.sh [2021-11-09T11:10:26.585Z] nexus3.edgexfoundry.org:10001 [2021-11-09T11:10:26.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:10:26.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:10:26.854Z] Configure a credential helper to remove this warning. See [2021-11-09T11:10:26.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:10:26.854Z] [2021-11-09T11:10:26.854Z] Login Succeeded [2021-11-09T11:10:26.854Z] nexus3.edgexfoundry.org:10002 [2021-11-09T11:10:26.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:10:27.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:10:27.118Z] Configure a credential helper to remove this warning. See [2021-11-09T11:10:27.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:10:27.118Z] [2021-11-09T11:10:27.118Z] Login Succeeded [2021-11-09T11:10:27.118Z] nexus3.edgexfoundry.org:10003 [2021-11-09T11:10:27.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:10:27.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:10:27.118Z] Configure a credential helper to remove this warning. See [2021-11-09T11:10:27.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:10:27.118Z] [2021-11-09T11:10:27.118Z] Login Succeeded [2021-11-09T11:10:27.118Z] nexus3.edgexfoundry.org:10004 [2021-11-09T11:10:27.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:10:27.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:10:27.380Z] Configure a credential helper to remove this warning. See [2021-11-09T11:10:27.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:10:27.380Z] [2021-11-09T11:10:27.380Z] Login Succeeded [2021-11-09T11:10:27.380Z] docker.io [2021-11-09T11:10:27.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:10:27.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:10:27.643Z] Configure a credential helper to remove this warning. See [2021-11-09T11:10:27.643Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:10:27.643Z] [2021-11-09T11:10:27.643Z] Login Succeeded [2021-11-09T11:10:27.643Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T11:10:27.653Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-09T11:10:28.097Z] + git rev-list -1 --merges f142b7d4d9dc0d163bb8d716c4eb7ddee57de476~1..f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 [Pipeline] echo [2021-11-09T11:10:28.142Z] -----------> git rev-list -1 --merges f142b7d4d9dc0d163bb8d716c4eb7ddee57de476~1..f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 [2021-11-09T11:10:28.142Z] f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 [false] [Pipeline] sh [2021-11-09T11:10:28.445Z] + git log --format=format:%s -1 f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 [Pipeline] echo [2021-11-09T11:10:28.460Z] ========================================================= [2021-11-09T11:10:28.460Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-09T11:10:28.460Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T11:10:28.810Z] + git log --format=format:%s -1 f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 [Pipeline] echo [2021-11-09T11:10:28.823Z] [semverPrep] GIT_COMMIT: f142b7d4d9dc0d163bb8d716c4eb7ddee57de476, Commit Message: Merge pull request #311 from farshidtz/snap-secretsfile [Pipeline] echo [2021-11-09T11:10:28.831Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:10:29.445Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T11:10:29.445Z] [2021-11-09T11:10:29.445Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:10:29.773Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T11:10:29.773Z] latest: Pulling from edgex-devops/git-semver [2021-11-09T11:10:29.773Z] a0d0a0d46f8b: Pulling fs layer [2021-11-09T11:10:29.773Z] 3e5f54012d9b: Pulling fs layer [2021-11-09T11:10:29.773Z] 4c7163046ea9: Pulling fs layer [2021-11-09T11:10:29.773Z] 0c2d73faf560: Pulling fs layer [2021-11-09T11:10:29.773Z] 0c2d73faf560: Waiting [2021-11-09T11:10:29.773Z] 3e5f54012d9b: Verifying Checksum [2021-11-09T11:10:29.773Z] 3e5f54012d9b: Download complete [2021-11-09T11:10:29.773Z] a0d0a0d46f8b: Download complete [2021-11-09T11:10:30.039Z] 0c2d73faf560: Verifying Checksum [2021-11-09T11:10:30.039Z] 0c2d73faf560: Download complete [2021-11-09T11:10:30.039Z] 4c7163046ea9: Verifying Checksum [2021-11-09T11:10:30.039Z] 4c7163046ea9: Download complete [2021-11-09T11:10:30.039Z] a0d0a0d46f8b: Pull complete [2021-11-09T11:10:30.039Z] 3e5f54012d9b: Pull complete [2021-11-09T11:10:30.615Z] 4c7163046ea9: Pull complete [2021-11-09T11:10:30.615Z] 0c2d73faf560: Pull complete [2021-11-09T11:10:30.615Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-09T11:10:30.615Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T11:10:30.615Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-09T11:10:30.692Z] prd-centos7-docker-4c-2g-28087 does not seem to be running inside a container [2021-11-09T11:10:30.739Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-09T11:10:31.652Z] $ docker top 5c4d17e2d84e59b283796a6159da79a7d485151d070e5afe0bec5a12665dba97 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-09T11:10:31.751Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T11:10:31.751Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T11:10:31.854Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T11:10:31.858Z] $ docker exec 5c4d17e2d84e59b283796a6159da79a7d485151d070e5afe0bec5a12665dba97 ssh-agent [2021-11-09T11:10:31.955Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhooCho/agent.14 [2021-11-09T11:10:31.955Z] SSH_AGENT_PID=21 [2021-11-09T11:10:31.967Z] Running ssh-add (command line suppressed) [2021-11-09T11:10:32.057Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4761587094585420649.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4761587094585420649.key) [2021-11-09T11:10:32.071Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T11:10:32.378Z] + git tag --points-at HEAD [Pipeline] } [2021-11-09T11:10:32.391Z] $ docker exec --env ******** --env ******** 5c4d17e2d84e59b283796a6159da79a7d485151d070e5afe0bec5a12665dba97 ssh-agent -k [2021-11-09T11:10:32.484Z] unset SSH_AUTH_SOCK; [2021-11-09T11:10:32.484Z] unset SSH_AGENT_PID; [2021-11-09T11:10:32.484Z] echo Agent pid 21 killed; [2021-11-09T11:10:32.492Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-09T11:10:32.519Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T11:10:32.519Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T11:10:32.624Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T11:10:32.627Z] $ docker exec 5c4d17e2d84e59b283796a6159da79a7d485151d070e5afe0bec5a12665dba97 ssh-agent [2021-11-09T11:10:32.726Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhOjFCL/agent.56 [2021-11-09T11:10:32.726Z] SSH_AGENT_PID=62 [2021-11-09T11:10:32.731Z] Running ssh-add (command line suppressed) [2021-11-09T11:10:32.830Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4787981929246361038.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4787981929246361038.key) [2021-11-09T11:10:32.844Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T11:10:33.150Z] + git semver init [2021-11-09T11:10:33.150Z] # -> Open(): unable to determine branch for HEAD [2021-11-09T11:10:33.150Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-11-09T11:10:33.150Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-09T11:10:33.150Z] # $SEMVER_REMOTE_NAME = origin [2021-11-09T11:10:33.150Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-09T11:10:33.150Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-09T11:10:33.150Z] # $SEMVER_BRANCH = main [2021-11-09T11:10:33.150Z] # $SEMVER_TEMP = /tmp/semver-845235494 [2021-11-09T11:10:33.150Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-11-09T11:10:33.722Z] # '/tmp/semver-845235494' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' [2021-11-09T11:10:33.722Z] # -> Force: false [2021-11-09T11:10:33.722Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2021-11-09T11:10:33.733Z] $ docker exec --env ******** --env ******** 5c4d17e2d84e59b283796a6159da79a7d485151d070e5afe0bec5a12665dba97 ssh-agent -k [2021-11-09T11:10:33.827Z] unset SSH_AUTH_SOCK; [2021-11-09T11:10:33.827Z] unset SSH_AGENT_PID; [2021-11-09T11:10:33.827Z] echo Agent pid 62 killed; [2021-11-09T11:10:33.838Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-09T11:10:34.169Z] + git semver [Pipeline] } [2021-11-09T11:10:34.182Z] $ docker stop --time=1 5c4d17e2d84e59b283796a6159da79a7d485151d070e5afe0bec5a12665dba97 [2021-11-09T11:10:35.492Z] $ docker rm -f 5c4d17e2d84e59b283796a6159da79a7d485151d070e5afe0bec5a12665dba97 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T11:10:35.839Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-09T11:10:36.081Z] Stashed 1 file(s) [Pipeline] echo [2021-11-09T11:10:36.083Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.16 [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-11-09T11:10:52.115Z] Still waiting to schedule task [2021-11-09T11:10:52.116Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-09T11:10:52.118Z] Still waiting to schedule task [2021-11-09T11:10:52.118Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-09T11:12:09.788Z] Running on prd-centos7-docker-4c-2g-28090 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2021-11-09T11:12:09.803Z] Running in /w/workspace/device-mqtt-go/18 [Pipeline] { [Pipeline] checkout [2021-11-09T11:12:09.909Z] Selected Git installation does not exist. Using Default [2021-11-09T11:12:09.909Z] The recommended git tool is: NONE [2021-11-09T11:12:12.426Z] using credential edgex-jenkins-ssh [2021-11-09T11:12:12.440Z] Cloning the remote Git repository [2021-11-09T11:12:12.459Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-09T11:12:12.517Z] > git init /w/workspace/device-mqtt-go/18 # timeout=10 [2021-11-09T11:12:12.541Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-09T11:12:12.541Z] > git --version # timeout=10 [2021-11-09T11:12:12.550Z] > git --version # 'git version 2.24.4' [2021-11-09T11:12:12.550Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T11:12:12.573Z] [INFO] Currently running in a labeled security context [2021-11-09T11:12:12.573Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-09T11:12:12.573Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/18@tmp/jenkins-gitclient-ssh7888106692195147863.key [2021-11-09T11:12:12.595Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T11:12:13.230Z] Avoid second fetch [2021-11-09T11:12:13.231Z] Checking out Revision f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 (main) [2021-11-09T11:12:13.212Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-11-09T11:12:13.222Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T11:12:13.243Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T11:12:13.251Z] > git checkout -f f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 # timeout=10 [2021-11-09T11:12:16.889Z] Commit message: "Merge pull request #311 from farshidtz/snap-secretsfile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T11:12:17.256Z] provisioning config files... [2021-11-09T11:12:17.270Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/18@tmp/config5712739001032108840tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T11:12:17.685Z] ---> docker-login.sh [2021-11-09T11:12:17.685Z] nexus3.edgexfoundry.org:10001 [2021-11-09T11:12:17.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:12:17.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:12:17.685Z] Configure a credential helper to remove this warning. See [2021-11-09T11:12:17.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:12:17.685Z] [2021-11-09T11:12:17.685Z] Login Succeeded [2021-11-09T11:12:17.685Z] nexus3.edgexfoundry.org:10002 [2021-11-09T11:12:17.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:12:17.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:12:17.949Z] Configure a credential helper to remove this warning. See [2021-11-09T11:12:17.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:12:17.949Z] [2021-11-09T11:12:17.949Z] Login Succeeded [2021-11-09T11:12:17.949Z] nexus3.edgexfoundry.org:10003 [2021-11-09T11:12:17.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:12:17.949Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:12:17.949Z] Configure a credential helper to remove this warning. See [2021-11-09T11:12:17.949Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:12:17.949Z] [2021-11-09T11:12:17.949Z] Login Succeeded [2021-11-09T11:12:17.949Z] nexus3.edgexfoundry.org:10004 [2021-11-09T11:12:17.949Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:12:18.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:12:18.212Z] Configure a credential helper to remove this warning. See [2021-11-09T11:12:18.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:12:18.212Z] [2021-11-09T11:12:18.212Z] Login Succeeded [2021-11-09T11:12:18.212Z] docker.io [2021-11-09T11:12:18.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:12:18.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:12:18.475Z] Configure a credential helper to remove this warning. See [2021-11-09T11:12:18.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:12:18.475Z] [2021-11-09T11:12:18.475Z] Login Succeeded [2021-11-09T11:12:18.475Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T11:12:18.510Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-09T11:12:18.663Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-09T11:12:18.675Z] ========================================================= [2021-11-09T11:12:18.675Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-09T11:12:18.675Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:12:18.989Z] + 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-11-09T11:12:18.989Z] Sending build context to Docker daemon 707.6kB [2021-11-09T11:12:18.989Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T11:12:18.989Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-09T11:12:18.989Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-09T11:12:18.989Z] a0d0a0d46f8b: Pulling fs layer [2021-11-09T11:12:18.989Z] 31adcdaf11c8: Pulling fs layer [2021-11-09T11:12:18.989Z] b8b176561691: Pulling fs layer [2021-11-09T11:12:18.989Z] 4527c011a84f: Pulling fs layer [2021-11-09T11:12:18.989Z] 5d74067f8e1e: Pulling fs layer [2021-11-09T11:12:18.989Z] e0aca202a116: Pulling fs layer [2021-11-09T11:12:18.989Z] 3a43be97a3b4: Pulling fs layer [2021-11-09T11:12:18.989Z] 34cad66bf833: Pulling fs layer [2021-11-09T11:12:18.989Z] b4e3c513aaa6: Pulling fs layer [2021-11-09T11:12:18.989Z] 4527c011a84f: Waiting [2021-11-09T11:12:18.989Z] 5d74067f8e1e: Waiting [2021-11-09T11:12:18.989Z] e0aca202a116: Waiting [2021-11-09T11:12:18.989Z] 3a43be97a3b4: Waiting [2021-11-09T11:12:18.989Z] 34cad66bf833: Waiting [2021-11-09T11:12:18.989Z] b4e3c513aaa6: Waiting [2021-11-09T11:12:18.989Z] b8b176561691: Verifying Checksum [2021-11-09T11:12:18.989Z] b8b176561691: Download complete [2021-11-09T11:12:18.989Z] 31adcdaf11c8: Verifying Checksum [2021-11-09T11:12:18.989Z] 31adcdaf11c8: Download complete [2021-11-09T11:12:18.989Z] 5d74067f8e1e: Verifying Checksum [2021-11-09T11:12:18.989Z] 5d74067f8e1e: Download complete [2021-11-09T11:12:18.989Z] e0aca202a116: Verifying Checksum [2021-11-09T11:12:18.989Z] e0aca202a116: Download complete [2021-11-09T11:12:19.258Z] a0d0a0d46f8b: Verifying Checksum [2021-11-09T11:12:19.258Z] a0d0a0d46f8b: Download complete [2021-11-09T11:12:19.258Z] 3a43be97a3b4: Verifying Checksum [2021-11-09T11:12:19.258Z] 3a43be97a3b4: Download complete [2021-11-09T11:12:19.258Z] 34cad66bf833: Verifying Checksum [2021-11-09T11:12:19.258Z] 34cad66bf833: Download complete [2021-11-09T11:12:19.258Z] a0d0a0d46f8b: Pull complete [2021-11-09T11:12:19.542Z] 31adcdaf11c8: Pull complete [2021-11-09T11:12:19.542Z] b8b176561691: Pull complete [2021-11-09T11:12:19.813Z] 4527c011a84f: Verifying Checksum [2021-11-09T11:12:19.813Z] 4527c011a84f: Download complete [2021-11-09T11:12:20.083Z] b4e3c513aaa6: Verifying Checksum [2021-11-09T11:12:20.083Z] b4e3c513aaa6: Download complete [2021-11-09T11:12:24.324Z] 4527c011a84f: Pull complete [2021-11-09T11:12:24.324Z] 5d74067f8e1e: Pull complete [2021-11-09T11:12:24.324Z] e0aca202a116: Pull complete [2021-11-09T11:12:24.324Z] 3a43be97a3b4: Pull complete [2021-11-09T11:12:24.324Z] 34cad66bf833: Pull complete [2021-11-09T11:12:26.899Z] b4e3c513aaa6: Pull complete [2021-11-09T11:12:26.899Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-09T11:12:26.899Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-09T11:12:26.899Z] ---> 9f6097aaca64 [2021-11-09T11:12:26.899Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-09T11:12:28.294Z] ---> Running in 87609fcb0461 [2021-11-09T11:12:28.294Z] Removing intermediate container 87609fcb0461 [2021-11-09T11:12:28.294Z] ---> 37ad96ea96d2 [2021-11-09T11:12:28.294Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-09T11:12:28.555Z] ---> Running in 3e33322e1568 [2021-11-09T11:12:28.555Z] Removing intermediate container 3e33322e1568 [2021-11-09T11:12:28.555Z] ---> b5de2db78ab5 [2021-11-09T11:12:28.555Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T11:12:28.555Z] ---> Running in 03eb48a8ab94 [2021-11-09T11:12:29.129Z] Removing intermediate container 03eb48a8ab94 [2021-11-09T11:12:29.129Z] ---> e990eeba967e [2021-11-09T11:12:29.129Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-09T11:12:29.129Z] ---> Running in 7b7750d9eb7d [2021-11-09T11:12:29.403Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T11:12:30.350Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-09T11:12:31.824Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-09T11:12:31.824Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-09T11:12:31.824Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-09T11:12:31.824Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-09T11:12:31.824Z] Executing busybox-1.33.1-r3.trigger [2021-11-09T11:12:31.824Z] OK: 224 MiB in 56 packages [2021-11-09T11:12:31.824Z] Removing intermediate container 7b7750d9eb7d [2021-11-09T11:12:31.824Z] ---> 5a57e32fc149 [2021-11-09T11:12:31.824Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-11-09T11:12:31.824Z] ---> Running in 08a889bf226a [2021-11-09T11:12:31.824Z] Removing intermediate container 08a889bf226a [2021-11-09T11:12:31.824Z] ---> 024db8c63a69 [2021-11-09T11:12:31.824Z] Step 8/11 : COPY . . [2021-11-09T11:12:31.824Z] ---> fa52806b5703 [2021-11-09T11:12:31.824Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T11:12:31.824Z] ---> Running in 638556100cf3 [2021-11-09T11:12:32.536Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-28089 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2021-11-09T11:12:32.558Z] Running in /w/workspace/device-mqtt-go/18 [Pipeline] { [Pipeline] checkout [2021-11-09T11:12:32.847Z] Selected Git installation does not exist. Using Default [2021-11-09T11:12:32.847Z] The recommended git tool is: NONE [2021-11-09T11:12:37.987Z] using credential edgex-jenkins-ssh [2021-11-09T11:12:38.002Z] Cloning the remote Git repository [2021-11-09T11:12:38.050Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-09T11:12:38.192Z] > git init /w/workspace/device-mqtt-go/18 # timeout=10 [2021-11-09T11:12:38.287Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-09T11:12:38.288Z] > git --version # timeout=10 [2021-11-09T11:12:38.322Z] > git --version # 'git version 2.17.1' [2021-11-09T11:12:38.324Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-09T11:12:38.398Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T11:12:39.355Z] Avoid second fetch [2021-11-09T11:12:39.356Z] Checking out Revision f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 (main) [2021-11-09T11:12:39.308Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-11-09T11:12:39.335Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-09T11:12:39.381Z] > git config core.sparsecheckout # timeout=10 [2021-11-09T11:12:39.400Z] > git checkout -f f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 # timeout=10 [2021-11-09T11:12:43.864Z] Commit message: "Merge pull request #311 from farshidtz/snap-secretsfile" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T11:12:44.765Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-09T11:12:44.765Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-09T11:12:44.765Z] Dload Upload Total Spent Left Speed [2021-11-09T11:12:44.765Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 92375 0 --:--:-- --:--:-- --:--:-- 93102 [Pipeline] sh [2021-11-09T11:12:45.194Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-09T11:12:45.547Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2021-11-09T11:12:45.548Z] sudo tee /etc/docker/daemon.new [2021-11-09T11:12:45.548Z] { [2021-11-09T11:12:45.548Z] "registry-mirrors": [ [2021-11-09T11:12:45.548Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-09T11:12:45.548Z] ], [2021-11-09T11:12:45.548Z] "bip": "10.250.0.254/24", [2021-11-09T11:12:45.548Z] "hosts": [ [2021-11-09T11:12:45.548Z] "tcp://0.0.0.0:5555", [2021-11-09T11:12:45.548Z] "unix:///var/run/docker.sock" [2021-11-09T11:12:45.548Z] ], [2021-11-09T11:12:45.548Z] "mtu": 1458, [2021-11-09T11:12:45.548Z] "selinux-enabled": true, [2021-11-09T11:12:45.548Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-09T11:12:45.548Z] } [Pipeline] sh [2021-11-09T11:12:45.901Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-09T11:12:46.246Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T11:13:04.656Z] provisioning config files... [2021-11-09T11:13:04.683Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/18@tmp/config5173230832735809592tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T11:13:05.087Z] ---> docker-login.sh [2021-11-09T11:13:05.087Z] nexus3.edgexfoundry.org:10001 [2021-11-09T11:13:05.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:13:05.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:13:05.990Z] Configure a credential helper to remove this warning. See [2021-11-09T11:13:05.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:13:05.990Z] [2021-11-09T11:13:05.990Z] Login Succeeded [2021-11-09T11:13:05.990Z] nexus3.edgexfoundry.org:10002 [2021-11-09T11:13:06.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:13:06.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:13:06.606Z] Configure a credential helper to remove this warning. See [2021-11-09T11:13:06.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:13:06.606Z] [2021-11-09T11:13:06.606Z] Login Succeeded [2021-11-09T11:13:06.606Z] nexus3.edgexfoundry.org:10003 [2021-11-09T11:13:06.884Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:13:07.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:13:07.491Z] Configure a credential helper to remove this warning. See [2021-11-09T11:13:07.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:13:07.491Z] [2021-11-09T11:13:07.491Z] Login Succeeded [2021-11-09T11:13:07.491Z] nexus3.edgexfoundry.org:10004 [2021-11-09T11:13:07.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:13:07.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:13:07.769Z] Configure a credential helper to remove this warning. See [2021-11-09T11:13:07.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:13:07.769Z] [2021-11-09T11:13:07.769Z] Login Succeeded [2021-11-09T11:13:07.769Z] docker.io [2021-11-09T11:13:08.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:13:08.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:13:08.651Z] Configure a credential helper to remove this warning. See [2021-11-09T11:13:08.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:13:08.651Z] [2021-11-09T11:13:08.651Z] Login Succeeded [2021-11-09T11:13:08.651Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T11:13:08.673Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-09T11:13:09.147Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-09T11:13:09.160Z] ========================================================= [2021-11-09T11:13:09.160Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-09T11:13:09.160Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:13:09.599Z] + 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-11-09T11:13:09.889Z] Sending build context to Docker daemon 706.6kB [2021-11-09T11:13:10.167Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T11:13:10.167Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-09T11:13:10.167Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-09T11:13:10.167Z] 552d1f2373af: Pulling fs layer [2021-11-09T11:13:10.167Z] ea3f2d53f512: Pulling fs layer [2021-11-09T11:13:10.167Z] 9e70ebbbe112: Pulling fs layer [2021-11-09T11:13:10.167Z] 7a9cfe048b4a: Pulling fs layer [2021-11-09T11:13:10.167Z] 72dc09318566: Pulling fs layer [2021-11-09T11:13:10.167Z] 72dc09318566: Waiting [2021-11-09T11:13:10.167Z] f4f7b4309257: Pulling fs layer [2021-11-09T11:13:10.167Z] 7a9cfe048b4a: Waiting [2021-11-09T11:13:10.167Z] 0ac9a79272e3: Pulling fs layer [2021-11-09T11:13:10.167Z] b78e95d17946: Pulling fs layer [2021-11-09T11:13:10.167Z] f4f7b4309257: Waiting [2021-11-09T11:13:10.167Z] 0ac9a79272e3: Waiting [2021-11-09T11:13:10.167Z] b78e95d17946: Waiting [2021-11-09T11:13:10.167Z] 9e70ebbbe112: Verifying Checksum [2021-11-09T11:13:10.167Z] 9e70ebbbe112: Download complete [2021-11-09T11:13:10.167Z] ea3f2d53f512: Verifying Checksum [2021-11-09T11:13:10.167Z] ea3f2d53f512: Download complete [2021-11-09T11:13:10.167Z] 72dc09318566: Verifying Checksum [2021-11-09T11:13:10.167Z] 72dc09318566: Download complete [2021-11-09T11:13:10.447Z] f4f7b4309257: Verifying Checksum [2021-11-09T11:13:10.447Z] f4f7b4309257: Download complete [2021-11-09T11:13:10.447Z] 552d1f2373af: Verifying Checksum [2021-11-09T11:13:10.447Z] 0ac9a79272e3: Download complete [2021-11-09T11:13:10.902Z] Removing intermediate container 638556100cf3 [2021-11-09T11:13:10.902Z] ---> 30994845d8a2 [2021-11-09T11:13:10.902Z] Step 10/11 : ARG MAKE='make build' [2021-11-09T11:13:10.902Z] ---> Running in 177b787c0221 [2021-11-09T11:13:10.902Z] Removing intermediate container 177b787c0221 [2021-11-09T11:13:10.902Z] ---> d962b6f702bd [2021-11-09T11:13:10.902Z] Step 11/11 : RUN $MAKE [2021-11-09T11:13:10.902Z] ---> Running in 1ed623db036f [2021-11-09T11:13:10.902Z] noop [2021-11-09T11:13:10.902Z] Removing intermediate container 1ed623db036f [2021-11-09T11:13:10.902Z] ---> b107c079dcde [2021-11-09T11:13:10.902Z] Successfully built b107c079dcde [2021-11-09T11:13:10.902Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:13:11.061Z] 552d1f2373af: Pull complete [2021-11-09T11:13:11.214Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-09T11:13:11.214Z] . [Pipeline] withDockerContainer [2021-11-09T11:13:11.296Z] prd-centos7-docker-4c-2g-28090 does not seem to be running inside a container [2021-11-09T11:13:11.362Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/18 -v /w/workspace/device-mqtt-go/18:/w/workspace/device-mqtt-go/18:rw,z -v /w/workspace/device-mqtt-go/18@tmp:/w/workspace/device-mqtt-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-09T11:13:11.677Z] ea3f2d53f512: Pull complete [2021-11-09T11:13:11.709Z] $ docker top a9837326ca14730f25c3de5c2abd01e7eedbe46a93704faffd74128113b648db -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T11:13:12.141Z] + go version [2021-11-09T11:13:12.141Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-09T11:13:12.159Z] $ docker stop --time=1 a9837326ca14730f25c3de5c2abd01e7eedbe46a93704faffd74128113b648db [2021-11-09T11:13:12.171Z] 9e70ebbbe112: Pull complete [2021-11-09T11:13:13.351Z] $ docker rm -f a9837326ca14730f25c3de5c2abd01e7eedbe46a93704faffd74128113b648db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:13:13.637Z] b78e95d17946: Verifying Checksum [2021-11-09T11:13:13.637Z] b78e95d17946: Download complete [2021-11-09T11:13:13.927Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-09T11:13:13.927Z] . [Pipeline] withDockerContainer [2021-11-09T11:13:13.993Z] prd-centos7-docker-4c-2g-28090 does not seem to be running inside a container [2021-11-09T11:13:14.042Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/18 -v /w/workspace/device-mqtt-go/18:/w/workspace/device-mqtt-go/18:rw,z -v /w/workspace/device-mqtt-go/18@tmp:/w/workspace/device-mqtt-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-09T11:13:14.370Z] $ docker top 05a45f85f9b6dcee07ad567f620791fa552e1b45e8d9fe8573e72c799419d2c5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-09T11:13:14.755Z] + make test [2021-11-09T11:13:14.755Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-09T11:13:15.038Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-11-09T11:13:15.634Z] 7a9cfe048b4a: Verifying Checksum [2021-11-09T11:13:15.634Z] 7a9cfe048b4a: Download complete [2021-11-09T11:13:25.821Z] 7a9cfe048b4a: Pull complete [2021-11-09T11:13:25.821Z] 72dc09318566: Pull complete [2021-11-09T11:13:26.101Z] f4f7b4309257: Pull complete [2021-11-09T11:13:27.438Z] 0ac9a79272e3: Pull complete [2021-11-09T11:13:32.858Z] b78e95d17946: Pull complete [2021-11-09T11:13:32.858Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-09T11:13:32.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-09T11:13:32.858Z] ---> 8b459fc5aaf0 [2021-11-09T11:13:32.858Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-09T11:13:33.299Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-11-09T11:13:33.300Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.010s coverage: 22.4% of statements [2021-11-09T11:13:33.300Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-11-09T11:13:33.300Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-09T11:13:34.302Z] ---> Running in 3efc4cd4c96d [2021-11-09T11:13:34.902Z] Removing intermediate container 3efc4cd4c96d [2021-11-09T11:13:34.902Z] ---> 7472051b29a7 [2021-11-09T11:13:34.902Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-09T11:13:34.902Z] ---> Running in 6fbc9e14363e [2021-11-09T11:13:35.180Z] Removing intermediate container 6fbc9e14363e [2021-11-09T11:13:35.180Z] ---> f8ac5c6222c5 [2021-11-09T11:13:35.180Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T11:13:35.455Z] ---> Running in ca8654782c41 [2021-11-09T11:13:37.456Z] Removing intermediate container ca8654782c41 [2021-11-09T11:13:37.456Z] ---> 2199f53f06be [2021-11-09T11:13:37.456Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-09T11:13:37.456Z] ---> Running in fb26573eb8bd [2021-11-09T11:13:38.912Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T11:13:39.514Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T11:13:40.006Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-09T11:13:40.006Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-09T11:13:40.006Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-09T11:13:40.020Z] $ docker stop --time=1 05a45f85f9b6dcee07ad567f620791fa552e1b45e8d9fe8573e72c799419d2c5 [2021-11-09T11:13:40.509Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-09T11:13:40.509Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-09T11:13:40.509Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-09T11:13:40.794Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-09T11:13:40.794Z] Executing busybox-1.33.1-r3.trigger [2021-11-09T11:13:40.794Z] OK: 223 MiB in 56 packages [2021-11-09T11:13:41.435Z] $ docker rm -f 05a45f85f9b6dcee07ad567f620791fa552e1b45e8d9fe8573e72c799419d2c5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T11:13:41.780Z] Removing intermediate container fb26573eb8bd [2021-11-09T11:13:41.780Z] ---> 9689f40a5955 [2021-11-09T11:13:41.780Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-11-09T11:13:41.856Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-09T11:13:42.054Z] ---> Running in 275b93712622 [2021-11-09T11:13:42.097Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2021-11-09T11:13:42.653Z] Removing intermediate container 275b93712622 [2021-11-09T11:13:42.653Z] ---> e6ef1c999f6b [2021-11-09T11:13:42.653Z] Step 8/11 : COPY . . [2021-11-09T11:13:44.427Z] ---> 9931734dd9d9 [2021-11-09T11:13:44.427Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T11:13:44.427Z] ---> Running in 08ba02546d53 [Pipeline] sh [2021-11-09T11:13:44.864Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-09T11:13:45.191Z] + ls -al . [2021-11-09T11:13:45.191Z] total 148 [2021-11-09T11:13:45.191Z] drwxrwxr-x. 9 jenkins jenkins 4096 Nov 9 11:13 . [2021-11-09T11:13:45.191Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 9 11:12 .. [2021-11-09T11:13:45.191Z] -rw-rw-r--. 1 jenkins jenkins 7287 Nov 9 11:12 Attribution.txt [2021-11-09T11:13:45.191Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 9 11:12 bin [2021-11-09T11:13:45.191Z] -rw-rw-r--. 1 jenkins jenkins 7447 Nov 9 11:12 CHANGELOG.md [2021-11-09T11:13:45.191Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 9 11:12 cmd [2021-11-09T11:13:45.191Z] -rw-r--r--. 1 jenkins jenkins 17284 Nov 9 11:13 coverage.out [2021-11-09T11:13:45.191Z] -rw-rw-r--. 1 jenkins jenkins 1907 Nov 9 11:12 Dockerfile [2021-11-09T11:13:45.191Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 9 11:12 .dockerignore [2021-11-09T11:13:45.191Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 9 11:12 .git [2021-11-09T11:13:45.191Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 9 11:12 .github [2021-11-09T11:13:45.191Z] -rw-rw-r--. 1 jenkins jenkins 329 Nov 9 11:12 .gitignore [2021-11-09T11:13:45.191Z] -rw-rw-r--. 1 jenkins jenkins 425 Nov 9 11:12 go.mod [2021-11-09T11:13:45.191Z] -rw-rw-r--. 1 jenkins jenkins 49475 Nov 9 11:12 go.sum [2021-11-09T11:13:45.191Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 9 11:12 GOVERNANCE.md [2021-11-09T11:13:45.191Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 9 11:12 internal [2021-11-09T11:13:45.191Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 9 11:12 Jenkinsfile [2021-11-09T11:13:45.191Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 9 11:12 LICENSE [2021-11-09T11:13:45.191Z] -rw-rw-r--. 1 jenkins jenkins 1030 Nov 9 11:12 Makefile [2021-11-09T11:13:45.191Z] drwxrwxr-x. 2 jenkins jenkins 23 Nov 9 11:12 mock [2021-11-09T11:13:45.191Z] -rw-rw-r--. 1 jenkins jenkins 620 Nov 9 11:12 OWNERS.md [2021-11-09T11:13:45.191Z] -rw-rw-r--. 1 jenkins jenkins 2211 Nov 9 11:12 README.md [2021-11-09T11:13:45.191Z] drwxrwxr-x. 4 jenkins jenkins 71 Nov 9 11:12 snap [2021-11-09T11:13:45.191Z] -rw-rw-r--. 1 jenkins jenkins 12 Nov 9 11:10 VERSION [2021-11-09T11:13:45.191Z] -rw-rw-r--. 1 jenkins jenkins 227 Nov 9 11:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:13:45.512Z] + 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=f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 --label arch=amd64 --label version=2.0.1-dev.16 . [2021-11-09T11:13:45.512Z] Sending build context to Docker daemon 725.5kB [2021-11-09T11:13:45.512Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T11:13:45.512Z] Step 2/23 : FROM ${BASE} AS builder [2021-11-09T11:13:45.512Z] ---> b107c079dcde [2021-11-09T11:13:45.512Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-09T11:13:45.512Z] ---> Running in e1aabe3cc1a2 [2021-11-09T11:13:45.512Z] Removing intermediate container e1aabe3cc1a2 [2021-11-09T11:13:45.512Z] ---> 3d4593ea58f7 [2021-11-09T11:13:45.512Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-11-09T11:13:45.512Z] ---> Running in 7a6ba7de85f6 [2021-11-09T11:13:45.776Z] Removing intermediate container 7a6ba7de85f6 [2021-11-09T11:13:45.776Z] ---> 8b359a383d55 [2021-11-09T11:13:45.776Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T11:13:45.776Z] ---> Running in 271ed518e272 [2021-11-09T11:13:46.037Z] Removing intermediate container 271ed518e272 [2021-11-09T11:13:46.037Z] ---> 3a8e2057e96b [2021-11-09T11:13:46.037Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-09T11:13:46.299Z] ---> Running in b270dadf5942 [2021-11-09T11:13:46.299Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T11:13:47.240Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-09T11:13:47.500Z] OK: 224 MiB in 56 packages [2021-11-09T11:13:47.767Z] Removing intermediate container b270dadf5942 [2021-11-09T11:13:47.767Z] ---> 0545c1a13a0a [2021-11-09T11:13:47.767Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-11-09T11:13:47.767Z] ---> Running in 7c10165bfcc1 [2021-11-09T11:13:48.036Z] Removing intermediate container 7c10165bfcc1 [2021-11-09T11:13:48.036Z] ---> ef5b5e73df31 [2021-11-09T11:13:48.036Z] Step 8/23 : COPY . . [2021-11-09T11:13:48.306Z] ---> 4cc407291d11 [2021-11-09T11:13:48.306Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T11:13:48.306Z] ---> Running in 2efc596bb6d8 [2021-11-09T11:13:48.886Z] Removing intermediate container 2efc596bb6d8 [2021-11-09T11:13:48.886Z] ---> acd1824d4a24 [2021-11-09T11:13:48.886Z] Step 10/23 : ARG MAKE='make build' [2021-11-09T11:13:48.886Z] ---> Running in 413074b1951b [2021-11-09T11:13:48.886Z] Removing intermediate container 413074b1951b [2021-11-09T11:13:48.886Z] ---> e1632e9e3244 [2021-11-09T11:13:48.886Z] Step 11/23 : RUN $MAKE [2021-11-09T11:13:48.886Z] ---> Running in 6b4bcd43d1f8 [2021-11-09T11:13:49.360Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.16" -o cmd/device-mqtt ./cmd [2021-11-09T11:14:01.712Z] Removing intermediate container 6b4bcd43d1f8 [2021-11-09T11:14:01.712Z] ---> 62436a6c4def [2021-11-09T11:14:01.712Z] Step 12/23 : FROM alpine:3.14 [2021-11-09T11:14:04.263Z] 3.14: Pulling from library/alpine [2021-11-09T11:14:04.525Z] a0d0a0d46f8b: Already exists [2021-11-09T11:14:04.525Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-09T11:14:04.525Z] Status: Downloaded newer image for alpine:3.14 [2021-11-09T11:14:04.525Z] ---> 14119a10abf4 [2021-11-09T11:14:04.525Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-11-09T11:14:04.525Z] ---> Running in eb78d4ce873d [2021-11-09T11:14:04.789Z] Removing intermediate container eb78d4ce873d [2021-11-09T11:14:04.789Z] ---> 1e1413cadf8d [2021-11-09T11:14:04.789Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-09T11:14:04.789Z] ---> Running in 0fe2bd798ab1 [2021-11-09T11:14:05.055Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-09T11:14:05.321Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-09T11:14:05.321Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-09T11:14:05.321Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-09T11:14:05.586Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-09T11:14:05.586Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-09T11:14:05.586Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-09T11:14:05.586Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-09T11:14:05.586Z] Executing busybox-1.33.1-r3.trigger [2021-11-09T11:14:05.586Z] OK: 8 MiB in 20 packages [2021-11-09T11:14:05.857Z] Removing intermediate container 0fe2bd798ab1 [2021-11-09T11:14:05.857Z] ---> efa596e6a107 [2021-11-09T11:14:05.857Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-11-09T11:14:06.447Z] ---> 869d9af1e05e [2021-11-09T11:14:06.447Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-11-09T11:14:06.447Z] ---> 476ff9587e51 [2021-11-09T11:14:06.447Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-11-09T11:14:06.708Z] ---> e2a9e11c46d1 [2021-11-09T11:14:06.708Z] Step 18/23 : EXPOSE 59982 [2021-11-09T11:14:06.708Z] ---> Running in 4f49af409e2f [2021-11-09T11:14:06.708Z] Removing intermediate container 4f49af409e2f [2021-11-09T11:14:06.708Z] ---> b464274dae53 [2021-11-09T11:14:06.708Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-11-09T11:14:06.708Z] ---> Running in c69bc200a316 [2021-11-09T11:14:06.971Z] Removing intermediate container c69bc200a316 [2021-11-09T11:14:06.971Z] ---> d6315aafe452 [2021-11-09T11:14:06.971Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-09T11:14:06.971Z] ---> Running in 26144e78c661 [2021-11-09T11:14:06.971Z] Removing intermediate container 26144e78c661 [2021-11-09T11:14:06.971Z] ---> de539d18d6be [2021-11-09T11:14:06.971Z] Step 21/23 : LABEL arch=amd64 [2021-11-09T11:14:06.971Z] ---> Running in cae2b7a31d15 [2021-11-09T11:14:07.234Z] Removing intermediate container cae2b7a31d15 [2021-11-09T11:14:07.234Z] ---> 25f4b266969b [2021-11-09T11:14:07.234Z] Step 22/23 : LABEL git_sha=f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 [2021-11-09T11:14:07.234Z] ---> Running in 661cf3e14eff [2021-11-09T11:14:07.234Z] Removing intermediate container 661cf3e14eff [2021-11-09T11:14:07.234Z] ---> 0a265682730a [2021-11-09T11:14:07.234Z] Step 23/23 : LABEL version=2.0.1-dev.16 [2021-11-09T11:14:07.234Z] ---> Running in d151928f6b99 [2021-11-09T11:14:07.234Z] Removing intermediate container d151928f6b99 [2021-11-09T11:14:07.234Z] ---> bcaef2fbaf87 [2021-11-09T11:14:07.234Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-09T11:14:07.496Z] Successfully built bcaef2fbaf87 [2021-11-09T11:14:07.496Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T11:14:07.689Z] provisioning config files... [2021-11-09T11:14:07.701Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/18@tmp/config7844625393413056019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T11:14:08.228Z] ---> docker-login.sh [2021-11-09T11:14:08.229Z] nexus3.edgexfoundry.org:10001 [2021-11-09T11:14:08.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:14:13.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:14:13.544Z] Configure a credential helper to remove this warning. See [2021-11-09T11:14:13.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:14:13.544Z] [2021-11-09T11:14:13.544Z] Login Succeeded [2021-11-09T11:14:13.544Z] nexus3.edgexfoundry.org:10002 [2021-11-09T11:14:13.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:14:13.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:14:13.544Z] Configure a credential helper to remove this warning. See [2021-11-09T11:14:13.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:14:13.544Z] [2021-11-09T11:14:13.544Z] Login Succeeded [2021-11-09T11:14:13.544Z] nexus3.edgexfoundry.org:10003 [2021-11-09T11:14:13.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:14:13.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:14:13.544Z] Configure a credential helper to remove this warning. See [2021-11-09T11:14:13.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:14:13.544Z] [2021-11-09T11:14:13.544Z] Login Succeeded [2021-11-09T11:14:13.544Z] nexus3.edgexfoundry.org:10004 [2021-11-09T11:14:13.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:14:13.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:14:13.544Z] Configure a credential helper to remove this warning. See [2021-11-09T11:14:13.544Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:14:13.544Z] [2021-11-09T11:14:13.544Z] Login Succeeded [2021-11-09T11:14:13.544Z] docker.io [2021-11-09T11:14:13.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:14:13.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:14:13.809Z] Configure a credential helper to remove this warning. See [2021-11-09T11:14:13.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:14:13.809Z] [2021-11-09T11:14:13.809Z] Login Succeeded [2021-11-09T11:14:13.809Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T11:14:13.820Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-09T11:14:13.851Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-09T11:14:13.875Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2021-11-09T11:14:13.875Z] f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 [2021-11-09T11:14:13.875Z] latest [2021-11-09T11:14:13.875Z] 2.0.1-dev.16 [2021-11-09T11:14:13.875Z] f142b7d4d9dc0d163bb8d716c4eb7ddee57de476-2.0.1-dev.16 [2021-11-09T11:14:13.875Z] main [2021-11-09T11:14:13.875Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:14:14.211Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:14:14.516Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 [2021-11-09T11:14:14.516Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-11-09T11:14:14.516Z] a9c1c3dc8bc0: Preparing [2021-11-09T11:14:14.516Z] 6b7bf84e8244: Preparing [2021-11-09T11:14:14.516Z] d5eb23c4a5d0: Preparing [2021-11-09T11:14:14.516Z] 34fc6d86ca29: Preparing [2021-11-09T11:14:14.516Z] e2eb06d8af82: Preparing [2021-11-09T11:14:14.516Z] e2eb06d8af82: Layer already exists [2021-11-09T11:14:14.784Z] 6b7bf84e8244: Pushed [2021-11-09T11:14:14.784Z] a9c1c3dc8bc0: Pushed [2021-11-09T11:14:14.784Z] 34fc6d86ca29: Pushed [2021-11-09T11:14:16.181Z] d5eb23c4a5d0: Pushed [2021-11-09T11:14:16.444Z] f142b7d4d9dc0d163bb8d716c4eb7ddee57de476: digest: sha256:c24e3231d6d899437be121e35a81e40d18ab40d277849466011f09b9db912ab2 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:14:16.758Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:14:17.066Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-11-09T11:14:17.066Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-11-09T11:14:17.066Z] a9c1c3dc8bc0: Preparing [2021-11-09T11:14:17.066Z] 6b7bf84e8244: Preparing [2021-11-09T11:14:17.066Z] d5eb23c4a5d0: Preparing [2021-11-09T11:14:17.066Z] 34fc6d86ca29: Preparing [2021-11-09T11:14:17.066Z] e2eb06d8af82: Preparing [2021-11-09T11:14:17.066Z] 34fc6d86ca29: Layer already exists [2021-11-09T11:14:17.066Z] 6b7bf84e8244: Layer already exists [2021-11-09T11:14:17.066Z] a9c1c3dc8bc0: Layer already exists [2021-11-09T11:14:17.066Z] d5eb23c4a5d0: Layer already exists [2021-11-09T11:14:17.066Z] e2eb06d8af82: Layer already exists [2021-11-09T11:14:17.066Z] latest: digest: sha256:c24e3231d6d899437be121e35a81e40d18ab40d277849466011f09b9db912ab2 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:14:17.388Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.16 [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:14:17.696Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.16 [2021-11-09T11:14:17.697Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-11-09T11:14:17.697Z] a9c1c3dc8bc0: Preparing [2021-11-09T11:14:17.697Z] 6b7bf84e8244: Preparing [2021-11-09T11:14:17.697Z] d5eb23c4a5d0: Preparing [2021-11-09T11:14:17.697Z] 34fc6d86ca29: Preparing [2021-11-09T11:14:17.697Z] e2eb06d8af82: Preparing [2021-11-09T11:14:17.697Z] 34fc6d86ca29: Layer already exists [2021-11-09T11:14:17.697Z] 6b7bf84e8244: Layer already exists [2021-11-09T11:14:17.697Z] a9c1c3dc8bc0: Layer already exists [2021-11-09T11:14:17.697Z] e2eb06d8af82: Layer already exists [2021-11-09T11:14:17.697Z] d5eb23c4a5d0: Layer already exists [2021-11-09T11:14:17.697Z] 2.0.1-dev.16: digest: sha256:c24e3231d6d899437be121e35a81e40d18ab40d277849466011f09b9db912ab2 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:14:18.001Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:f142b7d4d9dc0d163bb8d716c4eb7ddee57de476-2.0.1-dev.16 [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:14:18.303Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:f142b7d4d9dc0d163bb8d716c4eb7ddee57de476-2.0.1-dev.16 [2021-11-09T11:14:18.303Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-11-09T11:14:18.303Z] a9c1c3dc8bc0: Preparing [2021-11-09T11:14:18.303Z] 6b7bf84e8244: Preparing [2021-11-09T11:14:18.303Z] d5eb23c4a5d0: Preparing [2021-11-09T11:14:18.303Z] 34fc6d86ca29: Preparing [2021-11-09T11:14:18.303Z] e2eb06d8af82: Preparing [2021-11-09T11:14:23.611Z] e2eb06d8af82: Layer already exists [2021-11-09T11:14:23.611Z] d5eb23c4a5d0: Layer already exists [2021-11-09T11:14:23.611Z] a9c1c3dc8bc0: Layer already exists [2021-11-09T11:14:23.611Z] 6b7bf84e8244: Layer already exists [2021-11-09T11:14:23.611Z] 34fc6d86ca29: Layer already exists [2021-11-09T11:14:23.611Z] f142b7d4d9dc0d163bb8d716c4eb7ddee57de476-2.0.1-dev.16: digest: sha256:c24e3231d6d899437be121e35a81e40d18ab40d277849466011f09b9db912ab2 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:14:23.932Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:14:24.256Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2021-11-09T11:14:24.256Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-11-09T11:14:24.256Z] a9c1c3dc8bc0: Preparing [2021-11-09T11:14:24.256Z] 6b7bf84e8244: Preparing [2021-11-09T11:14:24.256Z] d5eb23c4a5d0: Preparing [2021-11-09T11:14:24.256Z] 34fc6d86ca29: Preparing [2021-11-09T11:14:24.256Z] e2eb06d8af82: Preparing [2021-11-09T11:14:24.256Z] 34fc6d86ca29: Layer already exists [2021-11-09T11:14:24.256Z] 6b7bf84e8244: Layer already exists [2021-11-09T11:14:24.256Z] d5eb23c4a5d0: Layer already exists [2021-11-09T11:14:24.256Z] a9c1c3dc8bc0: Layer already exists [2021-11-09T11:14:24.256Z] e2eb06d8af82: Layer already exists [2021-11-09T11:14:24.256Z] main: digest: sha256:c24e3231d6d899437be121e35a81e40d18ab40d277849466011f09b9db912ab2 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-09T11:14:24.305Z] ===================================================== [Pipeline] echo [2021-11-09T11:14:24.314Z] taggedImages: [2021-11-09T11:14:24.314Z] - nexus3.edgexfoundry.org:10004/device-mqtt:f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 [2021-11-09T11:14:24.314Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-11-09T11:14:24.314Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.16 [2021-11-09T11:14:24.314Z] - nexus3.edgexfoundry.org:10004/device-mqtt:f142b7d4d9dc0d163bb8d716c4eb7ddee57de476-2.0.1-dev.16 [2021-11-09T11:14:24.314Z] - 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-11-09T11:14:24.932Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T11:14:24.932Z] [2021-11-09T11:14:24.932Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:14:25.250Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T11:14:25.250Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-09T11:14:25.250Z] b4d181a07f80: Pulling fs layer [2021-11-09T11:14:25.250Z] a1111a8f2ec3: Pulling fs layer [2021-11-09T11:14:25.250Z] ed53099fbce6: Pulling fs layer [2021-11-09T11:14:25.250Z] dc539afda2c1: Pulling fs layer [2021-11-09T11:14:25.250Z] 77bc0d833cb6: Pulling fs layer [2021-11-09T11:14:25.250Z] 9065ff56babe: Pulling fs layer [2021-11-09T11:14:25.250Z] d287ab97295c: Pulling fs layer [2021-11-09T11:14:25.250Z] dc539afda2c1: Waiting [2021-11-09T11:14:25.250Z] 77bc0d833cb6: Waiting [2021-11-09T11:14:25.250Z] 9065ff56babe: Waiting [2021-11-09T11:14:25.250Z] d287ab97295c: Waiting [2021-11-09T11:14:25.250Z] a1111a8f2ec3: Verifying Checksum [2021-11-09T11:14:25.250Z] a1111a8f2ec3: Download complete [2021-11-09T11:14:25.250Z] dc539afda2c1: Verifying Checksum [2021-11-09T11:14:25.250Z] dc539afda2c1: Download complete [2021-11-09T11:14:25.518Z] 77bc0d833cb6: Verifying Checksum [2021-11-09T11:14:25.518Z] 77bc0d833cb6: Download complete [2021-11-09T11:14:25.518Z] 9065ff56babe: Verifying Checksum [2021-11-09T11:14:25.518Z] 9065ff56babe: Download complete [2021-11-09T11:14:25.518Z] ed53099fbce6: Verifying Checksum [2021-11-09T11:14:25.518Z] ed53099fbce6: Download complete [2021-11-09T11:14:25.518Z] b4d181a07f80: Download complete [2021-11-09T11:14:28.051Z] b4d181a07f80: Pull complete [2021-11-09T11:14:28.051Z] a1111a8f2ec3: Pull complete [2021-11-09T11:14:28.051Z] d287ab97295c: Verifying Checksum [2021-11-09T11:14:28.051Z] d287ab97295c: Download complete [2021-11-09T11:14:28.051Z] ed53099fbce6: Pull complete [2021-11-09T11:14:28.051Z] dc539afda2c1: Pull complete [2021-11-09T11:14:28.317Z] 77bc0d833cb6: Pull complete [2021-11-09T11:14:28.317Z] 9065ff56babe: Pull complete [2021-11-09T11:14:33.667Z] d287ab97295c: Pull complete [2021-11-09T11:14:33.667Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-09T11:14:33.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T11:14:33.667Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-09T11:14:33.744Z] prd-centos7-docker-4c-2g-28090 does not seem to be running inside a container [2021-11-09T11:14:33.793Z] $ 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/18 -v /w/workspace/device-mqtt-go/18:/w/workspace/device-mqtt-go/18:rw,z -v /w/workspace/device-mqtt-go/18@tmp:/w/workspace/device-mqtt-go/18@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-09T11:14:36.607Z] $ docker top b8bdfda02f3cf8a0bc0da54c9c0d1196b9ff854131f5637de45a8c7b1c8159d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T11:14:37.123Z] ---> job-cost.sh [2021-11-09T11:14:37.123Z] lf-activate-venv: SKIPPING [2021-11-09T11:14:37.123Z] INFO: No Stack... [2021-11-09T11:14:37.706Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-09T11:14:37.969Z] INFO: Archiving Costs [Pipeline] sh [2021-11-09T11:14:38.277Z] + cat /w/workspace/device-mqtt-go/18/archives/cost.csv [2021-11-09T11:14:38.277Z] + cut -d, -f6 [Pipeline] lock [2021-11-09T11:14:38.308Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-18-stack-cost] [2021-11-09T11:14:38.318Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-18-stack-cost] did not exist. Created. [2021-11-09T11:14:38.318Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-09T11:14:38.647Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-09T11:14:38.676Z] Stashed 1 file(s) [Pipeline] } [2021-11-09T11:14:38.686Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-18-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-09T11:14:38.712Z] $ docker stop --time=1 b8bdfda02f3cf8a0bc0da54c9c0d1196b9ff854131f5637de45a8c7b1c8159d3 [2021-11-09T11:14:39.867Z] $ docker rm -f b8bdfda02f3cf8a0bc0da54c9c0d1196b9ff854131f5637de45a8c7b1c8159d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-09T11:15:06.387Z] Removing intermediate container 08ba02546d53 [2021-11-09T11:15:06.387Z] ---> ef1d72373cc9 [2021-11-09T11:15:06.387Z] Step 10/11 : ARG MAKE='make build' [2021-11-09T11:15:06.387Z] ---> Running in 7b590d499113 [2021-11-09T11:15:06.387Z] Removing intermediate container 7b590d499113 [2021-11-09T11:15:06.387Z] ---> e8a81f1eb00b [2021-11-09T11:15:06.387Z] Step 11/11 : RUN $MAKE [2021-11-09T11:15:06.387Z] ---> Running in c0f484d9bdd7 [2021-11-09T11:15:06.387Z] noop [2021-11-09T11:15:06.387Z] Removing intermediate container c0f484d9bdd7 [2021-11-09T11:15:06.387Z] ---> 777872722b3a [2021-11-09T11:15:06.387Z] Successfully built 777872722b3a [2021-11-09T11:15:06.387Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:15:06.748Z] + docker inspect -f . ci-base-image-arm64 [2021-11-09T11:15:06.748Z] . [Pipeline] withDockerContainer [2021-11-09T11:15:07.005Z] prd-ubuntu18.04-docker-arm64-4c-16g-28089 does not seem to be running inside a container [2021-11-09T11:15:07.114Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/18 -v /w/workspace/device-mqtt-go/18:/w/workspace/device-mqtt-go/18:rw,z -v /w/workspace/device-mqtt-go/18@tmp:/w/workspace/device-mqtt-go/18@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-11-09T11:15:08.624Z] $ docker top b223a7af41e4768c0c62a4eef1e3c9cbe5eae84967219002d041ae787c4dbdf9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T11:15:10.393Z] + go version [2021-11-09T11:15:10.393Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-09T11:15:10.442Z] $ docker stop --time=1 b223a7af41e4768c0c62a4eef1e3c9cbe5eae84967219002d041ae787c4dbdf9 [2021-11-09T11:15:12.143Z] $ docker rm -f b223a7af41e4768c0c62a4eef1e3c9cbe5eae84967219002d041ae787c4dbdf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:15:12.879Z] + docker inspect -f . ci-base-image-arm64 [2021-11-09T11:15:12.879Z] . [Pipeline] withDockerContainer [2021-11-09T11:15:13.154Z] prd-ubuntu18.04-docker-arm64-4c-16g-28089 does not seem to be running inside a container [2021-11-09T11:15:13.255Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/18 -v /w/workspace/device-mqtt-go/18:/w/workspace/device-mqtt-go/18:rw,z -v /w/workspace/device-mqtt-go/18@tmp:/w/workspace/device-mqtt-go/18@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-11-09T11:15:14.821Z] $ docker top 1683d4d4a272255e074f0da640d644338b53b5377eaa2ce16f5842bb4bec8cdc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-09T11:15:15.874Z] + make test [2021-11-09T11:15:15.874Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-09T11:15:17.365Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-11-09T11:16:14.033Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-11-09T11:16:14.033Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.056s coverage: 22.4% of statements [2021-11-09T11:16:14.033Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-11-09T11:16:14.033Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-09T11:16:40.849Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-09T11:16:40.849Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-09T11:16:40.849Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-09T11:16:40.870Z] $ docker stop --time=1 1683d4d4a272255e074f0da640d644338b53b5377eaa2ce16f5842bb4bec8cdc [2021-11-09T11:16:42.647Z] $ docker rm -f 1683d4d4a272255e074f0da640d644338b53b5377eaa2ce16f5842bb4bec8cdc [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-09T11:16:43.546Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-09T11:16:43.570Z] Warning: overwriting stash ‘coverage-report’ [2021-11-09T11:16:44.081Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-09T11:16:44.572Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-09T11:16:44.904Z] + ls -al . [2021-11-09T11:16:44.904Z] total 180 [2021-11-09T11:16:44.904Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 11:16 . [2021-11-09T11:16:44.904Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 11:12 .. [2021-11-09T11:16:44.904Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 9 11:12 .dockerignore [2021-11-09T11:16:44.904Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 11:12 .git [2021-11-09T11:16:44.904Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 11:12 .github [2021-11-09T11:16:44.904Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 9 11:12 .gitignore [2021-11-09T11:16:44.904Z] -rw-rw-r-- 1 jenkins jenkins 7287 Nov 9 11:12 Attribution.txt [2021-11-09T11:16:44.904Z] -rw-rw-r-- 1 jenkins jenkins 7447 Nov 9 11:12 CHANGELOG.md [2021-11-09T11:16:44.904Z] -rw-rw-r-- 1 jenkins jenkins 1907 Nov 9 11:12 Dockerfile [2021-11-09T11:16:44.904Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 11:12 GOVERNANCE.md [2021-11-09T11:16:44.904Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 11:12 Jenkinsfile [2021-11-09T11:16:44.904Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 11:12 LICENSE [2021-11-09T11:16:44.904Z] -rw-rw-r-- 1 jenkins jenkins 1030 Nov 9 11:12 Makefile [2021-11-09T11:16:44.904Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 11:12 OWNERS.md [2021-11-09T11:16:44.904Z] -rw-rw-r-- 1 jenkins jenkins 2211 Nov 9 11:12 README.md [2021-11-09T11:16:44.904Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 9 11:10 VERSION [2021-11-09T11:16:44.904Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 11:12 bin [2021-11-09T11:16:44.904Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 11:12 cmd [2021-11-09T11:16:44.904Z] -rw-r--r-- 1 jenkins jenkins 17284 Nov 9 11:16 coverage.out [2021-11-09T11:16:44.904Z] -rw-rw-r-- 1 jenkins jenkins 425 Nov 9 11:12 go.mod [2021-11-09T11:16:44.904Z] -rw-rw-r-- 1 jenkins jenkins 49475 Nov 9 11:12 go.sum [2021-11-09T11:16:44.904Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 11:12 internal [2021-11-09T11:16:44.904Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 11:12 mock [2021-11-09T11:16:44.904Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 11:12 snap [2021-11-09T11:16:44.904Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 9 11:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:16:45.244Z] + 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=f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 --label arch=arm64 --label version=2.0.1-dev.16 . [2021-11-09T11:16:45.520Z] Sending build context to Docker daemon 724.5kB [2021-11-09T11:16:45.520Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-11-09T11:16:45.520Z] Step 2/23 : FROM ${BASE} AS builder [2021-11-09T11:16:45.520Z] ---> 777872722b3a [2021-11-09T11:16:45.520Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-09T11:16:45.794Z] ---> Running in 6438aa4ee544 [2021-11-09T11:16:46.390Z] Removing intermediate container 6438aa4ee544 [2021-11-09T11:16:46.390Z] ---> 18314970a694 [2021-11-09T11:16:46.390Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-11-09T11:16:46.390Z] ---> Running in db777a7f6295 [2021-11-09T11:16:46.664Z] Removing intermediate container db777a7f6295 [2021-11-09T11:16:46.664Z] ---> ecdc4ea5ff73 [2021-11-09T11:16:46.664Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-09T11:16:46.958Z] ---> Running in c6b5599686e5 [2021-11-09T11:16:48.956Z] Removing intermediate container c6b5599686e5 [2021-11-09T11:16:48.956Z] ---> b4d86424da7f [2021-11-09T11:16:48.956Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-09T11:16:48.956Z] ---> Running in ddfcd0af5220 [2021-11-09T11:16:49.937Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T11:16:50.927Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T11:16:51.544Z] OK: 223 MiB in 56 packages [2021-11-09T11:16:52.574Z] Removing intermediate container ddfcd0af5220 [2021-11-09T11:16:52.574Z] ---> b261dece6485 [2021-11-09T11:16:52.574Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-11-09T11:16:52.574Z] ---> Running in cc2449f90f1d [2021-11-09T11:16:53.204Z] Removing intermediate container cc2449f90f1d [2021-11-09T11:16:53.204Z] ---> 279545a7ed4d [2021-11-09T11:16:53.204Z] Step 8/23 : COPY . . [2021-11-09T11:16:54.184Z] ---> 091c13b409f3 [2021-11-09T11:16:54.184Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-09T11:16:54.184Z] ---> Running in b926a610e637 [2021-11-09T11:16:56.152Z] Removing intermediate container b926a610e637 [2021-11-09T11:16:56.152Z] ---> 605caca88f72 [2021-11-09T11:16:56.152Z] Step 10/23 : ARG MAKE='make build' [2021-11-09T11:16:56.152Z] ---> Running in e4be26f007bc [2021-11-09T11:16:56.744Z] Removing intermediate container e4be26f007bc [2021-11-09T11:16:56.744Z] ---> 6df823a7cba1 [2021-11-09T11:16:56.744Z] Step 11/23 : RUN $MAKE [2021-11-09T11:16:56.744Z] ---> Running in 48ad45ff99f3 [2021-11-09T11:16:57.718Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.16" -o cmd/device-mqtt ./cmd [2021-11-09T11:17:36.733Z] Removing intermediate container 48ad45ff99f3 [2021-11-09T11:17:36.733Z] ---> 0eff1e3cfdf4 [2021-11-09T11:17:36.733Z] Step 12/23 : FROM alpine:3.14 [2021-11-09T11:17:37.705Z] 3.14: Pulling from library/alpine [2021-11-09T11:17:37.978Z] 552d1f2373af: Already exists [2021-11-09T11:17:38.253Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-09T11:17:38.253Z] Status: Downloaded newer image for alpine:3.14 [2021-11-09T11:17:38.253Z] ---> bb3de5531c18 [2021-11-09T11:17:38.253Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-11-09T11:17:38.253Z] ---> Running in 2bab16656aac [2021-11-09T11:17:39.674Z] Removing intermediate container 2bab16656aac [2021-11-09T11:17:39.674Z] ---> 456a9e621163 [2021-11-09T11:17:39.674Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-09T11:17:39.674Z] ---> Running in f866bc5ef3e6 [2021-11-09T11:17:39.949Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-09T11:17:40.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-09T11:17:40.825Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-09T11:17:40.825Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-09T11:17:40.825Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-09T11:17:40.825Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-09T11:17:40.825Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-09T11:17:40.825Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-09T11:17:40.825Z] Executing busybox-1.33.1-r3.trigger [2021-11-09T11:17:41.097Z] OK: 8 MiB in 20 packages [2021-11-09T11:17:42.075Z] Removing intermediate container f866bc5ef3e6 [2021-11-09T11:17:42.075Z] ---> febfd28230f7 [2021-11-09T11:17:42.075Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-11-09T11:17:43.062Z] ---> 4a593692dc72 [2021-11-09T11:17:43.062Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-11-09T11:17:43.673Z] ---> e95229a4c720 [2021-11-09T11:17:43.673Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-11-09T11:17:44.660Z] ---> b0306bdd1aec [2021-11-09T11:17:44.660Z] Step 18/23 : EXPOSE 59982 [2021-11-09T11:17:44.660Z] ---> Running in f6fde22e8630 [2021-11-09T11:17:45.261Z] Removing intermediate container f6fde22e8630 [2021-11-09T11:17:45.261Z] ---> a75d69071423 [2021-11-09T11:17:45.261Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-11-09T11:17:45.261Z] ---> Running in a4d8ab5a1263 [2021-11-09T11:17:45.539Z] Removing intermediate container a4d8ab5a1263 [2021-11-09T11:17:45.539Z] ---> baf070d45ff1 [2021-11-09T11:17:45.539Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-09T11:17:45.814Z] ---> Running in efd9df3f6594 [2021-11-09T11:17:46.089Z] Removing intermediate container efd9df3f6594 [2021-11-09T11:17:46.089Z] ---> bcb011225824 [2021-11-09T11:17:46.089Z] Step 21/23 : LABEL arch=arm64 [2021-11-09T11:17:46.367Z] ---> Running in c856772aab14 [2021-11-09T11:17:46.648Z] Removing intermediate container c856772aab14 [2021-11-09T11:17:46.648Z] ---> e6c2fbc10d46 [2021-11-09T11:17:46.648Z] Step 22/23 : LABEL git_sha=f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 [2021-11-09T11:17:46.924Z] ---> Running in 516e17f94f53 [2021-11-09T11:17:47.200Z] Removing intermediate container 516e17f94f53 [2021-11-09T11:17:47.200Z] ---> 55ce83751764 [2021-11-09T11:17:47.200Z] Step 23/23 : LABEL version=2.0.1-dev.16 [2021-11-09T11:17:47.477Z] ---> Running in b38183876758 [2021-11-09T11:17:47.753Z] Removing intermediate container b38183876758 [2021-11-09T11:17:47.753Z] ---> bca0c4dd681f [2021-11-09T11:17:47.753Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-09T11:17:47.753Z] Successfully built bca0c4dd681f [2021-11-09T11:17:47.753Z] 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-11-09T11:17:47.998Z] provisioning config files... [2021-11-09T11:17:48.023Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/18@tmp/config3433422520265471591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T11:17:48.387Z] ---> docker-login.sh [2021-11-09T11:17:48.388Z] nexus3.edgexfoundry.org:10001 [2021-11-09T11:17:48.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:17:48.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:17:48.936Z] Configure a credential helper to remove this warning. See [2021-11-09T11:17:48.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:17:48.936Z] [2021-11-09T11:17:48.936Z] Login Succeeded [2021-11-09T11:17:48.936Z] nexus3.edgexfoundry.org:10002 [2021-11-09T11:17:49.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:17:49.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:17:49.489Z] Configure a credential helper to remove this warning. See [2021-11-09T11:17:49.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:17:49.489Z] [2021-11-09T11:17:49.489Z] Login Succeeded [2021-11-09T11:17:49.489Z] nexus3.edgexfoundry.org:10003 [2021-11-09T11:17:50.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:17:50.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:17:50.092Z] Configure a credential helper to remove this warning. See [2021-11-09T11:17:50.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:17:50.092Z] [2021-11-09T11:17:50.092Z] Login Succeeded [2021-11-09T11:17:50.092Z] nexus3.edgexfoundry.org:10004 [2021-11-09T11:17:50.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:17:50.693Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:17:50.693Z] Configure a credential helper to remove this warning. See [2021-11-09T11:17:50.693Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:17:50.693Z] [2021-11-09T11:17:50.693Z] Login Succeeded [2021-11-09T11:17:50.693Z] docker.io [2021-11-09T11:17:51.294Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-09T11:17:51.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-09T11:17:51.571Z] Configure a credential helper to remove this warning. See [2021-11-09T11:17:51.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-09T11:17:51.571Z] [2021-11-09T11:17:51.571Z] Login Succeeded [2021-11-09T11:17:51.571Z] ---> docker-login.sh ends [Pipeline] } [2021-11-09T11:17:51.592Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-09T11:17:51.624Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-09T11:17:51.655Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2021-11-09T11:17:51.655Z] f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 [2021-11-09T11:17:51.655Z] latest [2021-11-09T11:17:51.655Z] 2.0.1-dev.16 [2021-11-09T11:17:51.655Z] f142b7d4d9dc0d163bb8d716c4eb7ddee57de476-2.0.1-dev.16 [2021-11-09T11:17:51.655Z] main [2021-11-09T11:17:51.655Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:17:52.034Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:17:52.391Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 [2021-11-09T11:17:52.391Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-11-09T11:17:52.391Z] d86485dc9e11: Preparing [2021-11-09T11:17:52.391Z] 96e261186a90: Preparing [2021-11-09T11:17:52.391Z] 39646e85522c: Preparing [2021-11-09T11:17:52.391Z] b14168b75650: Preparing [2021-11-09T11:17:52.391Z] ee420dfed78a: Preparing [2021-11-09T11:17:52.669Z] ee420dfed78a: Layer already exists [2021-11-09T11:17:52.669Z] 96e261186a90: Pushed [2021-11-09T11:17:52.669Z] d86485dc9e11: Pushed [2021-11-09T11:17:53.270Z] b14168b75650: Pushed [2021-11-09T11:17:55.900Z] 39646e85522c: Pushed [2021-11-09T11:17:55.900Z] f142b7d4d9dc0d163bb8d716c4eb7ddee57de476: digest: sha256:09ec10acd8697ddb717c18b34f2a526df9c91a57a3f311de0ed4e195aaad8cd7 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:17:56.259Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:17:56.614Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-11-09T11:17:56.614Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-11-09T11:17:56.614Z] d86485dc9e11: Preparing [2021-11-09T11:17:56.614Z] 96e261186a90: Preparing [2021-11-09T11:17:56.614Z] 39646e85522c: Preparing [2021-11-09T11:17:56.614Z] b14168b75650: Preparing [2021-11-09T11:17:56.614Z] ee420dfed78a: Preparing [2021-11-09T11:17:56.893Z] ee420dfed78a: Layer already exists [2021-11-09T11:17:56.893Z] d86485dc9e11: Layer already exists [2021-11-09T11:17:56.893Z] b14168b75650: Layer already exists [2021-11-09T11:17:56.893Z] 96e261186a90: Layer already exists [2021-11-09T11:17:56.893Z] 39646e85522c: Layer already exists [2021-11-09T11:17:56.893Z] latest: digest: sha256:09ec10acd8697ddb717c18b34f2a526df9c91a57a3f311de0ed4e195aaad8cd7 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:17:57.258Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.16 [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:17:57.608Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.16 [2021-11-09T11:17:57.608Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-11-09T11:17:57.608Z] d86485dc9e11: Preparing [2021-11-09T11:17:57.608Z] 96e261186a90: Preparing [2021-11-09T11:17:57.608Z] 39646e85522c: Preparing [2021-11-09T11:17:57.608Z] b14168b75650: Preparing [2021-11-09T11:17:57.608Z] ee420dfed78a: Preparing [2021-11-09T11:17:57.890Z] d86485dc9e11: Layer already exists [2021-11-09T11:17:57.891Z] ee420dfed78a: Layer already exists [2021-11-09T11:17:57.891Z] 39646e85522c: Layer already exists [2021-11-09T11:17:57.891Z] b14168b75650: Layer already exists [2021-11-09T11:17:57.891Z] 96e261186a90: Layer already exists [2021-11-09T11:17:57.891Z] 2.0.1-dev.16: digest: sha256:09ec10acd8697ddb717c18b34f2a526df9c91a57a3f311de0ed4e195aaad8cd7 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:17:58.243Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f142b7d4d9dc0d163bb8d716c4eb7ddee57de476-2.0.1-dev.16 [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:17:58.603Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f142b7d4d9dc0d163bb8d716c4eb7ddee57de476-2.0.1-dev.16 [2021-11-09T11:17:58.603Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-11-09T11:17:58.603Z] d86485dc9e11: Preparing [2021-11-09T11:17:58.603Z] 96e261186a90: Preparing [2021-11-09T11:17:58.603Z] 39646e85522c: Preparing [2021-11-09T11:17:58.603Z] b14168b75650: Preparing [2021-11-09T11:17:58.603Z] ee420dfed78a: Preparing [2021-11-09T11:17:58.603Z] 96e261186a90: Layer already exists [2021-11-09T11:17:58.603Z] 39646e85522c: Layer already exists [2021-11-09T11:17:58.603Z] ee420dfed78a: Layer already exists [2021-11-09T11:17:58.603Z] b14168b75650: Layer already exists [2021-11-09T11:17:58.603Z] d86485dc9e11: Layer already exists [2021-11-09T11:17:58.878Z] f142b7d4d9dc0d163bb8d716c4eb7ddee57de476-2.0.1-dev.16: digest: sha256:09ec10acd8697ddb717c18b34f2a526df9c91a57a3f311de0ed4e195aaad8cd7 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:17:59.234Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:17:59.585Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2021-11-09T11:17:59.586Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-11-09T11:17:59.586Z] d86485dc9e11: Preparing [2021-11-09T11:17:59.586Z] 96e261186a90: Preparing [2021-11-09T11:17:59.586Z] 39646e85522c: Preparing [2021-11-09T11:17:59.586Z] b14168b75650: Preparing [2021-11-09T11:17:59.586Z] ee420dfed78a: Preparing [2021-11-09T11:17:59.862Z] d86485dc9e11: Layer already exists [2021-11-09T11:17:59.862Z] 39646e85522c: Layer already exists [2021-11-09T11:17:59.862Z] ee420dfed78a: Layer already exists [2021-11-09T11:17:59.862Z] 96e261186a90: Layer already exists [2021-11-09T11:17:59.862Z] b14168b75650: Layer already exists [2021-11-09T11:17:59.862Z] main: digest: sha256:09ec10acd8697ddb717c18b34f2a526df9c91a57a3f311de0ed4e195aaad8cd7 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-09T11:17:59.912Z] ===================================================== [Pipeline] echo [2021-11-09T11:17:59.922Z] taggedImages: [2021-11-09T11:17:59.923Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 [2021-11-09T11:17:59.923Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-11-09T11:17:59.923Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.16 [2021-11-09T11:17:59.923Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:f142b7d4d9dc0d163bb8d716c4eb7ddee57de476-2.0.1-dev.16 [2021-11-09T11:17:59.923Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:18:00.361Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T11:18:00.637Z] [2021-11-09T11:18:00.637Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:18:02.298Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T11:18:02.574Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-09T11:18:02.574Z] 448f6bf000e3: Pulling fs layer [2021-11-09T11:18:02.574Z] f757da607395: Pulling fs layer [2021-11-09T11:18:02.574Z] 05883995daec: Pulling fs layer [2021-11-09T11:18:02.574Z] 8603b9c90790: Pulling fs layer [2021-11-09T11:18:02.574Z] 1560dd03e051: Pulling fs layer [2021-11-09T11:18:02.574Z] 27f5ce0e4adf: Pulling fs layer [2021-11-09T11:18:02.574Z] c2d8d7efcc4b: Pulling fs layer [2021-11-09T11:18:02.574Z] 1560dd03e051: Waiting [2021-11-09T11:18:02.574Z] 27f5ce0e4adf: Waiting [2021-11-09T11:18:02.574Z] c2d8d7efcc4b: Waiting [2021-11-09T11:18:02.574Z] f757da607395: Verifying Checksum [2021-11-09T11:18:02.574Z] f757da607395: Download complete [2021-11-09T11:18:02.574Z] 8603b9c90790: Verifying Checksum [2021-11-09T11:18:02.574Z] 8603b9c90790: Download complete [2021-11-09T11:18:02.851Z] 1560dd03e051: Verifying Checksum [2021-11-09T11:18:02.851Z] 1560dd03e051: Download complete [2021-11-09T11:18:02.851Z] 27f5ce0e4adf: Verifying Checksum [2021-11-09T11:18:02.851Z] 27f5ce0e4adf: Download complete [2021-11-09T11:18:02.851Z] 05883995daec: Verifying Checksum [2021-11-09T11:18:02.851Z] 05883995daec: Download complete [2021-11-09T11:18:03.128Z] 448f6bf000e3: Verifying Checksum [2021-11-09T11:18:03.128Z] 448f6bf000e3: Download complete [2021-11-09T11:18:05.764Z] c2d8d7efcc4b: Verifying Checksum [2021-11-09T11:18:05.764Z] c2d8d7efcc4b: Download complete [2021-11-09T11:18:06.754Z] 448f6bf000e3: Pull complete [2021-11-09T11:18:07.354Z] f757da607395: Pull complete [2021-11-09T11:18:08.799Z] 05883995daec: Pull complete [2021-11-09T11:18:09.400Z] 8603b9c90790: Pull complete [2021-11-09T11:18:10.383Z] 1560dd03e051: Pull complete [2021-11-09T11:18:10.655Z] 27f5ce0e4adf: Pull complete [2021-11-09T11:18:25.765Z] c2d8d7efcc4b: Pull complete [2021-11-09T11:18:25.765Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-09T11:18:25.765Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-09T11:18:25.765Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-09T11:18:26.015Z] prd-ubuntu18.04-docker-arm64-4c-16g-28089 does not seem to be running inside a container [2021-11-09T11:18:26.100Z] $ 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/18 -v /w/workspace/device-mqtt-go/18:/w/workspace/device-mqtt-go/18:rw,z -v /w/workspace/device-mqtt-go/18@tmp:/w/workspace/device-mqtt-go/18@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-11-09T11:18:29.151Z] $ docker top 8adffa761e2c5e30120704f3b5fc658f5fb5b08ba2a6776e8a7496fc2908e269 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-09T11:18:30.135Z] ---> job-cost.sh [2021-11-09T11:18:30.135Z] lf-activate-venv: SKIPPING [2021-11-09T11:18:30.135Z] INFO: No Stack... [2021-11-09T11:18:30.726Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-09T11:18:31.317Z] INFO: Archiving Costs [Pipeline] sh [2021-11-09T11:18:31.972Z] + cat /w/workspace/device-mqtt-go/18/archives/cost.csv [2021-11-09T11:18:31.972Z] + cut -d, -f6 [Pipeline] lock [2021-11-09T11:18:32.033Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-18-stack-cost] [2021-11-09T11:18:32.043Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-18-stack-cost] did not exist. Created. [2021-11-09T11:18:32.044Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-18-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-09T11:18:32.718Z] /w/workspace/device-mqtt-go/18@tmp/durable-5d9949c8/script.sh: 1: /w/workspace/device-mqtt-go/18@tmp/durable-5d9949c8/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-09T11:18:33.388Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-09T11:18:33.413Z] Warning: overwriting stash ‘stack-cost’ [2021-11-09T11:18:33.462Z] Stashed 1 file(s) [Pipeline] } [2021-11-09T11:18:33.469Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-18-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-09T11:18:33.488Z] $ docker stop --time=1 8adffa761e2c5e30120704f3b5fc658f5fb5b08ba2a6776e8a7496fc2908e269 [2021-11-09T11:18:35.043Z] $ docker rm -f 8adffa761e2c5e30120704f3b5fc658f5fb5b08ba2a6776e8a7496fc2908e269 [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-11-09T11:18:35.768Z] provisioning config files... [2021-11-09T11:18:35.777Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config732385642835315991tmp [Pipeline] { [Pipeline] sh [2021-11-09T11:18:36.083Z] + set +x [2021-11-09T11:18:36.083Z] + curl -s https://codecov.io/bash [2021-11-09T11:18:36.083Z] + bash -s -- [2021-11-09T11:18:36.083Z] [2021-11-09T11:18:36.083Z] _____ _ [2021-11-09T11:18:36.083Z] / ____| | | [2021-11-09T11:18:36.083Z] | | ___ __| | ___ ___ _____ __ [2021-11-09T11:18:36.083Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-09T11:18:36.083Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-09T11:18:36.083Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-09T11:18:36.083Z] Bash-1.0.6 [2021-11-09T11:18:36.083Z] [2021-11-09T11:18:36.083Z] [2021-11-09T11:18:36.083Z] ==> git version 2.24.4 found [2021-11-09T11:18:36.083Z] ==> 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-11-09T11:18:36.083Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-09T11:18:36.083Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-09T11:18:36.083Z] ==> Jenkins CI detected. [2021-11-09T11:18:36.083Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-09T11:18:36.083Z] project root: . [2021-11-09T11:18:36.083Z] --> token set from env [2021-11-09T11:18:36.344Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-09T11:18:36.344Z] ==> Running gcov in . (disable via -X gcov) [2021-11-09T11:18:36.344Z] ==> Python coveragepy not found [2021-11-09T11:18:36.344Z] ==> Searching for coverage reports in: [2021-11-09T11:18:36.344Z] + . [2021-11-09T11:18:36.344Z] -> Found 1 reports [2021-11-09T11:18:36.344Z] ==> Detecting git/mercurial file structure [2021-11-09T11:18:36.344Z] ==> Reading reports [2021-11-09T11:18:36.344Z] + ./coverage.out bytes=17284 [2021-11-09T11:18:36.344Z] ==> Appending adjustments [2021-11-09T11:18:36.344Z] https://docs.codecov.io/docs/fixing-reports [2021-11-09T11:18:36.344Z] + Found adjustments [2021-11-09T11:18:36.344Z] ==> Gzipping contents [2021-11-09T11:18:36.344Z] 4.0K /tmp/codecov.Icetel.gz [2021-11-09T11:18:36.344Z] ==> Uploading reports [2021-11-09T11:18:36.344Z] url: https://codecov.io [2021-11-09T11:18:36.344Z] query: branch=main&commit=f142b7d4d9dc0d163bb8d716c4eb7ddee57de476&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-09T11:18:36.344Z] -> Pinging Codecov [2021-11-09T11:18:36.344Z] 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=f142b7d4d9dc0d163bb8d716c4eb7ddee57de476&build=18&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F18%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-09T11:18:36.605Z] -> Uploading to [2021-11-09T11:18:36.606Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-09/7D719EC7BBE17E464838252E33014C33/f142b7d4d9dc0d163bb8d716c4eb7ddee57de476/eb8ee117-0694-47f3-a417-9dc5b1c34128.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211109T111836Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5609986748710fc21e51f9dbbf7bdab64b66005bc8ee2d68e11f3a3e3b3573d3 [2021-11-09T11:18:36.606Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-09T11:18:36.606Z] Dload Upload Total Spent Left Speed [2021-11-09T11:18:36.867Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3188 0 0 100 3188 0 11604 --:--:-- --:--:-- --:--:-- 11635 [2021-11-09T11:18:36.867Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 [Pipeline] } [2021-11-09T11:18:36.876Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-09T11:18:37.314Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-09T11:18:37.329Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:18:37.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-09T11:18:37.638Z] [2021-11-09T11:18:37.638Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:18:37.950Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-09T11:18:37.950Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-09T11:18:37.950Z] 188c0c94c7c5: Pulling fs layer [2021-11-09T11:18:37.950Z] 0ef7d3d256c8: Pulling fs layer [2021-11-09T11:18:37.950Z] de9db76c5a1d: Pulling fs layer [2021-11-09T11:18:37.950Z] 0eba1c9be4d2: Pulling fs layer [2021-11-09T11:18:37.950Z] 0d57e429df01: Pulling fs layer [2021-11-09T11:18:37.950Z] 4e4be7b47b0d: Pulling fs layer [2021-11-09T11:18:37.950Z] e1f770b5df2f: Pulling fs layer [2021-11-09T11:18:37.950Z] 85a0685a4137: Pulling fs layer [2021-11-09T11:18:37.950Z] 0eba1c9be4d2: Waiting [2021-11-09T11:18:37.950Z] 0d57e429df01: Waiting [2021-11-09T11:18:37.950Z] 4e4be7b47b0d: Waiting [2021-11-09T11:18:37.950Z] e1f770b5df2f: Waiting [2021-11-09T11:18:37.950Z] 85a0685a4137: Waiting [2021-11-09T11:18:37.950Z] de9db76c5a1d: Verifying Checksum [2021-11-09T11:18:37.950Z] de9db76c5a1d: Download complete [2021-11-09T11:18:37.950Z] 0ef7d3d256c8: Verifying Checksum [2021-11-09T11:18:37.950Z] 0ef7d3d256c8: Download complete [2021-11-09T11:18:37.950Z] 0d57e429df01: Verifying Checksum [2021-11-09T11:18:37.950Z] 0d57e429df01: Download complete [2021-11-09T11:18:37.950Z] 4e4be7b47b0d: Verifying Checksum [2021-11-09T11:18:37.950Z] 4e4be7b47b0d: Download complete [2021-11-09T11:18:37.950Z] 188c0c94c7c5: Verifying Checksum [2021-11-09T11:18:37.950Z] 188c0c94c7c5: Download complete [2021-11-09T11:18:38.229Z] e1f770b5df2f: Verifying Checksum [2021-11-09T11:18:38.229Z] e1f770b5df2f: Download complete [2021-11-09T11:18:38.229Z] 188c0c94c7c5: Pull complete [2021-11-09T11:18:38.498Z] 0ef7d3d256c8: Pull complete [2021-11-09T11:18:38.772Z] 0eba1c9be4d2: Verifying Checksum [2021-11-09T11:18:38.772Z] 0eba1c9be4d2: Download complete [2021-11-09T11:18:38.772Z] de9db76c5a1d: Pull complete [2021-11-09T11:18:39.044Z] 85a0685a4137: Verifying Checksum [2021-11-09T11:18:39.044Z] 85a0685a4137: Download complete [2021-11-09T11:18:43.143Z] 0eba1c9be4d2: Pull complete [2021-11-09T11:18:43.143Z] 0d57e429df01: Pull complete [2021-11-09T11:18:43.143Z] 4e4be7b47b0d: Pull complete [2021-11-09T11:18:43.409Z] e1f770b5df2f: Pull complete [2021-11-09T11:18:48.753Z] 85a0685a4137: Pull complete [2021-11-09T11:18:48.753Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-09T11:18:48.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-09T11:18:48.753Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-09T11:18:48.830Z] prd-centos7-docker-4c-2g-28087 does not seem to be running inside a container [2021-11-09T11:18:48.874Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-11-09T11:18:51.538Z] $ docker top 16f9149cc9a62e68808a14814913173bd6b7a64e1f8d8e8de07b13a8b65414ef -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-09T11:18:51.628Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-09T11:18:51.930Z] + set -o pipefail [2021-11-09T11:18:51.930Z] + snyk monitor '--org=edgex-jenkins' [2021-11-09T11:19:00.111Z] [2021-11-09T11:19:00.111Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2021-11-09T11:19:00.111Z] [2021-11-09T11:19:00.111Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/2b46dab6-4dca-4131-b60e-74c7ba6a3f28 [2021-11-09T11:19:00.111Z] [2021-11-09T11:19:00.111Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-11-09T11:19:00.111Z] [2021-11-09T11:19:00.111Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-09T11:19:00.111Z] [2021-11-09T11:19:00.111Z] [2021-11-09T11:19:00.111Z] You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. [2021-11-09T11:19:00.111Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2021-11-09T11:19:00.123Z] $ docker stop --time=1 16f9149cc9a62e68808a14814913173bd6b7a64e1f8d8e8de07b13a8b65414ef [2021-11-09T11:19:02.694Z] $ docker rm -f 16f9149cc9a62e68808a14814913173bd6b7a64e1f8d8e8de07b13a8b65414ef [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-11-09T11:19:03.907Z] + git log --format=format:%s -1 f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:19:04.205Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T11:19:04.205Z] . [Pipeline] withDockerContainer [2021-11-09T11:19:04.261Z] prd-centos7-docker-4c-2g-28087 does not seem to be running inside a container [2021-11-09T11:19:04.299Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-09T11:19:04.700Z] $ docker top 523ffc943b2e2a5903b8bcc1a0632e0f4184d0ff02e390cf55793db6b810d4d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-09T11:19:04.782Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T11:19:04.782Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T11:19:04.889Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T11:19:04.891Z] $ docker exec 523ffc943b2e2a5903b8bcc1a0632e0f4184d0ff02e390cf55793db6b810d4d1 ssh-agent [2021-11-09T11:19:04.993Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoaHAPO/agent.13 [2021-11-09T11:19:04.993Z] SSH_AGENT_PID=20 [2021-11-09T11:19:04.998Z] Running ssh-add (command line suppressed) [2021-11-09T11:19:05.087Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5327112313186217277.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5327112313186217277.key) [2021-11-09T11:19:05.100Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T11:19:05.396Z] + git semver tag [2021-11-09T11:19:05.396Z] # -> Open(): unable to determine branch for HEAD [2021-11-09T11:19:05.396Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-11-09T11:19:05.396Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-09T11:19:05.396Z] # $SEMVER_REMOTE_NAME = origin [2021-11-09T11:19:05.396Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-09T11:19:05.396Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-09T11:19:05.396Z] # $SEMVER_BRANCH = main [2021-11-09T11:19:05.396Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2021-11-09T11:19:05.396Z] # f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 HEAD [2021-11-09T11:19:05.396Z] # -> Force: false [2021-11-09T11:19:05.396Z] # b1e060b41473be9d6991cefbe7f2d497cb995756 refs/tags/v2.0.1-dev.16 [Pipeline] } [2021-11-09T11:19:05.403Z] $ docker exec --env ******** --env ******** 523ffc943b2e2a5903b8bcc1a0632e0f4184d0ff02e390cf55793db6b810d4d1 ssh-agent -k [2021-11-09T11:19:05.499Z] unset SSH_AUTH_SOCK; [2021-11-09T11:19:05.499Z] unset SSH_AGENT_PID; [2021-11-09T11:19:05.499Z] echo Agent pid 20 killed; [2021-11-09T11:19:05.511Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-09T11:19:05.838Z] + git semver [Pipeline] } [2021-11-09T11:19:05.853Z] $ docker stop --time=1 523ffc943b2e2a5903b8bcc1a0632e0f4184d0ff02e390cf55793db6b810d4d1 [2021-11-09T11:19:07.057Z] $ docker rm -f 523ffc943b2e2a5903b8bcc1a0632e0f4184d0ff02e390cf55793db6b810d4d1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:19:08.403Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-09T11:19:08.404Z] [2021-11-09T11:19:08.404Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:19:08.706Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-09T11:19:08.706Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-09T11:19:08.707Z] ab5ef0e58194: Pulling fs layer [2021-11-09T11:19:08.707Z] 9712f1f96733: Pulling fs layer [2021-11-09T11:19:08.707Z] 63f879dbbcfc: Pulling fs layer [2021-11-09T11:19:08.707Z] 0d9ebad4ef96: Pulling fs layer [2021-11-09T11:19:08.707Z] e9a5061849ea: Pulling fs layer [2021-11-09T11:19:08.707Z] d747dcd14b5f: Pulling fs layer [2021-11-09T11:19:08.707Z] 2de7ff778b66: Pulling fs layer [2021-11-09T11:19:08.707Z] e9a5061849ea: Waiting [2021-11-09T11:19:08.707Z] d747dcd14b5f: Waiting [2021-11-09T11:19:08.707Z] 2de7ff778b66: Waiting [2021-11-09T11:19:08.707Z] 0d9ebad4ef96: Waiting [2021-11-09T11:19:08.707Z] 9712f1f96733: Verifying Checksum [2021-11-09T11:19:08.707Z] 9712f1f96733: Download complete [2021-11-09T11:19:09.290Z] 63f879dbbcfc: Verifying Checksum [2021-11-09T11:19:09.290Z] 63f879dbbcfc: Download complete [2021-11-09T11:19:09.290Z] ab5ef0e58194: Verifying Checksum [2021-11-09T11:19:09.290Z] ab5ef0e58194: Download complete [2021-11-09T11:19:09.290Z] d747dcd14b5f: Verifying Checksum [2021-11-09T11:19:09.290Z] d747dcd14b5f: Download complete [2021-11-09T11:19:09.566Z] e9a5061849ea: Verifying Checksum [2021-11-09T11:19:09.566Z] e9a5061849ea: Download complete [2021-11-09T11:19:09.566Z] 0d9ebad4ef96: Verifying Checksum [2021-11-09T11:19:09.566Z] 0d9ebad4ef96: Download complete [2021-11-09T11:19:09.566Z] 2de7ff778b66: Verifying Checksum [2021-11-09T11:19:09.566Z] 2de7ff778b66: Download complete [2021-11-09T11:19:12.908Z] ab5ef0e58194: Pull complete [2021-11-09T11:19:12.908Z] 9712f1f96733: Pull complete [2021-11-09T11:19:13.488Z] 63f879dbbcfc: Pull complete [2021-11-09T11:19:17.753Z] 0d9ebad4ef96: Pull complete [2021-11-09T11:19:17.753Z] e9a5061849ea: Pull complete [2021-11-09T11:19:17.753Z] d747dcd14b5f: Pull complete [2021-11-09T11:19:18.721Z] 2de7ff778b66: Pull complete [2021-11-09T11:19:18.987Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-09T11:19:18.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-09T11:19:18.987Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-09T11:19:19.087Z] prd-centos7-docker-4c-2g-28087 does not seem to be running inside a container [2021-11-09T11:19:19.131Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-11-09T11:19:24.537Z] $ docker top 6e4d83ddaf1e94f03acd33be8f94b6ffdf4e5e5849d3ed604315913594aa6ad7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-09T11:19:24.625Z] provisioning config files... [2021-11-09T11:19:24.635Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1973037705830869130tmp [2021-11-09T11:19:24.651Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config77623577739463642tmp [2021-11-09T11:19:24.667Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4489620784884638053tmp [Pipeline] { [Pipeline] echo [2021-11-09T11:19:24.685Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T11:19:24.974Z] ---> sigul-configuration.sh [2021-11-09T11:19:24.974Z] gpg: directory `/root/.gnupg' created [2021-11-09T11:19:24.974Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-09T11:19:24.974Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-09T11:19:24.974Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-09T11:19:24.974Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-09T11:19:24.974Z] gpg: CAST5 encrypted data [2021-11-09T11:19:24.974Z] gpg: encrypted with 1 passphrase [2021-11-09T11:19:24.974Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-09T11:19:25.272Z] + mkdir /home/jenkins [2021-11-09T11:19:25.273Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-09T11:19:25.564Z] + 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-11-09T11:19:25.575Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T11:19:25.866Z] ---> sigul-install.sh [2021-11-09T11:19:25.866Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-09T11:19:26.155Z] + git tag --list [2021-11-09T11:19:26.155Z] 0.7.1 [2021-11-09T11:19:26.155Z] v1.0.0 [2021-11-09T11:19:26.155Z] v1.1.0 [2021-11-09T11:19:26.155Z] v1.1.1 [2021-11-09T11:19:26.155Z] v1.2.2 [2021-11-09T11:19:26.155Z] v1.3.0 [2021-11-09T11:19:26.155Z] v1.3.1 [2021-11-09T11:19:26.155Z] v2.0.0 [2021-11-09T11:19:26.155Z] v2.0.1-dev.1 [2021-11-09T11:19:26.155Z] v2.0.1-dev.10 [2021-11-09T11:19:26.155Z] v2.0.1-dev.11 [2021-11-09T11:19:26.155Z] v2.0.1-dev.12 [2021-11-09T11:19:26.155Z] v2.0.1-dev.13 [2021-11-09T11:19:26.155Z] v2.0.1-dev.14 [2021-11-09T11:19:26.155Z] v2.0.1-dev.15 [2021-11-09T11:19:26.155Z] v2.0.1-dev.16 [2021-11-09T11:19:26.155Z] v2.0.1-dev.2 [2021-11-09T11:19:26.155Z] v2.0.1-dev.3 [2021-11-09T11:19:26.155Z] v2.0.1-dev.4 [2021-11-09T11:19:26.155Z] v2.0.1-dev.5 [2021-11-09T11:19:26.155Z] v2.0.1-dev.6 [2021-11-09T11:19:26.155Z] v2.0.1-dev.7 [2021-11-09T11:19:26.155Z] v2.0.1-dev.8 [2021-11-09T11:19:26.155Z] v2.0.1-dev.9 [Pipeline] sh [2021-11-09T11:19:26.446Z] + lftools sign git-tag v2.0.1-dev.16 [2021-11-09T11:19:27.023Z] Signing Git tag with Sigul... [2021-11-09T11:19:27.023Z] Signing v2.0.1-dev.16 [Pipeline] echo [2021-11-09T11:19:27.973Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T11:19:28.267Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-09T11:19:28.277Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-09T11:19:28.299Z] $ docker stop --time=1 6e4d83ddaf1e94f03acd33be8f94b6ffdf4e5e5849d3ed604315913594aa6ad7 [2021-11-09T11:19:29.492Z] $ docker rm -f 6e4d83ddaf1e94f03acd33be8f94b6ffdf4e5e5849d3ed604315913594aa6ad7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:19:30.179Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T11:19:30.179Z] . [Pipeline] withDockerContainer [2021-11-09T11:19:30.240Z] prd-centos7-docker-4c-2g-28087 does not seem to be running inside a container [2021-11-09T11:19:30.273Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-09T11:19:30.790Z] $ docker top 509bd4eb3ad7cc3273d1f712fab01457336f97bc819b1c7ca5262e7aaa6b7389 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-09T11:19:30.882Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T11:19:30.882Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T11:19:30.982Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T11:19:30.984Z] $ docker exec 509bd4eb3ad7cc3273d1f712fab01457336f97bc819b1c7ca5262e7aaa6b7389 ssh-agent [2021-11-09T11:19:31.080Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCHNGPo/agent.13 [2021-11-09T11:19:31.080Z] SSH_AGENT_PID=18 [2021-11-09T11:19:31.089Z] Running ssh-add (command line suppressed) [2021-11-09T11:19:31.179Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8506429679079851995.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8506429679079851995.key) [2021-11-09T11:19:31.196Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T11:19:31.500Z] + git semver bump pre [2021-11-09T11:19:31.500Z] # -> Open(): unable to determine branch for HEAD [2021-11-09T11:19:31.500Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-11-09T11:19:31.500Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-09T11:19:31.500Z] # $SEMVER_REMOTE_NAME = origin [2021-11-09T11:19:31.500Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-09T11:19:31.500Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-09T11:19:31.500Z] # $SEMVER_BRANCH = main [2021-11-09T11:19:31.500Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2021-11-09T11:19:31.500Z] 2.0.1-dev.17 [Pipeline] } [2021-11-09T11:19:31.511Z] $ docker exec --env ******** --env ******** 509bd4eb3ad7cc3273d1f712fab01457336f97bc819b1c7ca5262e7aaa6b7389 ssh-agent -k [2021-11-09T11:19:31.601Z] unset SSH_AUTH_SOCK; [2021-11-09T11:19:31.602Z] unset SSH_AGENT_PID; [2021-11-09T11:19:31.602Z] echo Agent pid 18 killed; [2021-11-09T11:19:31.612Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-09T11:19:31.934Z] + git semver [Pipeline] } [2021-11-09T11:19:31.947Z] $ docker stop --time=1 509bd4eb3ad7cc3273d1f712fab01457336f97bc819b1c7ca5262e7aaa6b7389 [2021-11-09T11:19:33.176Z] $ docker rm -f 509bd4eb3ad7cc3273d1f712fab01457336f97bc819b1c7ca5262e7aaa6b7389 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:19:33.530Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-09T11:19:33.530Z] . [Pipeline] withDockerContainer [2021-11-09T11:19:33.602Z] prd-centos7-docker-4c-2g-28087 does not seem to be running inside a container [2021-11-09T11:19:33.644Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-09T11:19:34.103Z] $ docker top 363a0b8ba77cd6ef54357268f351b5a30781e31679d232aeccdac9adcc3b2ed7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-09T11:19:34.196Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-09T11:19:34.196Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-09T11:19:34.307Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-09T11:19:34.309Z] $ docker exec 363a0b8ba77cd6ef54357268f351b5a30781e31679d232aeccdac9adcc3b2ed7 ssh-agent [2021-11-09T11:19:34.410Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEiMDal/agent.14 [2021-11-09T11:19:34.410Z] SSH_AGENT_PID=21 [2021-11-09T11:19:34.415Z] Running ssh-add (command line suppressed) [2021-11-09T11:19:34.506Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_28287904083975891.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_28287904083975891.key) [2021-11-09T11:19:34.519Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-09T11:19:34.816Z] + git semver push [2021-11-09T11:19:34.817Z] # -> Open(): unable to determine branch for HEAD [2021-11-09T11:19:34.817Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-11-09T11:19:34.817Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-09T11:19:34.817Z] # $SEMVER_REMOTE_NAME = origin [2021-11-09T11:19:34.817Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-09T11:19:34.817Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-09T11:19:34.817Z] # $SEMVER_BRANCH = main [2021-11-09T11:19:34.817Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2021-11-09T11:19:36.207Z] $ docker exec --env ******** --env ******** 363a0b8ba77cd6ef54357268f351b5a30781e31679d232aeccdac9adcc3b2ed7 ssh-agent -k [2021-11-09T11:19:36.316Z] unset SSH_AUTH_SOCK; [2021-11-09T11:19:36.316Z] unset SSH_AGENT_PID; [2021-11-09T11:19:36.316Z] echo Agent pid 21 killed; [2021-11-09T11:19:36.342Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-09T11:19:36.795Z] + git semver [Pipeline] } [2021-11-09T11:19:36.885Z] $ docker stop --time=1 363a0b8ba77cd6ef54357268f351b5a30781e31679d232aeccdac9adcc3b2ed7 [2021-11-09T11:19:38.130Z] $ docker rm -f 363a0b8ba77cd6ef54357268f351b5a30781e31679d232aeccdac9adcc3b2ed7 [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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-09T11:19:39.045Z] + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-09T11:19:39.339Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T11:19:39.896Z] ---> package-listing.sh [2021-11-09T11:19:39.896Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-09T11:19:39.896Z] ++ facter osfamily [2021-11-09T11:19:40.157Z] + OS_FAMILY=redhat [2021-11-09T11:19:40.157Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-09T11:19:40.157Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-09T11:19:40.157Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-09T11:19:40.157Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-09T11:19:40.157Z] + PACKAGES=/tmp/packages_start.txt [2021-11-09T11:19:40.157Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2021-11-09T11:19:40.157Z] + PACKAGES=/tmp/packages_end.txt [2021-11-09T11:19:40.157Z] + case "${OS_FAMILY}" in [2021-11-09T11:19:40.157Z] + sort [2021-11-09T11:19:40.157Z] + rpm -qa [2021-11-09T11:19:40.729Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-09T11:19:40.729Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-09T11:19:40.729Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-09T11:19:40.729Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2021-11-09T11:19:40.729Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2021-11-09T11:19:40.729Z] + 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-11-09T11:19:40.738Z] 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-11-09T11:19:41.025Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:19:42.475Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T11:19:42.475Z] [2021-11-09T11:19:42.475Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-09T11:19:42.799Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T11:19:42.799Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-09T11:19:42.799Z] b4d181a07f80: Pulling fs layer [2021-11-09T11:19:42.799Z] a1111a8f2ec3: Pulling fs layer [2021-11-09T11:19:42.799Z] ed53099fbce6: Pulling fs layer [2021-11-09T11:19:42.799Z] dc539afda2c1: Pulling fs layer [2021-11-09T11:19:42.799Z] 77bc0d833cb6: Pulling fs layer [2021-11-09T11:19:42.799Z] 9065ff56babe: Pulling fs layer [2021-11-09T11:19:42.799Z] d287ab97295c: Pulling fs layer [2021-11-09T11:19:42.799Z] dc539afda2c1: Waiting [2021-11-09T11:19:42.799Z] 77bc0d833cb6: Waiting [2021-11-09T11:19:42.799Z] 9065ff56babe: Waiting [2021-11-09T11:19:42.799Z] d287ab97295c: Waiting [2021-11-09T11:19:42.799Z] a1111a8f2ec3: Verifying Checksum [2021-11-09T11:19:42.799Z] a1111a8f2ec3: Download complete [2021-11-09T11:19:42.799Z] dc539afda2c1: Verifying Checksum [2021-11-09T11:19:42.799Z] dc539afda2c1: Download complete [2021-11-09T11:19:43.064Z] ed53099fbce6: Verifying Checksum [2021-11-09T11:19:43.064Z] ed53099fbce6: Download complete [2021-11-09T11:19:43.064Z] 77bc0d833cb6: Verifying Checksum [2021-11-09T11:19:43.064Z] 77bc0d833cb6: Download complete [2021-11-09T11:19:43.064Z] 9065ff56babe: Verifying Checksum [2021-11-09T11:19:43.064Z] 9065ff56babe: Download complete [2021-11-09T11:19:43.064Z] b4d181a07f80: Verifying Checksum [2021-11-09T11:19:43.064Z] b4d181a07f80: Download complete [2021-11-09T11:19:43.641Z] d287ab97295c: Verifying Checksum [2021-11-09T11:19:43.641Z] d287ab97295c: Download complete [2021-11-09T11:19:45.062Z] b4d181a07f80: Pull complete [2021-11-09T11:19:45.062Z] a1111a8f2ec3: Pull complete [2021-11-09T11:19:45.639Z] ed53099fbce6: Pull complete [2021-11-09T11:19:45.639Z] dc539afda2c1: Pull complete [2021-11-09T11:19:45.906Z] 77bc0d833cb6: Pull complete [2021-11-09T11:19:46.168Z] 9065ff56babe: Pull complete [2021-11-09T11:19:52.814Z] d287ab97295c: Pull complete [2021-11-09T11:19:52.814Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-09T11:19:52.814Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-09T11:19:52.814Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-09T11:19:52.880Z] prd-centos7-docker-4c-2g-28087 does not seem to be running inside a container [2021-11-09T11:19:52.926Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-09T11:19:57.161Z] $ docker top c8df41b66ca3586e0c2e81d166945b90c3330a27626ac223753ac749139b8775 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-09T11:19:57.518Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-09T11:19:57.811Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-09T11:19:58.100Z] + ls /var/log/sa-host [2021-11-09T11:19:58.100Z] + sadf -c /var/log/sa-host/sa09 [2021-11-09T11:19:58.100Z] file_magic: OK [2021-11-09T11:19:58.100Z] HZ: Using current value: 100 [2021-11-09T11:19:58.100Z] file_header: OK [2021-11-09T11:19:58.100Z] 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-11-09T11:19:58.100Z] Statistics: [2021-11-09T11:19:58.100Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-09T11:19:58.100Z] File successfully converted to sysstat format version 12.0.3 [2021-11-09T11:19:58.100Z] + sadf -c /var/log/sa-host/sa30 [2021-11-09T11:19:58.100Z] file_magic: OK [2021-11-09T11:19:58.100Z] HZ: Using current value: 100 [2021-11-09T11:19:58.100Z] file_header: OK [2021-11-09T11:19:58.100Z] 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-11-09T11:19:58.100Z] Statistics: [2021-11-09T11:19:58.100Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-09T11:19:58.100Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-09T11:19:58.370Z] provisioning config files... [2021-11-09T11:19:58.379Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4046212968347545610tmp [Pipeline] { [Pipeline] echo [2021-11-09T11:19:58.390Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T11:19:58.676Z] ---> create-netrc.sh [Pipeline] } [2021-11-09T11:19:58.683Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-09T11:19:59.023Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-09T11:19:59.031Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T11:19:59.319Z] ---> sudo-logs.sh [2021-11-09T11:19:59.319Z] Archiving 'sudo' log.. [2021-11-09T11:19:59.319Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-28087.novalocal: Name or service not known [2021-11-09T11:19:59.319Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-28087.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-09T11:19:59.339Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T11:19:59.626Z] ---> job-cost.sh [2021-11-09T11:19:59.626Z] lf-activate-venv: SKIPPING [2021-11-09T11:19:59.626Z] DEBUG: total: 0.10999999940395355 [2021-11-09T11:19:59.626Z] INFO: Retrieving Stack Cost... [2021-11-09T11:19:59.886Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-09T11:20:00.459Z] INFO: Archiving Costs [Pipeline] echo [2021-11-09T11:20:00.471Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-09T11:20:00.764Z] ---> logs-deploy.sh [2021-11-09T11:20:00.764Z] lf-activate-venv: SKIPPING [2021-11-09T11:20:00.764Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/18 [2021-11-09T11:20:00.764Z] INFO: archiving workspace using pattern(s): [2021-11-09T11:20:01.344Z] Archives upload complete. [2021-11-09T11:20:01.606Z] INFO: archiving logs to Nexus