Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ea5b9212d5b351ef8d69a08636345b209c30a09c 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-ssh300108159153673965.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh5482224664523419489.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 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 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-ssh211516017873030958.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 # timeout=10 Commit message: "Merge pull request #366 from ernestojeda/fix-builder-images-sdk-c" > 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-ssh3216449889377820664.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-ssh4725222343680308567.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 Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-742 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-ssh2926193741647180694.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 ea5b9212d5b351ef8d69a08636345b209c30a09c (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 ea5b9212d5b351ef8d69a08636345b209c30a09c # timeout=10 Commit message: "build: Update to use released SDK (#322)" > git rev-list --no-walk f142b7d4d9dc0d163bb8d716c4eb7ddee57de476 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-16T00:09:38.976Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-16T00:09:39.025Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-16T00:09:39.041Z] ========================================================= [2021-11-16T00:09:39.041Z] EdgeX Global Pipelines Version Info [2021-11-16T00:09:39.041Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:09:40.163Z] ------------------- [2021-11-16T00:09:40.163Z] stable info: [2021-11-16T00:09:40.163Z] ------------------- [2021-11-16T00:09:40.163Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-16T00:09:40.163Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-16T00:09:40.163Z] Message: update stable to v1.0.215 [2021-11-16T00:09:40.735Z] ------------------- [2021-11-16T00:09:40.735Z] experimental info: [2021-11-16T00:09:40.735Z] ------------------- [2021-11-16T00:09:40.735Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-16T00:09:40.735Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-16T00:09:40.735Z] Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-16T00:09:40.813Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-11-16T00:09:40.825Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-11-16T00:09:40.839Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-16T00:09:40.856Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-16T00:09:40.870Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-16T00:09:40.879Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-16T00:09:40.889Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-16T00:09:40.900Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-16T00:09:40.912Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-16T00:09:40.919Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-16T00:09:40.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-16T00:09:40.934Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-11-16T00:09:40.943Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-16T00:09:40.958Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-16T00:09:40.969Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-16T00:09:40.980Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-16T00:09:40.991Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-16T00:09:41.003Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-16T00:09:41.019Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-16T00:09:41.029Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-11-16T00:09:41.041Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-16T00:09:41.052Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-16T00:09:41.062Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-16T00:09:41.074Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-16T00:09:41.086Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-16T00:09:41.098Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-16T00:09:41.109Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-16T00:09:41.120Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-16T00:09:41.134Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-16T00:09:41.145Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea5b9212d5b351ef8d69a08636345b209c30a09c [Pipeline] echo [2021-11-16T00:09:41.163Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea5b921 [Pipeline] echo [2021-11-16T00:09:41.176Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-16T00:09:41.220Z] provisioning config files... [2021-11-16T00:09:41.234Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4673468804560058863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:09:41.542Z] ---> docker-login.sh [2021-11-16T00:09:41.542Z] nexus3.edgexfoundry.org:10001 [2021-11-16T00:09:41.542Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:09:41.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:09:41.542Z] Configure a credential helper to remove this warning. See [2021-11-16T00:09:41.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:09:41.542Z] [2021-11-16T00:09:41.542Z] Login Succeeded [2021-11-16T00:09:41.542Z] nexus3.edgexfoundry.org:10002 [2021-11-16T00:09:41.806Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:09:41.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:09:41.807Z] Configure a credential helper to remove this warning. See [2021-11-16T00:09:41.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:09:41.807Z] [2021-11-16T00:09:41.807Z] Login Succeeded [2021-11-16T00:09:41.807Z] nexus3.edgexfoundry.org:10003 [2021-11-16T00:09:41.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:09:41.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:09:41.807Z] Configure a credential helper to remove this warning. See [2021-11-16T00:09:41.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:09:41.807Z] [2021-11-16T00:09:41.807Z] Login Succeeded [2021-11-16T00:09:41.807Z] nexus3.edgexfoundry.org:10004 [2021-11-16T00:09:41.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:09:42.068Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:09:42.068Z] Configure a credential helper to remove this warning. See [2021-11-16T00:09:42.068Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:09:42.068Z] [2021-11-16T00:09:42.068Z] Login Succeeded [2021-11-16T00:09:42.068Z] docker.io [2021-11-16T00:09:42.068Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:09:42.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:09:42.329Z] Configure a credential helper to remove this warning. See [2021-11-16T00:09:42.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:09:42.329Z] [2021-11-16T00:09:42.329Z] Login Succeeded [2021-11-16T00:09:42.329Z] ---> docker-login.sh ends [Pipeline] } [2021-11-16T00:09:42.339Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-16T00:09:42.750Z] + git rev-list -1 --merges ea5b9212d5b351ef8d69a08636345b209c30a09c~1..ea5b9212d5b351ef8d69a08636345b209c30a09c [Pipeline] echo [2021-11-16T00:09:42.787Z] -----------> git rev-list -1 --merges ea5b9212d5b351ef8d69a08636345b209c30a09c~1..ea5b9212d5b351ef8d69a08636345b209c30a09c ea5b9212d5b351ef8d69a08636345b209c30a09c [false] [Pipeline] sh [2021-11-16T00:09:43.081Z] + git log --format=format:%s -1 ea5b9212d5b351ef8d69a08636345b209c30a09c [Pipeline] echo [2021-11-16T00:09:43.099Z] ========================================================= [2021-11-16T00:09:43.099Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-16T00:09:43.099Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-16T00:09:43.434Z] + git log --format=format:%s -1 ea5b9212d5b351ef8d69a08636345b209c30a09c [Pipeline] echo [2021-11-16T00:09:43.448Z] [semverPrep] GIT_COMMIT: ea5b9212d5b351ef8d69a08636345b209c30a09c, Commit Message: build: Update to use released SDK (#322) [Pipeline] echo [2021-11-16T00:09:43.459Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:09:44.116Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-16T00:09:44.117Z] [2021-11-16T00:09:44.117Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:09:44.416Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-16T00:09:44.416Z] latest: Pulling from edgex-devops/git-semver [2021-11-16T00:09:44.416Z] a0d0a0d46f8b: Pulling fs layer [2021-11-16T00:09:44.416Z] 3e5f54012d9b: Pulling fs layer [2021-11-16T00:09:44.416Z] 4c7163046ea9: Pulling fs layer [2021-11-16T00:09:44.416Z] 0c2d73faf560: Pulling fs layer [2021-11-16T00:09:44.416Z] 0c2d73faf560: Waiting [2021-11-16T00:09:44.416Z] 3e5f54012d9b: Download complete [2021-11-16T00:09:44.416Z] a0d0a0d46f8b: Verifying Checksum [2021-11-16T00:09:44.416Z] a0d0a0d46f8b: Download complete [2021-11-16T00:09:44.680Z] 4c7163046ea9: Verifying Checksum [2021-11-16T00:09:44.681Z] 4c7163046ea9: Download complete [2021-11-16T00:09:44.681Z] 0c2d73faf560: Verifying Checksum [2021-11-16T00:09:44.681Z] 0c2d73faf560: Download complete [2021-11-16T00:09:44.681Z] a0d0a0d46f8b: Pull complete [2021-11-16T00:09:44.681Z] 3e5f54012d9b: Pull complete [2021-11-16T00:09:44.944Z] 4c7163046ea9: Pull complete [2021-11-16T00:09:45.208Z] 0c2d73faf560: Pull complete [2021-11-16T00:09:45.208Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-16T00:09:45.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-16T00:09:45.208Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-16T00:09:45.276Z] prd-centos7-docker-4c-2g-742 does not seem to be running inside a container [2021-11-16T00:09:45.453Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-16T00:09:45.922Z] $ docker top b86f11740c8251bdaa608d4fe264a33f333360104c32246a72a8c016da433f52 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-16T00:09:45.946Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-16T00:09:45.946Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-16T00:09:46.054Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-16T00:09:46.113Z] $ docker exec b86f11740c8251bdaa608d4fe264a33f333360104c32246a72a8c016da433f52 ssh-agent [2021-11-16T00:09:46.154Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXphKAMp/agent.14 [2021-11-16T00:09:46.154Z] SSH_AGENT_PID=21 [2021-11-16T00:09:46.161Z] Running ssh-add (command line suppressed) [2021-11-16T00:09:46.297Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6827386322948703686.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6827386322948703686.key) [2021-11-16T00:09:46.267Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-16T00:09:46.565Z] + git tag --points-at HEAD [Pipeline] } [2021-11-16T00:09:46.592Z] $ docker exec --env ******** --env ******** b86f11740c8251bdaa608d4fe264a33f333360104c32246a72a8c016da433f52 ssh-agent -k [2021-11-16T00:09:46.681Z] unset SSH_AUTH_SOCK; [2021-11-16T00:09:46.681Z] unset SSH_AGENT_PID; [2021-11-16T00:09:46.681Z] echo Agent pid 21 killed; [2021-11-16T00:09:46.685Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-16T00:09:46.711Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-16T00:09:46.711Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-16T00:09:46.814Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-16T00:09:46.817Z] $ docker exec b86f11740c8251bdaa608d4fe264a33f333360104c32246a72a8c016da433f52 ssh-agent [2021-11-16T00:09:46.934Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgpoGhI/agent.54 [2021-11-16T00:09:46.934Z] SSH_AGENT_PID=61 [2021-11-16T00:09:46.939Z] Running ssh-add (command line suppressed) [2021-11-16T00:09:47.028Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_258161227439518674.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_258161227439518674.key) [2021-11-16T00:09:47.045Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-16T00:09:47.335Z] + git semver init [2021-11-16T00:09:47.335Z] # -> Open(): unable to determine branch for HEAD [2021-11-16T00:09:47.335Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-11-16T00:09:47.335Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-16T00:09:47.335Z] # $SEMVER_REMOTE_NAME = origin [2021-11-16T00:09:47.335Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-16T00:09:47.335Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-16T00:09:47.335Z] # $SEMVER_BRANCH = main [2021-11-16T00:09:47.335Z] # $SEMVER_TEMP = /tmp/semver-367052988 [2021-11-16T00:09:47.335Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-11-16T00:09:47.909Z] # '/tmp/semver-367052988' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' [2021-11-16T00:09:47.909Z] # -> Force: false [2021-11-16T00:09:47.909Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2021-11-16T00:09:47.921Z] $ docker exec --env ******** --env ******** b86f11740c8251bdaa608d4fe264a33f333360104c32246a72a8c016da433f52 ssh-agent -k [2021-11-16T00:09:48.009Z] unset SSH_AUTH_SOCK; [2021-11-16T00:09:48.009Z] unset SSH_AGENT_PID; [2021-11-16T00:09:48.009Z] echo Agent pid 61 killed; [2021-11-16T00:09:48.018Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-16T00:09:48.330Z] + git semver [Pipeline] } [2021-11-16T00:09:48.344Z] $ docker stop --time=1 b86f11740c8251bdaa608d4fe264a33f333360104c32246a72a8c016da433f52 [2021-11-16T00:09:49.542Z] $ docker rm -f b86f11740c8251bdaa608d4fe264a33f333360104c32246a72a8c016da433f52 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-16T00:09:49.887Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-16T00:09:50.123Z] Stashed 1 file(s) [Pipeline] echo [2021-11-16T00:09:50.126Z] [edgeXSemver]: initialized semver on version 2.0.1-dev.17 [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-16T00:10:05.268Z] Still waiting to schedule task [2021-11-16T00:10:05.268Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-16T00:10:05.270Z] Still waiting to schedule task [2021-11-16T00:10:05.270Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-11-16T00:10:42.195Z] Running on prd-centos7-docker-4c-2g-746 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2021-11-16T00:10:42.208Z] Running in /w/workspace/device-mqtt-go/19 [Pipeline] { [Pipeline] checkout [2021-11-16T00:10:42.312Z] Selected Git installation does not exist. Using Default [2021-11-16T00:10:42.312Z] The recommended git tool is: NONE [2021-11-16T00:10:44.200Z] using credential edgex-jenkins-ssh [2021-11-16T00:10:44.213Z] Cloning the remote Git repository [2021-11-16T00:10:44.556Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-16T00:10:44.606Z] > git init /w/workspace/device-mqtt-go/19 # timeout=10 [2021-11-16T00:10:44.642Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-16T00:10:44.642Z] > git --version # timeout=10 [2021-11-16T00:10:44.650Z] > git --version # 'git version 2.24.4' [2021-11-16T00:10:44.651Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-16T00:10:44.709Z] [INFO] Currently running in a labeled security context [2021-11-16T00:10:44.709Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-16T00:10:44.713Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/19@tmp/jenkins-gitclient-ssh7107915932948708313.key [2021-11-16T00:10:44.742Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-16T00:10:45.041Z] Avoid second fetch [2021-11-16T00:10:45.042Z] Checking out Revision ea5b9212d5b351ef8d69a08636345b209c30a09c (main) [2021-11-16T00:10:45.346Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-11-16T00:10:45.352Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-16T00:10:45.376Z] > git config core.sparsecheckout # timeout=10 [2021-11-16T00:10:45.385Z] > git checkout -f ea5b9212d5b351ef8d69a08636345b209c30a09c # timeout=10 [2021-11-16T00:10:48.804Z] Commit message: "build: Update to use released SDK (#322)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-16T00:10:49.114Z] provisioning config files... [2021-11-16T00:10:49.127Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/19@tmp/config4007904680554267573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:10:49.519Z] ---> docker-login.sh [2021-11-16T00:10:49.519Z] nexus3.edgexfoundry.org:10001 [2021-11-16T00:10:49.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:10:49.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:10:49.519Z] Configure a credential helper to remove this warning. See [2021-11-16T00:10:49.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:10:49.519Z] [2021-11-16T00:10:49.519Z] Login Succeeded [2021-11-16T00:10:49.519Z] nexus3.edgexfoundry.org:10002 [2021-11-16T00:10:49.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:10:49.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:10:49.784Z] Configure a credential helper to remove this warning. See [2021-11-16T00:10:49.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:10:49.784Z] [2021-11-16T00:10:49.784Z] Login Succeeded [2021-11-16T00:10:49.784Z] nexus3.edgexfoundry.org:10003 [2021-11-16T00:10:49.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:10:49.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:10:49.784Z] Configure a credential helper to remove this warning. See [2021-11-16T00:10:49.784Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:10:49.784Z] [2021-11-16T00:10:49.784Z] Login Succeeded [2021-11-16T00:10:49.784Z] nexus3.edgexfoundry.org:10004 [2021-11-16T00:10:50.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:10:50.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:10:50.047Z] Configure a credential helper to remove this warning. See [2021-11-16T00:10:50.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:10:50.048Z] [2021-11-16T00:10:50.048Z] Login Succeeded [2021-11-16T00:10:50.048Z] docker.io [2021-11-16T00:10:50.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:10:50.309Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:10:50.309Z] Configure a credential helper to remove this warning. See [2021-11-16T00:10:50.309Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:10:50.309Z] [2021-11-16T00:10:50.309Z] Login Succeeded [2021-11-16T00:10:50.309Z] ---> docker-login.sh ends [Pipeline] } [2021-11-16T00:10:50.339Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-16T00:10:50.485Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-16T00:10:50.495Z] ========================================================= [2021-11-16T00:10:50.495Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-16T00:10:50.495Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:10:50.814Z] + 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-16T00:10:50.814Z] Sending build context to Docker daemon 703kB [2021-11-16T00:10:50.814Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-16T00:10:50.814Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-16T00:10:50.814Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-16T00:10:50.814Z] a0d0a0d46f8b: Pulling fs layer [2021-11-16T00:10:50.814Z] 31adcdaf11c8: Pulling fs layer [2021-11-16T00:10:50.814Z] b8b176561691: Pulling fs layer [2021-11-16T00:10:50.814Z] 4527c011a84f: Pulling fs layer [2021-11-16T00:10:50.814Z] 5d74067f8e1e: Pulling fs layer [2021-11-16T00:10:50.814Z] e0aca202a116: Pulling fs layer [2021-11-16T00:10:50.814Z] 3a43be97a3b4: Pulling fs layer [2021-11-16T00:10:50.814Z] 34cad66bf833: Pulling fs layer [2021-11-16T00:10:50.814Z] b4e3c513aaa6: Pulling fs layer [2021-11-16T00:10:50.814Z] 3a43be97a3b4: Waiting [2021-11-16T00:10:50.814Z] 34cad66bf833: Waiting [2021-11-16T00:10:50.814Z] b4e3c513aaa6: Waiting [2021-11-16T00:10:50.814Z] 4527c011a84f: Waiting [2021-11-16T00:10:50.814Z] 5d74067f8e1e: Waiting [2021-11-16T00:10:50.814Z] e0aca202a116: Waiting [2021-11-16T00:10:50.814Z] b8b176561691: Verifying Checksum [2021-11-16T00:10:50.814Z] b8b176561691: Download complete [2021-11-16T00:10:50.814Z] 31adcdaf11c8: Verifying Checksum [2021-11-16T00:10:50.814Z] 31adcdaf11c8: Download complete [2021-11-16T00:10:50.814Z] 5d74067f8e1e: Verifying Checksum [2021-11-16T00:10:50.814Z] 5d74067f8e1e: Download complete [2021-11-16T00:10:50.814Z] e0aca202a116: Verifying Checksum [2021-11-16T00:10:50.814Z] e0aca202a116: Download complete [2021-11-16T00:10:50.814Z] 3a43be97a3b4: Verifying Checksum [2021-11-16T00:10:50.814Z] 3a43be97a3b4: Download complete [2021-11-16T00:10:50.814Z] a0d0a0d46f8b: Verifying Checksum [2021-11-16T00:10:50.814Z] a0d0a0d46f8b: Download complete [2021-11-16T00:10:51.081Z] 34cad66bf833: Verifying Checksum [2021-11-16T00:10:51.081Z] 34cad66bf833: Download complete [2021-11-16T00:10:51.661Z] 4527c011a84f: Verifying Checksum [2021-11-16T00:10:51.661Z] 4527c011a84f: Download complete [2021-11-16T00:10:51.661Z] b4e3c513aaa6: Verifying Checksum [2021-11-16T00:10:51.661Z] b4e3c513aaa6: Download complete [2021-11-16T00:10:51.661Z] a0d0a0d46f8b: Pull complete [2021-11-16T00:10:51.661Z] 31adcdaf11c8: Pull complete [2021-11-16T00:10:51.661Z] b8b176561691: Pull complete [2021-11-16T00:10:55.889Z] 4527c011a84f: Pull complete [2021-11-16T00:10:55.889Z] 5d74067f8e1e: Pull complete [2021-11-16T00:10:55.889Z] e0aca202a116: Pull complete [2021-11-16T00:10:55.889Z] 3a43be97a3b4: Pull complete [2021-11-16T00:10:55.889Z] 34cad66bf833: Pull complete [2021-11-16T00:10:59.200Z] b4e3c513aaa6: Pull complete [2021-11-16T00:10:59.200Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-16T00:10:59.200Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-16T00:10:59.200Z] ---> 9f6097aaca64 [2021-11-16T00:10:59.200Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-16T00:11:02.510Z] ---> Running in ff019ade67db [2021-11-16T00:11:02.510Z] Removing intermediate container ff019ade67db [2021-11-16T00:11:02.510Z] ---> 4fd4b33b4167 [2021-11-16T00:11:02.510Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-16T00:11:02.510Z] ---> Running in d3ade1171f09 [2021-11-16T00:11:02.510Z] Removing intermediate container d3ade1171f09 [2021-11-16T00:11:02.510Z] ---> 250512f6fd84 [2021-11-16T00:11:02.510Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-16T00:11:02.510Z] ---> Running in 9ae099732882 [2021-11-16T00:11:03.088Z] Removing intermediate container 9ae099732882 [2021-11-16T00:11:03.088Z] ---> abbc97df47c9 [2021-11-16T00:11:03.088Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-16T00:11:03.088Z] ---> Running in a098d6753e24 [2021-11-16T00:11:03.088Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-16T00:11:04.032Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-16T00:11:04.292Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-16T00:11:04.553Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-16T00:11:04.553Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-16T00:11:04.553Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-16T00:11:04.815Z] Executing busybox-1.33.1-r3.trigger [2021-11-16T00:11:04.815Z] OK: 224 MiB in 56 packages [2021-11-16T00:11:05.078Z] Removing intermediate container a098d6753e24 [2021-11-16T00:11:05.078Z] ---> e4ef797ec701 [2021-11-16T00:11:05.078Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-11-16T00:11:05.078Z] ---> Running in bfb9702904c3 [2021-11-16T00:11:05.078Z] Removing intermediate container bfb9702904c3 [2021-11-16T00:11:05.078Z] ---> 2d177b9bcfff [2021-11-16T00:11:05.078Z] Step 8/11 : COPY . . [2021-11-16T00:11:05.342Z] ---> 1026892b904d [2021-11-16T00:11:05.342Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-16T00:11:05.342Z] ---> Running in 500ceb233f67 [2021-11-16T00:11:31.998Z] Removing intermediate container 500ceb233f67 [2021-11-16T00:11:31.998Z] ---> e3d84f65f9ca [2021-11-16T00:11:31.998Z] Step 10/11 : ARG MAKE='make build' [2021-11-16T00:11:31.998Z] ---> Running in a6a943897cd6 [2021-11-16T00:11:31.998Z] Removing intermediate container a6a943897cd6 [2021-11-16T00:11:31.998Z] ---> f20804cd199c [2021-11-16T00:11:31.998Z] Step 11/11 : RUN $MAKE [2021-11-16T00:11:31.998Z] ---> Running in b56b2459c5b8 [2021-11-16T00:11:32.264Z] noop [2021-11-16T00:11:32.527Z] Removing intermediate container b56b2459c5b8 [2021-11-16T00:11:32.527Z] ---> fd645cfeef78 [2021-11-16T00:11:32.527Z] Successfully built fd645cfeef78 [2021-11-16T00:11:32.527Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:11:32.826Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-16T00:11:32.826Z] . [Pipeline] withDockerContainer [2021-11-16T00:11:32.901Z] prd-centos7-docker-4c-2g-746 does not seem to be running inside a container [2021-11-16T00:11:32.936Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/19 -v /w/workspace/device-mqtt-go/19:/w/workspace/device-mqtt-go/19:rw,z -v /w/workspace/device-mqtt-go/19@tmp:/w/workspace/device-mqtt-go/19@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-16T00:11:33.260Z] $ docker top 8d735f780fc5e1e3f135ed165da88f4b584d93214a2768644969e238769611a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-16T00:11:33.619Z] + go version [2021-11-16T00:11:33.619Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-16T00:11:33.628Z] $ docker stop --time=1 8d735f780fc5e1e3f135ed165da88f4b584d93214a2768644969e238769611a9 [2021-11-16T00:11:34.805Z] $ docker rm -f 8d735f780fc5e1e3f135ed165da88f4b584d93214a2768644969e238769611a9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:11:35.277Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-16T00:11:35.277Z] . [Pipeline] withDockerContainer [2021-11-16T00:11:35.343Z] prd-centos7-docker-4c-2g-746 does not seem to be running inside a container [2021-11-16T00:11:35.375Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/19 -v /w/workspace/device-mqtt-go/19:/w/workspace/device-mqtt-go/19:rw,z -v /w/workspace/device-mqtt-go/19@tmp:/w/workspace/device-mqtt-go/19@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-16T00:11:35.701Z] $ docker top 3670871d2c3eef74b55ea92efc0d49f367e0ef95d721651f0a4431e8b3acc515 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-16T00:11:36.057Z] + make test [2021-11-16T00:11:36.057Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-16T00:11:36.323Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-11-16T00:11:51.356Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-11-16T00:11:52.318Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 22.4% of statements [2021-11-16T00:11:52.318Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-11-16T00:11:52.318Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-16T00:11:58.953Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-16T00:11:58.953Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-16T00:11:58.953Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-16T00:11:58.969Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-16T00:11:58.979Z] $ docker stop --time=1 3670871d2c3eef74b55ea92efc0d49f367e0ef95d721651f0a4431e8b3acc515 [2021-11-16T00:12:00.425Z] $ docker rm -f 3670871d2c3eef74b55ea92efc0d49f367e0ef95d721651f0a4431e8b3acc515 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-16T00:12:00.827Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-16T00:12:00.977Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-16T00:12:02.226Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-16T00:12:02.516Z] + ls -al . [2021-11-16T00:12:02.516Z] total 148 [2021-11-16T00:12:02.516Z] drwxrwxr-x. 9 jenkins jenkins 4096 Nov 16 00:11 . [2021-11-16T00:12:02.516Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 16 00:10 .. [2021-11-16T00:12:02.516Z] -rw-rw-r--. 1 jenkins jenkins 7287 Nov 16 00:10 Attribution.txt [2021-11-16T00:12:02.516Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 16 00:10 bin [2021-11-16T00:12:02.516Z] -rw-rw-r--. 1 jenkins jenkins 7447 Nov 16 00:10 CHANGELOG.md [2021-11-16T00:12:02.516Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 16 00:10 cmd [2021-11-16T00:12:02.516Z] -rw-r--r--. 1 jenkins jenkins 17284 Nov 16 00:11 coverage.out [2021-11-16T00:12:02.516Z] -rw-rw-r--. 1 jenkins jenkins 1907 Nov 16 00:10 Dockerfile [2021-11-16T00:12:02.516Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 16 00:10 .dockerignore [2021-11-16T00:12:02.516Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 16 00:10 .git [2021-11-16T00:12:02.517Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 16 00:10 .github [2021-11-16T00:12:02.517Z] -rw-rw-r--. 1 jenkins jenkins 329 Nov 16 00:10 .gitignore [2021-11-16T00:12:02.517Z] -rw-rw-r--. 1 jenkins jenkins 404 Nov 16 00:10 go.mod [2021-11-16T00:12:02.517Z] -rw-rw-r--. 1 jenkins jenkins 49385 Nov 16 00:10 go.sum [2021-11-16T00:12:02.517Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 16 00:10 GOVERNANCE.md [2021-11-16T00:12:02.517Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 16 00:10 internal [2021-11-16T00:12:02.517Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 16 00:10 Jenkinsfile [2021-11-16T00:12:02.517Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 16 00:10 LICENSE [2021-11-16T00:12:02.517Z] -rw-rw-r--. 1 jenkins jenkins 1030 Nov 16 00:10 Makefile [2021-11-16T00:12:02.517Z] drwxrwxr-x. 2 jenkins jenkins 23 Nov 16 00:10 mock [2021-11-16T00:12:02.517Z] -rw-rw-r--. 1 jenkins jenkins 620 Nov 16 00:10 OWNERS.md [2021-11-16T00:12:02.517Z] -rw-rw-r--. 1 jenkins jenkins 2211 Nov 16 00:10 README.md [2021-11-16T00:12:02.517Z] drwxrwxr-x. 4 jenkins jenkins 71 Nov 16 00:10 snap [2021-11-16T00:12:02.517Z] -rw-rw-r--. 1 jenkins jenkins 12 Nov 16 00:09 VERSION [2021-11-16T00:12:02.517Z] -rw-rw-r--. 1 jenkins jenkins 227 Nov 16 00:10 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:12:02.816Z] + 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=ea5b9212d5b351ef8d69a08636345b209c30a09c --label arch=amd64 --label version=2.0.1-dev.17 . [2021-11-16T00:12:02.817Z] Sending build context to Docker daemon 720.9kB [2021-11-16T00:12:02.817Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-11-16T00:12:02.817Z] Step 2/23 : FROM ${BASE} AS builder [2021-11-16T00:12:02.817Z] ---> fd645cfeef78 [2021-11-16T00:12:02.817Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-16T00:12:02.817Z] ---> Running in 2fc498a9249b [2021-11-16T00:12:02.817Z] Removing intermediate container 2fc498a9249b [2021-11-16T00:12:02.817Z] ---> b77f5751e40e [2021-11-16T00:12:02.817Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-11-16T00:12:03.079Z] ---> Running in 225422f8e38b [2021-11-16T00:12:03.079Z] Removing intermediate container 225422f8e38b [2021-11-16T00:12:03.079Z] ---> f6155ea1f816 [2021-11-16T00:12:03.079Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-16T00:12:03.079Z] ---> Running in 4d4dd7697932 [2021-11-16T00:12:03.649Z] Removing intermediate container 4d4dd7697932 [2021-11-16T00:12:03.649Z] ---> ba9d96307dc1 [2021-11-16T00:12:03.649Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-16T00:12:03.649Z] ---> Running in 91a61354bd99 [2021-11-16T00:12:03.909Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-16T00:12:04.481Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-16T00:12:05.051Z] OK: 224 MiB in 56 packages [2021-11-16T00:12:05.051Z] Removing intermediate container 91a61354bd99 [2021-11-16T00:12:05.051Z] ---> 545e6b51abaa [2021-11-16T00:12:05.051Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-11-16T00:12:05.312Z] ---> Running in 032734492b1c [2021-11-16T00:12:05.312Z] Removing intermediate container 032734492b1c [2021-11-16T00:12:05.312Z] ---> 7a50363e6d9c [2021-11-16T00:12:05.312Z] Step 8/23 : COPY . . [2021-11-16T00:12:05.576Z] ---> c9210c2df77a [2021-11-16T00:12:05.576Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-16T00:12:05.576Z] ---> Running in 64312cddac7e [2021-11-16T00:12:06.153Z] Removing intermediate container 64312cddac7e [2021-11-16T00:12:06.153Z] ---> 689aa77dac17 [2021-11-16T00:12:06.153Z] Step 10/23 : ARG MAKE='make build' [2021-11-16T00:12:06.153Z] ---> Running in f345912f6be4 [2021-11-16T00:12:06.153Z] Removing intermediate container f345912f6be4 [2021-11-16T00:12:06.153Z] ---> 7f51b586249a [2021-11-16T00:12:06.153Z] Step 11/23 : RUN $MAKE [2021-11-16T00:12:06.153Z] ---> Running in 5b10cef148d9 [2021-11-16T00:12:06.414Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.17" -o cmd/device-mqtt ./cmd [2021-11-16T00:12:18.770Z] Removing intermediate container 5b10cef148d9 [2021-11-16T00:12:18.770Z] ---> 50b07e761509 [2021-11-16T00:12:18.770Z] Step 12/23 : FROM alpine:3.14 [2021-11-16T00:12:21.318Z] 3.14: Pulling from library/alpine [2021-11-16T00:12:21.578Z] 97518928ae5f: Pulling fs layer [2021-11-16T00:12:21.578Z] 97518928ae5f: Verifying Checksum [2021-11-16T00:12:21.578Z] 97518928ae5f: Download complete [2021-11-16T00:12:21.848Z] 97518928ae5f: Pull complete [2021-11-16T00:12:21.848Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-16T00:12:21.848Z] Status: Downloaded newer image for alpine:3.14 [2021-11-16T00:12:21.848Z] ---> 0a97eee8041e [2021-11-16T00:12:21.848Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-11-16T00:12:21.848Z] ---> Running in b5fcb4e60793 [2021-11-16T00:12:21.848Z] Removing intermediate container b5fcb4e60793 [2021-11-16T00:12:21.848Z] ---> cc7f81d41ea2 [2021-11-16T00:12:21.848Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-16T00:12:21.848Z] ---> Running in ad924211d8ff [2021-11-16T00:12:22.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-16T00:12:22.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-16T00:12:22.376Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-16T00:12:22.376Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-16T00:12:22.376Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-16T00:12:22.376Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-16T00:12:22.376Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-16T00:12:22.376Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-16T00:12:22.376Z] Executing busybox-1.33.1-r6.trigger [2021-11-16T00:12:22.376Z] OK: 8 MiB in 20 packages [2021-11-16T00:12:22.640Z] Removing intermediate container ad924211d8ff [2021-11-16T00:12:22.640Z] ---> 4ea912d8157d [2021-11-16T00:12:22.640Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-11-16T00:12:23.212Z] ---> afdb49ae6992 [2021-11-16T00:12:23.212Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-11-16T00:12:23.212Z] ---> 7aba74fc45a8 [2021-11-16T00:12:23.212Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-11-16T00:12:23.475Z] ---> 0ccbada23935 [2021-11-16T00:12:23.475Z] Step 18/23 : EXPOSE 59982 [2021-11-16T00:12:23.475Z] ---> Running in 208b13e948e5 [2021-11-16T00:12:23.475Z] Removing intermediate container 208b13e948e5 [2021-11-16T00:12:23.475Z] ---> 65760d73b4ef [2021-11-16T00:12:23.475Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-11-16T00:12:23.475Z] ---> Running in d3417ff1b994 [2021-11-16T00:12:23.475Z] Removing intermediate container d3417ff1b994 [2021-11-16T00:12:23.475Z] ---> 0ce92ad9617e [2021-11-16T00:12:23.475Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-16T00:12:23.475Z] ---> Running in f673ae26033c [2021-11-16T00:12:23.734Z] Removing intermediate container f673ae26033c [2021-11-16T00:12:23.734Z] ---> b26f634dd03a [2021-11-16T00:12:23.734Z] Step 21/23 : LABEL arch=amd64 [2021-11-16T00:12:23.734Z] ---> Running in ecd88f98c073 [2021-11-16T00:12:23.734Z] Removing intermediate container ecd88f98c073 [2021-11-16T00:12:23.734Z] ---> 57998c70f7cc [2021-11-16T00:12:23.734Z] Step 22/23 : LABEL git_sha=ea5b9212d5b351ef8d69a08636345b209c30a09c [2021-11-16T00:12:23.734Z] ---> Running in 37935e52d96a [2021-11-16T00:12:23.734Z] Removing intermediate container 37935e52d96a [2021-11-16T00:12:23.734Z] ---> a2709c18d067 [2021-11-16T00:12:23.734Z] Step 23/23 : LABEL version=2.0.1-dev.17 [2021-11-16T00:12:23.994Z] ---> Running in 2b120c74bf2f [2021-11-16T00:12:23.994Z] Removing intermediate container 2b120c74bf2f [2021-11-16T00:12:23.994Z] ---> bb696a9d6a52 [2021-11-16T00:12:23.994Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-16T00:12:23.994Z] Successfully built bb696a9d6a52 [2021-11-16T00:12:23.994Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-16T00:12:24.137Z] provisioning config files... [2021-11-16T00:12:24.148Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/19@tmp/config5674330242927344290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:12:24.474Z] ---> docker-login.sh [2021-11-16T00:12:24.474Z] nexus3.edgexfoundry.org:10001 [2021-11-16T00:12:24.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:12:24.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:12:24.474Z] Configure a credential helper to remove this warning. See [2021-11-16T00:12:24.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:12:24.474Z] [2021-11-16T00:12:24.474Z] Login Succeeded [2021-11-16T00:12:24.474Z] nexus3.edgexfoundry.org:10002 [2021-11-16T00:12:24.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:12:24.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:12:24.474Z] Configure a credential helper to remove this warning. See [2021-11-16T00:12:24.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:12:24.474Z] [2021-11-16T00:12:24.474Z] Login Succeeded [2021-11-16T00:12:24.474Z] nexus3.edgexfoundry.org:10003 [2021-11-16T00:12:24.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:12:24.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:12:24.748Z] Configure a credential helper to remove this warning. See [2021-11-16T00:12:24.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:12:24.748Z] [2021-11-16T00:12:24.748Z] Login Succeeded [2021-11-16T00:12:24.748Z] nexus3.edgexfoundry.org:10004 [2021-11-16T00:12:24.748Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:12:24.748Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:12:24.748Z] Configure a credential helper to remove this warning. See [2021-11-16T00:12:24.748Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:12:24.748Z] [2021-11-16T00:12:24.748Z] Login Succeeded [2021-11-16T00:12:24.748Z] docker.io [2021-11-16T00:12:25.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:12:25.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:12:25.269Z] Configure a credential helper to remove this warning. See [2021-11-16T00:12:25.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:12:25.269Z] [2021-11-16T00:12:25.269Z] Login Succeeded [2021-11-16T00:12:25.269Z] ---> docker-login.sh ends [Pipeline] } [2021-11-16T00:12:25.277Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-16T00:12:25.305Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-16T00:12:25.325Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2021-11-16T00:12:25.325Z] ea5b9212d5b351ef8d69a08636345b209c30a09c [2021-11-16T00:12:25.325Z] latest [2021-11-16T00:12:25.325Z] 2.0.1-dev.17 [2021-11-16T00:12:25.325Z] ea5b9212d5b351ef8d69a08636345b209c30a09c-2.0.1-dev.17 [2021-11-16T00:12:25.325Z] main [2021-11-16T00:12:25.325Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:12:25.651Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:ea5b9212d5b351ef8d69a08636345b209c30a09c [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:12:25.946Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:ea5b9212d5b351ef8d69a08636345b209c30a09c [2021-11-16T00:12:25.946Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-11-16T00:12:25.946Z] 9c133f3d67b9: Preparing [2021-11-16T00:12:25.946Z] c5deafaa2c6a: Preparing [2021-11-16T00:12:25.946Z] 2f761059a717: Preparing [2021-11-16T00:12:25.946Z] 10159e4dfbe3: Preparing [2021-11-16T00:12:25.946Z] 1a058d5342cc: Preparing [2021-11-16T00:12:25.946Z] 1a058d5342cc: Layer already exists [2021-11-16T00:12:26.212Z] c5deafaa2c6a: Pushed [2021-11-16T00:12:26.212Z] 9c133f3d67b9: Pushed [2021-11-16T00:12:26.212Z] 10159e4dfbe3: Pushed [2021-11-16T00:12:27.159Z] 2f761059a717: Pushed [2021-11-16T00:12:27.159Z] ea5b9212d5b351ef8d69a08636345b209c30a09c: digest: sha256:e6b4bfae75637a8044acb465bc691d841541a380541afe38f32110698d2ada13 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:12:27.459Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:12:27.750Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-11-16T00:12:27.750Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-11-16T00:12:27.750Z] 9c133f3d67b9: Preparing [2021-11-16T00:12:27.750Z] c5deafaa2c6a: Preparing [2021-11-16T00:12:27.750Z] 2f761059a717: Preparing [2021-11-16T00:12:27.750Z] 10159e4dfbe3: Preparing [2021-11-16T00:12:27.750Z] 1a058d5342cc: Preparing [2021-11-16T00:12:27.750Z] 1a058d5342cc: Layer already exists [2021-11-16T00:12:27.750Z] 10159e4dfbe3: Layer already exists [2021-11-16T00:12:27.750Z] c5deafaa2c6a: Layer already exists [2021-11-16T00:12:27.750Z] 9c133f3d67b9: Layer already exists [2021-11-16T00:12:27.750Z] 2f761059a717: Layer already exists [2021-11-16T00:12:27.750Z] latest: digest: sha256:e6b4bfae75637a8044acb465bc691d841541a380541afe38f32110698d2ada13 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:12:28.049Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.17 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:12:28.345Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.17 [2021-11-16T00:12:28.345Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-11-16T00:12:28.345Z] 9c133f3d67b9: Preparing [2021-11-16T00:12:28.345Z] c5deafaa2c6a: Preparing [2021-11-16T00:12:28.345Z] 2f761059a717: Preparing [2021-11-16T00:12:28.345Z] 10159e4dfbe3: Preparing [2021-11-16T00:12:28.345Z] 1a058d5342cc: Preparing [2021-11-16T00:12:28.345Z] 1a058d5342cc: Layer already exists [2021-11-16T00:12:28.345Z] 2f761059a717: Layer already exists [2021-11-16T00:12:28.345Z] 10159e4dfbe3: Layer already exists [2021-11-16T00:12:28.345Z] c5deafaa2c6a: Layer already exists [2021-11-16T00:12:28.345Z] 9c133f3d67b9: Layer already exists [2021-11-16T00:12:28.346Z] 2.0.1-dev.17: digest: sha256:e6b4bfae75637a8044acb465bc691d841541a380541afe38f32110698d2ada13 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:12:28.648Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:ea5b9212d5b351ef8d69a08636345b209c30a09c-2.0.1-dev.17 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:12:28.947Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:ea5b9212d5b351ef8d69a08636345b209c30a09c-2.0.1-dev.17 [2021-11-16T00:12:28.947Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-11-16T00:12:28.947Z] 9c133f3d67b9: Preparing [2021-11-16T00:12:28.947Z] c5deafaa2c6a: Preparing [2021-11-16T00:12:28.947Z] 2f761059a717: Preparing [2021-11-16T00:12:28.947Z] 10159e4dfbe3: Preparing [2021-11-16T00:12:28.947Z] 1a058d5342cc: Preparing [2021-11-16T00:12:28.947Z] 1a058d5342cc: Layer already exists [2021-11-16T00:12:28.947Z] c5deafaa2c6a: Layer already exists [2021-11-16T00:12:28.947Z] 2f761059a717: Layer already exists [2021-11-16T00:12:28.947Z] 9c133f3d67b9: Layer already exists [2021-11-16T00:12:28.948Z] 10159e4dfbe3: Layer already exists [2021-11-16T00:12:28.948Z] ea5b9212d5b351ef8d69a08636345b209c30a09c-2.0.1-dev.17: digest: sha256:e6b4bfae75637a8044acb465bc691d841541a380541afe38f32110698d2ada13 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:12:29.244Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:12:29.536Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2021-11-16T00:12:29.536Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-11-16T00:12:29.536Z] 9c133f3d67b9: Preparing [2021-11-16T00:12:29.536Z] c5deafaa2c6a: Preparing [2021-11-16T00:12:29.536Z] 2f761059a717: Preparing [2021-11-16T00:12:29.536Z] 10159e4dfbe3: Preparing [2021-11-16T00:12:29.536Z] 1a058d5342cc: Preparing [2021-11-16T00:12:29.536Z] 2f761059a717: Layer already exists [2021-11-16T00:12:29.536Z] 1a058d5342cc: Layer already exists [2021-11-16T00:12:29.536Z] 9c133f3d67b9: Layer already exists [2021-11-16T00:12:29.536Z] 10159e4dfbe3: Layer already exists [2021-11-16T00:12:29.536Z] c5deafaa2c6a: Layer already exists [2021-11-16T00:12:29.536Z] main: digest: sha256:e6b4bfae75637a8044acb465bc691d841541a380541afe38f32110698d2ada13 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-16T00:12:29.571Z] ===================================================== [Pipeline] echo [2021-11-16T00:12:29.583Z] taggedImages: [2021-11-16T00:12:29.583Z] - nexus3.edgexfoundry.org:10004/device-mqtt:ea5b9212d5b351ef8d69a08636345b209c30a09c [2021-11-16T00:12:29.583Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-11-16T00:12:29.583Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.0.1-dev.17 [2021-11-16T00:12:29.583Z] - nexus3.edgexfoundry.org:10004/device-mqtt:ea5b9212d5b351ef8d69a08636345b209c30a09c-2.0.1-dev.17 [2021-11-16T00:12:29.583Z] - 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-16T00:12:30.112Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T00:12:30.112Z] [2021-11-16T00:12:30.112Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:12:30.421Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T00:12:30.421Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-16T00:12:30.421Z] b4d181a07f80: Pulling fs layer [2021-11-16T00:12:30.421Z] a1111a8f2ec3: Pulling fs layer [2021-11-16T00:12:30.421Z] ed53099fbce6: Pulling fs layer [2021-11-16T00:12:30.421Z] dc539afda2c1: Pulling fs layer [2021-11-16T00:12:30.421Z] 77bc0d833cb6: Pulling fs layer [2021-11-16T00:12:30.421Z] 9065ff56babe: Pulling fs layer [2021-11-16T00:12:30.421Z] d287ab97295c: Pulling fs layer [2021-11-16T00:12:30.421Z] dc539afda2c1: Waiting [2021-11-16T00:12:30.421Z] 77bc0d833cb6: Waiting [2021-11-16T00:12:30.421Z] 9065ff56babe: Waiting [2021-11-16T00:12:30.421Z] d287ab97295c: Waiting [2021-11-16T00:12:30.421Z] a1111a8f2ec3: Verifying Checksum [2021-11-16T00:12:30.421Z] a1111a8f2ec3: Download complete [2021-11-16T00:12:30.421Z] dc539afda2c1: Verifying Checksum [2021-11-16T00:12:30.421Z] dc539afda2c1: Download complete [2021-11-16T00:12:30.421Z] ed53099fbce6: Download complete [2021-11-16T00:12:30.682Z] 9065ff56babe: Verifying Checksum [2021-11-16T00:12:30.682Z] 9065ff56babe: Download complete [2021-11-16T00:12:30.682Z] 77bc0d833cb6: Verifying Checksum [2021-11-16T00:12:30.682Z] 77bc0d833cb6: Download complete [2021-11-16T00:12:30.682Z] b4d181a07f80: Verifying Checksum [2021-11-16T00:12:30.682Z] b4d181a07f80: Download complete [2021-11-16T00:12:31.267Z] d287ab97295c: Verifying Checksum [2021-11-16T00:12:31.267Z] d287ab97295c: Download complete [2021-11-16T00:12:31.840Z] b4d181a07f80: Pull complete [2021-11-16T00:12:32.112Z] a1111a8f2ec3: Pull complete [2021-11-16T00:12:32.686Z] ed53099fbce6: Pull complete [2021-11-16T00:12:32.686Z] dc539afda2c1: Pull complete [2021-11-16T00:12:32.948Z] 77bc0d833cb6: Pull complete [2021-11-16T00:12:32.948Z] 9065ff56babe: Pull complete [2021-11-16T00:12:38.312Z] d287ab97295c: Pull complete [2021-11-16T00:12:38.312Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-16T00:12:38.312Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T00:12:38.312Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-16T00:12:38.392Z] prd-centos7-docker-4c-2g-746 does not seem to be running inside a container [2021-11-16T00:12:38.432Z] $ 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/19 -v /w/workspace/device-mqtt-go/19:/w/workspace/device-mqtt-go/19:rw,z -v /w/workspace/device-mqtt-go/19@tmp:/w/workspace/device-mqtt-go/19@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-16T00:12:40.747Z] $ docker top bb8eecb8f7fdd9d93e01e3fa1a580d6d306592e41ced7a0ae08683b044ddf392 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:12:41.143Z] ---> job-cost.sh [2021-11-16T00:12:41.143Z] lf-activate-venv: SKIPPING [2021-11-16T00:12:41.143Z] INFO: No Stack... [2021-11-16T00:12:41.403Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-16T00:12:41.665Z] INFO: Archiving Costs [Pipeline] sh [2021-11-16T00:12:41.965Z] + cat /w/workspace/device-mqtt-go/19/archives/cost.csv [2021-11-16T00:12:41.965Z] + cut -d, -f6 [Pipeline] lock [2021-11-16T00:12:41.991Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-19-stack-cost] [2021-11-16T00:12:41.998Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-19-stack-cost] did not exist. Created. [2021-11-16T00:12:41.998Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-16T00:12:42.305Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-16T00:12:42.330Z] Stashed 1 file(s) [Pipeline] } [2021-11-16T00:12:42.340Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-19-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-16T00:12:42.356Z] $ docker stop --time=1 bb8eecb8f7fdd9d93e01e3fa1a580d6d306592e41ced7a0ae08683b044ddf392 [2021-11-16T00:12:43.482Z] $ docker rm -f bb8eecb8f7fdd9d93e01e3fa1a580d6d306592e41ced7a0ae08683b044ddf392 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-16T00:12:43.842Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-750 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2021-11-16T00:12:43.855Z] Running in /w/workspace/device-mqtt-go/19 [Pipeline] { [Pipeline] checkout [2021-11-16T00:12:44.090Z] Selected Git installation does not exist. Using Default [2021-11-16T00:12:44.090Z] The recommended git tool is: NONE [2021-11-16T00:12:50.307Z] using credential edgex-jenkins-ssh [2021-11-16T00:12:50.324Z] Cloning the remote Git repository [2021-11-16T00:12:51.570Z] Avoid second fetch [2021-11-16T00:12:51.570Z] Checking out Revision ea5b9212d5b351ef8d69a08636345b209c30a09c (main) [2021-11-16T00:12:50.372Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-16T00:12:50.476Z] > git init /w/workspace/device-mqtt-go/19 # timeout=10 [2021-11-16T00:12:50.568Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-16T00:12:50.569Z] > git --version # timeout=10 [2021-11-16T00:12:50.586Z] > git --version # 'git version 2.17.1' [2021-11-16T00:12:50.589Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-16T00:12:50.670Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-16T00:12:51.514Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-11-16T00:12:51.536Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-16T00:12:51.600Z] > git config core.sparsecheckout # timeout=10 [2021-11-16T00:12:51.628Z] > git checkout -f ea5b9212d5b351ef8d69a08636345b209c30a09c # timeout=10 [2021-11-16T00:12:56.369Z] Commit message: "build: Update to use released SDK (#322)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-16T00:12:57.264Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-16T00:12:57.264Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-16T00:12:57.264Z] Dload Upload Total Spent Left Speed [2021-11-16T00:12:57.264Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 85064 0 --:--:-- --:--:-- --:--:-- 85064 [Pipeline] sh [2021-11-16T00:12:57.758Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-16T00:12:58.123Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-16T00:12:58.123Z] + sudo tee /etc/docker/daemon.new [2021-11-16T00:12:58.123Z] { [2021-11-16T00:12:58.123Z] "registry-mirrors": [ [2021-11-16T00:12:58.123Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-16T00:12:58.123Z] ], [2021-11-16T00:12:58.123Z] "bip": "10.250.0.254/24", [2021-11-16T00:12:58.123Z] "hosts": [ [2021-11-16T00:12:58.123Z] "tcp://0.0.0.0:5555", [2021-11-16T00:12:58.123Z] "unix:///var/run/docker.sock" [2021-11-16T00:12:58.123Z] ], [2021-11-16T00:12:58.123Z] "mtu": 1458, [2021-11-16T00:12:58.123Z] "selinux-enabled": true, [2021-11-16T00:12:58.123Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-16T00:12:58.123Z] } [Pipeline] sh [2021-11-16T00:12:58.520Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-16T00:12:58.894Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-16T00:13:17.263Z] provisioning config files... [2021-11-16T00:13:17.292Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/19@tmp/config1909270563725834254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:13:17.664Z] ---> docker-login.sh [2021-11-16T00:13:17.664Z] nexus3.edgexfoundry.org:10001 [2021-11-16T00:13:18.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:13:18.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:13:18.869Z] Configure a credential helper to remove this warning. See [2021-11-16T00:13:18.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:13:18.869Z] [2021-11-16T00:13:18.869Z] Login Succeeded [2021-11-16T00:13:18.869Z] nexus3.edgexfoundry.org:10002 [2021-11-16T00:13:19.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:13:19.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:13:19.143Z] Configure a credential helper to remove this warning. See [2021-11-16T00:13:19.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:13:19.143Z] [2021-11-16T00:13:19.143Z] Login Succeeded [2021-11-16T00:13:19.420Z] nexus3.edgexfoundry.org:10003 [2021-11-16T00:13:19.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:13:19.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:13:19.709Z] Configure a credential helper to remove this warning. See [2021-11-16T00:13:19.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:13:19.709Z] [2021-11-16T00:13:19.709Z] Login Succeeded [2021-11-16T00:13:19.709Z] nexus3.edgexfoundry.org:10004 [2021-11-16T00:13:20.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:13:20.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:13:20.311Z] Configure a credential helper to remove this warning. See [2021-11-16T00:13:20.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:13:20.311Z] [2021-11-16T00:13:20.311Z] Login Succeeded [2021-11-16T00:13:20.311Z] docker.io [2021-11-16T00:13:20.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:13:21.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:13:21.184Z] Configure a credential helper to remove this warning. See [2021-11-16T00:13:21.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:13:21.184Z] [2021-11-16T00:13:21.184Z] Login Succeeded [2021-11-16T00:13:21.184Z] ---> docker-login.sh ends [Pipeline] } [2021-11-16T00:13:21.201Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-16T00:13:21.586Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-16T00:13:21.596Z] ========================================================= [2021-11-16T00:13:21.597Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-16T00:13:21.597Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:13:22.072Z] + 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-16T00:13:22.385Z] Sending build context to Docker daemon 702kB [2021-11-16T00:13:22.683Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-16T00:13:22.683Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-16T00:13:22.683Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-16T00:13:22.683Z] 552d1f2373af: Pulling fs layer [2021-11-16T00:13:22.683Z] ea3f2d53f512: Pulling fs layer [2021-11-16T00:13:22.683Z] 9e70ebbbe112: Pulling fs layer [2021-11-16T00:13:22.683Z] 7a9cfe048b4a: Pulling fs layer [2021-11-16T00:13:22.683Z] 72dc09318566: Pulling fs layer [2021-11-16T00:13:22.683Z] f4f7b4309257: Pulling fs layer [2021-11-16T00:13:22.683Z] 0ac9a79272e3: Pulling fs layer [2021-11-16T00:13:22.683Z] b78e95d17946: Pulling fs layer [2021-11-16T00:13:22.683Z] f4f7b4309257: Waiting [2021-11-16T00:13:22.683Z] 0ac9a79272e3: Waiting [2021-11-16T00:13:22.683Z] 7a9cfe048b4a: Waiting [2021-11-16T00:13:22.683Z] b78e95d17946: Waiting [2021-11-16T00:13:22.683Z] 72dc09318566: Waiting [2021-11-16T00:13:22.964Z] 9e70ebbbe112: Verifying Checksum [2021-11-16T00:13:22.964Z] 9e70ebbbe112: Download complete [2021-11-16T00:13:22.964Z] ea3f2d53f512: Verifying Checksum [2021-11-16T00:13:22.964Z] ea3f2d53f512: Download complete [2021-11-16T00:13:22.964Z] 72dc09318566: Verifying Checksum [2021-11-16T00:13:22.964Z] 552d1f2373af: Verifying Checksum [2021-11-16T00:13:22.964Z] 552d1f2373af: Download complete [2021-11-16T00:13:22.964Z] f4f7b4309257: Download complete [2021-11-16T00:13:22.964Z] 0ac9a79272e3: Verifying Checksum [2021-11-16T00:13:22.964Z] 0ac9a79272e3: Download complete [2021-11-16T00:13:23.976Z] 552d1f2373af: Pull complete [2021-11-16T00:13:24.590Z] ea3f2d53f512: Pull complete [2021-11-16T00:13:24.869Z] 9e70ebbbe112: Pull complete [2021-11-16T00:13:25.149Z] b78e95d17946: Verifying Checksum [2021-11-16T00:13:25.149Z] b78e95d17946: Download complete [2021-11-16T00:13:25.427Z] 7a9cfe048b4a: Verifying Checksum [2021-11-16T00:13:25.427Z] 7a9cfe048b4a: Download complete [2021-11-16T00:13:37.859Z] 7a9cfe048b4a: Pull complete [2021-11-16T00:13:37.859Z] 72dc09318566: Pull complete [2021-11-16T00:13:37.859Z] f4f7b4309257: Pull complete [2021-11-16T00:13:37.859Z] 0ac9a79272e3: Pull complete [2021-11-16T00:13:43.280Z] b78e95d17946: Pull complete [2021-11-16T00:13:43.280Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-16T00:13:43.280Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-16T00:13:43.280Z] ---> 8b459fc5aaf0 [2021-11-16T00:13:43.280Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-16T00:13:44.722Z] ---> Running in 1cdbd93bf2dc [2021-11-16T00:13:45.001Z] Removing intermediate container 1cdbd93bf2dc [2021-11-16T00:13:45.001Z] ---> 5dcba653bfad [2021-11-16T00:13:45.001Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-16T00:13:45.276Z] ---> Running in 6574928da722 [2021-11-16T00:13:45.875Z] Removing intermediate container 6574928da722 [2021-11-16T00:13:45.875Z] ---> 8770b0792417 [2021-11-16T00:13:45.875Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-16T00:13:45.875Z] ---> Running in a03de6e20d7d [2021-11-16T00:13:48.540Z] Removing intermediate container a03de6e20d7d [2021-11-16T00:13:48.540Z] ---> ee2387806da0 [2021-11-16T00:13:48.540Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-16T00:13:48.540Z] ---> Running in ace0641b2542 [2021-11-16T00:13:49.992Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-16T00:13:50.590Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-16T00:13:51.575Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-16T00:13:51.576Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-16T00:13:51.855Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-16T00:13:52.132Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-16T00:13:52.132Z] Executing busybox-1.33.1-r3.trigger [2021-11-16T00:13:52.132Z] OK: 223 MiB in 56 packages [2021-11-16T00:13:53.573Z] Removing intermediate container ace0641b2542 [2021-11-16T00:13:53.573Z] ---> 43a3c56d5338 [2021-11-16T00:13:53.573Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-11-16T00:13:53.573Z] ---> Running in 5d5d7e52671a [2021-11-16T00:13:54.179Z] Removing intermediate container 5d5d7e52671a [2021-11-16T00:13:54.179Z] ---> 3ea73ab17ca1 [2021-11-16T00:13:54.179Z] Step 8/11 : COPY . . [2021-11-16T00:13:55.117Z] ---> 7f7d9f1e25b8 [2021-11-16T00:13:55.117Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-16T00:13:55.399Z] ---> Running in ed78cf21b2b0 [2021-11-16T00:15:17.250Z] Removing intermediate container ed78cf21b2b0 [2021-11-16T00:15:17.250Z] ---> 3efe2573216d [2021-11-16T00:15:17.250Z] Step 10/11 : ARG MAKE='make build' [2021-11-16T00:15:17.250Z] ---> Running in 19f9ce23ce52 [2021-11-16T00:15:17.250Z] Removing intermediate container 19f9ce23ce52 [2021-11-16T00:15:17.250Z] ---> 1957062eb3d6 [2021-11-16T00:15:17.250Z] Step 11/11 : RUN $MAKE [2021-11-16T00:15:17.250Z] ---> Running in 534131831e95 [2021-11-16T00:15:17.250Z] noop [2021-11-16T00:15:17.250Z] Removing intermediate container 534131831e95 [2021-11-16T00:15:17.250Z] ---> dc9f4021c9d6 [2021-11-16T00:15:17.250Z] Successfully built dc9f4021c9d6 [2021-11-16T00:15:17.250Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:15:17.613Z] + docker inspect -f . ci-base-image-arm64 [2021-11-16T00:15:17.613Z] . [Pipeline] withDockerContainer [2021-11-16T00:15:17.900Z] prd-ubuntu18.04-docker-arm64-4c-16g-750 does not seem to be running inside a container [2021-11-16T00:15:17.993Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/19 -v /w/workspace/device-mqtt-go/19:/w/workspace/device-mqtt-go/19:rw,z -v /w/workspace/device-mqtt-go/19@tmp:/w/workspace/device-mqtt-go/19@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-16T00:15:19.742Z] $ docker top 84304c9802780b1146e0edf8c59eeb10efc6327955b4795ccb16a941a495bdb8 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-16T00:15:20.764Z] + go version [2021-11-16T00:15:20.764Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-16T00:15:20.789Z] $ docker stop --time=1 84304c9802780b1146e0edf8c59eeb10efc6327955b4795ccb16a941a495bdb8 [2021-11-16T00:15:22.580Z] $ docker rm -f 84304c9802780b1146e0edf8c59eeb10efc6327955b4795ccb16a941a495bdb8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:15:23.387Z] + docker inspect -f . ci-base-image-arm64 [2021-11-16T00:15:23.388Z] . [Pipeline] withDockerContainer [2021-11-16T00:15:23.680Z] prd-ubuntu18.04-docker-arm64-4c-16g-750 does not seem to be running inside a container [2021-11-16T00:15:23.783Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/19 -v /w/workspace/device-mqtt-go/19:/w/workspace/device-mqtt-go/19:rw,z -v /w/workspace/device-mqtt-go/19@tmp:/w/workspace/device-mqtt-go/19@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-16T00:15:25.493Z] $ docker top 76485064c5d0e14962c45ffa69903f889456a29ff2873e29c652daac0de57d17 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-16T00:15:26.560Z] + make test [2021-11-16T00:15:26.560Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-16T00:15:28.008Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-11-16T00:16:36.137Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-11-16T00:16:36.137Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 22.4% of statements [2021-11-16T00:16:36.137Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-11-16T00:16:36.137Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-16T00:17:02.994Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-16T00:17:02.994Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-16T00:17:02.994Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-16T00:17:05.673Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-16T00:17:05.683Z] $ docker stop --time=1 76485064c5d0e14962c45ffa69903f889456a29ff2873e29c652daac0de57d17 [2021-11-16T00:17:07.639Z] $ docker rm -f 76485064c5d0e14962c45ffa69903f889456a29ff2873e29c652daac0de57d17 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-16T00:17:08.658Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-16T00:17:08.690Z] Warning: overwriting stash ‘coverage-report’ [2021-11-16T00:17:09.328Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-16T00:17:09.785Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-16T00:17:10.135Z] + ls -al . [2021-11-16T00:17:10.135Z] total 180 [2021-11-16T00:17:10.135Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 16 00:17 . [2021-11-16T00:17:10.135Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 00:12 .. [2021-11-16T00:17:10.135Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 16 00:12 .dockerignore [2021-11-16T00:17:10.135Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 16 00:12 .git [2021-11-16T00:17:10.135Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 00:12 .github [2021-11-16T00:17:10.135Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 16 00:12 .gitignore [2021-11-16T00:17:10.135Z] -rw-rw-r-- 1 jenkins jenkins 7287 Nov 16 00:12 Attribution.txt [2021-11-16T00:17:10.135Z] -rw-rw-r-- 1 jenkins jenkins 7447 Nov 16 00:12 CHANGELOG.md [2021-11-16T00:17:10.135Z] -rw-rw-r-- 1 jenkins jenkins 1907 Nov 16 00:12 Dockerfile [2021-11-16T00:17:10.135Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 16 00:12 GOVERNANCE.md [2021-11-16T00:17:10.135Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 16 00:12 Jenkinsfile [2021-11-16T00:17:10.135Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 16 00:12 LICENSE [2021-11-16T00:17:10.135Z] -rw-rw-r-- 1 jenkins jenkins 1030 Nov 16 00:12 Makefile [2021-11-16T00:17:10.135Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 16 00:12 OWNERS.md [2021-11-16T00:17:10.135Z] -rw-rw-r-- 1 jenkins jenkins 2211 Nov 16 00:12 README.md [2021-11-16T00:17:10.135Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 16 00:09 VERSION [2021-11-16T00:17:10.135Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 00:12 bin [2021-11-16T00:17:10.135Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 00:12 cmd [2021-11-16T00:17:10.135Z] -rw-r--r-- 1 jenkins jenkins 17284 Nov 16 00:16 coverage.out [2021-11-16T00:17:10.135Z] -rw-rw-r-- 1 jenkins jenkins 404 Nov 16 00:12 go.mod [2021-11-16T00:17:10.135Z] -rw-rw-r-- 1 jenkins jenkins 49385 Nov 16 00:12 go.sum [2021-11-16T00:17:10.135Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 16 00:12 internal [2021-11-16T00:17:10.135Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 16 00:12 mock [2021-11-16T00:17:10.135Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 16 00:12 snap [2021-11-16T00:17:10.135Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 16 00:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:17:10.493Z] + 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=ea5b9212d5b351ef8d69a08636345b209c30a09c --label arch=arm64 --label version=2.0.1-dev.17 . [2021-11-16T00:17:11.104Z] Sending build context to Docker daemon 719.9kB [2021-11-16T00:17:11.104Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-11-16T00:17:11.104Z] Step 2/23 : FROM ${BASE} AS builder [2021-11-16T00:17:11.104Z] ---> dc9f4021c9d6 [2021-11-16T00:17:11.104Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-16T00:17:11.104Z] ---> Running in 849ab3ebce93 [2021-11-16T00:17:11.712Z] Removing intermediate container 849ab3ebce93 [2021-11-16T00:17:11.712Z] ---> 81f2fa8725bb [2021-11-16T00:17:11.712Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-11-16T00:17:11.712Z] ---> Running in 015ba715bc3b [2021-11-16T00:17:12.324Z] Removing intermediate container 015ba715bc3b [2021-11-16T00:17:12.324Z] ---> 7bf861794d89 [2021-11-16T00:17:12.324Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-16T00:17:12.324Z] ---> Running in 9363936d7eb9 [2021-11-16T00:17:14.968Z] Removing intermediate container 9363936d7eb9 [2021-11-16T00:17:14.968Z] ---> dc72b9d5c881 [2021-11-16T00:17:14.968Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-16T00:17:14.968Z] ---> Running in c120a60b485a [2021-11-16T00:17:15.951Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-16T00:17:16.940Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-16T00:17:17.935Z] OK: 223 MiB in 56 packages [2021-11-16T00:17:18.931Z] Removing intermediate container c120a60b485a [2021-11-16T00:17:18.931Z] ---> 57c54c34241e [2021-11-16T00:17:18.931Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-11-16T00:17:19.211Z] ---> Running in ac428f6a31dc [2021-11-16T00:17:19.827Z] Removing intermediate container ac428f6a31dc [2021-11-16T00:17:19.827Z] ---> 771ede1e0620 [2021-11-16T00:17:19.827Z] Step 8/23 : COPY . . [2021-11-16T00:17:20.834Z] ---> 1bedb24f1cdb [2021-11-16T00:17:20.834Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-16T00:17:21.110Z] ---> Running in 09b0d7c288a1 [2021-11-16T00:17:23.755Z] Removing intermediate container 09b0d7c288a1 [2021-11-16T00:17:23.755Z] ---> 21f571a4aa4f [2021-11-16T00:17:23.755Z] Step 10/23 : ARG MAKE='make build' [2021-11-16T00:17:23.755Z] ---> Running in 72976d2a7f7e [2021-11-16T00:17:24.358Z] Removing intermediate container 72976d2a7f7e [2021-11-16T00:17:24.358Z] ---> c802102875bd [2021-11-16T00:17:24.358Z] Step 11/23 : RUN $MAKE [2021-11-16T00:17:24.358Z] ---> Running in d11f01034889 [2021-11-16T00:17:25.818Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.0.1-dev.17" -o cmd/device-mqtt ./cmd [2021-11-16T00:18:22.525Z] Removing intermediate container d11f01034889 [2021-11-16T00:18:22.525Z] ---> 490f9fe7e9aa [2021-11-16T00:18:22.525Z] Step 12/23 : FROM alpine:3.14 [2021-11-16T00:18:22.525Z] 3.14: Pulling from library/alpine [2021-11-16T00:18:22.525Z] be307f383ecc: Pulling fs layer [2021-11-16T00:18:22.525Z] be307f383ecc: Verifying Checksum [2021-11-16T00:18:22.525Z] be307f383ecc: Download complete [2021-11-16T00:18:22.525Z] be307f383ecc: Pull complete [2021-11-16T00:18:22.525Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-16T00:18:22.525Z] Status: Downloaded newer image for alpine:3.14 [2021-11-16T00:18:22.525Z] ---> 5b8b7b635229 [2021-11-16T00:18:22.525Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-11-16T00:18:22.525Z] ---> Running in f38800d62067 [2021-11-16T00:18:22.525Z] Removing intermediate container f38800d62067 [2021-11-16T00:18:22.525Z] ---> f96d32b316e6 [2021-11-16T00:18:22.525Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-16T00:18:22.525Z] ---> Running in 460a024a9746 [2021-11-16T00:18:22.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-16T00:18:22.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-16T00:18:22.525Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-16T00:18:22.525Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-16T00:18:22.525Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-16T00:18:22.525Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-16T00:18:22.525Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-16T00:18:22.525Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-16T00:18:22.525Z] Executing busybox-1.33.1-r6.trigger [2021-11-16T00:18:22.525Z] OK: 8 MiB in 20 packages [2021-11-16T00:18:22.525Z] Removing intermediate container 460a024a9746 [2021-11-16T00:18:22.525Z] ---> ab45e0168ea3 [2021-11-16T00:18:22.525Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-11-16T00:18:22.525Z] ---> 3baaf2683e23 [2021-11-16T00:18:22.525Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-11-16T00:18:22.525Z] ---> 48c3665377e1 [2021-11-16T00:18:22.525Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-11-16T00:18:23.508Z] ---> a579ff6132da [2021-11-16T00:18:23.508Z] Step 18/23 : EXPOSE 59982 [2021-11-16T00:18:23.508Z] ---> Running in 62377866fae7 [2021-11-16T00:18:23.784Z] Removing intermediate container 62377866fae7 [2021-11-16T00:18:23.784Z] ---> bf034bdb3faa [2021-11-16T00:18:23.784Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-11-16T00:18:24.067Z] ---> Running in 9597fbf4ee9e [2021-11-16T00:18:24.342Z] Removing intermediate container 9597fbf4ee9e [2021-11-16T00:18:24.342Z] ---> ee75698e6b5e [2021-11-16T00:18:24.342Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-16T00:18:24.342Z] ---> Running in c01f732233c3 [2021-11-16T00:18:24.960Z] Removing intermediate container c01f732233c3 [2021-11-16T00:18:24.960Z] ---> 706ba17e0e07 [2021-11-16T00:18:24.960Z] Step 21/23 : LABEL arch=arm64 [2021-11-16T00:18:24.960Z] ---> Running in ab5dc06c84bf [2021-11-16T00:18:25.560Z] Removing intermediate container ab5dc06c84bf [2021-11-16T00:18:25.560Z] ---> 22549a24c47c [2021-11-16T00:18:25.560Z] Step 22/23 : LABEL git_sha=ea5b9212d5b351ef8d69a08636345b209c30a09c [2021-11-16T00:18:25.560Z] ---> Running in 1499c43ecc7c [2021-11-16T00:18:26.160Z] Removing intermediate container 1499c43ecc7c [2021-11-16T00:18:26.160Z] ---> 823234c0cdf6 [2021-11-16T00:18:26.160Z] Step 23/23 : LABEL version=2.0.1-dev.17 [2021-11-16T00:18:26.160Z] ---> Running in 7af4f0ec55a5 [2021-11-16T00:18:26.434Z] Removing intermediate container 7af4f0ec55a5 [2021-11-16T00:18:26.434Z] ---> 2289afafef12 [2021-11-16T00:18:26.434Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-16T00:18:26.434Z] Successfully built 2289afafef12 [2021-11-16T00:18:26.434Z] 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-16T00:18:26.578Z] provisioning config files... [2021-11-16T00:18:26.599Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/19@tmp/config6513674490663017208tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:18:26.951Z] ---> docker-login.sh [2021-11-16T00:18:26.951Z] nexus3.edgexfoundry.org:10001 [2021-11-16T00:18:27.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:18:27.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:18:27.500Z] Configure a credential helper to remove this warning. See [2021-11-16T00:18:27.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:18:27.500Z] [2021-11-16T00:18:27.500Z] Login Succeeded [2021-11-16T00:18:27.500Z] nexus3.edgexfoundry.org:10002 [2021-11-16T00:18:27.773Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:18:28.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:18:28.046Z] Configure a credential helper to remove this warning. See [2021-11-16T00:18:28.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:18:28.046Z] [2021-11-16T00:18:28.046Z] Login Succeeded [2021-11-16T00:18:28.046Z] nexus3.edgexfoundry.org:10003 [2021-11-16T00:18:28.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:18:28.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:18:28.641Z] Configure a credential helper to remove this warning. See [2021-11-16T00:18:28.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:18:28.641Z] [2021-11-16T00:18:28.641Z] Login Succeeded [2021-11-16T00:18:28.641Z] nexus3.edgexfoundry.org:10004 [2021-11-16T00:18:29.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:18:29.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:18:29.235Z] Configure a credential helper to remove this warning. See [2021-11-16T00:18:29.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:18:29.235Z] [2021-11-16T00:18:29.235Z] Login Succeeded [2021-11-16T00:18:29.235Z] docker.io [2021-11-16T00:18:29.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-16T00:18:30.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-16T00:18:30.103Z] Configure a credential helper to remove this warning. See [2021-11-16T00:18:30.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-16T00:18:30.103Z] [2021-11-16T00:18:30.103Z] Login Succeeded [2021-11-16T00:18:30.376Z] ---> docker-login.sh ends [Pipeline] } [2021-11-16T00:18:30.394Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-16T00:18:30.420Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-16T00:18:30.438Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2021-11-16T00:18:30.438Z] ea5b9212d5b351ef8d69a08636345b209c30a09c [2021-11-16T00:18:30.438Z] latest [2021-11-16T00:18:30.438Z] 2.0.1-dev.17 [2021-11-16T00:18:30.438Z] ea5b9212d5b351ef8d69a08636345b209c30a09c-2.0.1-dev.17 [2021-11-16T00:18:30.438Z] main [2021-11-16T00:18:30.438Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:30.797Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ea5b9212d5b351ef8d69a08636345b209c30a09c [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:31.147Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ea5b9212d5b351ef8d69a08636345b209c30a09c [2021-11-16T00:18:31.147Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-11-16T00:18:31.147Z] fe93fa02fb29: Preparing [2021-11-16T00:18:31.147Z] 7dcd13609eaa: Preparing [2021-11-16T00:18:31.147Z] 3446063ed564: Preparing [2021-11-16T00:18:31.147Z] da93da57b79d: Preparing [2021-11-16T00:18:31.147Z] 62170e181a92: Preparing [2021-11-16T00:18:31.423Z] 62170e181a92: Layer already exists [2021-11-16T00:18:31.423Z] 7dcd13609eaa: Pushed [2021-11-16T00:18:31.423Z] fe93fa02fb29: Pushed [2021-11-16T00:18:32.022Z] da93da57b79d: Pushed [2021-11-16T00:18:34.663Z] 3446063ed564: Pushed [2021-11-16T00:18:34.663Z] ea5b9212d5b351ef8d69a08636345b209c30a09c: digest: sha256:cbd89060cce04f9f9ad41e1db89915188b579106dc07682cde20ad9a79e692df size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:35.010Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:35.350Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-11-16T00:18:35.350Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-11-16T00:18:35.350Z] fe93fa02fb29: Preparing [2021-11-16T00:18:35.350Z] 7dcd13609eaa: Preparing [2021-11-16T00:18:35.350Z] 3446063ed564: Preparing [2021-11-16T00:18:35.350Z] da93da57b79d: Preparing [2021-11-16T00:18:35.350Z] 62170e181a92: Preparing [2021-11-16T00:18:35.621Z] da93da57b79d: Layer already exists [2021-11-16T00:18:35.621Z] 7dcd13609eaa: Layer already exists [2021-11-16T00:18:35.621Z] 3446063ed564: Layer already exists [2021-11-16T00:18:35.621Z] fe93fa02fb29: Layer already exists [2021-11-16T00:18:35.621Z] 62170e181a92: Layer already exists [2021-11-16T00:18:35.621Z] latest: digest: sha256:cbd89060cce04f9f9ad41e1db89915188b579106dc07682cde20ad9a79e692df size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:35.959Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.17 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:36.302Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.17 [2021-11-16T00:18:36.302Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-11-16T00:18:36.302Z] fe93fa02fb29: Preparing [2021-11-16T00:18:36.302Z] 7dcd13609eaa: Preparing [2021-11-16T00:18:36.302Z] 3446063ed564: Preparing [2021-11-16T00:18:36.302Z] da93da57b79d: Preparing [2021-11-16T00:18:36.302Z] 62170e181a92: Preparing [2021-11-16T00:18:36.573Z] da93da57b79d: Layer already exists [2021-11-16T00:18:36.573Z] fe93fa02fb29: Layer already exists [2021-11-16T00:18:36.573Z] 3446063ed564: Layer already exists [2021-11-16T00:18:36.573Z] 62170e181a92: Layer already exists [2021-11-16T00:18:36.573Z] 7dcd13609eaa: Layer already exists [2021-11-16T00:18:36.573Z] 2.0.1-dev.17: digest: sha256:cbd89060cce04f9f9ad41e1db89915188b579106dc07682cde20ad9a79e692df size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:36.919Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ea5b9212d5b351ef8d69a08636345b209c30a09c-2.0.1-dev.17 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:37.263Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ea5b9212d5b351ef8d69a08636345b209c30a09c-2.0.1-dev.17 [2021-11-16T00:18:37.263Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-11-16T00:18:37.263Z] fe93fa02fb29: Preparing [2021-11-16T00:18:37.263Z] 7dcd13609eaa: Preparing [2021-11-16T00:18:37.263Z] 3446063ed564: Preparing [2021-11-16T00:18:37.263Z] da93da57b79d: Preparing [2021-11-16T00:18:37.263Z] 62170e181a92: Preparing [2021-11-16T00:18:37.537Z] 3446063ed564: Layer already exists [2021-11-16T00:18:37.537Z] 62170e181a92: Layer already exists [2021-11-16T00:18:37.537Z] da93da57b79d: Layer already exists [2021-11-16T00:18:37.537Z] 7dcd13609eaa: Layer already exists [2021-11-16T00:18:37.537Z] fe93fa02fb29: Layer already exists [2021-11-16T00:18:37.537Z] ea5b9212d5b351ef8d69a08636345b209c30a09c-2.0.1-dev.17: digest: sha256:cbd89060cce04f9f9ad41e1db89915188b579106dc07682cde20ad9a79e692df size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:37.893Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:38.238Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2021-11-16T00:18:38.238Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-11-16T00:18:38.238Z] fe93fa02fb29: Preparing [2021-11-16T00:18:38.238Z] 7dcd13609eaa: Preparing [2021-11-16T00:18:38.238Z] 3446063ed564: Preparing [2021-11-16T00:18:38.238Z] da93da57b79d: Preparing [2021-11-16T00:18:38.238Z] 62170e181a92: Preparing [2021-11-16T00:18:38.511Z] 62170e181a92: Layer already exists [2021-11-16T00:18:38.511Z] da93da57b79d: Layer already exists [2021-11-16T00:18:38.511Z] 7dcd13609eaa: Layer already exists [2021-11-16T00:18:38.511Z] 3446063ed564: Layer already exists [2021-11-16T00:18:38.511Z] fe93fa02fb29: Layer already exists [2021-11-16T00:18:38.511Z] main: digest: sha256:cbd89060cce04f9f9ad41e1db89915188b579106dc07682cde20ad9a79e692df size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-16T00:18:38.555Z] ===================================================== [Pipeline] echo [2021-11-16T00:18:38.563Z] taggedImages: [2021-11-16T00:18:38.563Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ea5b9212d5b351ef8d69a08636345b209c30a09c [2021-11-16T00:18:38.563Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-11-16T00:18:38.563Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.0.1-dev.17 [2021-11-16T00:18:38.563Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:ea5b9212d5b351ef8d69a08636345b209c30a09c-2.0.1-dev.17 [2021-11-16T00:18:38.563Z] - 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-16T00:18:38.983Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-16T00:18:39.258Z] [2021-11-16T00:18:39.258Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:18:39.615Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-16T00:18:39.891Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-16T00:18:39.891Z] 448f6bf000e3: Pulling fs layer [2021-11-16T00:18:39.891Z] f757da607395: Pulling fs layer [2021-11-16T00:18:39.891Z] 05883995daec: Pulling fs layer [2021-11-16T00:18:39.891Z] 8603b9c90790: Pulling fs layer [2021-11-16T00:18:39.891Z] 1560dd03e051: Pulling fs layer [2021-11-16T00:18:39.891Z] 27f5ce0e4adf: Pulling fs layer [2021-11-16T00:18:39.891Z] c2d8d7efcc4b: Pulling fs layer [2021-11-16T00:18:39.891Z] 1560dd03e051: Waiting [2021-11-16T00:18:39.891Z] 8603b9c90790: Waiting [2021-11-16T00:18:39.891Z] 27f5ce0e4adf: Waiting [2021-11-16T00:18:39.891Z] c2d8d7efcc4b: Waiting [2021-11-16T00:18:39.891Z] f757da607395: Verifying Checksum [2021-11-16T00:18:39.891Z] f757da607395: Download complete [2021-11-16T00:18:39.891Z] 8603b9c90790: Verifying Checksum [2021-11-16T00:18:39.891Z] 8603b9c90790: Download complete [2021-11-16T00:18:40.168Z] 1560dd03e051: Verifying Checksum [2021-11-16T00:18:40.168Z] 1560dd03e051: Download complete [2021-11-16T00:18:40.168Z] 27f5ce0e4adf: Verifying Checksum [2021-11-16T00:18:40.168Z] 27f5ce0e4adf: Download complete [2021-11-16T00:18:40.168Z] 05883995daec: Verifying Checksum [2021-11-16T00:18:40.168Z] 05883995daec: Download complete [2021-11-16T00:18:40.441Z] 448f6bf000e3: Verifying Checksum [2021-11-16T00:18:40.441Z] 448f6bf000e3: Download complete [2021-11-16T00:18:43.069Z] c2d8d7efcc4b: Verifying Checksum [2021-11-16T00:18:43.069Z] c2d8d7efcc4b: Download complete [2021-11-16T00:18:44.502Z] 448f6bf000e3: Pull complete [2021-11-16T00:18:45.098Z] f757da607395: Pull complete [2021-11-16T00:18:46.540Z] 05883995daec: Pull complete [2021-11-16T00:18:46.812Z] 8603b9c90790: Pull complete [2021-11-16T00:18:47.796Z] 1560dd03e051: Pull complete [2021-11-16T00:18:48.397Z] 27f5ce0e4adf: Pull complete [2021-11-16T00:19:03.491Z] c2d8d7efcc4b: Pull complete [2021-11-16T00:19:03.491Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-16T00:19:03.491Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-16T00:19:03.491Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-16T00:19:03.769Z] prd-ubuntu18.04-docker-arm64-4c-16g-750 does not seem to be running inside a container [2021-11-16T00:19:03.861Z] $ 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/19 -v /w/workspace/device-mqtt-go/19:/w/workspace/device-mqtt-go/19:rw,z -v /w/workspace/device-mqtt-go/19@tmp:/w/workspace/device-mqtt-go/19@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-16T00:19:07.241Z] $ docker top 7cde5321520a63dfb71eb46cc695072722cf6ff9205d854141cbe0fd33d15670 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:19:08.276Z] ---> job-cost.sh [2021-11-16T00:19:08.276Z] lf-activate-venv: SKIPPING [2021-11-16T00:19:08.276Z] INFO: No Stack... [2021-11-16T00:19:08.549Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-16T00:19:09.145Z] INFO: Archiving Costs [Pipeline] sh [2021-11-16T00:19:09.834Z] + cat /w/workspace/device-mqtt-go/19/archives/cost.csv [2021-11-16T00:19:09.834Z] + cut -d, -f6 [Pipeline] lock [2021-11-16T00:19:09.916Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-19-stack-cost] [2021-11-16T00:19:09.923Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-19-stack-cost] did not exist. Created. [2021-11-16T00:19:09.923Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-19-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-16T00:19:10.713Z] /w/workspace/device-mqtt-go/19@tmp/durable-98c33adb/script.sh: 1: /w/workspace/device-mqtt-go/19@tmp/durable-98c33adb/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-16T00:19:11.440Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-16T00:19:11.462Z] Warning: overwriting stash ‘stack-cost’ [2021-11-16T00:19:11.514Z] Stashed 1 file(s) [Pipeline] } [2021-11-16T00:19:11.522Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-19-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-16T00:19:11.540Z] $ docker stop --time=1 7cde5321520a63dfb71eb46cc695072722cf6ff9205d854141cbe0fd33d15670 [2021-11-16T00:19:13.188Z] $ docker rm -f 7cde5321520a63dfb71eb46cc695072722cf6ff9205d854141cbe0fd33d15670 [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-16T00:19:14.067Z] provisioning config files... [2021-11-16T00:19:14.079Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6200448753951175054tmp [Pipeline] { [Pipeline] sh [2021-11-16T00:19:14.383Z] + set +x [2021-11-16T00:19:14.383Z] + curl -s https://codecov.io/bash [2021-11-16T00:19:14.383Z] + bash -s -- [2021-11-16T00:19:14.383Z] [2021-11-16T00:19:14.383Z] _____ _ [2021-11-16T00:19:14.383Z] / ____| | | [2021-11-16T00:19:14.383Z] | | ___ __| | ___ ___ _____ __ [2021-11-16T00:19:14.383Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-16T00:19:14.383Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-16T00:19:14.383Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-16T00:19:14.383Z] Bash-1.0.6 [2021-11-16T00:19:14.383Z] [2021-11-16T00:19:14.383Z] [2021-11-16T00:19:14.383Z] ==> git version 2.24.4 found [2021-11-16T00:19:14.383Z] ==> 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-16T00:19:14.383Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-16T00:19:14.383Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-16T00:19:14.383Z] ==> Jenkins CI detected. [2021-11-16T00:19:14.383Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-16T00:19:14.383Z] project root: . [2021-11-16T00:19:14.384Z] --> token set from env [2021-11-16T00:19:14.384Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-16T00:19:14.384Z] ==> Running gcov in . (disable via -X gcov) [2021-11-16T00:19:14.384Z] ==> Python coveragepy not found [2021-11-16T00:19:14.384Z] ==> Searching for coverage reports in: [2021-11-16T00:19:14.384Z] + . [2021-11-16T00:19:14.384Z] -> Found 1 reports [2021-11-16T00:19:14.384Z] ==> Detecting git/mercurial file structure [2021-11-16T00:19:14.384Z] ==> Reading reports [2021-11-16T00:19:14.384Z] + ./coverage.out bytes=17284 [2021-11-16T00:19:14.384Z] ==> Appending adjustments [2021-11-16T00:19:14.384Z] https://docs.codecov.io/docs/fixing-reports [2021-11-16T00:19:14.646Z] + Found adjustments [2021-11-16T00:19:14.646Z] ==> Gzipping contents [2021-11-16T00:19:14.646Z] 4.0K /tmp/codecov.iIlzLm.gz [2021-11-16T00:19:14.646Z] ==> Uploading reports [2021-11-16T00:19:14.646Z] url: https://codecov.io [2021-11-16T00:19:14.646Z] query: branch=main&commit=ea5b9212d5b351ef8d69a08636345b209c30a09c&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-16T00:19:14.646Z] -> Pinging Codecov [2021-11-16T00:19:14.646Z] 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=ea5b9212d5b351ef8d69a08636345b209c30a09c&build=19&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F19%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-16T00:19:14.909Z] -> Uploading to [2021-11-16T00:19:14.909Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-16/7D719EC7BBE17E464838252E33014C33/ea5b9212d5b351ef8d69a08636345b209c30a09c/2134e54d-9918-4d20-8959-f548d0838b58.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211116T001914Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=53b1ed1ee130868f3c5921f6f2014c3dfa3fcaaefe20d2bc081c2d3a29325d74 [2021-11-16T00:19:14.909Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-16T00:19:14.909Z] Dload Upload Total Spent Left Speed [2021-11-16T00:19:15.172Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3192 0 0 100 3192 0 9864 --:--:-- --:--:-- --:--:-- 9882 [2021-11-16T00:19:15.172Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/ea5b9212d5b351ef8d69a08636345b209c30a09c [Pipeline] } [2021-11-16T00:19:15.183Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-16T00:19:15.576Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-16T00:19:15.592Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:19:15.891Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-16T00:19:15.892Z] [2021-11-16T00:19:15.892Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:19:16.192Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-16T00:19:16.192Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-16T00:19:16.192Z] 188c0c94c7c5: Pulling fs layer [2021-11-16T00:19:16.192Z] 0ef7d3d256c8: Pulling fs layer [2021-11-16T00:19:16.192Z] de9db76c5a1d: Pulling fs layer [2021-11-16T00:19:16.192Z] 0eba1c9be4d2: Pulling fs layer [2021-11-16T00:19:16.192Z] 0d57e429df01: Pulling fs layer [2021-11-16T00:19:16.192Z] 4e4be7b47b0d: Pulling fs layer [2021-11-16T00:19:16.192Z] e1f770b5df2f: Pulling fs layer [2021-11-16T00:19:16.192Z] 85a0685a4137: Pulling fs layer [2021-11-16T00:19:16.192Z] 0d57e429df01: Waiting [2021-11-16T00:19:16.192Z] 4e4be7b47b0d: Waiting [2021-11-16T00:19:16.192Z] e1f770b5df2f: Waiting [2021-11-16T00:19:16.192Z] 85a0685a4137: Waiting [2021-11-16T00:19:16.192Z] 0eba1c9be4d2: Waiting [2021-11-16T00:19:16.192Z] de9db76c5a1d: Verifying Checksum [2021-11-16T00:19:16.192Z] de9db76c5a1d: Download complete [2021-11-16T00:19:16.192Z] 0ef7d3d256c8: Download complete [2021-11-16T00:19:16.192Z] 0d57e429df01: Verifying Checksum [2021-11-16T00:19:16.192Z] 0d57e429df01: Download complete [2021-11-16T00:19:16.192Z] 4e4be7b47b0d: Verifying Checksum [2021-11-16T00:19:16.192Z] 4e4be7b47b0d: Download complete [2021-11-16T00:19:16.192Z] 188c0c94c7c5: Verifying Checksum [2021-11-16T00:19:16.192Z] 188c0c94c7c5: Download complete [2021-11-16T00:19:16.458Z] e1f770b5df2f: Verifying Checksum [2021-11-16T00:19:16.458Z] e1f770b5df2f: Download complete [2021-11-16T00:19:16.742Z] 0eba1c9be4d2: Verifying Checksum [2021-11-16T00:19:16.742Z] 0eba1c9be4d2: Download complete [2021-11-16T00:19:16.742Z] 188c0c94c7c5: Pull complete [2021-11-16T00:19:17.015Z] 0ef7d3d256c8: Pull complete [2021-11-16T00:19:17.015Z] 85a0685a4137: Verifying Checksum [2021-11-16T00:19:17.015Z] 85a0685a4137: Download complete [2021-11-16T00:19:17.015Z] de9db76c5a1d: Pull complete [2021-11-16T00:19:20.380Z] 0eba1c9be4d2: Pull complete [2021-11-16T00:19:20.380Z] 0d57e429df01: Pull complete [2021-11-16T00:19:20.380Z] 4e4be7b47b0d: Pull complete [2021-11-16T00:19:20.959Z] e1f770b5df2f: Pull complete [2021-11-16T00:19:24.300Z] 85a0685a4137: Pull complete [2021-11-16T00:19:24.300Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-16T00:19:24.300Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-16T00:19:24.300Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-16T00:19:24.363Z] prd-centos7-docker-4c-2g-742 does not seem to be running inside a container [2021-11-16T00:19:24.399Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-11-16T00:19:26.353Z] $ docker top 019cdc40d950ae53a3411ef6de5fc43d0ce38204aceee231e7477494df97c39d -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-16T00:19:26.430Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-16T00:19:26.716Z] + set -o pipefail [2021-11-16T00:19:26.716Z] + snyk monitor '--org=edgex-jenkins' [2021-11-16T00:19:32.057Z] [2021-11-16T00:19:32.057Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2021-11-16T00:19:32.057Z] [2021-11-16T00:19:32.057Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/38e31157-56ea-4e90-af78-1c2bd4a503a1 [2021-11-16T00:19:32.057Z] [2021-11-16T00:19:32.057Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-11-16T00:19:32.057Z] [2021-11-16T00:19:32.057Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-16T00:19:32.057Z] [2021-11-16T00:19:32.057Z] [Pipeline] } [2021-11-16T00:19:32.069Z] $ docker stop --time=1 019cdc40d950ae53a3411ef6de5fc43d0ce38204aceee231e7477494df97c39d [2021-11-16T00:19:33.935Z] $ docker rm -f 019cdc40d950ae53a3411ef6de5fc43d0ce38204aceee231e7477494df97c39d [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-16T00:19:34.796Z] + git log --format=format:%s -1 ea5b9212d5b351ef8d69a08636345b209c30a09c [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:19:35.096Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-16T00:19:35.096Z] . [Pipeline] withDockerContainer [2021-11-16T00:19:35.162Z] prd-centos7-docker-4c-2g-742 does not seem to be running inside a container [2021-11-16T00:19:35.208Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-16T00:19:35.522Z] $ docker top 5f8ec2068806bb7357b03bc144187dcb42c6c21c6a24696ebebf1d60c864bed4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-16T00:19:35.615Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-16T00:19:35.615Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-16T00:19:35.711Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-16T00:19:35.716Z] $ docker exec 5f8ec2068806bb7357b03bc144187dcb42c6c21c6a24696ebebf1d60c864bed4 ssh-agent [2021-11-16T00:19:35.802Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPBHgol/agent.15 [2021-11-16T00:19:35.802Z] SSH_AGENT_PID=22 [2021-11-16T00:19:35.807Z] Running ssh-add (command line suppressed) [2021-11-16T00:19:35.896Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7893633708806690338.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7893633708806690338.key) [2021-11-16T00:19:35.909Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-16T00:19:36.202Z] + git semver tag [2021-11-16T00:19:36.203Z] # -> Open(): unable to determine branch for HEAD [2021-11-16T00:19:36.203Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-11-16T00:19:36.203Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-16T00:19:36.203Z] # $SEMVER_REMOTE_NAME = origin [2021-11-16T00:19:36.203Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-16T00:19:36.203Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-16T00:19:36.203Z] # $SEMVER_BRANCH = main [2021-11-16T00:19:36.203Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2021-11-16T00:19:36.203Z] # ea5b9212d5b351ef8d69a08636345b209c30a09c HEAD [2021-11-16T00:19:36.203Z] # -> Force: false [2021-11-16T00:19:36.203Z] # 7252fe089be7306f38f1202a85296283849ccbb6 refs/tags/v2.0.1-dev.17 [Pipeline] } [2021-11-16T00:19:36.213Z] $ docker exec --env ******** --env ******** 5f8ec2068806bb7357b03bc144187dcb42c6c21c6a24696ebebf1d60c864bed4 ssh-agent -k [2021-11-16T00:19:36.302Z] unset SSH_AUTH_SOCK; [2021-11-16T00:19:36.303Z] unset SSH_AGENT_PID; [2021-11-16T00:19:36.303Z] echo Agent pid 22 killed; [2021-11-16T00:19:36.309Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-16T00:19:36.617Z] + git semver [Pipeline] } [2021-11-16T00:19:36.631Z] $ docker stop --time=1 5f8ec2068806bb7357b03bc144187dcb42c6c21c6a24696ebebf1d60c864bed4 [2021-11-16T00:19:37.803Z] $ docker rm -f 5f8ec2068806bb7357b03bc144187dcb42c6c21c6a24696ebebf1d60c864bed4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:19:38.201Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-16T00:19:38.201Z] [2021-11-16T00:19:38.201Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:19:38.517Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-16T00:19:38.517Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-16T00:19:38.517Z] ab5ef0e58194: Pulling fs layer [2021-11-16T00:19:38.517Z] 9712f1f96733: Pulling fs layer [2021-11-16T00:19:38.517Z] 63f879dbbcfc: Pulling fs layer [2021-11-16T00:19:38.517Z] 0d9ebad4ef96: Pulling fs layer [2021-11-16T00:19:38.517Z] e9a5061849ea: Pulling fs layer [2021-11-16T00:19:38.517Z] d747dcd14b5f: Pulling fs layer [2021-11-16T00:19:38.517Z] 2de7ff778b66: Pulling fs layer [2021-11-16T00:19:38.517Z] e9a5061849ea: Waiting [2021-11-16T00:19:38.517Z] d747dcd14b5f: Waiting [2021-11-16T00:19:38.517Z] 2de7ff778b66: Waiting [2021-11-16T00:19:38.517Z] 0d9ebad4ef96: Waiting [2021-11-16T00:19:38.517Z] 9712f1f96733: Download complete [2021-11-16T00:19:38.787Z] 63f879dbbcfc: Verifying Checksum [2021-11-16T00:19:38.787Z] 63f879dbbcfc: Download complete [2021-11-16T00:19:39.056Z] ab5ef0e58194: Verifying Checksum [2021-11-16T00:19:39.056Z] ab5ef0e58194: Download complete [2021-11-16T00:19:39.056Z] d747dcd14b5f: Verifying Checksum [2021-11-16T00:19:39.056Z] d747dcd14b5f: Download complete [2021-11-16T00:19:39.056Z] 0d9ebad4ef96: Verifying Checksum [2021-11-16T00:19:39.056Z] 0d9ebad4ef96: Download complete [2021-11-16T00:19:39.056Z] e9a5061849ea: Verifying Checksum [2021-11-16T00:19:39.056Z] e9a5061849ea: Download complete [2021-11-16T00:19:39.056Z] 2de7ff778b66: Verifying Checksum [2021-11-16T00:19:39.056Z] 2de7ff778b66: Download complete [2021-11-16T00:19:42.377Z] ab5ef0e58194: Pull complete [2021-11-16T00:19:42.377Z] 9712f1f96733: Pull complete [2021-11-16T00:19:42.641Z] 63f879dbbcfc: Pull complete [2021-11-16T00:19:46.883Z] 0d9ebad4ef96: Pull complete [2021-11-16T00:19:46.883Z] e9a5061849ea: Pull complete [2021-11-16T00:19:46.883Z] d747dcd14b5f: Pull complete [2021-11-16T00:19:47.845Z] 2de7ff778b66: Pull complete [2021-11-16T00:19:47.845Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-16T00:19:47.845Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-16T00:19:47.845Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-16T00:19:47.910Z] prd-centos7-docker-4c-2g-742 does not seem to be running inside a container [2021-11-16T00:19:47.949Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-11-16T00:19:50.863Z] $ docker top ac8cea7736daf49b286cb916858b94cb0bc449d06e5758053d6a33cc307a892d -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-16T00:19:50.938Z] provisioning config files... [2021-11-16T00:19:50.945Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1738747581635222845tmp [2021-11-16T00:19:50.957Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8385914068899984870tmp [2021-11-16T00:19:50.968Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7935920923346694623tmp [Pipeline] { [Pipeline] echo [2021-11-16T00:19:50.989Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:19:51.282Z] ---> sigul-configuration.sh [2021-11-16T00:19:51.282Z] gpg: directory `/root/.gnupg' created [2021-11-16T00:19:51.282Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-16T00:19:51.282Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-16T00:19:51.282Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-16T00:19:51.282Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-16T00:19:51.282Z] gpg: CAST5 encrypted data [2021-11-16T00:19:51.282Z] gpg: encrypted with 1 passphrase [2021-11-16T00:19:51.282Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-16T00:19:51.576Z] + mkdir /home/jenkins [2021-11-16T00:19:51.576Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-16T00:19:51.864Z] + 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-16T00:19:51.872Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:19:52.156Z] ---> sigul-install.sh [2021-11-16T00:19:52.156Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-16T00:19:52.443Z] + git tag --list [2021-11-16T00:19:52.443Z] 0.7.1 [2021-11-16T00:19:52.443Z] v1.0.0 [2021-11-16T00:19:52.443Z] v1.1.0 [2021-11-16T00:19:52.443Z] v1.1.1 [2021-11-16T00:19:52.443Z] v1.2.2 [2021-11-16T00:19:52.443Z] v1.3.0 [2021-11-16T00:19:52.443Z] v1.3.1 [2021-11-16T00:19:52.443Z] v2.0.0 [2021-11-16T00:19:52.443Z] v2.0.1-dev.1 [2021-11-16T00:19:52.443Z] v2.0.1-dev.10 [2021-11-16T00:19:52.443Z] v2.0.1-dev.11 [2021-11-16T00:19:52.443Z] v2.0.1-dev.12 [2021-11-16T00:19:52.443Z] v2.0.1-dev.13 [2021-11-16T00:19:52.443Z] v2.0.1-dev.14 [2021-11-16T00:19:52.443Z] v2.0.1-dev.15 [2021-11-16T00:19:52.443Z] v2.0.1-dev.16 [2021-11-16T00:19:52.443Z] v2.0.1-dev.17 [2021-11-16T00:19:52.443Z] v2.0.1-dev.2 [2021-11-16T00:19:52.443Z] v2.0.1-dev.3 [2021-11-16T00:19:52.443Z] v2.0.1-dev.4 [2021-11-16T00:19:52.443Z] v2.0.1-dev.5 [2021-11-16T00:19:52.443Z] v2.0.1-dev.6 [2021-11-16T00:19:52.443Z] v2.0.1-dev.7 [2021-11-16T00:19:52.443Z] v2.0.1-dev.8 [2021-11-16T00:19:52.443Z] v2.0.1-dev.9 [Pipeline] sh [2021-11-16T00:19:52.732Z] + lftools sign git-tag v2.0.1-dev.17 [2021-11-16T00:19:53.298Z] Signing Git tag with Sigul... [2021-11-16T00:19:53.298Z] Signing v2.0.1-dev.17 [Pipeline] echo [2021-11-16T00:19:54.245Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:19:54.526Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-16T00:19:54.531Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-16T00:19:54.546Z] $ docker stop --time=1 ac8cea7736daf49b286cb916858b94cb0bc449d06e5758053d6a33cc307a892d [2021-11-16T00:19:55.716Z] $ docker rm -f ac8cea7736daf49b286cb916858b94cb0bc449d06e5758053d6a33cc307a892d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:19:56.236Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-16T00:19:56.236Z] . [Pipeline] withDockerContainer [2021-11-16T00:19:56.299Z] prd-centos7-docker-4c-2g-742 does not seem to be running inside a container [2021-11-16T00:19:56.335Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-16T00:19:56.668Z] $ docker top 82796669b725378380023da2a56eb15ba581296e00c65f8453e21affdb8ff577 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-16T00:19:56.771Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-16T00:19:56.771Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-16T00:19:56.893Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-16T00:19:56.897Z] $ docker exec 82796669b725378380023da2a56eb15ba581296e00c65f8453e21affdb8ff577 ssh-agent [2021-11-16T00:19:57.019Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXldENod/agent.15 [2021-11-16T00:19:57.019Z] SSH_AGENT_PID=22 [2021-11-16T00:19:57.024Z] Running ssh-add (command line suppressed) [2021-11-16T00:19:57.135Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6562036270152788684.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6562036270152788684.key) [2021-11-16T00:19:57.152Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-16T00:19:57.633Z] + git semver bump pre [2021-11-16T00:19:57.633Z] # -> Open(): unable to determine branch for HEAD [2021-11-16T00:19:57.633Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-11-16T00:19:57.633Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-16T00:19:57.633Z] # $SEMVER_REMOTE_NAME = origin [2021-11-16T00:19:57.633Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-16T00:19:57.633Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-16T00:19:57.633Z] # $SEMVER_BRANCH = main [2021-11-16T00:19:57.633Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2021-11-16T00:19:57.633Z] 2.0.1-dev.18 [Pipeline] } [2021-11-16T00:19:57.665Z] $ docker exec --env ******** --env ******** 82796669b725378380023da2a56eb15ba581296e00c65f8453e21affdb8ff577 ssh-agent -k [2021-11-16T00:19:57.789Z] unset SSH_AUTH_SOCK; [2021-11-16T00:19:57.790Z] unset SSH_AGENT_PID; [2021-11-16T00:19:57.790Z] echo Agent pid 22 killed; [2021-11-16T00:19:57.798Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-16T00:19:58.127Z] + git semver [Pipeline] } [2021-11-16T00:19:58.141Z] $ docker stop --time=1 82796669b725378380023da2a56eb15ba581296e00c65f8453e21affdb8ff577 [2021-11-16T00:19:59.331Z] $ docker rm -f 82796669b725378380023da2a56eb15ba581296e00c65f8453e21affdb8ff577 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:19:59.678Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-16T00:19:59.678Z] . [Pipeline] withDockerContainer [2021-11-16T00:19:59.741Z] prd-centos7-docker-4c-2g-742 does not seem to be running inside a container [2021-11-16T00:19:59.776Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-16T00:20:00.086Z] $ docker top aea072a72ccd59505b33c820655421c1dfc017e3f56cff378fc95c941ab616aa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-16T00:20:00.176Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-16T00:20:00.176Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-16T00:20:00.269Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-16T00:20:00.272Z] $ docker exec aea072a72ccd59505b33c820655421c1dfc017e3f56cff378fc95c941ab616aa ssh-agent [2021-11-16T00:20:00.358Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXiNObHN/agent.14 [2021-11-16T00:20:00.358Z] SSH_AGENT_PID=20 [2021-11-16T00:20:00.363Z] Running ssh-add (command line suppressed) [2021-11-16T00:20:00.450Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8013663672235756272.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8013663672235756272.key) [2021-11-16T00:20:00.460Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-16T00:20:00.757Z] + git semver push [2021-11-16T00:20:00.757Z] # -> Open(): unable to determine branch for HEAD [2021-11-16T00:20:00.757Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-11-16T00:20:00.757Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-16T00:20:00.757Z] # $SEMVER_REMOTE_NAME = origin [2021-11-16T00:20:00.757Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-16T00:20:00.757Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-16T00:20:00.757Z] # $SEMVER_BRANCH = main [2021-11-16T00:20:00.757Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2021-11-16T00:20:02.679Z] $ docker exec --env ******** --env ******** aea072a72ccd59505b33c820655421c1dfc017e3f56cff378fc95c941ab616aa ssh-agent -k [2021-11-16T00:20:02.773Z] unset SSH_AUTH_SOCK; [2021-11-16T00:20:02.773Z] unset SSH_AGENT_PID; [2021-11-16T00:20:02.773Z] echo Agent pid 20 killed; [2021-11-16T00:20:02.783Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-16T00:20:03.086Z] + git semver [Pipeline] } [2021-11-16T00:20:03.099Z] $ docker stop --time=1 aea072a72ccd59505b33c820655421c1dfc017e3f56cff378fc95c941ab616aa [2021-11-16T00:20:04.282Z] $ docker rm -f aea072a72ccd59505b33c820655421c1dfc017e3f56cff378fc95c941ab616aa [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-16T00:20:05.269Z] + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:20:05.560Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:20:06.112Z] ---> package-listing.sh [2021-11-16T00:20:06.112Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-16T00:20:06.112Z] ++ facter osfamily [2021-11-16T00:20:06.371Z] + OS_FAMILY=redhat [2021-11-16T00:20:06.371Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-16T00:20:06.371Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-16T00:20:06.371Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-16T00:20:06.371Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-16T00:20:06.371Z] + PACKAGES=/tmp/packages_start.txt [2021-11-16T00:20:06.371Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2021-11-16T00:20:06.371Z] + PACKAGES=/tmp/packages_end.txt [2021-11-16T00:20:06.371Z] + case "${OS_FAMILY}" in [2021-11-16T00:20:06.371Z] + rpm -qa [2021-11-16T00:20:06.371Z] + sort [2021-11-16T00:20:06.938Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-16T00:20:06.938Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-16T00:20:06.938Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-16T00:20:06.938Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2021-11-16T00:20:06.938Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2021-11-16T00:20:06.938Z] + 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-16T00:20:06.948Z] 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-16T00:20:07.254Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:20:07.543Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T00:20:07.544Z] [2021-11-16T00:20:07.544Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-16T00:20:07.837Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T00:20:07.837Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-16T00:20:07.837Z] b4d181a07f80: Pulling fs layer [2021-11-16T00:20:07.837Z] a1111a8f2ec3: Pulling fs layer [2021-11-16T00:20:07.837Z] ed53099fbce6: Pulling fs layer [2021-11-16T00:20:07.837Z] dc539afda2c1: Pulling fs layer [2021-11-16T00:20:07.837Z] 77bc0d833cb6: Pulling fs layer [2021-11-16T00:20:07.837Z] 9065ff56babe: Pulling fs layer [2021-11-16T00:20:07.837Z] d287ab97295c: Pulling fs layer [2021-11-16T00:20:07.837Z] dc539afda2c1: Waiting [2021-11-16T00:20:07.837Z] 77bc0d833cb6: Waiting [2021-11-16T00:20:07.837Z] 9065ff56babe: Waiting [2021-11-16T00:20:07.837Z] d287ab97295c: Waiting [2021-11-16T00:20:07.837Z] a1111a8f2ec3: Verifying Checksum [2021-11-16T00:20:07.837Z] a1111a8f2ec3: Download complete [2021-11-16T00:20:07.837Z] dc539afda2c1: Download complete [2021-11-16T00:20:07.837Z] ed53099fbce6: Verifying Checksum [2021-11-16T00:20:07.837Z] ed53099fbce6: Download complete [2021-11-16T00:20:07.837Z] 9065ff56babe: Verifying Checksum [2021-11-16T00:20:07.837Z] 9065ff56babe: Download complete [2021-11-16T00:20:07.837Z] 77bc0d833cb6: Verifying Checksum [2021-11-16T00:20:07.837Z] 77bc0d833cb6: Download complete [2021-11-16T00:20:08.100Z] b4d181a07f80: Verifying Checksum [2021-11-16T00:20:08.100Z] b4d181a07f80: Download complete [2021-11-16T00:20:08.675Z] d287ab97295c: Verifying Checksum [2021-11-16T00:20:08.675Z] d287ab97295c: Download complete [2021-11-16T00:20:09.254Z] b4d181a07f80: Pull complete [2021-11-16T00:20:09.517Z] a1111a8f2ec3: Pull complete [2021-11-16T00:20:09.777Z] ed53099fbce6: Pull complete [2021-11-16T00:20:10.037Z] dc539afda2c1: Pull complete [2021-11-16T00:20:10.297Z] 77bc0d833cb6: Pull complete [2021-11-16T00:20:10.297Z] 9065ff56babe: Pull complete [2021-11-16T00:20:15.620Z] d287ab97295c: Pull complete [2021-11-16T00:20:15.620Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-16T00:20:15.620Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-16T00:20:15.620Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-16T00:20:15.681Z] prd-centos7-docker-4c-2g-742 does not seem to be running inside a container [2021-11-16T00:20:15.711Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-16T00:20:17.956Z] $ docker top fbe26e8df4fb6519ca4bcbea33ca7d9937e6d29e4f07b83f673b3053696f87d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-16T00:20:18.307Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-16T00:20:18.594Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-16T00:20:18.879Z] + ls /var/log/sa-host [2021-11-16T00:20:18.879Z] + sadf -c /var/log/sa-host/sa16 [2021-11-16T00:20:18.879Z] file_magic: OK [2021-11-16T00:20:18.879Z] HZ: Using current value: 100 [2021-11-16T00:20:18.879Z] file_header: OK [2021-11-16T00:20:18.879Z] 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-16T00:20:18.879Z] Statistics: [2021-11-16T00:20:18.879Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-16T00:20:18.879Z] File successfully converted to sysstat format version 12.0.3 [2021-11-16T00:20:18.879Z] + sadf -c /var/log/sa-host/sa30 [2021-11-16T00:20:18.879Z] file_magic: OK [2021-11-16T00:20:18.879Z] HZ: Using current value: 100 [2021-11-16T00:20:18.879Z] file_header: OK [2021-11-16T00:20:18.880Z] 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-16T00:20:18.880Z] Statistics: [2021-11-16T00:20:18.880Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-16T00:20:18.880Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-16T00:20:19.155Z] provisioning config files... [2021-11-16T00:20:19.164Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5225164571698429576tmp [Pipeline] { [Pipeline] echo [2021-11-16T00:20:19.175Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:20:19.460Z] ---> create-netrc.sh [Pipeline] } [2021-11-16T00:20:19.472Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:20:19.824Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-16T00:20:19.832Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:20:20.124Z] ---> sudo-logs.sh [2021-11-16T00:20:20.124Z] Archiving 'sudo' log.. [2021-11-16T00:20:20.124Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-742.novalocal: Name or service not known [2021-11-16T00:20:20.124Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-742.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-16T00:20:20.145Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:20:20.430Z] ---> job-cost.sh [2021-11-16T00:20:20.431Z] lf-activate-venv: SKIPPING [2021-11-16T00:20:20.431Z] DEBUG: total: 0.10999999940395355 [2021-11-16T00:20:20.431Z] INFO: Retrieving Stack Cost... [2021-11-16T00:20:20.997Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-16T00:20:21.255Z] INFO: Archiving Costs [Pipeline] echo [2021-11-16T00:20:21.266Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-16T00:20:21.551Z] ---> logs-deploy.sh [2021-11-16T00:20:21.551Z] lf-activate-venv: SKIPPING [2021-11-16T00:20:21.551Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/19 [2021-11-16T00:20:21.551Z] INFO: archiving workspace using pattern(s): [2021-11-16T00:20:22.120Z] Archives upload complete. [2021-11-16T00:20:22.380Z] INFO: archiving logs to Nexus