Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5b76d0d2a879ff6c01e3c388bf175a5740c8f010 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-ssh557546702256045030.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-ssh9123060052015724973.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-ssh8270596403252132634.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-ssh5232869954789331542.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-ssh4954771491605182295.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-995 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-ssh5751133675974341325.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 5b76d0d2a879ff6c01e3c388bf175a5740c8f010 (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 5b76d0d2a879ff6c01e3c388bf175a5740c8f010 # timeout=10 Commit message: "feat: Add support for new Object reading type (#323)" > git rev-list --no-walk 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-17T15:29:13.836Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-17T15:29:13.874Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-17T15:29:13.891Z] ========================================================= [2021-11-17T15:29:13.891Z] EdgeX Global Pipelines Version Info [2021-11-17T15:29:13.891Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:29:15.020Z] ------------------- [2021-11-17T15:29:15.020Z] stable info: [2021-11-17T15:29:15.020Z] ------------------- [2021-11-17T15:29:15.020Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-17T15:29:15.020Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-17T15:29:15.020Z] Message: update stable to v1.0.215 [2021-11-17T15:29:15.593Z] ------------------- [2021-11-17T15:29:15.593Z] experimental info: [2021-11-17T15:29:15.593Z] ------------------- [2021-11-17T15:29:15.593Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-17T15:29:15.593Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-17T15:29:15.593Z] Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-17T15:29:15.667Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-11-17T15:29:15.679Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-11-17T15:29:15.693Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-17T15:29:15.707Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-17T15:29:15.717Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-17T15:29:15.727Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-17T15:29:15.738Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-17T15:29:15.748Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-17T15:29:15.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-17T15:29:15.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-17T15:29:15.778Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-17T15:29:15.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-11-17T15:29:15.799Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-17T15:29:15.812Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-17T15:29:15.826Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-17T15:29:15.837Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-17T15:29:15.847Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-17T15:29:15.857Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-17T15:29:15.867Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-17T15:29:15.878Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-11-17T15:29:15.888Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-17T15:29:15.898Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-17T15:29:15.913Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-17T15:29:15.928Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-17T15:29:15.942Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-17T15:29:15.955Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-17T15:29:15.966Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-17T15:29:15.976Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-17T15:29:15.988Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-17T15:29:15.998Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5b76d0d2a879ff6c01e3c388bf175a5740c8f010 [Pipeline] echo [2021-11-17T15:29:16.013Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5b76d0d [Pipeline] echo [2021-11-17T15:29:16.030Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T15:29:16.074Z] provisioning config files... [2021-11-17T15:29:16.088Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9222696204242058147tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:29:16.399Z] ---> docker-login.sh [2021-11-17T15:29:16.399Z] nexus3.edgexfoundry.org:10001 [2021-11-17T15:29:16.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:29:16.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:29:16.671Z] Configure a credential helper to remove this warning. See [2021-11-17T15:29:16.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:29:16.671Z] [2021-11-17T15:29:16.671Z] Login Succeeded [2021-11-17T15:29:16.671Z] nexus3.edgexfoundry.org:10002 [2021-11-17T15:29:16.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:29:16.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:29:16.671Z] Configure a credential helper to remove this warning. See [2021-11-17T15:29:16.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:29:16.671Z] [2021-11-17T15:29:16.671Z] Login Succeeded [2021-11-17T15:29:16.671Z] nexus3.edgexfoundry.org:10003 [2021-11-17T15:29:16.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:29:16.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:29:16.939Z] Configure a credential helper to remove this warning. See [2021-11-17T15:29:16.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:29:16.939Z] [2021-11-17T15:29:16.939Z] Login Succeeded [2021-11-17T15:29:16.939Z] nexus3.edgexfoundry.org:10004 [2021-11-17T15:29:16.939Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:29:16.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:29:16.939Z] Configure a credential helper to remove this warning. See [2021-11-17T15:29:16.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:29:16.939Z] [2021-11-17T15:29:16.939Z] Login Succeeded [2021-11-17T15:29:16.939Z] docker.io [2021-11-17T15:29:17.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:29:17.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:29:17.465Z] Configure a credential helper to remove this warning. See [2021-11-17T15:29:17.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:29:17.465Z] [2021-11-17T15:29:17.465Z] Login Succeeded [2021-11-17T15:29:17.465Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T15:29:17.474Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-17T15:29:17.955Z] + git rev-list -1 --merges 5b76d0d2a879ff6c01e3c388bf175a5740c8f010~1..5b76d0d2a879ff6c01e3c388bf175a5740c8f010 [Pipeline] echo [2021-11-17T15:29:18.005Z] -----------> git rev-list -1 --merges 5b76d0d2a879ff6c01e3c388bf175a5740c8f010~1..5b76d0d2a879ff6c01e3c388bf175a5740c8f010 5b76d0d2a879ff6c01e3c388bf175a5740c8f010 [false] [Pipeline] sh [2021-11-17T15:29:18.311Z] + git log --format=format:%s -1 5b76d0d2a879ff6c01e3c388bf175a5740c8f010 [Pipeline] echo [2021-11-17T15:29:18.328Z] ========================================================= [2021-11-17T15:29:18.328Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-17T15:29:18.328Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T15:29:18.692Z] + git log --format=format:%s -1 5b76d0d2a879ff6c01e3c388bf175a5740c8f010 [Pipeline] echo [2021-11-17T15:29:18.704Z] [semverPrep] GIT_COMMIT: 5b76d0d2a879ff6c01e3c388bf175a5740c8f010, Commit Message: feat: Add support for new Object reading type (#323) [Pipeline] echo [2021-11-17T15:29:18.714Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:29:19.330Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T15:29:19.330Z] [2021-11-17T15:29:19.330Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:29:19.647Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T15:29:19.647Z] latest: Pulling from edgex-devops/git-semver [2021-11-17T15:29:19.647Z] a0d0a0d46f8b: Pulling fs layer [2021-11-17T15:29:19.647Z] 3e5f54012d9b: Pulling fs layer [2021-11-17T15:29:19.647Z] 4c7163046ea9: Pulling fs layer [2021-11-17T15:29:19.647Z] 0c2d73faf560: Pulling fs layer [2021-11-17T15:29:19.647Z] 0c2d73faf560: Waiting [2021-11-17T15:29:19.647Z] 3e5f54012d9b: Verifying Checksum [2021-11-17T15:29:19.647Z] 3e5f54012d9b: Download complete [2021-11-17T15:29:19.647Z] a0d0a0d46f8b: Verifying Checksum [2021-11-17T15:29:19.647Z] a0d0a0d46f8b: Download complete [2021-11-17T15:29:19.647Z] 0c2d73faf560: Verifying Checksum [2021-11-17T15:29:19.647Z] 0c2d73faf560: Download complete [2021-11-17T15:29:19.647Z] 4c7163046ea9: Verifying Checksum [2021-11-17T15:29:19.647Z] 4c7163046ea9: Download complete [2021-11-17T15:29:19.921Z] a0d0a0d46f8b: Pull complete [2021-11-17T15:29:19.921Z] 3e5f54012d9b: Pull complete [2021-11-17T15:29:20.189Z] 4c7163046ea9: Pull complete [2021-11-17T15:29:20.458Z] 0c2d73faf560: Pull complete [2021-11-17T15:29:20.458Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-17T15:29:20.458Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T15:29:20.458Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-17T15:29:20.527Z] prd-centos7-docker-4c-2g-995 does not seem to be running inside a container [2021-11-17T15:29:20.268Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-17T15:29:20.913Z] $ docker top e48b18471929ff68bdb3465d53d90f4a6cdddd290550ed9b1d0b2db6589b6920 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-17T15:29:21.253Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T15:29:21.254Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T15:29:21.359Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T15:29:21.130Z] $ docker exec e48b18471929ff68bdb3465d53d90f4a6cdddd290550ed9b1d0b2db6589b6920 ssh-agent [2021-11-17T15:29:21.480Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAkOaBC/agent.14 [2021-11-17T15:29:21.480Z] SSH_AGENT_PID=21 [2021-11-17T15:29:21.487Z] Running ssh-add (command line suppressed) [2021-11-17T15:29:21.364Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_146724082841369972.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_146724082841369972.key) [2021-11-17T15:29:21.591Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T15:29:21.891Z] + git tag --points-at HEAD [Pipeline] } [2021-11-17T15:29:21.721Z] $ docker exec --env ******** --env ******** e48b18471929ff68bdb3465d53d90f4a6cdddd290550ed9b1d0b2db6589b6920 ssh-agent -k [2021-11-17T15:29:21.814Z] unset SSH_AUTH_SOCK; [2021-11-17T15:29:21.815Z] unset SSH_AGENT_PID; [2021-11-17T15:29:21.815Z] echo Agent pid 21 killed; [2021-11-17T15:29:22.000Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-17T15:29:22.027Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T15:29:22.027Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T15:29:22.129Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T15:29:21.965Z] $ docker exec e48b18471929ff68bdb3465d53d90f4a6cdddd290550ed9b1d0b2db6589b6920 ssh-agent [2021-11-17T15:29:22.231Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHEmBdd/agent.55 [2021-11-17T15:29:22.231Z] SSH_AGENT_PID=61 [2021-11-17T15:29:22.237Z] Running ssh-add (command line suppressed) [2021-11-17T15:29:22.174Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_861355120734887396.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_861355120734887396.key) [2021-11-17T15:29:22.339Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T15:29:22.630Z] + git semver init [2021-11-17T15:29:22.630Z] # -> Open(): unable to determine branch for HEAD [2021-11-17T15:29:22.630Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-11-17T15:29:22.630Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-17T15:29:22.630Z] # $SEMVER_REMOTE_NAME = origin [2021-11-17T15:29:22.630Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-17T15:29:22.630Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-17T15:29:22.630Z] # $SEMVER_BRANCH = main [2021-11-17T15:29:22.630Z] # $SEMVER_TEMP = /tmp/semver-946574657 [2021-11-17T15:29:22.630Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-11-17T15:29:22.630Z] # -> Clone(): ssh: handshake failed: knownhosts: key mismatch [2021-11-17T15:29:22.630Z] # git init /tmp/semver-946574657 [2021-11-17T15:29:22.630Z] # '/tmp/semver-946574657' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' [2021-11-17T15:29:22.630Z] # -> Force: false [2021-11-17T15:29:22.630Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2021-11-17T15:29:22.516Z] $ docker exec --env ******** --env ******** e48b18471929ff68bdb3465d53d90f4a6cdddd290550ed9b1d0b2db6589b6920 ssh-agent -k [2021-11-17T15:29:22.615Z] unset SSH_AUTH_SOCK; [2021-11-17T15:29:22.616Z] unset SSH_AGENT_PID; [2021-11-17T15:29:22.616Z] echo Agent pid 61 killed; [2021-11-17T15:29:22.740Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-17T15:29:23.056Z] + git semver [Pipeline] } [2021-11-17T15:29:22.980Z] $ docker stop --time=1 e48b18471929ff68bdb3465d53d90f4a6cdddd290550ed9b1d0b2db6589b6920 [2021-11-17T15:29:24.194Z] $ docker rm -f e48b18471929ff68bdb3465d53d90f4a6cdddd290550ed9b1d0b2db6589b6920 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T15:29:24.537Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-17T15:29:24.794Z] Stashed 1 file(s) [Pipeline] echo [2021-11-17T15:29:24.798Z] [edgeXSemver]: initialized semver on version 0.0.0 [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-17T15:29:39.957Z] Still waiting to schedule task [2021-11-17T15:29:39.957Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-17T15:29:39.959Z] Still waiting to schedule task [2021-11-17T15:29:39.959Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-993’ [2021-11-17T15:30:46.806Z] Running on prd-centos7-docker-4c-2g-997 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2021-11-17T15:30:46.819Z] Running in /w/workspace/device-mqtt-go/21 [Pipeline] { [Pipeline] checkout [2021-11-17T15:30:46.907Z] Selected Git installation does not exist. Using Default [2021-11-17T15:30:46.907Z] The recommended git tool is: NONE [2021-11-17T15:30:48.960Z] using credential edgex-jenkins-ssh [2021-11-17T15:30:48.970Z] Cloning the remote Git repository [2021-11-17T15:30:49.123Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-17T15:30:49.176Z] > git init /w/workspace/device-mqtt-go/21 # timeout=10 [2021-11-17T15:30:49.211Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-17T15:30:49.211Z] > git --version # timeout=10 [2021-11-17T15:30:49.223Z] > git --version # 'git version 2.24.4' [2021-11-17T15:30:49.224Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T15:30:49.251Z] [INFO] Currently running in a labeled security context [2021-11-17T15:30:49.251Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-17T15:30:49.251Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/21@tmp/jenkins-gitclient-ssh3308006664478448354.key [2021-11-17T15:30:49.266Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T15:30:49.915Z] Avoid second fetch [2021-11-17T15:30:49.915Z] Checking out Revision 5b76d0d2a879ff6c01e3c388bf175a5740c8f010 (main) [2021-11-17T15:30:50.031Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-11-17T15:30:50.039Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T15:30:50.057Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T15:30:50.062Z] > git checkout -f 5b76d0d2a879ff6c01e3c388bf175a5740c8f010 # timeout=10 [2021-11-17T15:30:53.518Z] Commit message: "feat: Add support for new Object reading type (#323)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T15:30:53.903Z] provisioning config files... [2021-11-17T15:30:53.915Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/21@tmp/config5530153487453857626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:30:54.336Z] ---> docker-login.sh [2021-11-17T15:30:54.336Z] nexus3.edgexfoundry.org:10001 [2021-11-17T15:30:54.336Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:30:54.336Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:30:54.336Z] Configure a credential helper to remove this warning. See [2021-11-17T15:30:54.336Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:30:54.336Z] [2021-11-17T15:30:54.336Z] Login Succeeded [2021-11-17T15:30:54.336Z] nexus3.edgexfoundry.org:10002 [2021-11-17T15:30:54.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:30:54.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:30:54.598Z] Configure a credential helper to remove this warning. See [2021-11-17T15:30:54.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:30:54.598Z] [2021-11-17T15:30:54.598Z] Login Succeeded [2021-11-17T15:30:54.598Z] nexus3.edgexfoundry.org:10003 [2021-11-17T15:30:54.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:30:54.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:30:54.598Z] Configure a credential helper to remove this warning. See [2021-11-17T15:30:54.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:30:54.598Z] [2021-11-17T15:30:54.598Z] Login Succeeded [2021-11-17T15:30:54.598Z] nexus3.edgexfoundry.org:10004 [2021-11-17T15:30:54.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:30:54.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:30:54.859Z] Configure a credential helper to remove this warning. See [2021-11-17T15:30:54.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:30:54.859Z] [2021-11-17T15:30:54.859Z] Login Succeeded [2021-11-17T15:30:54.859Z] docker.io [2021-11-17T15:30:54.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:30:55.432Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:30:55.432Z] Configure a credential helper to remove this warning. See [2021-11-17T15:30:55.432Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:30:55.432Z] [2021-11-17T15:30:55.432Z] Login Succeeded [2021-11-17T15:30:55.432Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T15:30:55.466Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-17T15:30:55.602Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T15:30:55.638Z] ========================================================= [2021-11-17T15:30:55.638Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-17T15:30:55.638Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:30:55.956Z] + 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-17T15:30:55.956Z] Sending build context to Docker daemon 710.7kB [2021-11-17T15:30:55.956Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T15:30:55.956Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-17T15:30:55.956Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-17T15:30:55.956Z] a0d0a0d46f8b: Pulling fs layer [2021-11-17T15:30:55.956Z] 31adcdaf11c8: Pulling fs layer [2021-11-17T15:30:55.956Z] b8b176561691: Pulling fs layer [2021-11-17T15:30:55.956Z] 4527c011a84f: Pulling fs layer [2021-11-17T15:30:55.956Z] 5d74067f8e1e: Pulling fs layer [2021-11-17T15:30:55.957Z] e0aca202a116: Pulling fs layer [2021-11-17T15:30:55.957Z] 3a43be97a3b4: Pulling fs layer [2021-11-17T15:30:55.957Z] 34cad66bf833: Pulling fs layer [2021-11-17T15:30:55.957Z] b4e3c513aaa6: Pulling fs layer [2021-11-17T15:30:55.957Z] 4527c011a84f: Waiting [2021-11-17T15:30:55.957Z] 5d74067f8e1e: Waiting [2021-11-17T15:30:55.957Z] e0aca202a116: Waiting [2021-11-17T15:30:55.957Z] 3a43be97a3b4: Waiting [2021-11-17T15:30:55.957Z] 34cad66bf833: Waiting [2021-11-17T15:30:55.957Z] b4e3c513aaa6: Waiting [2021-11-17T15:30:55.957Z] b8b176561691: Verifying Checksum [2021-11-17T15:30:55.957Z] b8b176561691: Download complete [2021-11-17T15:30:55.957Z] 31adcdaf11c8: Verifying Checksum [2021-11-17T15:30:55.957Z] 31adcdaf11c8: Download complete [2021-11-17T15:30:55.957Z] 5d74067f8e1e: Verifying Checksum [2021-11-17T15:30:55.957Z] 5d74067f8e1e: Download complete [2021-11-17T15:30:55.957Z] e0aca202a116: Verifying Checksum [2021-11-17T15:30:55.957Z] e0aca202a116: Download complete [2021-11-17T15:30:56.220Z] 3a43be97a3b4: Verifying Checksum [2021-11-17T15:30:56.220Z] 3a43be97a3b4: Download complete [2021-11-17T15:30:56.220Z] a0d0a0d46f8b: Verifying Checksum [2021-11-17T15:30:56.220Z] a0d0a0d46f8b: Download complete [2021-11-17T15:30:56.220Z] 34cad66bf833: Verifying Checksum [2021-11-17T15:30:56.220Z] 34cad66bf833: Download complete [2021-11-17T15:30:56.485Z] a0d0a0d46f8b: Pull complete [2021-11-17T15:30:56.750Z] 4527c011a84f: Verifying Checksum [2021-11-17T15:30:56.750Z] 4527c011a84f: Download complete [2021-11-17T15:30:56.750Z] 31adcdaf11c8: Pull complete [2021-11-17T15:30:56.750Z] b4e3c513aaa6: Verifying Checksum [2021-11-17T15:30:56.750Z] b4e3c513aaa6: Download complete [2021-11-17T15:30:56.750Z] b8b176561691: Pull complete [2021-11-17T15:31:00.995Z] 4527c011a84f: Pull complete [2021-11-17T15:31:00.995Z] 5d74067f8e1e: Pull complete [2021-11-17T15:31:00.995Z] e0aca202a116: Pull complete [2021-11-17T15:31:00.995Z] 3a43be97a3b4: Pull complete [2021-11-17T15:31:00.995Z] 34cad66bf833: Pull complete [2021-11-17T15:31:03.610Z] b4e3c513aaa6: Pull complete [2021-11-17T15:31:03.610Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-17T15:31:03.610Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-17T15:31:03.610Z] ---> 9f6097aaca64 [2021-11-17T15:31:03.610Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T15:31:05.090Z] ---> Running in 3690deee264c [2021-11-17T15:31:05.090Z] Removing intermediate container 3690deee264c [2021-11-17T15:31:05.090Z] ---> 676ae33b406e [2021-11-17T15:31:05.090Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T15:31:05.090Z] ---> Running in c30ead2cbca4 [2021-11-17T15:31:05.090Z] Removing intermediate container c30ead2cbca4 [2021-11-17T15:31:05.090Z] ---> 84f47dc4c767 [2021-11-17T15:31:05.090Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T15:31:05.090Z] ---> Running in 5a9237399335 [2021-11-17T15:31:05.356Z] Removing intermediate container 5a9237399335 [2021-11-17T15:31:05.621Z] ---> 75c51980d73c [2021-11-17T15:31:05.621Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T15:31:05.621Z] ---> Running in af1f85d6af14 [2021-11-17T15:31:05.621Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T15:31:06.580Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T15:31:06.841Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-17T15:31:06.841Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-17T15:31:07.101Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-17T15:31:07.101Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-17T15:31:07.360Z] Executing busybox-1.33.1-r3.trigger [2021-11-17T15:31:07.360Z] OK: 224 MiB in 56 packages [2021-11-17T15:31:07.628Z] Removing intermediate container af1f85d6af14 [2021-11-17T15:31:07.628Z] ---> daf7dd120516 [2021-11-17T15:31:07.628Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-11-17T15:31:07.628Z] ---> Running in df1cc354ebd9 [2021-11-17T15:31:07.628Z] Removing intermediate container df1cc354ebd9 [2021-11-17T15:31:07.628Z] ---> 220a6c7a3182 [2021-11-17T15:31:07.628Z] Step 8/11 : COPY . . [2021-11-17T15:31:07.889Z] ---> 7740850006e7 [2021-11-17T15:31:07.889Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T15:31:07.889Z] ---> Running in 9fd7ed3ffa9f [2021-11-17T15:31:46.677Z] Removing intermediate container 9fd7ed3ffa9f [2021-11-17T15:31:46.677Z] ---> 2408550dc5fc [2021-11-17T15:31:46.677Z] Step 10/11 : ARG MAKE='make build' [2021-11-17T15:31:46.677Z] ---> Running in 4446c70e016c [2021-11-17T15:31:46.677Z] Removing intermediate container 4446c70e016c [2021-11-17T15:31:46.677Z] ---> 3584547fcf7e [2021-11-17T15:31:46.677Z] Step 11/11 : RUN $MAKE [2021-11-17T15:31:46.677Z] ---> Running in fb9f242481e0 [2021-11-17T15:31:46.677Z] noop [2021-11-17T15:31:46.677Z] Removing intermediate container fb9f242481e0 [2021-11-17T15:31:46.677Z] ---> fcf7d40c95e5 [2021-11-17T15:31:46.677Z] Successfully built fcf7d40c95e5 [2021-11-17T15:31:46.677Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:31:46.979Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-17T15:31:46.979Z] . [Pipeline] withDockerContainer [2021-11-17T15:31:47.047Z] prd-centos7-docker-4c-2g-997 does not seem to be running inside a container [2021-11-17T15:31:47.086Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/21 -v /w/workspace/device-mqtt-go/21:/w/workspace/device-mqtt-go/21:rw,z -v /w/workspace/device-mqtt-go/21@tmp:/w/workspace/device-mqtt-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-17T15:31:47.640Z] $ docker top 3cc131d1b13636b383a5ab922523627295646988ad7c4924fad35cd3edb815b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T15:31:47.998Z] + go version [2021-11-17T15:31:47.998Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-17T15:31:48.007Z] $ docker stop --time=1 3cc131d1b13636b383a5ab922523627295646988ad7c4924fad35cd3edb815b9 [2021-11-17T15:31:49.175Z] $ docker rm -f 3cc131d1b13636b383a5ab922523627295646988ad7c4924fad35cd3edb815b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:31:49.706Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-17T15:31:49.706Z] . [Pipeline] withDockerContainer [2021-11-17T15:31:49.781Z] prd-centos7-docker-4c-2g-997 does not seem to be running inside a container [2021-11-17T15:31:49.817Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/21 -v /w/workspace/device-mqtt-go/21:/w/workspace/device-mqtt-go/21:rw,z -v /w/workspace/device-mqtt-go/21@tmp:/w/workspace/device-mqtt-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-17T15:31:50.188Z] $ docker top 52cf4e7dfb82ab0f0def6ca7834a44d8817b38832be3b9a0c55b98ce6f0edae4 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-17T15:31:50.560Z] + make test [2021-11-17T15:31:50.560Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-17T15:31:50.823Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-11-17T15:32:09.058Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-11-17T15:32:09.058Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.009s coverage: 22.5% of statements [2021-11-17T15:32:09.058Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-11-17T15:32:09.058Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-17T15:32:11.974Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-998 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2021-11-17T15:32:11.987Z] Running in /w/workspace/device-mqtt-go/21 [Pipeline] { [Pipeline] checkout [2021-11-17T15:32:12.168Z] Selected Git installation does not exist. Using Default [2021-11-17T15:32:12.169Z] The recommended git tool is: NONE [2021-11-17T15:32:13.401Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-17T15:32:13.401Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-17T15:32:13.401Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-17T15:32:13.993Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-17T15:32:14.002Z] $ docker stop --time=1 52cf4e7dfb82ab0f0def6ca7834a44d8817b38832be3b9a0c55b98ce6f0edae4 [2021-11-17T15:32:15.656Z] $ docker rm -f 52cf4e7dfb82ab0f0def6ca7834a44d8817b38832be3b9a0c55b98ce6f0edae4 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T15:32:16.040Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-17T15:32:16.220Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-17T15:32:16.849Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-17T15:32:17.140Z] + ls -al . [2021-11-17T15:32:17.140Z] total 148 [2021-11-17T15:32:17.140Z] drwxrwxr-x. 9 jenkins jenkins 4096 Nov 17 15:32 . [2021-11-17T15:32:17.140Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 17 15:30 .. [2021-11-17T15:32:17.140Z] -rw-rw-r--. 1 jenkins jenkins 7287 Nov 17 15:30 Attribution.txt [2021-11-17T15:32:17.140Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 17 15:30 bin [2021-11-17T15:32:17.140Z] -rw-rw-r--. 1 jenkins jenkins 7447 Nov 17 15:30 CHANGELOG.md [2021-11-17T15:32:17.140Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 17 15:30 cmd [2021-11-17T15:32:17.140Z] -rw-r--r--. 1 jenkins jenkins 17452 Nov 17 15:32 coverage.out [2021-11-17T15:32:17.140Z] -rw-rw-r--. 1 jenkins jenkins 1907 Nov 17 15:30 Dockerfile [2021-11-17T15:32:17.140Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 17 15:30 .dockerignore [2021-11-17T15:32:17.140Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 17 15:30 .git [2021-11-17T15:32:17.140Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 17 15:30 .github [2021-11-17T15:32:17.140Z] -rw-rw-r--. 1 jenkins jenkins 329 Nov 17 15:30 .gitignore [2021-11-17T15:32:17.140Z] -rw-rw-r--. 1 jenkins jenkins 404 Nov 17 15:30 go.mod [2021-11-17T15:32:17.140Z] -rw-rw-r--. 1 jenkins jenkins 49385 Nov 17 15:30 go.sum [2021-11-17T15:32:17.140Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 17 15:30 GOVERNANCE.md [2021-11-17T15:32:17.140Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 17 15:30 internal [2021-11-17T15:32:17.140Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 17 15:30 Jenkinsfile [2021-11-17T15:32:17.140Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 17 15:30 LICENSE [2021-11-17T15:32:17.140Z] -rw-rw-r--. 1 jenkins jenkins 1030 Nov 17 15:30 Makefile [2021-11-17T15:32:17.140Z] drwxrwxr-x. 2 jenkins jenkins 23 Nov 17 15:30 mock [2021-11-17T15:32:17.140Z] -rw-rw-r--. 1 jenkins jenkins 620 Nov 17 15:30 OWNERS.md [2021-11-17T15:32:17.140Z] -rw-rw-r--. 1 jenkins jenkins 2211 Nov 17 15:30 README.md [2021-11-17T15:32:17.140Z] drwxrwxr-x. 4 jenkins jenkins 71 Nov 17 15:30 snap [2021-11-17T15:32:17.140Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 17 15:29 VERSION [2021-11-17T15:32:17.140Z] -rw-rw-r--. 1 jenkins jenkins 227 Nov 17 15:30 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:32:17.437Z] + 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=5b76d0d2a879ff6c01e3c388bf175a5740c8f010 --label arch=amd64 --label version=0.0.0 . [2021-11-17T15:32:17.437Z] Sending build context to Docker daemon 729.1kB [2021-11-17T15:32:17.437Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T15:32:17.437Z] Step 2/23 : FROM ${BASE} AS builder [2021-11-17T15:32:17.437Z] ---> fcf7d40c95e5 [2021-11-17T15:32:17.437Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T15:32:17.437Z] ---> Running in eb090e9cdf88 [2021-11-17T15:32:17.437Z] Removing intermediate container eb090e9cdf88 [2021-11-17T15:32:17.437Z] ---> f495e19f716d [2021-11-17T15:32:17.437Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T15:32:17.437Z] ---> Running in aae7b2de17d9 [2021-11-17T15:32:17.570Z] using credential edgex-jenkins-ssh [2021-11-17T15:32:17.586Z] Cloning the remote Git repository [2021-11-17T15:32:17.698Z] Removing intermediate container aae7b2de17d9 [2021-11-17T15:32:17.698Z] ---> 93eecbd22849 [2021-11-17T15:32:17.698Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T15:32:17.698Z] ---> Running in 55781a4a9270 [2021-11-17T15:32:17.963Z] Removing intermediate container 55781a4a9270 [2021-11-17T15:32:17.963Z] ---> 90b61da4e370 [2021-11-17T15:32:17.963Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T15:32:17.963Z] ---> Running in d67766896ee3 [2021-11-17T15:32:18.223Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T15:32:17.634Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-17T15:32:17.731Z] > git init /w/workspace/device-mqtt-go/21 # timeout=10 [2021-11-17T15:32:17.797Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-17T15:32:17.798Z] > git --version # timeout=10 [2021-11-17T15:32:17.818Z] > git --version # 'git version 2.17.1' [2021-11-17T15:32:17.819Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T15:32:17.919Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T15:32:18.860Z] Avoid second fetch [2021-11-17T15:32:18.861Z] Checking out Revision 5b76d0d2a879ff6c01e3c388bf175a5740c8f010 (main) [2021-11-17T15:32:19.160Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T15:32:19.420Z] OK: 224 MiB in 56 packages [2021-11-17T15:32:18.820Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-11-17T15:32:18.840Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T15:32:18.891Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T15:32:18.906Z] > git checkout -f 5b76d0d2a879ff6c01e3c388bf175a5740c8f010 # timeout=10 [2021-11-17T15:32:19.686Z] Removing intermediate container d67766896ee3 [2021-11-17T15:32:19.686Z] ---> 95ec5048022f [2021-11-17T15:32:19.686Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-11-17T15:32:19.686Z] ---> Running in 35c246f9b380 [2021-11-17T15:32:19.947Z] Removing intermediate container 35c246f9b380 [2021-11-17T15:32:19.947Z] ---> 02a346192b77 [2021-11-17T15:32:19.947Z] Step 8/23 : COPY . . [2021-11-17T15:32:19.947Z] ---> 85cc8f910c0a [2021-11-17T15:32:19.947Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T15:32:19.947Z] ---> Running in b3ef1febf816 [2021-11-17T15:32:20.526Z] Removing intermediate container b3ef1febf816 [2021-11-17T15:32:20.526Z] ---> 716fcec41d5c [2021-11-17T15:32:20.526Z] Step 10/23 : ARG MAKE='make build' [2021-11-17T15:32:20.526Z] ---> Running in d47ddb0e2b7e [2021-11-17T15:32:20.789Z] Removing intermediate container d47ddb0e2b7e [2021-11-17T15:32:20.789Z] ---> 858fc87893fd [2021-11-17T15:32:20.789Z] Step 11/23 : RUN $MAKE [2021-11-17T15:32:20.789Z] ---> Running in bf1f168dc301 [2021-11-17T15:32:21.057Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2021-11-17T15:32:23.110Z] Commit message: "feat: Add support for new Object reading type (#323)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T15:32:24.044Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-17T15:32:24.044Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-17T15:32:24.044Z] Dload Upload Total Spent Left Speed [2021-11-17T15:32:24.044Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 90259 0 --:--:-- --:--:-- --:--:-- 90259 [Pipeline] sh [2021-11-17T15:32:24.446Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-17T15:32:24.792Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2021-11-17T15:32:24.792Z] [2021-11-17T15:32:24.792Z] { [2021-11-17T15:32:24.792Z] "registry-mirrors": [ [2021-11-17T15:32:24.792Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-17T15:32:24.792Z] ], [2021-11-17T15:32:24.792Z] "bip": "10.250.0.254/24", [2021-11-17T15:32:24.792Z] "hosts": [ [2021-11-17T15:32:24.792Z] "tcp://0.0.0.0:5555", [2021-11-17T15:32:24.792Z] "unix:///var/run/docker.sock" [2021-11-17T15:32:24.792Z] ], [2021-11-17T15:32:24.792Z] "mtu": 1458, [2021-11-17T15:32:24.792Z] "selinux-enabled": true, [2021-11-17T15:32:24.792Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-17T15:32:24.792Z] } [Pipeline] sh [2021-11-17T15:32:25.139Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-17T15:32:25.479Z] + sudo service docker restart [2021-11-17T15:32:33.399Z] Removing intermediate container bf1f168dc301 [2021-11-17T15:32:33.399Z] ---> 0f2c80309662 [2021-11-17T15:32:33.399Z] Step 12/23 : FROM alpine:3.14 [2021-11-17T15:32:33.399Z] 3.14: Pulling from library/alpine [2021-11-17T15:32:33.399Z] 97518928ae5f: Pulling fs layer [2021-11-17T15:32:33.399Z] 97518928ae5f: Verifying Checksum [2021-11-17T15:32:33.399Z] 97518928ae5f: Download complete [2021-11-17T15:32:33.660Z] 97518928ae5f: Pull complete [2021-11-17T15:32:33.660Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-17T15:32:33.660Z] Status: Downloaded newer image for alpine:3.14 [2021-11-17T15:32:33.660Z] ---> 0a97eee8041e [2021-11-17T15:32:33.660Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-11-17T15:32:33.660Z] ---> Running in a5b49ba6fec2 [2021-11-17T15:32:33.660Z] Removing intermediate container a5b49ba6fec2 [2021-11-17T15:32:33.660Z] ---> 1db0aa1b3674 [2021-11-17T15:32:33.660Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-17T15:32:33.660Z] ---> Running in b3d20772ac2d [2021-11-17T15:32:33.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T15:32:34.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T15:32:34.183Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-17T15:32:34.183Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-17T15:32:34.183Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-17T15:32:34.183Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-17T15:32:34.183Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-17T15:32:34.183Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-17T15:32:34.183Z] Executing busybox-1.33.1-r6.trigger [2021-11-17T15:32:34.183Z] OK: 8 MiB in 20 packages [2021-11-17T15:32:34.752Z] Removing intermediate container b3d20772ac2d [2021-11-17T15:32:34.752Z] ---> cee77e1c3b7f [2021-11-17T15:32:34.752Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-11-17T15:32:35.012Z] ---> 61a2991d6ab8 [2021-11-17T15:32:35.012Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-11-17T15:32:35.012Z] ---> 4e03847c79d3 [2021-11-17T15:32:35.012Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-11-17T15:32:35.273Z] ---> 70c9135fee02 [2021-11-17T15:32:35.273Z] Step 18/23 : EXPOSE 59982 [2021-11-17T15:32:35.273Z] ---> Running in 844dae49b5ed [2021-11-17T15:32:35.273Z] Removing intermediate container 844dae49b5ed [2021-11-17T15:32:35.273Z] ---> 179fb2be4915 [2021-11-17T15:32:35.273Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-11-17T15:32:35.273Z] ---> Running in bdf91e232fb2 [2021-11-17T15:32:35.273Z] Removing intermediate container bdf91e232fb2 [2021-11-17T15:32:35.273Z] ---> 1ee6f7621ad3 [2021-11-17T15:32:35.273Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-17T15:32:35.532Z] ---> Running in 5dd92d46b05d [2021-11-17T15:32:35.532Z] Removing intermediate container 5dd92d46b05d [2021-11-17T15:32:35.532Z] ---> 6393e4dff6a0 [2021-11-17T15:32:35.532Z] Step 21/23 : LABEL arch=amd64 [2021-11-17T15:32:35.532Z] ---> Running in 22d0110d0dcd [2021-11-17T15:32:35.532Z] Removing intermediate container 22d0110d0dcd [2021-11-17T15:32:35.532Z] ---> 025b6e997e27 [2021-11-17T15:32:35.532Z] Step 22/23 : LABEL git_sha=5b76d0d2a879ff6c01e3c388bf175a5740c8f010 [2021-11-17T15:32:35.532Z] ---> Running in 60b6ac0d7d70 [2021-11-17T15:32:35.796Z] Removing intermediate container 60b6ac0d7d70 [2021-11-17T15:32:35.796Z] ---> 56e041a5e803 [2021-11-17T15:32:35.796Z] Step 23/23 : LABEL version=0.0.0 [2021-11-17T15:32:35.796Z] ---> Running in b73de2444502 [2021-11-17T15:32:35.796Z] Removing intermediate container b73de2444502 [2021-11-17T15:32:35.796Z] ---> 36b4ce9cbb10 [2021-11-17T15:32:35.796Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-17T15:32:35.796Z] Successfully built 36b4ce9cbb10 [2021-11-17T15:32:35.796Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T15:32:35.940Z] provisioning config files... [2021-11-17T15:32:35.949Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/21@tmp/config7191574390344302766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:32:36.250Z] ---> docker-login.sh [2021-11-17T15:32:36.250Z] nexus3.edgexfoundry.org:10001 [2021-11-17T15:32:36.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:32:36.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:32:36.250Z] Configure a credential helper to remove this warning. See [2021-11-17T15:32:36.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:32:36.250Z] [2021-11-17T15:32:36.250Z] Login Succeeded [2021-11-17T15:32:36.250Z] nexus3.edgexfoundry.org:10002 [2021-11-17T15:32:36.250Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:32:36.250Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:32:36.250Z] Configure a credential helper to remove this warning. See [2021-11-17T15:32:36.250Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:32:36.250Z] [2021-11-17T15:32:36.250Z] Login Succeeded [2021-11-17T15:32:36.250Z] nexus3.edgexfoundry.org:10003 [2021-11-17T15:32:36.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:32:36.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:32:36.519Z] Configure a credential helper to remove this warning. See [2021-11-17T15:32:36.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:32:36.519Z] [2021-11-17T15:32:36.519Z] Login Succeeded [2021-11-17T15:32:36.519Z] nexus3.edgexfoundry.org:10004 [2021-11-17T15:32:36.519Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:32:36.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:32:36.519Z] Configure a credential helper to remove this warning. See [2021-11-17T15:32:36.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:32:36.519Z] [2021-11-17T15:32:36.519Z] Login Succeeded [2021-11-17T15:32:36.519Z] docker.io [2021-11-17T15:32:36.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:32:37.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:32:37.039Z] Configure a credential helper to remove this warning. See [2021-11-17T15:32:37.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:32:37.039Z] [2021-11-17T15:32:37.039Z] Login Succeeded [2021-11-17T15:32:37.039Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T15:32:37.047Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-17T15:32:37.077Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T15:32:37.095Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2021-11-17T15:32:37.095Z] 5b76d0d2a879ff6c01e3c388bf175a5740c8f010 [2021-11-17T15:32:37.095Z] latest [2021-11-17T15:32:37.095Z] 0.0.0 [2021-11-17T15:32:37.095Z] 5b76d0d2a879ff6c01e3c388bf175a5740c8f010-0.0.0 [2021-11-17T15:32:37.095Z] main [2021-11-17T15:32:37.095Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:32:37.412Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:5b76d0d2a879ff6c01e3c388bf175a5740c8f010 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:32:37.719Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:5b76d0d2a879ff6c01e3c388bf175a5740c8f010 [2021-11-17T15:32:37.719Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-11-17T15:32:37.719Z] 7079a5d2d7cd: Preparing [2021-11-17T15:32:37.719Z] dbcab5ca404b: Preparing [2021-11-17T15:32:37.719Z] 706daa2039f1: Preparing [2021-11-17T15:32:37.719Z] 58841a558364: Preparing [2021-11-17T15:32:37.719Z] 1a058d5342cc: Preparing [2021-11-17T15:32:37.719Z] 1a058d5342cc: Layer already exists [2021-11-17T15:32:37.987Z] dbcab5ca404b: Pushed [2021-11-17T15:32:37.987Z] 7079a5d2d7cd: Pushed [2021-11-17T15:32:37.987Z] 58841a558364: Pushed [2021-11-17T15:32:38.930Z] 706daa2039f1: Pushed [2021-11-17T15:32:39.193Z] 5b76d0d2a879ff6c01e3c388bf175a5740c8f010: digest: sha256:82ca1eb3f912447fc5ead890013591dea791bb00bf21536bca45a5b4fac963c7 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:32:39.482Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:32:39.785Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-11-17T15:32:39.785Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-11-17T15:32:39.785Z] 7079a5d2d7cd: Preparing [2021-11-17T15:32:39.785Z] dbcab5ca404b: Preparing [2021-11-17T15:32:39.785Z] 706daa2039f1: Preparing [2021-11-17T15:32:39.785Z] 58841a558364: Preparing [2021-11-17T15:32:39.785Z] 1a058d5342cc: Preparing [2021-11-17T15:32:39.785Z] dbcab5ca404b: Layer already exists [2021-11-17T15:32:39.785Z] 1a058d5342cc: Layer already exists [2021-11-17T15:32:39.785Z] 7079a5d2d7cd: Layer already exists [2021-11-17T15:32:39.785Z] 706daa2039f1: Layer already exists [2021-11-17T15:32:39.785Z] 58841a558364: Layer already exists [2021-11-17T15:32:39.785Z] latest: digest: sha256:82ca1eb3f912447fc5ead890013591dea791bb00bf21536bca45a5b4fac963c7 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:32:40.084Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:0.0.0 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:32:40.378Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:0.0.0 [2021-11-17T15:32:40.378Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-11-17T15:32:40.378Z] 7079a5d2d7cd: Preparing [2021-11-17T15:32:40.378Z] dbcab5ca404b: Preparing [2021-11-17T15:32:40.378Z] 706daa2039f1: Preparing [2021-11-17T15:32:40.378Z] 58841a558364: Preparing [2021-11-17T15:32:40.378Z] 1a058d5342cc: Preparing [2021-11-17T15:32:40.378Z] 7079a5d2d7cd: Layer already exists [2021-11-17T15:32:40.378Z] 58841a558364: Layer already exists [2021-11-17T15:32:40.378Z] 1a058d5342cc: Layer already exists [2021-11-17T15:32:40.378Z] 706daa2039f1: Layer already exists [2021-11-17T15:32:40.378Z] dbcab5ca404b: Layer already exists [2021-11-17T15:32:40.378Z] 0.0.0: digest: sha256:82ca1eb3f912447fc5ead890013591dea791bb00bf21536bca45a5b4fac963c7 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:32:40.676Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:5b76d0d2a879ff6c01e3c388bf175a5740c8f010-0.0.0 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:32:40.972Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:5b76d0d2a879ff6c01e3c388bf175a5740c8f010-0.0.0 [2021-11-17T15:32:40.972Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-11-17T15:32:40.972Z] 7079a5d2d7cd: Preparing [2021-11-17T15:32:40.972Z] dbcab5ca404b: Preparing [2021-11-17T15:32:40.972Z] 706daa2039f1: Preparing [2021-11-17T15:32:40.972Z] 58841a558364: Preparing [2021-11-17T15:32:40.972Z] 1a058d5342cc: Preparing [2021-11-17T15:32:40.972Z] 58841a558364: Layer already exists [2021-11-17T15:32:40.972Z] dbcab5ca404b: Layer already exists [2021-11-17T15:32:40.972Z] 7079a5d2d7cd: Layer already exists [2021-11-17T15:32:40.972Z] 1a058d5342cc: Layer already exists [2021-11-17T15:32:40.972Z] 706daa2039f1: Layer already exists [2021-11-17T15:32:40.972Z] 5b76d0d2a879ff6c01e3c388bf175a5740c8f010-0.0.0: digest: sha256:82ca1eb3f912447fc5ead890013591dea791bb00bf21536bca45a5b4fac963c7 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:32:41.287Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:32:41.586Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2021-11-17T15:32:41.586Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-11-17T15:32:41.586Z] 7079a5d2d7cd: Preparing [2021-11-17T15:32:41.586Z] dbcab5ca404b: Preparing [2021-11-17T15:32:41.586Z] 706daa2039f1: Preparing [2021-11-17T15:32:41.586Z] 58841a558364: Preparing [2021-11-17T15:32:41.586Z] 1a058d5342cc: Preparing [2021-11-17T15:32:41.586Z] dbcab5ca404b: Layer already exists [2021-11-17T15:32:41.586Z] 706daa2039f1: Layer already exists [2021-11-17T15:32:41.586Z] 7079a5d2d7cd: Layer already exists [2021-11-17T15:32:41.586Z] 1a058d5342cc: Layer already exists [2021-11-17T15:32:41.586Z] 58841a558364: Layer already exists [2021-11-17T15:32:41.586Z] main: digest: sha256:82ca1eb3f912447fc5ead890013591dea791bb00bf21536bca45a5b4fac963c7 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-17T15:32:41.621Z] ===================================================== [Pipeline] echo [2021-11-17T15:32:41.630Z] taggedImages: [2021-11-17T15:32:41.630Z] - nexus3.edgexfoundry.org:10004/device-mqtt:5b76d0d2a879ff6c01e3c388bf175a5740c8f010 [2021-11-17T15:32:41.630Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-11-17T15:32:41.630Z] - nexus3.edgexfoundry.org:10004/device-mqtt:0.0.0 [2021-11-17T15:32:41.630Z] - nexus3.edgexfoundry.org:10004/device-mqtt:5b76d0d2a879ff6c01e3c388bf175a5740c8f010-0.0.0 [2021-11-17T15:32:41.630Z] - 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-17T15:32:42.205Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T15:32:42.206Z] [2021-11-17T15:32:42.206Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:32:42.518Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T15:32:42.518Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-17T15:32:42.518Z] b4d181a07f80: Pulling fs layer [2021-11-17T15:32:42.518Z] a1111a8f2ec3: Pulling fs layer [2021-11-17T15:32:42.518Z] ed53099fbce6: Pulling fs layer [2021-11-17T15:32:42.518Z] dc539afda2c1: Pulling fs layer [2021-11-17T15:32:42.518Z] 77bc0d833cb6: Pulling fs layer [2021-11-17T15:32:42.518Z] 9065ff56babe: Pulling fs layer [2021-11-17T15:32:42.519Z] d287ab97295c: Pulling fs layer [2021-11-17T15:32:42.519Z] 77bc0d833cb6: Waiting [2021-11-17T15:32:42.519Z] 9065ff56babe: Waiting [2021-11-17T15:32:42.519Z] d287ab97295c: Waiting [2021-11-17T15:32:42.519Z] dc539afda2c1: Waiting [2021-11-17T15:32:42.519Z] a1111a8f2ec3: Verifying Checksum [2021-11-17T15:32:42.519Z] a1111a8f2ec3: Download complete [2021-11-17T15:32:42.519Z] dc539afda2c1: Verifying Checksum [2021-11-17T15:32:42.519Z] dc539afda2c1: Download complete [2021-11-17T15:32:42.519Z] ed53099fbce6: Verifying Checksum [2021-11-17T15:32:42.519Z] ed53099fbce6: Download complete [2021-11-17T15:32:42.783Z] 9065ff56babe: Verifying Checksum [2021-11-17T15:32:42.783Z] 9065ff56babe: Download complete [2021-11-17T15:32:42.783Z] 77bc0d833cb6: Verifying Checksum [2021-11-17T15:32:42.783Z] 77bc0d833cb6: Download complete [2021-11-17T15:32:42.783Z] b4d181a07f80: Verifying Checksum [2021-11-17T15:32:42.783Z] b4d181a07f80: Download complete [2021-11-17T15:32:43.369Z] d287ab97295c: Verifying Checksum [2021-11-17T15:32:43.369Z] d287ab97295c: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T15:32:43.836Z] provisioning config files... [2021-11-17T15:32:43.858Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/21@tmp/config5890957447333938919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:32:44.337Z] b4d181a07f80: Pull complete [2021-11-17T15:32:44.337Z] a1111a8f2ec3: Pull complete [2021-11-17T15:32:44.347Z] ---> docker-login.sh [2021-11-17T15:32:44.347Z] nexus3.edgexfoundry.org:10001 [2021-11-17T15:32:44.914Z] ed53099fbce6: Pull complete [2021-11-17T15:32:44.948Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:32:45.176Z] dc539afda2c1: Pull complete [2021-11-17T15:32:45.176Z] 77bc0d833cb6: Pull complete [2021-11-17T15:32:45.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:32:45.224Z] Configure a credential helper to remove this warning. See [2021-11-17T15:32:45.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:32:45.224Z] [2021-11-17T15:32:45.224Z] Login Succeeded [2021-11-17T15:32:45.224Z] nexus3.edgexfoundry.org:10002 [2021-11-17T15:32:45.435Z] 9065ff56babe: Pull complete [2021-11-17T15:32:45.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:32:45.823Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:32:45.823Z] Configure a credential helper to remove this warning. See [2021-11-17T15:32:45.823Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:32:45.823Z] [2021-11-17T15:32:45.823Z] Login Succeeded [2021-11-17T15:32:45.823Z] nexus3.edgexfoundry.org:10003 [2021-11-17T15:32:46.098Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:32:46.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:32:46.377Z] Configure a credential helper to remove this warning. See [2021-11-17T15:32:46.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:32:46.377Z] [2021-11-17T15:32:46.377Z] Login Succeeded [2021-11-17T15:32:46.377Z] nexus3.edgexfoundry.org:10004 [2021-11-17T15:32:46.654Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:32:46.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:32:46.926Z] Configure a credential helper to remove this warning. See [2021-11-17T15:32:46.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:32:46.926Z] [2021-11-17T15:32:46.926Z] Login Succeeded [2021-11-17T15:32:46.926Z] docker.io [2021-11-17T15:32:47.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:32:47.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:32:47.803Z] Configure a credential helper to remove this warning. See [2021-11-17T15:32:47.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:32:47.803Z] [2021-11-17T15:32:47.803Z] Login Succeeded [2021-11-17T15:32:47.803Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T15:32:47.823Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-17T15:32:48.101Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T15:32:48.111Z] ========================================================= [2021-11-17T15:32:48.112Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-17T15:32:48.112Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:32:48.458Z] + 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-17T15:32:48.742Z] Sending build context to Docker daemon 710.1kB [2021-11-17T15:32:49.021Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T15:32:49.021Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-17T15:32:49.021Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-17T15:32:49.021Z] 552d1f2373af: Pulling fs layer [2021-11-17T15:32:49.021Z] ea3f2d53f512: Pulling fs layer [2021-11-17T15:32:49.021Z] 9e70ebbbe112: Pulling fs layer [2021-11-17T15:32:49.021Z] 7a9cfe048b4a: Pulling fs layer [2021-11-17T15:32:49.021Z] 72dc09318566: Pulling fs layer [2021-11-17T15:32:49.021Z] f4f7b4309257: Pulling fs layer [2021-11-17T15:32:49.021Z] 0ac9a79272e3: Pulling fs layer [2021-11-17T15:32:49.021Z] b78e95d17946: Pulling fs layer [2021-11-17T15:32:49.021Z] f4f7b4309257: Waiting [2021-11-17T15:32:49.021Z] 0ac9a79272e3: Waiting [2021-11-17T15:32:49.021Z] 7a9cfe048b4a: Waiting [2021-11-17T15:32:49.021Z] b78e95d17946: Waiting [2021-11-17T15:32:49.021Z] 72dc09318566: Waiting [2021-11-17T15:32:49.021Z] 9e70ebbbe112: Verifying Checksum [2021-11-17T15:32:49.021Z] 9e70ebbbe112: Download complete [2021-11-17T15:32:49.021Z] ea3f2d53f512: Verifying Checksum [2021-11-17T15:32:49.021Z] ea3f2d53f512: Download complete [2021-11-17T15:32:49.021Z] 72dc09318566: Verifying Checksum [2021-11-17T15:32:49.021Z] 72dc09318566: Download complete [2021-11-17T15:32:49.302Z] f4f7b4309257: Verifying Checksum [2021-11-17T15:32:49.302Z] f4f7b4309257: Download complete [2021-11-17T15:32:49.302Z] 552d1f2373af: Verifying Checksum [2021-11-17T15:32:49.302Z] 552d1f2373af: Download complete [2021-11-17T15:32:49.302Z] 0ac9a79272e3: Verifying Checksum [2021-11-17T15:32:49.302Z] 0ac9a79272e3: Download complete [2021-11-17T15:32:49.907Z] 552d1f2373af: Pull complete [2021-11-17T15:32:50.514Z] ea3f2d53f512: Pull complete [2021-11-17T15:32:50.762Z] d287ab97295c: Pull complete [2021-11-17T15:32:50.763Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-17T15:32:50.763Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T15:32:50.763Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-17T15:32:50.845Z] prd-centos7-docker-4c-2g-997 does not seem to be running inside a container [2021-11-17T15:32:50.886Z] $ 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/21 -v /w/workspace/device-mqtt-go/21:/w/workspace/device-mqtt-go/21:rw,z -v /w/workspace/device-mqtt-go/21@tmp:/w/workspace/device-mqtt-go/21@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-17T15:32:51.116Z] 9e70ebbbe112: Pull complete [2021-11-17T15:32:51.393Z] b78e95d17946: Verifying Checksum [2021-11-17T15:32:51.393Z] b78e95d17946: Download complete [2021-11-17T15:32:51.670Z] 7a9cfe048b4a: Verifying Checksum [2021-11-17T15:32:51.670Z] 7a9cfe048b4a: Download complete [2021-11-17T15:32:53.189Z] $ docker top 1ed8be308d50da992084140fad1e007b08d5c845b7324b4069e9dae2c1f933de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:32:53.581Z] ---> job-cost.sh [2021-11-17T15:32:53.581Z] lf-activate-venv: SKIPPING [2021-11-17T15:32:53.581Z] INFO: No Stack... [2021-11-17T15:32:53.843Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-17T15:32:54.104Z] INFO: Archiving Costs [Pipeline] sh [2021-11-17T15:32:54.409Z] + cut -d, -f6 [2021-11-17T15:32:54.409Z] + cat /w/workspace/device-mqtt-go/21/archives/cost.csv [Pipeline] lock [2021-11-17T15:32:54.436Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-21-stack-cost] [2021-11-17T15:32:54.448Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-21-stack-cost] did not exist. Created. [2021-11-17T15:32:54.448Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-17T15:32:54.754Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-17T15:32:54.780Z] Stashed 1 file(s) [Pipeline] } [2021-11-17T15:32:54.786Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-21-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-17T15:32:54.802Z] $ docker stop --time=1 1ed8be308d50da992084140fad1e007b08d5c845b7324b4069e9dae2c1f933de [2021-11-17T15:32:55.936Z] $ docker rm -f 1ed8be308d50da992084140fad1e007b08d5c845b7324b4069e9dae2c1f933de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-17T15:33:01.828Z] 7a9cfe048b4a: Pull complete [2021-11-17T15:33:02.423Z] 72dc09318566: Pull complete [2021-11-17T15:33:02.699Z] f4f7b4309257: Pull complete [2021-11-17T15:33:02.972Z] 0ac9a79272e3: Pull complete [2021-11-17T15:33:09.713Z] b78e95d17946: Pull complete [2021-11-17T15:33:09.713Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-17T15:33:09.713Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-17T15:33:09.713Z] ---> 8b459fc5aaf0 [2021-11-17T15:33:09.713Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T15:33:09.990Z] ---> Running in 0fb7263ae932 [2021-11-17T15:33:10.586Z] Removing intermediate container 0fb7263ae932 [2021-11-17T15:33:10.586Z] ---> 6408d4647cbe [2021-11-17T15:33:10.586Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T15:33:10.586Z] ---> Running in 74fcdc6ddf1f [2021-11-17T15:33:11.181Z] Removing intermediate container 74fcdc6ddf1f [2021-11-17T15:33:11.181Z] ---> 10f0d1aafbb9 [2021-11-17T15:33:11.181Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T15:33:11.181Z] ---> Running in dfa7c034ed1c [2021-11-17T15:33:13.167Z] Removing intermediate container dfa7c034ed1c [2021-11-17T15:33:13.167Z] ---> 3c30041f9f1a [2021-11-17T15:33:13.167Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T15:33:13.167Z] ---> Running in 14b91cee5dff [2021-11-17T15:33:14.616Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T15:33:15.211Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T15:33:16.184Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-17T15:33:16.184Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-17T15:33:16.184Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-17T15:33:16.184Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-17T15:33:16.457Z] Executing busybox-1.33.1-r3.trigger [2021-11-17T15:33:16.457Z] OK: 223 MiB in 56 packages [2021-11-17T15:33:17.436Z] Removing intermediate container 14b91cee5dff [2021-11-17T15:33:17.436Z] ---> d5e3102e36f2 [2021-11-17T15:33:17.436Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-11-17T15:33:17.709Z] ---> Running in 39342ea1369b [2021-11-17T15:33:17.982Z] Removing intermediate container 39342ea1369b [2021-11-17T15:33:17.982Z] ---> 1b23cd146326 [2021-11-17T15:33:17.982Z] Step 8/11 : COPY . . [2021-11-17T15:33:18.986Z] ---> 1ea27a92d8a3 [2021-11-17T15:33:18.986Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T15:33:18.986Z] ---> Running in 0e722e554195 [2021-11-17T15:34:40.814Z] Removing intermediate container 0e722e554195 [2021-11-17T15:34:40.814Z] ---> 2571a85db90d [2021-11-17T15:34:40.814Z] Step 10/11 : ARG MAKE='make build' [2021-11-17T15:34:40.814Z] ---> Running in d826e87ebe85 [2021-11-17T15:34:40.814Z] Removing intermediate container d826e87ebe85 [2021-11-17T15:34:40.814Z] ---> 608526030f80 [2021-11-17T15:34:40.814Z] Step 11/11 : RUN $MAKE [2021-11-17T15:34:40.814Z] ---> Running in f9413e5126af [2021-11-17T15:34:40.814Z] noop [2021-11-17T15:34:40.814Z] Removing intermediate container f9413e5126af [2021-11-17T15:34:40.814Z] ---> ecab77f855b1 [2021-11-17T15:34:40.814Z] Successfully built ecab77f855b1 [2021-11-17T15:34:40.814Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:34:41.174Z] + docker inspect -f . ci-base-image-arm64 [2021-11-17T15:34:41.174Z] . [Pipeline] withDockerContainer [2021-11-17T15:34:41.450Z] prd-ubuntu18.04-docker-arm64-4c-16g-998 does not seem to be running inside a container [2021-11-17T15:34:41.536Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/21 -v /w/workspace/device-mqtt-go/21:/w/workspace/device-mqtt-go/21:rw,z -v /w/workspace/device-mqtt-go/21@tmp:/w/workspace/device-mqtt-go/21@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-17T15:34:43.121Z] $ docker top 98e9417e6c081135e19634d657e37ece588acbd27ef792c5f31d8278d03f2e39 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T15:34:44.087Z] + go version [2021-11-17T15:34:44.087Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-17T15:34:44.111Z] $ docker stop --time=1 98e9417e6c081135e19634d657e37ece588acbd27ef792c5f31d8278d03f2e39 [2021-11-17T15:34:45.838Z] $ docker rm -f 98e9417e6c081135e19634d657e37ece588acbd27ef792c5f31d8278d03f2e39 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:34:46.530Z] + docker inspect -f . ci-base-image-arm64 [2021-11-17T15:34:46.530Z] . [Pipeline] withDockerContainer [2021-11-17T15:34:46.787Z] prd-ubuntu18.04-docker-arm64-4c-16g-998 does not seem to be running inside a container [2021-11-17T15:34:46.871Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/21 -v /w/workspace/device-mqtt-go/21:/w/workspace/device-mqtt-go/21:rw,z -v /w/workspace/device-mqtt-go/21@tmp:/w/workspace/device-mqtt-go/21@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-17T15:34:48.442Z] $ docker top f76934f97c46b2cca77486a64d2b8369bb5cd542284c940f521a4ba3e068f21d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-17T15:34:49.421Z] + make test [2021-11-17T15:34:49.421Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-17T15:34:50.876Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-11-17T15:35:47.453Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-11-17T15:35:47.453Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.059s coverage: 22.5% of statements [2021-11-17T15:35:47.453Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-11-17T15:35:48.055Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-17T15:36:20.453Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-17T15:36:20.453Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-17T15:36:20.453Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-17T15:36:20.476Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-17T15:36:20.486Z] $ docker stop --time=1 f76934f97c46b2cca77486a64d2b8369bb5cd542284c940f521a4ba3e068f21d [2021-11-17T15:36:22.379Z] $ docker rm -f f76934f97c46b2cca77486a64d2b8369bb5cd542284c940f521a4ba3e068f21d [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T15:36:23.315Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-17T15:36:23.344Z] Warning: overwriting stash ‘coverage-report’ [2021-11-17T15:36:23.935Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T15:36:24.416Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-17T15:36:24.767Z] + ls -al . [2021-11-17T15:36:24.767Z] total 180 [2021-11-17T15:36:24.767Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 17 15:36 . [2021-11-17T15:36:24.767Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 17 15:32 .. [2021-11-17T15:36:24.767Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 17 15:32 .dockerignore [2021-11-17T15:36:24.767Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 17 15:32 .git [2021-11-17T15:36:24.767Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 15:32 .github [2021-11-17T15:36:24.767Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 17 15:32 .gitignore [2021-11-17T15:36:24.767Z] -rw-rw-r-- 1 jenkins jenkins 7287 Nov 17 15:32 Attribution.txt [2021-11-17T15:36:24.767Z] -rw-rw-r-- 1 jenkins jenkins 7447 Nov 17 15:32 CHANGELOG.md [2021-11-17T15:36:24.767Z] -rw-rw-r-- 1 jenkins jenkins 1907 Nov 17 15:32 Dockerfile [2021-11-17T15:36:24.767Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 17 15:32 GOVERNANCE.md [2021-11-17T15:36:24.767Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 17 15:32 Jenkinsfile [2021-11-17T15:36:24.767Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 17 15:32 LICENSE [2021-11-17T15:36:24.767Z] -rw-rw-r-- 1 jenkins jenkins 1030 Nov 17 15:32 Makefile [2021-11-17T15:36:24.767Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 17 15:32 OWNERS.md [2021-11-17T15:36:24.767Z] -rw-rw-r-- 1 jenkins jenkins 2211 Nov 17 15:32 README.md [2021-11-17T15:36:24.767Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 17 15:29 VERSION [2021-11-17T15:36:24.767Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 15:32 bin [2021-11-17T15:36:24.767Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 15:32 cmd [2021-11-17T15:36:24.767Z] -rw-r--r-- 1 jenkins jenkins 17452 Nov 17 15:35 coverage.out [2021-11-17T15:36:24.767Z] -rw-rw-r-- 1 jenkins jenkins 404 Nov 17 15:32 go.mod [2021-11-17T15:36:24.767Z] -rw-rw-r-- 1 jenkins jenkins 49385 Nov 17 15:32 go.sum [2021-11-17T15:36:24.767Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 15:32 internal [2021-11-17T15:36:24.767Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 15:32 mock [2021-11-17T15:36:24.767Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 17 15:32 snap [2021-11-17T15:36:24.767Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 17 15:32 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:36:25.115Z] + 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=5b76d0d2a879ff6c01e3c388bf175a5740c8f010 --label arch=arm64 --label version=0.0.0 . [2021-11-17T15:36:25.391Z] Sending build context to Docker daemon 728.6kB [2021-11-17T15:36:25.666Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T15:36:25.666Z] Step 2/23 : FROM ${BASE} AS builder [2021-11-17T15:36:25.666Z] ---> ecab77f855b1 [2021-11-17T15:36:25.666Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T15:36:25.666Z] ---> Running in 83f01ca22fd5 [2021-11-17T15:36:26.266Z] Removing intermediate container 83f01ca22fd5 [2021-11-17T15:36:26.266Z] ---> 660d5de0edeb [2021-11-17T15:36:26.266Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T15:36:26.266Z] ---> Running in a016359e82f1 [2021-11-17T15:36:26.541Z] Removing intermediate container a016359e82f1 [2021-11-17T15:36:26.541Z] ---> 45ff80e32636 [2021-11-17T15:36:26.541Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T15:36:26.814Z] ---> Running in 6443b65cdc46 [2021-11-17T15:36:28.803Z] Removing intermediate container 6443b65cdc46 [2021-11-17T15:36:28.804Z] ---> a96cddaa7829 [2021-11-17T15:36:28.804Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T15:36:29.081Z] ---> Running in 64e6ff6821b3 [2021-11-17T15:36:30.065Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T15:36:31.047Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T15:36:32.027Z] OK: 223 MiB in 56 packages [2021-11-17T15:36:33.012Z] Removing intermediate container 64e6ff6821b3 [2021-11-17T15:36:33.012Z] ---> f0843a1d78b4 [2021-11-17T15:36:33.012Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-11-17T15:36:33.012Z] ---> Running in 96bbf1d4359c [2021-11-17T15:36:33.604Z] Removing intermediate container 96bbf1d4359c [2021-11-17T15:36:33.604Z] ---> 4e129e954e8c [2021-11-17T15:36:33.604Z] Step 8/23 : COPY . . [2021-11-17T15:36:34.590Z] ---> a181776a5068 [2021-11-17T15:36:34.590Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T15:36:34.590Z] ---> Running in 9aded3e9f10d [2021-11-17T15:36:37.210Z] Removing intermediate container 9aded3e9f10d [2021-11-17T15:36:37.210Z] ---> fe3871e6ecdc [2021-11-17T15:36:37.210Z] Step 10/23 : ARG MAKE='make build' [2021-11-17T15:36:37.210Z] ---> Running in 76a4834d30ef [2021-11-17T15:36:37.210Z] Removing intermediate container 76a4834d30ef [2021-11-17T15:36:37.210Z] ---> 691827f91e02 [2021-11-17T15:36:37.210Z] Step 11/23 : RUN $MAKE [2021-11-17T15:36:37.210Z] ---> Running in 8e13e32b8e57 [2021-11-17T15:36:38.722Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2021-11-17T15:37:25.805Z] Removing intermediate container 8e13e32b8e57 [2021-11-17T15:37:25.805Z] ---> d621340dca00 [2021-11-17T15:37:25.805Z] Step 12/23 : FROM alpine:3.14 [2021-11-17T15:37:25.805Z] 3.14: Pulling from library/alpine [2021-11-17T15:37:25.805Z] be307f383ecc: Pulling fs layer [2021-11-17T15:37:25.805Z] be307f383ecc: Verifying Checksum [2021-11-17T15:37:25.805Z] be307f383ecc: Download complete [2021-11-17T15:37:25.805Z] be307f383ecc: Pull complete [2021-11-17T15:37:25.805Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-17T15:37:25.805Z] Status: Downloaded newer image for alpine:3.14 [2021-11-17T15:37:25.805Z] ---> 5b8b7b635229 [2021-11-17T15:37:25.805Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-11-17T15:37:25.805Z] ---> Running in 562b3816da50 [2021-11-17T15:37:25.805Z] Removing intermediate container 562b3816da50 [2021-11-17T15:37:25.805Z] ---> 291495266733 [2021-11-17T15:37:25.805Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-17T15:37:25.805Z] ---> Running in 122a13998ed7 [2021-11-17T15:37:25.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T15:37:25.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T15:37:25.805Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-17T15:37:25.805Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-17T15:37:25.805Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-17T15:37:25.805Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-17T15:37:25.805Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-17T15:37:25.805Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-17T15:37:25.805Z] Executing busybox-1.33.1-r6.trigger [2021-11-17T15:37:25.805Z] OK: 8 MiB in 20 packages [2021-11-17T15:37:25.805Z] Removing intermediate container 122a13998ed7 [2021-11-17T15:37:25.805Z] ---> 76fa63c15093 [2021-11-17T15:37:25.805Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-11-17T15:37:25.805Z] ---> caaa54c4259d [2021-11-17T15:37:25.805Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-11-17T15:37:26.405Z] ---> f2603f33dd2f [2021-11-17T15:37:26.405Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-11-17T15:37:27.391Z] ---> f70e7d0e0792 [2021-11-17T15:37:27.391Z] Step 18/23 : EXPOSE 59982 [2021-11-17T15:37:27.391Z] ---> Running in cdd55ac57de1 [2021-11-17T15:37:27.990Z] Removing intermediate container cdd55ac57de1 [2021-11-17T15:37:27.990Z] ---> fba88a63a542 [2021-11-17T15:37:27.990Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-11-17T15:37:27.990Z] ---> Running in 7d0d89d118d8 [2021-11-17T15:37:28.588Z] Removing intermediate container 7d0d89d118d8 [2021-11-17T15:37:28.588Z] ---> 235623f174fb [2021-11-17T15:37:28.588Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-17T15:37:28.588Z] ---> Running in debd372b477e [2021-11-17T15:37:28.862Z] Removing intermediate container debd372b477e [2021-11-17T15:37:28.862Z] ---> 0d940901fab6 [2021-11-17T15:37:28.862Z] Step 21/23 : LABEL arch=arm64 [2021-11-17T15:37:29.137Z] ---> Running in 8f35b7282df3 [2021-11-17T15:37:29.415Z] Removing intermediate container 8f35b7282df3 [2021-11-17T15:37:29.415Z] ---> b93db4126470 [2021-11-17T15:37:29.415Z] Step 22/23 : LABEL git_sha=5b76d0d2a879ff6c01e3c388bf175a5740c8f010 [2021-11-17T15:37:29.689Z] ---> Running in bf3703460e0e [2021-11-17T15:37:29.963Z] Removing intermediate container bf3703460e0e [2021-11-17T15:37:29.963Z] ---> ebc0be883f6c [2021-11-17T15:37:29.963Z] Step 23/23 : LABEL version=0.0.0 [2021-11-17T15:37:30.236Z] ---> Running in b8457e539063 [2021-11-17T15:37:30.509Z] Removing intermediate container b8457e539063 [2021-11-17T15:37:30.509Z] ---> 1a6f62a28f7f [2021-11-17T15:37:30.509Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-17T15:37:30.509Z] Successfully built 1a6f62a28f7f [2021-11-17T15:37:30.509Z] 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-17T15:37:30.814Z] provisioning config files... [2021-11-17T15:37:30.836Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/21@tmp/config3762394682560858065tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:37:31.188Z] ---> docker-login.sh [2021-11-17T15:37:31.188Z] nexus3.edgexfoundry.org:10001 [2021-11-17T15:37:31.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:37:31.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:37:31.734Z] Configure a credential helper to remove this warning. See [2021-11-17T15:37:31.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:37:31.734Z] [2021-11-17T15:37:31.734Z] Login Succeeded [2021-11-17T15:37:31.734Z] nexus3.edgexfoundry.org:10002 [2021-11-17T15:37:32.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:37:32.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:37:32.293Z] Configure a credential helper to remove this warning. See [2021-11-17T15:37:32.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:37:32.293Z] [2021-11-17T15:37:32.293Z] Login Succeeded [2021-11-17T15:37:32.293Z] nexus3.edgexfoundry.org:10003 [2021-11-17T15:37:32.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:37:32.892Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:37:32.892Z] Configure a credential helper to remove this warning. See [2021-11-17T15:37:32.892Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:37:32.892Z] [2021-11-17T15:37:32.892Z] Login Succeeded [2021-11-17T15:37:32.892Z] nexus3.edgexfoundry.org:10004 [2021-11-17T15:37:33.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:37:33.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:37:33.490Z] Configure a credential helper to remove this warning. See [2021-11-17T15:37:33.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:37:33.490Z] [2021-11-17T15:37:33.490Z] Login Succeeded [2021-11-17T15:37:33.490Z] docker.io [2021-11-17T15:37:34.083Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:37:34.680Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:37:34.680Z] Configure a credential helper to remove this warning. See [2021-11-17T15:37:34.680Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:37:34.680Z] [2021-11-17T15:37:34.680Z] Login Succeeded [2021-11-17T15:37:34.680Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T15:37:34.698Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-17T15:37:34.725Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T15:37:34.743Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2021-11-17T15:37:34.743Z] 5b76d0d2a879ff6c01e3c388bf175a5740c8f010 [2021-11-17T15:37:34.743Z] latest [2021-11-17T15:37:34.743Z] 0.0.0 [2021-11-17T15:37:34.743Z] 5b76d0d2a879ff6c01e3c388bf175a5740c8f010-0.0.0 [2021-11-17T15:37:34.743Z] main [2021-11-17T15:37:34.743Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:37:35.096Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5b76d0d2a879ff6c01e3c388bf175a5740c8f010 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:37:35.439Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5b76d0d2a879ff6c01e3c388bf175a5740c8f010 [2021-11-17T15:37:35.440Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-11-17T15:37:35.440Z] 0452198fc65b: Preparing [2021-11-17T15:37:35.440Z] 92345ee9907d: Preparing [2021-11-17T15:37:35.440Z] 7a632fe25d93: Preparing [2021-11-17T15:37:35.440Z] 4fbd9c478db6: Preparing [2021-11-17T15:37:35.440Z] 62170e181a92: Preparing [2021-11-17T15:37:35.716Z] 62170e181a92: Layer already exists [2021-11-17T15:37:35.716Z] 92345ee9907d: Pushed [2021-11-17T15:37:35.716Z] 0452198fc65b: Pushed [2021-11-17T15:37:36.312Z] 4fbd9c478db6: Pushed [2021-11-17T15:37:38.925Z] 7a632fe25d93: Pushed [2021-11-17T15:37:38.925Z] 5b76d0d2a879ff6c01e3c388bf175a5740c8f010: digest: sha256:b7abfb1cbbdbdaf0227b75320db3f169cb1a6f6489c509f660076d15bb598fd8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:37:39.270Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:37:39.606Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-11-17T15:37:39.606Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-11-17T15:37:39.606Z] 0452198fc65b: Preparing [2021-11-17T15:37:39.606Z] 92345ee9907d: Preparing [2021-11-17T15:37:39.606Z] 7a632fe25d93: Preparing [2021-11-17T15:37:39.606Z] 4fbd9c478db6: Preparing [2021-11-17T15:37:39.606Z] 62170e181a92: Preparing [2021-11-17T15:37:39.878Z] 4fbd9c478db6: Layer already exists [2021-11-17T15:37:39.878Z] 62170e181a92: Layer already exists [2021-11-17T15:37:39.878Z] 7a632fe25d93: Layer already exists [2021-11-17T15:37:39.878Z] 92345ee9907d: Layer already exists [2021-11-17T15:37:39.878Z] 0452198fc65b: Layer already exists [2021-11-17T15:37:39.878Z] latest: digest: sha256:b7abfb1cbbdbdaf0227b75320db3f169cb1a6f6489c509f660076d15bb598fd8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:37:40.219Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:0.0.0 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:37:40.556Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:0.0.0 [2021-11-17T15:37:40.556Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-11-17T15:37:40.556Z] 0452198fc65b: Preparing [2021-11-17T15:37:40.556Z] 92345ee9907d: Preparing [2021-11-17T15:37:40.556Z] 7a632fe25d93: Preparing [2021-11-17T15:37:40.556Z] 4fbd9c478db6: Preparing [2021-11-17T15:37:40.556Z] 62170e181a92: Preparing [2021-11-17T15:37:40.556Z] 0452198fc65b: Layer already exists [2021-11-17T15:37:40.556Z] 62170e181a92: Layer already exists [2021-11-17T15:37:40.556Z] 92345ee9907d: Layer already exists [2021-11-17T15:37:40.556Z] 7a632fe25d93: Layer already exists [2021-11-17T15:37:40.556Z] 4fbd9c478db6: Layer already exists [2021-11-17T15:37:40.828Z] 0.0.0: digest: sha256:b7abfb1cbbdbdaf0227b75320db3f169cb1a6f6489c509f660076d15bb598fd8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:37:41.171Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5b76d0d2a879ff6c01e3c388bf175a5740c8f010-0.0.0 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:37:41.511Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5b76d0d2a879ff6c01e3c388bf175a5740c8f010-0.0.0 [2021-11-17T15:37:41.511Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-11-17T15:37:41.511Z] 0452198fc65b: Preparing [2021-11-17T15:37:41.511Z] 92345ee9907d: Preparing [2021-11-17T15:37:41.511Z] 7a632fe25d93: Preparing [2021-11-17T15:37:41.511Z] 4fbd9c478db6: Preparing [2021-11-17T15:37:41.511Z] 62170e181a92: Preparing [2021-11-17T15:37:41.511Z] 4fbd9c478db6: Layer already exists [2021-11-17T15:37:41.511Z] 92345ee9907d: Layer already exists [2021-11-17T15:37:41.511Z] 0452198fc65b: Layer already exists [2021-11-17T15:37:41.511Z] 7a632fe25d93: Layer already exists [2021-11-17T15:37:41.511Z] 62170e181a92: Layer already exists [2021-11-17T15:37:41.782Z] 5b76d0d2a879ff6c01e3c388bf175a5740c8f010-0.0.0: digest: sha256:b7abfb1cbbdbdaf0227b75320db3f169cb1a6f6489c509f660076d15bb598fd8 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:37:42.122Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:37:42.459Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2021-11-17T15:37:42.459Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-11-17T15:37:42.459Z] 0452198fc65b: Preparing [2021-11-17T15:37:42.459Z] 92345ee9907d: Preparing [2021-11-17T15:37:42.459Z] 7a632fe25d93: Preparing [2021-11-17T15:37:42.459Z] 4fbd9c478db6: Preparing [2021-11-17T15:37:42.459Z] 62170e181a92: Preparing [2021-11-17T15:37:42.459Z] 62170e181a92: Layer already exists [2021-11-17T15:37:42.459Z] 92345ee9907d: Layer already exists [2021-11-17T15:37:42.459Z] 0452198fc65b: Layer already exists [2021-11-17T15:37:42.459Z] 7a632fe25d93: Layer already exists [2021-11-17T15:37:42.459Z] 4fbd9c478db6: Layer already exists [2021-11-17T15:37:42.731Z] main: digest: sha256:b7abfb1cbbdbdaf0227b75320db3f169cb1a6f6489c509f660076d15bb598fd8 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-17T15:37:42.776Z] ===================================================== [Pipeline] echo [2021-11-17T15:37:42.786Z] taggedImages: [2021-11-17T15:37:42.786Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5b76d0d2a879ff6c01e3c388bf175a5740c8f010 [2021-11-17T15:37:42.786Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-11-17T15:37:42.786Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:0.0.0 [2021-11-17T15:37:42.786Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5b76d0d2a879ff6c01e3c388bf175a5740c8f010-0.0.0 [2021-11-17T15:37:42.786Z] - 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-17T15:37:43.236Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T15:37:43.510Z] [2021-11-17T15:37:43.510Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:37:43.853Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T15:37:44.126Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-17T15:37:44.126Z] 448f6bf000e3: Pulling fs layer [2021-11-17T15:37:44.126Z] f757da607395: Pulling fs layer [2021-11-17T15:37:44.126Z] 05883995daec: Pulling fs layer [2021-11-17T15:37:44.126Z] 8603b9c90790: Pulling fs layer [2021-11-17T15:37:44.126Z] 1560dd03e051: Pulling fs layer [2021-11-17T15:37:44.126Z] 27f5ce0e4adf: Pulling fs layer [2021-11-17T15:37:44.126Z] c2d8d7efcc4b: Pulling fs layer [2021-11-17T15:37:44.126Z] 1560dd03e051: Waiting [2021-11-17T15:37:44.126Z] 27f5ce0e4adf: Waiting [2021-11-17T15:37:44.126Z] c2d8d7efcc4b: Waiting [2021-11-17T15:37:44.126Z] 8603b9c90790: Waiting [2021-11-17T15:37:44.126Z] f757da607395: Verifying Checksum [2021-11-17T15:37:44.126Z] f757da607395: Download complete [2021-11-17T15:37:44.126Z] 8603b9c90790: Verifying Checksum [2021-11-17T15:37:44.126Z] 8603b9c90790: Download complete [2021-11-17T15:37:44.399Z] 1560dd03e051: Verifying Checksum [2021-11-17T15:37:44.400Z] 1560dd03e051: Download complete [2021-11-17T15:37:44.400Z] 05883995daec: Verifying Checksum [2021-11-17T15:37:44.400Z] 05883995daec: Download complete [2021-11-17T15:37:44.400Z] 27f5ce0e4adf: Verifying Checksum [2021-11-17T15:37:44.400Z] 27f5ce0e4adf: Download complete [2021-11-17T15:37:44.674Z] 448f6bf000e3: Verifying Checksum [2021-11-17T15:37:44.674Z] 448f6bf000e3: Download complete [2021-11-17T15:37:47.302Z] c2d8d7efcc4b: Verifying Checksum [2021-11-17T15:37:47.302Z] c2d8d7efcc4b: Download complete [2021-11-17T15:37:48.281Z] 448f6bf000e3: Pull complete [2021-11-17T15:37:48.875Z] f757da607395: Pull complete [2021-11-17T15:37:50.301Z] 05883995daec: Pull complete [2021-11-17T15:37:50.575Z] 8603b9c90790: Pull complete [2021-11-17T15:37:51.549Z] 1560dd03e051: Pull complete [2021-11-17T15:37:51.824Z] 27f5ce0e4adf: Pull complete [2021-11-17T15:38:05.208Z] c2d8d7efcc4b: Pull complete [2021-11-17T15:38:05.208Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-17T15:38:05.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T15:38:05.208Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-17T15:38:05.466Z] prd-ubuntu18.04-docker-arm64-4c-16g-998 does not seem to be running inside a container [2021-11-17T15:38:05.547Z] $ 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/21 -v /w/workspace/device-mqtt-go/21:/w/workspace/device-mqtt-go/21:rw,z -v /w/workspace/device-mqtt-go/21@tmp:/w/workspace/device-mqtt-go/21@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-17T15:38:08.694Z] $ docker top 6c64b7b7f36c2ce1e7b21d79df8729f150fd833d96ce069da1490b446287ca89 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:38:09.758Z] ---> job-cost.sh [2021-11-17T15:38:09.758Z] lf-activate-venv: SKIPPING [2021-11-17T15:38:09.758Z] INFO: No Stack... [2021-11-17T15:38:10.031Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-17T15:38:10.625Z] INFO: Archiving Costs [Pipeline] sh [2021-11-17T15:38:11.283Z] + cat /w/workspace/device-mqtt-go/21/archives/cost.csv [2021-11-17T15:38:11.283Z] + cut -d, -f6 [Pipeline] lock [2021-11-17T15:38:11.352Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-21-stack-cost] [2021-11-17T15:38:11.360Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-21-stack-cost] did not exist. Created. [2021-11-17T15:38:11.360Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-21-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-17T15:38:12.032Z] /w/workspace/device-mqtt-go/21@tmp/durable-99300d48/script.sh: 1: /w/workspace/device-mqtt-go/21@tmp/durable-99300d48/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-17T15:38:12.696Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-17T15:38:12.722Z] Warning: overwriting stash ‘stack-cost’ [2021-11-17T15:38:12.773Z] Stashed 1 file(s) [Pipeline] } [2021-11-17T15:38:12.786Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-21-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-17T15:38:12.802Z] $ docker stop --time=1 6c64b7b7f36c2ce1e7b21d79df8729f150fd833d96ce069da1490b446287ca89 [2021-11-17T15:38:14.394Z] $ docker rm -f 6c64b7b7f36c2ce1e7b21d79df8729f150fd833d96ce069da1490b446287ca89 [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-17T15:38:15.075Z] provisioning config files... [2021-11-17T15:38:15.084Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7306679254798650750tmp [Pipeline] { [Pipeline] sh [2021-11-17T15:38:15.395Z] + set +x [2021-11-17T15:38:15.395Z] + curl -s https://codecov.io/bash [2021-11-17T15:38:15.395Z] + bash -s -- [2021-11-17T15:38:15.395Z] [2021-11-17T15:38:15.395Z] _____ _ [2021-11-17T15:38:15.395Z] / ____| | | [2021-11-17T15:38:15.395Z] | | ___ __| | ___ ___ _____ __ [2021-11-17T15:38:15.395Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-17T15:38:15.395Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-17T15:38:15.395Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-17T15:38:15.395Z] Bash-1.0.6 [2021-11-17T15:38:15.395Z] [2021-11-17T15:38:15.395Z] [2021-11-17T15:38:15.395Z] ==> git version 2.24.4 found [2021-11-17T15:38:15.395Z] ==> 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-17T15:38:15.395Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-17T15:38:15.395Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-17T15:38:15.395Z] ==> Jenkins CI detected. [2021-11-17T15:38:15.395Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-17T15:38:15.395Z] project root: . [2021-11-17T15:38:15.395Z] --> token set from env [2021-11-17T15:38:15.395Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-17T15:38:15.395Z] ==> Running gcov in . (disable via -X gcov) [2021-11-17T15:38:15.656Z] ==> Python coveragepy not found [2021-11-17T15:38:15.656Z] ==> Searching for coverage reports in: [2021-11-17T15:38:15.656Z] + . [2021-11-17T15:38:15.656Z] -> Found 1 reports [2021-11-17T15:38:15.656Z] ==> Detecting git/mercurial file structure [2021-11-17T15:38:15.656Z] ==> Reading reports [2021-11-17T15:38:15.656Z] + ./coverage.out bytes=17452 [2021-11-17T15:38:15.656Z] ==> Appending adjustments [2021-11-17T15:38:15.656Z] https://docs.codecov.io/docs/fixing-reports [2021-11-17T15:38:15.656Z] + Found adjustments [2021-11-17T15:38:15.656Z] ==> Gzipping contents [2021-11-17T15:38:15.656Z] 4.0K /tmp/codecov.WS5VHX.gz [2021-11-17T15:38:15.656Z] ==> Uploading reports [2021-11-17T15:38:15.657Z] url: https://codecov.io [2021-11-17T15:38:15.657Z] query: branch=main&commit=5b76d0d2a879ff6c01e3c388bf175a5740c8f010&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-17T15:38:15.657Z] -> Pinging Codecov [2021-11-17T15:38:15.657Z] 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=5b76d0d2a879ff6c01e3c388bf175a5740c8f010&build=21&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F21%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-17T15:38:16.229Z] -> Uploading to [2021-11-17T15:38:16.229Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-17/7D719EC7BBE17E464838252E33014C33/5b76d0d2a879ff6c01e3c388bf175a5740c8f010/905da6cf-ea17-4546-8b97-fe9ce3d8b3fc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211117T153816Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3021744a8fef14235b4a8e1e62011952d5ad4694bf547d00d0a401a75a5ffee1 [2021-11-17T15:38:16.229Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-17T15:38:16.229Z] Dload Upload Total Spent Left Speed [2021-11-17T15:38:16.800Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3218 0 0 100 3218 0 8833 --:--:-- --:--:-- --:--:-- 8816 100 3218 0 0 100 3218 0 8830 --:--:-- --:--:-- --:--:-- 8816 [2021-11-17T15:38:16.800Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/5b76d0d2a879ff6c01e3c388bf175a5740c8f010 [Pipeline] } [2021-11-17T15:38:16.808Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-17T15:38:17.031Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-17T15:38:17.043Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:38:17.355Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-17T15:38:17.355Z] [2021-11-17T15:38:17.355Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:38:17.681Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-17T15:38:17.681Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-17T15:38:17.681Z] 188c0c94c7c5: Pulling fs layer [2021-11-17T15:38:17.681Z] 0ef7d3d256c8: Pulling fs layer [2021-11-17T15:38:17.681Z] de9db76c5a1d: Pulling fs layer [2021-11-17T15:38:17.681Z] 0eba1c9be4d2: Pulling fs layer [2021-11-17T15:38:17.681Z] 0d57e429df01: Pulling fs layer [2021-11-17T15:38:17.681Z] 4e4be7b47b0d: Pulling fs layer [2021-11-17T15:38:17.681Z] e1f770b5df2f: Pulling fs layer [2021-11-17T15:38:17.681Z] 85a0685a4137: Pulling fs layer [2021-11-17T15:38:17.681Z] 0eba1c9be4d2: Waiting [2021-11-17T15:38:17.681Z] 0d57e429df01: Waiting [2021-11-17T15:38:17.681Z] 4e4be7b47b0d: Waiting [2021-11-17T15:38:17.681Z] e1f770b5df2f: Waiting [2021-11-17T15:38:17.681Z] 85a0685a4137: Waiting [2021-11-17T15:38:17.681Z] de9db76c5a1d: Verifying Checksum [2021-11-17T15:38:17.681Z] de9db76c5a1d: Download complete [2021-11-17T15:38:17.681Z] 0ef7d3d256c8: Download complete [2021-11-17T15:38:17.681Z] 0d57e429df01: Verifying Checksum [2021-11-17T15:38:17.681Z] 0d57e429df01: Download complete [2021-11-17T15:38:17.681Z] 4e4be7b47b0d: Verifying Checksum [2021-11-17T15:38:17.681Z] 4e4be7b47b0d: Download complete [2021-11-17T15:38:17.681Z] 188c0c94c7c5: Verifying Checksum [2021-11-17T15:38:17.681Z] 188c0c94c7c5: Download complete [2021-11-17T15:38:17.960Z] e1f770b5df2f: Verifying Checksum [2021-11-17T15:38:17.960Z] e1f770b5df2f: Download complete [2021-11-17T15:38:18.230Z] 0eba1c9be4d2: Verifying Checksum [2021-11-17T15:38:18.230Z] 0eba1c9be4d2: Download complete [2021-11-17T15:38:18.230Z] 188c0c94c7c5: Pull complete [2021-11-17T15:38:18.491Z] 0ef7d3d256c8: Pull complete [2021-11-17T15:38:18.491Z] 85a0685a4137: Verifying Checksum [2021-11-17T15:38:18.491Z] 85a0685a4137: Download complete [2021-11-17T15:38:18.491Z] de9db76c5a1d: Pull complete [2021-11-17T15:38:22.767Z] 0eba1c9be4d2: Pull complete [2021-11-17T15:38:22.767Z] 0d57e429df01: Pull complete [2021-11-17T15:38:22.767Z] 4e4be7b47b0d: Pull complete [2021-11-17T15:38:23.034Z] e1f770b5df2f: Pull complete [2021-11-17T15:38:27.252Z] 85a0685a4137: Pull complete [2021-11-17T15:38:27.252Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-17T15:38:27.252Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-17T15:38:27.252Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-17T15:38:27.321Z] prd-centos7-docker-4c-2g-995 does not seem to be running inside a container [2021-11-17T15:38:27.358Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-11-17T15:38:29.511Z] $ docker top 832c6304b2312426ffd14ec087c1478aee0405c687519436e9967d46da1fd6de -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-17T15:38:29.575Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-17T15:38:29.858Z] + set -o pipefail [2021-11-17T15:38:29.858Z] + snyk monitor '--org=edgex-jenkins' [2021-11-17T15:38:35.161Z] [2021-11-17T15:38:35.161Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2021-11-17T15:38:35.161Z] [2021-11-17T15:38:35.161Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/30e8f695-0de5-4974-9b10-59fec54e5c81 [2021-11-17T15:38:35.161Z] [2021-11-17T15:38:35.161Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-11-17T15:38:35.161Z] [2021-11-17T15:38:35.161Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-17T15:38:35.161Z] [2021-11-17T15:38:35.161Z] [Pipeline] } [2021-11-17T15:38:35.172Z] $ docker stop --time=1 832c6304b2312426ffd14ec087c1478aee0405c687519436e9967d46da1fd6de [2021-11-17T15:38:37.160Z] $ docker rm -f 832c6304b2312426ffd14ec087c1478aee0405c687519436e9967d46da1fd6de [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-17T15:38:38.128Z] + git log --format=format:%s -1 5b76d0d2a879ff6c01e3c388bf175a5740c8f010 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:38:38.430Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T15:38:38.430Z] . [Pipeline] withDockerContainer [2021-11-17T15:38:38.497Z] prd-centos7-docker-4c-2g-995 does not seem to be running inside a container [2021-11-17T15:38:38.533Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-17T15:38:38.862Z] $ docker top 155b94aab8b11eabaa527265bf53ac6bfb601da19947c57f689f911efdf8fcab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-17T15:38:38.956Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T15:38:38.956Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T15:38:39.060Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T15:38:39.062Z] $ docker exec 155b94aab8b11eabaa527265bf53ac6bfb601da19947c57f689f911efdf8fcab ssh-agent [2021-11-17T15:38:39.162Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkIabOo/agent.13 [2021-11-17T15:38:39.162Z] SSH_AGENT_PID=20 [2021-11-17T15:38:39.167Z] Running ssh-add (command line suppressed) [2021-11-17T15:38:39.263Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6428018770758079648.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6428018770758079648.key) [2021-11-17T15:38:39.275Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T15:38:39.564Z] + git semver tag [2021-11-17T15:38:39.564Z] # -> Open(): unable to determine branch for HEAD [2021-11-17T15:38:39.564Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-11-17T15:38:39.564Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-17T15:38:39.564Z] # $SEMVER_REMOTE_NAME = origin [2021-11-17T15:38:39.564Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-17T15:38:39.564Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-17T15:38:39.564Z] # $SEMVER_BRANCH = main [2021-11-17T15:38:39.564Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2021-11-17T15:38:39.564Z] # 5b76d0d2a879ff6c01e3c388bf175a5740c8f010 HEAD [2021-11-17T15:38:39.564Z] # -> Force: false [2021-11-17T15:38:39.564Z] # 19582cf4c721e42473a39fc9c3fcf8f0a3a10243 refs/tags/v0.0.0 [Pipeline] } [2021-11-17T15:38:39.573Z] $ docker exec --env ******** --env ******** 155b94aab8b11eabaa527265bf53ac6bfb601da19947c57f689f911efdf8fcab ssh-agent -k [2021-11-17T15:38:39.659Z] unset SSH_AUTH_SOCK; [2021-11-17T15:38:39.659Z] unset SSH_AGENT_PID; [2021-11-17T15:38:39.659Z] echo Agent pid 20 killed; [2021-11-17T15:38:39.667Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-17T15:38:39.978Z] + git semver [Pipeline] } [2021-11-17T15:38:39.990Z] $ docker stop --time=1 155b94aab8b11eabaa527265bf53ac6bfb601da19947c57f689f911efdf8fcab [2021-11-17T15:38:41.181Z] $ docker rm -f 155b94aab8b11eabaa527265bf53ac6bfb601da19947c57f689f911efdf8fcab [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:38:41.580Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-17T15:38:41.580Z] [2021-11-17T15:38:41.580Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:38:41.887Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-17T15:38:41.887Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-17T15:38:41.887Z] ab5ef0e58194: Pulling fs layer [2021-11-17T15:38:41.887Z] 9712f1f96733: Pulling fs layer [2021-11-17T15:38:41.887Z] 63f879dbbcfc: Pulling fs layer [2021-11-17T15:38:41.887Z] 0d9ebad4ef96: Pulling fs layer [2021-11-17T15:38:41.887Z] e9a5061849ea: Pulling fs layer [2021-11-17T15:38:41.887Z] d747dcd14b5f: Pulling fs layer [2021-11-17T15:38:41.887Z] 2de7ff778b66: Pulling fs layer [2021-11-17T15:38:41.887Z] 0d9ebad4ef96: Waiting [2021-11-17T15:38:41.887Z] e9a5061849ea: Waiting [2021-11-17T15:38:41.887Z] d747dcd14b5f: Waiting [2021-11-17T15:38:41.887Z] 2de7ff778b66: Waiting [2021-11-17T15:38:41.887Z] 9712f1f96733: Verifying Checksum [2021-11-17T15:38:41.887Z] 9712f1f96733: Download complete [2021-11-17T15:38:42.152Z] 63f879dbbcfc: Verifying Checksum [2021-11-17T15:38:42.152Z] 63f879dbbcfc: Download complete [2021-11-17T15:38:42.421Z] ab5ef0e58194: Verifying Checksum [2021-11-17T15:38:42.421Z] ab5ef0e58194: Download complete [2021-11-17T15:38:42.421Z] 0d9ebad4ef96: Verifying Checksum [2021-11-17T15:38:42.421Z] 0d9ebad4ef96: Download complete [2021-11-17T15:38:42.421Z] d747dcd14b5f: Verifying Checksum [2021-11-17T15:38:42.421Z] d747dcd14b5f: Download complete [2021-11-17T15:38:42.421Z] e9a5061849ea: Verifying Checksum [2021-11-17T15:38:42.421Z] e9a5061849ea: Download complete [2021-11-17T15:38:42.421Z] 2de7ff778b66: Verifying Checksum [2021-11-17T15:38:42.421Z] 2de7ff778b66: Download complete [2021-11-17T15:38:45.748Z] ab5ef0e58194: Pull complete [2021-11-17T15:38:45.748Z] 9712f1f96733: Pull complete [2021-11-17T15:38:46.008Z] 63f879dbbcfc: Pull complete [2021-11-17T15:38:50.243Z] 0d9ebad4ef96: Pull complete [2021-11-17T15:38:50.243Z] e9a5061849ea: Pull complete [2021-11-17T15:38:50.243Z] d747dcd14b5f: Pull complete [2021-11-17T15:38:51.645Z] 2de7ff778b66: Pull complete [2021-11-17T15:38:51.645Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-17T15:38:51.645Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-17T15:38:51.645Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-17T15:38:51.709Z] prd-centos7-docker-4c-2g-995 does not seem to be running inside a container [2021-11-17T15:38:51.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-11-17T15:38:55.189Z] $ docker top ea4b579c85b78eeb626a800133a254e19a8e402c1367ac50f3dea9393841b9ef -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-17T15:38:55.269Z] provisioning config files... [2021-11-17T15:38:55.277Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config967961782627973293tmp [2021-11-17T15:38:55.292Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3308672943075446097tmp [2021-11-17T15:38:55.302Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7534691865780419811tmp [Pipeline] { [Pipeline] echo [2021-11-17T15:38:55.317Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:38:55.617Z] ---> sigul-configuration.sh [2021-11-17T15:38:55.617Z] gpg: directory `/root/.gnupg' created [2021-11-17T15:38:55.617Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-17T15:38:55.617Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-17T15:38:55.617Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-17T15:38:55.617Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-17T15:38:55.617Z] gpg: CAST5 encrypted data [2021-11-17T15:38:55.617Z] gpg: encrypted with 1 passphrase [2021-11-17T15:38:55.617Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-17T15:38:55.908Z] + mkdir /home/jenkins [2021-11-17T15:38:55.908Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-17T15:38:56.200Z] + 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-17T15:38:56.212Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:38:56.507Z] ---> sigul-install.sh [2021-11-17T15:38:56.508Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-17T15:38:56.801Z] + git tag --list [2021-11-17T15:38:56.801Z] 0.7.1 [2021-11-17T15:38:56.801Z] v0.0.0 [2021-11-17T15:38:56.801Z] v1.0.0 [2021-11-17T15:38:56.801Z] v1.1.0 [2021-11-17T15:38:56.801Z] v1.1.1 [2021-11-17T15:38:56.801Z] v1.2.2 [2021-11-17T15:38:56.801Z] v1.3.0 [2021-11-17T15:38:56.801Z] v1.3.1 [2021-11-17T15:38:56.801Z] v2.0.0 [2021-11-17T15:38:56.801Z] v2.0.1-dev.1 [2021-11-17T15:38:56.801Z] v2.0.1-dev.10 [2021-11-17T15:38:56.801Z] v2.0.1-dev.11 [2021-11-17T15:38:56.801Z] v2.0.1-dev.12 [2021-11-17T15:38:56.801Z] v2.0.1-dev.13 [2021-11-17T15:38:56.801Z] v2.0.1-dev.14 [2021-11-17T15:38:56.801Z] v2.0.1-dev.15 [2021-11-17T15:38:56.801Z] v2.0.1-dev.16 [2021-11-17T15:38:56.801Z] v2.0.1-dev.17 [2021-11-17T15:38:56.801Z] v2.0.1-dev.2 [2021-11-17T15:38:56.801Z] v2.0.1-dev.3 [2021-11-17T15:38:56.801Z] v2.0.1-dev.4 [2021-11-17T15:38:56.801Z] v2.0.1-dev.5 [2021-11-17T15:38:56.801Z] v2.0.1-dev.6 [2021-11-17T15:38:56.801Z] v2.0.1-dev.7 [2021-11-17T15:38:56.801Z] v2.0.1-dev.8 [2021-11-17T15:38:56.801Z] v2.0.1-dev.9 [Pipeline] sh [2021-11-17T15:38:57.095Z] + lftools sign git-tag v0.0.0 [2021-11-17T15:38:57.666Z] Signing Git tag with Sigul... [2021-11-17T15:38:57.666Z] Signing v0.0.0 [Pipeline] echo [2021-11-17T15:38:58.615Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:38:58.904Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-17T15:38:58.911Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-17T15:38:58.933Z] $ docker stop --time=1 ea4b579c85b78eeb626a800133a254e19a8e402c1367ac50f3dea9393841b9ef [2021-11-17T15:39:00.118Z] $ docker rm -f ea4b579c85b78eeb626a800133a254e19a8e402c1367ac50f3dea9393841b9ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:39:00.907Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T15:39:00.907Z] . [Pipeline] withDockerContainer [2021-11-17T15:39:00.973Z] prd-centos7-docker-4c-2g-995 does not seem to be running inside a container [2021-11-17T15:39:01.004Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-17T15:39:01.338Z] $ docker top bac3f95299df8df58b9020e75137b80ce96994d0c41c32e1b1551807a43a31dc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-17T15:39:01.442Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T15:39:01.442Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T15:39:01.553Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T15:39:01.556Z] $ docker exec bac3f95299df8df58b9020e75137b80ce96994d0c41c32e1b1551807a43a31dc ssh-agent [2021-11-17T15:39:01.659Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXeEioBe/agent.13 [2021-11-17T15:39:01.659Z] SSH_AGENT_PID=19 [2021-11-17T15:39:01.665Z] Running ssh-add (command line suppressed) [2021-11-17T15:39:01.756Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7004312252900963477.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7004312252900963477.key) [2021-11-17T15:39:01.770Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T15:39:02.071Z] + git semver bump pre [2021-11-17T15:39:02.071Z] # -> Open(): unable to determine branch for HEAD [2021-11-17T15:39:02.071Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-11-17T15:39:02.071Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-17T15:39:02.071Z] # $SEMVER_REMOTE_NAME = origin [2021-11-17T15:39:02.071Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-17T15:39:02.071Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-17T15:39:02.071Z] # $SEMVER_BRANCH = main [2021-11-17T15:39:02.071Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2021-11-17T15:39:02.071Z] 0.0.1-dev.1 [Pipeline] } [2021-11-17T15:39:02.081Z] $ docker exec --env ******** --env ******** bac3f95299df8df58b9020e75137b80ce96994d0c41c32e1b1551807a43a31dc ssh-agent -k [2021-11-17T15:39:02.165Z] unset SSH_AUTH_SOCK; [2021-11-17T15:39:02.165Z] unset SSH_AGENT_PID; [2021-11-17T15:39:02.165Z] echo Agent pid 19 killed; [2021-11-17T15:39:02.175Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-17T15:39:02.520Z] + git semver [Pipeline] } [2021-11-17T15:39:02.591Z] $ docker stop --time=1 bac3f95299df8df58b9020e75137b80ce96994d0c41c32e1b1551807a43a31dc [2021-11-17T15:39:03.842Z] $ docker rm -f bac3f95299df8df58b9020e75137b80ce96994d0c41c32e1b1551807a43a31dc [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:39:04.230Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T15:39:04.230Z] . [Pipeline] withDockerContainer [2021-11-17T15:39:04.298Z] prd-centos7-docker-4c-2g-995 does not seem to be running inside a container [2021-11-17T15:39:04.328Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-17T15:39:04.678Z] $ docker top 2043d36d339cbed2d3364449b2c1615ca5fcd67467e5b8c71e95d5b95e509290 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-17T15:39:04.762Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T15:39:04.762Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T15:39:04.868Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T15:39:04.870Z] $ docker exec 2043d36d339cbed2d3364449b2c1615ca5fcd67467e5b8c71e95d5b95e509290 ssh-agent [2021-11-17T15:39:04.962Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbIIHOM/agent.14 [2021-11-17T15:39:04.962Z] SSH_AGENT_PID=20 [2021-11-17T15:39:04.967Z] Running ssh-add (command line suppressed) [2021-11-17T15:39:05.061Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8447893697515695095.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8447893697515695095.key) [2021-11-17T15:39:05.076Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T15:39:05.367Z] + git semver push [2021-11-17T15:39:05.367Z] # -> Open(): unable to determine branch for HEAD [2021-11-17T15:39:05.367Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-11-17T15:39:05.367Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-17T15:39:05.367Z] # $SEMVER_REMOTE_NAME = origin [2021-11-17T15:39:05.367Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-17T15:39:05.367Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-17T15:39:05.367Z] # $SEMVER_BRANCH = main [2021-11-17T15:39:05.367Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2021-11-17T15:39:05.367Z] git-semver-push: ssh: handshake failed: knownhosts: key mismatch [Pipeline] } [2021-11-17T15:39:05.378Z] $ docker exec --env ******** --env ******** 2043d36d339cbed2d3364449b2c1615ca5fcd67467e5b8c71e95d5b95e509290 ssh-agent -k [2021-11-17T15:39:05.459Z] unset SSH_AUTH_SOCK; [2021-11-17T15:39:05.459Z] unset SSH_AGENT_PID; [2021-11-17T15:39:05.459Z] echo Agent pid 20 killed; [2021-11-17T15:39:05.494Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-11-17T15:39:05.517Z] $ docker stop --time=1 2043d36d339cbed2d3364449b2c1615ca5fcd67467e5b8c71e95d5b95e509290 [2021-11-17T15:39:06.686Z] $ docker rm -f 2043d36d339cbed2d3364449b2c1615ca5fcd67467e5b8c71e95d5b95e509290 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to earlier failure(s) [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-17T15:39:07.577Z] + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:39:07.875Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:39:08.429Z] ---> package-listing.sh [2021-11-17T15:39:08.429Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-17T15:39:08.429Z] ++ facter osfamily [2021-11-17T15:39:08.689Z] + OS_FAMILY=redhat [2021-11-17T15:39:08.689Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-17T15:39:08.689Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-17T15:39:08.689Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-17T15:39:08.689Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-17T15:39:08.689Z] + PACKAGES=/tmp/packages_start.txt [2021-11-17T15:39:08.689Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2021-11-17T15:39:08.689Z] + PACKAGES=/tmp/packages_end.txt [2021-11-17T15:39:08.689Z] + case "${OS_FAMILY}" in [2021-11-17T15:39:08.689Z] + sort [2021-11-17T15:39:08.689Z] + rpm -qa [2021-11-17T15:39:09.261Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-17T15:39:09.261Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-17T15:39:09.261Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-17T15:39:09.262Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2021-11-17T15:39:09.262Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2021-11-17T15:39:09.262Z] + 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-17T15:39:09.276Z] 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-17T15:39:09.560Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:39:10.110Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T15:39:10.110Z] [2021-11-17T15:39:10.110Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:39:10.411Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T15:39:10.411Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-17T15:39:10.411Z] b4d181a07f80: Pulling fs layer [2021-11-17T15:39:10.411Z] a1111a8f2ec3: Pulling fs layer [2021-11-17T15:39:10.411Z] ed53099fbce6: Pulling fs layer [2021-11-17T15:39:10.411Z] dc539afda2c1: Pulling fs layer [2021-11-17T15:39:10.411Z] 77bc0d833cb6: Pulling fs layer [2021-11-17T15:39:10.411Z] 9065ff56babe: Pulling fs layer [2021-11-17T15:39:10.411Z] d287ab97295c: Pulling fs layer [2021-11-17T15:39:10.411Z] dc539afda2c1: Waiting [2021-11-17T15:39:10.411Z] 77bc0d833cb6: Waiting [2021-11-17T15:39:10.411Z] 9065ff56babe: Waiting [2021-11-17T15:39:10.411Z] d287ab97295c: Waiting [2021-11-17T15:39:10.411Z] a1111a8f2ec3: Verifying Checksum [2021-11-17T15:39:10.411Z] a1111a8f2ec3: Download complete [2021-11-17T15:39:10.411Z] dc539afda2c1: Verifying Checksum [2021-11-17T15:39:10.411Z] dc539afda2c1: Download complete [2021-11-17T15:39:10.411Z] ed53099fbce6: Verifying Checksum [2021-11-17T15:39:10.411Z] ed53099fbce6: Download complete [2021-11-17T15:39:10.411Z] 9065ff56babe: Verifying Checksum [2021-11-17T15:39:10.411Z] 9065ff56babe: Download complete [2021-11-17T15:39:10.672Z] 77bc0d833cb6: Verifying Checksum [2021-11-17T15:39:10.672Z] 77bc0d833cb6: Download complete [2021-11-17T15:39:10.672Z] b4d181a07f80: Verifying Checksum [2021-11-17T15:39:10.672Z] b4d181a07f80: Download complete [2021-11-17T15:39:11.262Z] d287ab97295c: Verifying Checksum [2021-11-17T15:39:11.262Z] d287ab97295c: Download complete [2021-11-17T15:39:12.202Z] b4d181a07f80: Pull complete [2021-11-17T15:39:12.461Z] a1111a8f2ec3: Pull complete [2021-11-17T15:39:13.035Z] ed53099fbce6: Pull complete [2021-11-17T15:39:13.035Z] dc539afda2c1: Pull complete [2021-11-17T15:39:13.295Z] 77bc0d833cb6: Pull complete [2021-11-17T15:39:13.556Z] 9065ff56babe: Pull complete [2021-11-17T15:39:18.865Z] d287ab97295c: Pull complete [2021-11-17T15:39:18.865Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-17T15:39:18.865Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T15:39:18.865Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-17T15:39:18.926Z] prd-centos7-docker-4c-2g-995 does not seem to be running inside a container [2021-11-17T15:39:18.965Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-17T15:39:21.550Z] $ docker top cd17be5e66844695340937217112c854a1d5c7bf78e0a9de747629ef8b704930 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T15:39:21.905Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-17T15:39:22.198Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-17T15:39:22.485Z] + ls /var/log/sa-host [2021-11-17T15:39:22.485Z] + sadf -c /var/log/sa-host/sa17 [2021-11-17T15:39:22.485Z] file_magic: OK [2021-11-17T15:39:22.485Z] HZ: Using current value: 100 [2021-11-17T15:39:22.485Z] file_header: OK [2021-11-17T15:39:22.485Z] 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-17T15:39:22.485Z] Statistics: [2021-11-17T15:39:22.485Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-17T15:39:22.485Z] File successfully converted to sysstat format version 12.0.3 [2021-11-17T15:39:22.485Z] + sadf -c /var/log/sa-host/sa30 [2021-11-17T15:39:22.485Z] file_magic: OK [2021-11-17T15:39:22.485Z] HZ: Using current value: 100 [2021-11-17T15:39:22.485Z] file_header: OK [2021-11-17T15:39:22.485Z] 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-17T15:39:22.485Z] Statistics: [2021-11-17T15:39:22.485Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-17T15:39:22.485Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T15:39:22.566Z] provisioning config files... [2021-11-17T15:39:22.575Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6777986015382809410tmp [Pipeline] { [Pipeline] echo [2021-11-17T15:39:22.590Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:39:22.880Z] ---> create-netrc.sh [Pipeline] } [2021-11-17T15:39:22.887Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:39:23.218Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-17T15:39:23.228Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:39:23.516Z] ---> sudo-logs.sh [2021-11-17T15:39:23.516Z] Archiving 'sudo' log.. [2021-11-17T15:39:23.516Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-995.novalocal: Name or service not known [2021-11-17T15:39:23.516Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-995.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-17T15:39:23.539Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:39:23.827Z] ---> job-cost.sh [2021-11-17T15:39:23.827Z] lf-activate-venv: SKIPPING [2021-11-17T15:39:23.827Z] DEBUG: total: 0.10999999940395355 [2021-11-17T15:39:23.827Z] INFO: Retrieving Stack Cost... [2021-11-17T15:39:24.397Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-17T15:39:24.656Z] INFO: Archiving Costs [Pipeline] echo [2021-11-17T15:39:24.668Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:39:24.953Z] ---> logs-deploy.sh [2021-11-17T15:39:24.953Z] lf-activate-venv: SKIPPING [2021-11-17T15:39:24.953Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/21 [2021-11-17T15:39:24.953Z] INFO: archiving workspace using pattern(s): [2021-11-17T15:39:26.341Z] Archives upload complete. [2021-11-17T15:39:26.601Z] INFO: archiving logs to Nexus