Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6506aa605e312cf2eda10f01423d61b781597072 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-ssh14219337559119104895.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh18033969378610247054.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh14578773665476765248.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh5600109919282668538.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-ssh13656771801044503544.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.17 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-3544 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-ssh7064490184575931553.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 6506aa605e312cf2eda10f01423d61b781597072 (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 6506aa605e312cf2eda10f01423d61b781597072 # timeout=10 Commit message: "ci: gomod changes related for Go 1.17 (#335)" > git rev-list --no-walk 620914ed09955f471d114b9f6d925da7efa3e056 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-20T20:02:52.113Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-20T20:02:52.150Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-20T20:02:52.163Z] ========================================================= [2022-01-20T20:02:52.163Z] EdgeX Global Pipelines Version Info [2022-01-20T20:02:52.163Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-20T20:02:53.295Z] ------------------- [2022-01-20T20:02:53.295Z] stable info: [2022-01-20T20:02:53.295Z] ------------------- [2022-01-20T20:02:53.295Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-20T20:02:53.295Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-20T20:02:53.295Z] Message: update stable to v1.0.219 [2022-01-20T20:02:53.867Z] ------------------- [2022-01-20T20:02:53.867Z] experimental info: [2022-01-20T20:02:53.867Z] ------------------- [2022-01-20T20:02:53.867Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-20T20:02:53.867Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-20T20:02:53.867Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-20T20:02:54.014Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-01-20T20:02:54.029Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-01-20T20:02:54.049Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-20T20:02:54.068Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-20T20:02:54.080Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-20T20:02:54.093Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-20T20:02:54.108Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-20T20:02:54.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-01-20T20:02:54.136Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-20T20:02:54.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-20T20:02:54.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-20T20:02:54.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-01-20T20:02:54.188Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-20T20:02:54.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-20T20:02:54.210Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-20T20:02:54.221Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-01-20T20:02:54.230Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-20T20:02:54.238Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-20T20:02:54.248Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-20T20:02:54.266Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-01-20T20:02:54.284Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-01-20T20:02:54.302Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-01-20T20:02:54.438Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-20T20:02:54.447Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-20T20:02:54.460Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-20T20:02:54.474Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-20T20:02:54.485Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-01-20T20:02:54.498Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-01-20T20:02:54.506Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-01-20T20:02:54.516Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6506aa605e312cf2eda10f01423d61b781597072 [Pipeline] echo [2022-01-20T20:02:54.525Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6506aa6 [Pipeline] echo [2022-01-20T20:02:54.533Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T20:02:54.568Z] provisioning config files... [2022-01-20T20:02:54.583Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7891003666236151256tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T20:02:54.937Z] ---> docker-login.sh [2022-01-20T20:02:54.937Z] nexus3.edgexfoundry.org:10001 [2022-01-20T20:02:54.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:02:55.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:02:55.202Z] Configure a credential helper to remove this warning. See [2022-01-20T20:02:55.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:02:55.202Z] [2022-01-20T20:02:55.202Z] Login Succeeded [2022-01-20T20:02:55.202Z] nexus3.edgexfoundry.org:10002 [2022-01-20T20:02:55.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:02:55.202Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:02:55.202Z] Configure a credential helper to remove this warning. See [2022-01-20T20:02:55.202Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:02:55.202Z] [2022-01-20T20:02:55.202Z] Login Succeeded [2022-01-20T20:02:55.202Z] nexus3.edgexfoundry.org:10003 [2022-01-20T20:02:55.202Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:02:55.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:02:55.468Z] Configure a credential helper to remove this warning. See [2022-01-20T20:02:55.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:02:55.468Z] [2022-01-20T20:02:55.468Z] Login Succeeded [2022-01-20T20:02:55.468Z] nexus3.edgexfoundry.org:10004 [2022-01-20T20:02:55.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:02:55.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:02:55.468Z] Configure a credential helper to remove this warning. See [2022-01-20T20:02:55.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:02:55.468Z] [2022-01-20T20:02:55.468Z] Login Succeeded [2022-01-20T20:02:55.468Z] docker.io [2022-01-20T20:02:55.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:02:55.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:02:55.729Z] Configure a credential helper to remove this warning. See [2022-01-20T20:02:55.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:02:55.729Z] [2022-01-20T20:02:55.729Z] Login Succeeded [2022-01-20T20:02:55.729Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T20:02:55.737Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-20T20:02:56.097Z] + git rev-list -1 --merges 6506aa605e312cf2eda10f01423d61b781597072~1..6506aa605e312cf2eda10f01423d61b781597072 [Pipeline] echo [2022-01-20T20:02:56.137Z] -----------> git rev-list -1 --merges 6506aa605e312cf2eda10f01423d61b781597072~1..6506aa605e312cf2eda10f01423d61b781597072 6506aa605e312cf2eda10f01423d61b781597072 [false] [Pipeline] sh [2022-01-20T20:02:56.447Z] + git log --format=format:%s -1 6506aa605e312cf2eda10f01423d61b781597072 [Pipeline] echo [2022-01-20T20:02:56.465Z] ========================================================= [2022-01-20T20:02:56.465Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-20T20:02:56.465Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T20:02:56.808Z] + git log --format=format:%s -1 6506aa605e312cf2eda10f01423d61b781597072 [Pipeline] echo [2022-01-20T20:02:56.821Z] [semverPrep] GIT_COMMIT: 6506aa605e312cf2eda10f01423d61b781597072, Commit Message: ci: gomod changes related for Go 1.17 (#335) [Pipeline] echo [2022-01-20T20:02:56.832Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-20T20:02:57.214Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-20T20:02:57.214Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-20T20:02:57.214Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-20T20:02:57.214Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-20T20:02:57.214Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-20T20:02:57.214Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-20T20:02:57.214Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:02:57.566Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T20:02:57.566Z] [2022-01-20T20:02:57.566Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:02:57.874Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T20:02:57.874Z] latest: Pulling from edgex-devops/git-semver [2022-01-20T20:02:57.874Z] a0d0a0d46f8b: Pulling fs layer [2022-01-20T20:02:57.874Z] 3e5f54012d9b: Pulling fs layer [2022-01-20T20:02:57.874Z] 4c7163046ea9: Pulling fs layer [2022-01-20T20:02:57.874Z] 0c2d73faf560: Pulling fs layer [2022-01-20T20:02:57.874Z] 0c2d73faf560: Waiting [2022-01-20T20:02:57.874Z] 3e5f54012d9b: Verifying Checksum [2022-01-20T20:02:57.874Z] 3e5f54012d9b: Download complete [2022-01-20T20:02:57.874Z] a0d0a0d46f8b: Verifying Checksum [2022-01-20T20:02:57.874Z] a0d0a0d46f8b: Download complete [2022-01-20T20:02:57.874Z] 0c2d73faf560: Verifying Checksum [2022-01-20T20:02:57.874Z] 0c2d73faf560: Download complete [2022-01-20T20:02:57.874Z] 4c7163046ea9: Verifying Checksum [2022-01-20T20:02:57.874Z] 4c7163046ea9: Download complete [2022-01-20T20:02:58.146Z] a0d0a0d46f8b: Pull complete [2022-01-20T20:02:58.146Z] 3e5f54012d9b: Pull complete [2022-01-20T20:02:58.413Z] 4c7163046ea9: Pull complete [2022-01-20T20:02:58.675Z] 0c2d73faf560: Pull complete [2022-01-20T20:02:58.675Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-20T20:02:58.675Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T20:02:58.675Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-20T20:02:58.747Z] prd-centos7-docker-4c-2g-3544 does not seem to be running inside a container [2022-01-20T20:02:58.334Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-20T20:02:59.059Z] $ docker top 32de38f22cf2724de6d5fd9067e5a54c9bbd4e6c126f83c6078f029c6a5a2764 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-20T20:02:59.566Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T20:02:59.566Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T20:02:59.667Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T20:02:59.282Z] $ docker exec 32de38f22cf2724de6d5fd9067e5a54c9bbd4e6c126f83c6078f029c6a5a2764 ssh-agent [2022-01-20T20:02:59.771Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXopFJHa/agent.14 [2022-01-20T20:02:59.771Z] SSH_AGENT_PID=20 [2022-01-20T20:02:59.777Z] Running ssh-add (command line suppressed) [2022-01-20T20:02:59.503Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6597326756529065959.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6597326756529065959.key) [2022-01-20T20:02:59.887Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T20:03:00.186Z] + git tag --points-at HEAD [Pipeline] } [2022-01-20T20:02:59.854Z] $ docker exec --env ******** --env ******** 32de38f22cf2724de6d5fd9067e5a54c9bbd4e6c126f83c6078f029c6a5a2764 ssh-agent -k [2022-01-20T20:02:59.948Z] unset SSH_AUTH_SOCK; [2022-01-20T20:02:59.949Z] unset SSH_AGENT_PID; [2022-01-20T20:02:59.949Z] echo Agent pid 20 killed; [2022-01-20T20:03:00.294Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-20T20:03:00.319Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T20:03:00.319Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T20:03:00.424Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T20:03:00.102Z] $ docker exec 32de38f22cf2724de6d5fd9067e5a54c9bbd4e6c126f83c6078f029c6a5a2764 ssh-agent [2022-01-20T20:03:00.526Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnJPELI/agent.54 [2022-01-20T20:03:00.526Z] SSH_AGENT_PID=60 [2022-01-20T20:03:00.531Z] Running ssh-add (command line suppressed) [2022-01-20T20:03:00.302Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9179677929379193879.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9179677929379193879.key) [2022-01-20T20:03:00.624Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T20:03:00.918Z] + git semver init [2022-01-20T20:03:00.918Z] # -> Open(): unable to determine branch for HEAD [2022-01-20T20:03:00.918Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-01-20T20:03:00.918Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-01-20T20:03:00.918Z] # $SEMVER_REMOTE_NAME = origin [2022-01-20T20:03:00.918Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-20T20:03:00.918Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-20T20:03:00.918Z] # $SEMVER_BRANCH = main [2022-01-20T20:03:00.918Z] # $SEMVER_TEMP = /tmp/semver-641053180 [2022-01-20T20:03:00.919Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-01-20T20:03:01.859Z] # '/tmp/semver-641053180' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' [2022-01-20T20:03:01.859Z] # -> Force: false [2022-01-20T20:03:01.859Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2022-01-20T20:03:01.663Z] $ docker exec --env ******** --env ******** 32de38f22cf2724de6d5fd9067e5a54c9bbd4e6c126f83c6078f029c6a5a2764 ssh-agent -k [2022-01-20T20:03:01.761Z] unset SSH_AUTH_SOCK; [2022-01-20T20:03:01.761Z] unset SSH_AGENT_PID; [2022-01-20T20:03:01.761Z] echo Agent pid 60 killed; [2022-01-20T20:03:01.967Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-20T20:03:02.274Z] + git semver [Pipeline] } [2022-01-20T20:03:02.119Z] $ docker stop --time=1 32de38f22cf2724de6d5fd9067e5a54c9bbd4e6c126f83c6078f029c6a5a2764 [2022-01-20T20:03:03.345Z] $ docker rm -f 32de38f22cf2724de6d5fd9067e5a54c9bbd4e6c126f83c6078f029c6a5a2764 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T20:03:03.786Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-20T20:03:04.046Z] Stashed 1 file(s) [Pipeline] echo [2022-01-20T20:03:04.049Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.8 [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T20:03:04.154Z] provisioning config files... [2022-01-20T20:03:04.166Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5989918141306709565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T20:03:04.466Z] ---> docker-login.sh [2022-01-20T20:03:04.466Z] nexus3.edgexfoundry.org:10001 [2022-01-20T20:03:04.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:03:04.466Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:03:04.466Z] Configure a credential helper to remove this warning. See [2022-01-20T20:03:04.466Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:03:04.466Z] [2022-01-20T20:03:04.466Z] Login Succeeded [2022-01-20T20:03:04.466Z] nexus3.edgexfoundry.org:10002 [2022-01-20T20:03:04.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:03:04.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:03:04.729Z] Configure a credential helper to remove this warning. See [2022-01-20T20:03:04.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:03:04.729Z] [2022-01-20T20:03:04.729Z] Login Succeeded [2022-01-20T20:03:04.729Z] nexus3.edgexfoundry.org:10003 [2022-01-20T20:03:04.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:03:04.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:03:04.729Z] Configure a credential helper to remove this warning. See [2022-01-20T20:03:04.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:03:04.729Z] [2022-01-20T20:03:04.729Z] Login Succeeded [2022-01-20T20:03:04.729Z] nexus3.edgexfoundry.org:10004 [2022-01-20T20:03:04.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:03:04.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:03:04.729Z] Configure a credential helper to remove this warning. See [2022-01-20T20:03:04.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:03:04.729Z] [2022-01-20T20:03:04.729Z] Login Succeeded [2022-01-20T20:03:04.988Z] docker.io [2022-01-20T20:03:04.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:03:05.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:03:05.248Z] Configure a credential helper to remove this warning. See [2022-01-20T20:03:05.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:03:05.248Z] [2022-01-20T20:03:05.248Z] Login Succeeded [2022-01-20T20:03:05.248Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T20:03:05.255Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-20T20:03:05.324Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T20:03:05.331Z] ========================================================= [2022-01-20T20:03:05.331Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-20T20:03:05.331Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:03:05.635Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-01-20T20:03:05.635Z] Sending build context to Docker daemon 5.721MB [2022-01-20T20:03:05.635Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T20:03:05.636Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-20T20:03:05.636Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-20T20:03:05.636Z] 59bf1c3509f3: Pulling fs layer [2022-01-20T20:03:05.636Z] 666ba61612fd: Pulling fs layer [2022-01-20T20:03:05.636Z] 8ed8ca486205: Pulling fs layer [2022-01-20T20:03:05.636Z] 4fe6c5a15a65: Pulling fs layer [2022-01-20T20:03:05.636Z] 22a0e8bec74d: Pulling fs layer [2022-01-20T20:03:05.636Z] f965cba54748: Pulling fs layer [2022-01-20T20:03:05.636Z] 861ffc35075e: Pulling fs layer [2022-01-20T20:03:05.636Z] 4b385c91608e: Pulling fs layer [2022-01-20T20:03:05.636Z] 560528eb2ebb: Pulling fs layer [2022-01-20T20:03:05.636Z] f965cba54748: Waiting [2022-01-20T20:03:05.636Z] 861ffc35075e: Waiting [2022-01-20T20:03:05.636Z] 4b385c91608e: Waiting [2022-01-20T20:03:05.636Z] 560528eb2ebb: Waiting [2022-01-20T20:03:05.636Z] 4fe6c5a15a65: Waiting [2022-01-20T20:03:05.636Z] 22a0e8bec74d: Waiting [2022-01-20T20:03:05.636Z] 8ed8ca486205: Verifying Checksum [2022-01-20T20:03:05.636Z] 8ed8ca486205: Download complete [2022-01-20T20:03:05.636Z] 666ba61612fd: Download complete [2022-01-20T20:03:05.636Z] 22a0e8bec74d: Verifying Checksum [2022-01-20T20:03:05.636Z] 22a0e8bec74d: Download complete [2022-01-20T20:03:05.636Z] 59bf1c3509f3: Verifying Checksum [2022-01-20T20:03:05.636Z] 59bf1c3509f3: Download complete [2022-01-20T20:03:05.636Z] f965cba54748: Verifying Checksum [2022-01-20T20:03:05.636Z] f965cba54748: Download complete [2022-01-20T20:03:05.902Z] 861ffc35075e: Verifying Checksum [2022-01-20T20:03:05.902Z] 861ffc35075e: Download complete [2022-01-20T20:03:05.902Z] 4b385c91608e: Verifying Checksum [2022-01-20T20:03:05.902Z] 4b385c91608e: Download complete [2022-01-20T20:03:06.170Z] 59bf1c3509f3: Pull complete [2022-01-20T20:03:06.170Z] 4fe6c5a15a65: Verifying Checksum [2022-01-20T20:03:06.170Z] 4fe6c5a15a65: Download complete [2022-01-20T20:03:06.170Z] 560528eb2ebb: Verifying Checksum [2022-01-20T20:03:06.170Z] 560528eb2ebb: Download complete [2022-01-20T20:03:06.433Z] 666ba61612fd: Pull complete [2022-01-20T20:03:06.433Z] 8ed8ca486205: Pull complete [2022-01-20T20:03:10.663Z] 4fe6c5a15a65: Pull complete [2022-01-20T20:03:10.663Z] 22a0e8bec74d: Pull complete [2022-01-20T20:03:10.663Z] f965cba54748: Pull complete [2022-01-20T20:03:10.663Z] 861ffc35075e: Pull complete [2022-01-20T20:03:10.663Z] 4b385c91608e: Pull complete [2022-01-20T20:03:13.219Z] 560528eb2ebb: Pull complete [2022-01-20T20:03:13.219Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-20T20:03:13.219Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-20T20:03:13.219Z] ---> dd4a08f94e63 [2022-01-20T20:03:13.219Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T20:03:15.125Z] ---> Running in 74d794e8a7ef [2022-01-20T20:03:15.391Z] Removing intermediate container 74d794e8a7ef [2022-01-20T20:03:15.391Z] ---> 8358b3ffca79 [2022-01-20T20:03:15.391Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T20:03:15.391Z] ---> Running in 0574e322c217 [2022-01-20T20:03:15.391Z] Removing intermediate container 0574e322c217 [2022-01-20T20:03:15.391Z] ---> 942a132d0b2b [2022-01-20T20:03:15.391Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T20:03:15.391Z] ---> Running in b8671a568dbf [2022-01-20T20:03:15.965Z] Removing intermediate container b8671a568dbf [2022-01-20T20:03:15.965Z] ---> f46cfe3afe06 [2022-01-20T20:03:15.965Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T20:03:15.965Z] ---> Running in ecfbd0842644 [2022-01-20T20:03:16.228Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-20T20:03:16.839Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-20T20:03:17.406Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-20T20:03:17.406Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-20T20:03:17.406Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-20T20:03:17.669Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-20T20:03:17.669Z] Executing busybox-1.34.1-r3.trigger [2022-01-20T20:03:17.669Z] OK: 224 MiB in 56 packages [2022-01-20T20:03:17.928Z] Removing intermediate container ecfbd0842644 [2022-01-20T20:03:17.928Z] ---> b71a66f447d2 [2022-01-20T20:03:17.928Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-01-20T20:03:17.928Z] ---> Running in 153a074296f6 [2022-01-20T20:03:18.189Z] Removing intermediate container 153a074296f6 [2022-01-20T20:03:18.189Z] ---> 75da963e0aab [2022-01-20T20:03:18.189Z] Step 8/12 : COPY go.mod vendor* ./ [2022-01-20T20:03:18.189Z] ---> a9135aa8d66b [2022-01-20T20:03:18.189Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T20:03:18.189Z] ---> Running in 3a0416d081f8 [2022-01-20T20:03:19.125Z] Still waiting to schedule task [2022-01-20T20:03:19.126Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-3543’ is offline [2022-01-20T20:03:50.329Z] Removing intermediate container 3a0416d081f8 [2022-01-20T20:03:50.329Z] ---> 6bbe188d0b98 [2022-01-20T20:03:50.329Z] Step 10/12 : COPY . . [2022-01-20T20:03:50.329Z] ---> e5196565d4db [2022-01-20T20:03:50.329Z] Step 11/12 : ARG MAKE='make build' [2022-01-20T20:03:50.329Z] ---> Running in f28b0dbcd093 [2022-01-20T20:03:50.329Z] Removing intermediate container f28b0dbcd093 [2022-01-20T20:03:50.329Z] ---> 41fdcbe336d8 [2022-01-20T20:03:50.329Z] Step 12/12 : RUN $MAKE [2022-01-20T20:03:50.329Z] ---> Running in 00656ad0d5fa [2022-01-20T20:03:50.329Z] noop [2022-01-20T20:03:50.329Z] Removing intermediate container 00656ad0d5fa [2022-01-20T20:03:50.329Z] ---> 970577528ebb [2022-01-20T20:03:50.329Z] Successfully built 970577528ebb [2022-01-20T20:03:50.329Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:03:50.628Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-20T20:03:50.628Z] . [Pipeline] withDockerContainer [2022-01-20T20:03:50.696Z] prd-centos7-docker-4c-2g-3544 does not seem to be running inside a container [2022-01-20T20:03:50.729Z] $ 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 ******** ci-base-image-x86_64 cat [2022-01-20T20:03:51.089Z] $ docker top 05d19372fd2f615aef0c474fad77bdaf22db8f43c580afafa8387b629c752df4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T20:03:51.444Z] + go version [2022-01-20T20:03:51.444Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-20T20:03:51.456Z] $ docker stop --time=1 05d19372fd2f615aef0c474fad77bdaf22db8f43c580afafa8387b629c752df4 [2022-01-20T20:03:52.635Z] $ docker rm -f 05d19372fd2f615aef0c474fad77bdaf22db8f43c580afafa8387b629c752df4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:03:53.073Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-20T20:03:53.073Z] . [Pipeline] withDockerContainer [2022-01-20T20:03:53.142Z] prd-centos7-docker-4c-2g-3544 does not seem to be running inside a container [2022-01-20T20:03:53.180Z] $ 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 ******** ci-base-image-x86_64 cat [2022-01-20T20:03:53.525Z] $ docker top 3e4df242e780d7a8e366c931984a174ac259c3766d6590f8f4ab195c6e492d95 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-20T20:03:53.925Z] + make test [2022-01-20T20:03:53.925Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-20T20:03:54.201Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-01-20T20:04:09.179Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-01-20T20:04:09.179Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 22.5% of statements [2022-01-20T20:04:09.179Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-01-20T20:04:09.179Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-20T20:04:14.481Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-20T20:04:14.481Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-20T20:04:14.481Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-20T20:04:14.753Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-20T20:04:14.767Z] $ docker stop --time=1 3e4df242e780d7a8e366c931984a174ac259c3766d6590f8f4ab195c6e492d95 [2022-01-20T20:04:16.221Z] $ docker rm -f 3e4df242e780d7a8e366c931984a174ac259c3766d6590f8f4ab195c6e492d95 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T20:04:16.631Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-20T20:04:16.670Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-20T20:04:17.255Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-20T20:04:17.548Z] + ls -al . [2022-01-20T20:04:17.548Z] total 148 [2022-01-20T20:04:17.548Z] drwxrwxr-x. 10 jenkins jenkins 4096 Jan 20 20:04 . [2022-01-20T20:04:17.548Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 20 20:02 .. [2022-01-20T20:04:17.548Z] -rw-rw-r--. 1 jenkins jenkins 7287 Jan 20 20:02 Attribution.txt [2022-01-20T20:04:17.548Z] drwxrwxr-x. 2 jenkins jenkins 60 Jan 20 20:02 bin [2022-01-20T20:04:17.548Z] -rw-rw-r--. 1 jenkins jenkins 7447 Jan 20 20:02 CHANGELOG.md [2022-01-20T20:04:17.548Z] drwxrwxr-x. 3 jenkins jenkins 32 Jan 20 20:02 cmd [2022-01-20T20:04:17.548Z] -rw-r--r--. 1 jenkins jenkins 17452 Jan 20 20:04 coverage.out [2022-01-20T20:04:17.548Z] -rw-rw-r--. 1 jenkins jenkins 1930 Jan 20 20:02 Dockerfile [2022-01-20T20:04:17.548Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 20 20:02 .dockerignore [2022-01-20T20:04:17.548Z] drwxrwxr-x. 8 jenkins jenkins 162 Jan 20 20:02 .git [2022-01-20T20:04:17.548Z] drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 20:02 .github [2022-01-20T20:04:17.548Z] -rw-rw-r--. 1 jenkins jenkins 329 Jan 20 20:02 .gitignore [2022-01-20T20:04:17.548Z] -rw-rw-r--. 1 jenkins jenkins 2907 Jan 20 20:02 go.mod [2022-01-20T20:04:17.548Z] -rw-rw-r--. 1 jenkins jenkins 49409 Jan 20 20:02 go.sum [2022-01-20T20:04:17.548Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 20:02 GOVERNANCE.md [2022-01-20T20:04:17.548Z] drwxrwxr-x. 3 jenkins jenkins 20 Jan 20 20:02 internal [2022-01-20T20:04:17.548Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 20 20:02 Jenkinsfile [2022-01-20T20:04:17.548Z] -rw-rw-r--. 1 jenkins jenkins 11340 Jan 20 20:02 LICENSE [2022-01-20T20:04:17.548Z] -rw-rw-r--. 1 jenkins jenkins 1030 Jan 20 20:02 Makefile [2022-01-20T20:04:17.548Z] drwxrwxr-x. 2 jenkins jenkins 23 Jan 20 20:02 mock [2022-01-20T20:04:17.548Z] -rw-rw-r--. 1 jenkins jenkins 620 Jan 20 20:02 OWNERS.md [2022-01-20T20:04:17.548Z] -rw-rw-r--. 1 jenkins jenkins 2643 Jan 20 20:02 README.md [2022-01-20T20:04:17.548Z] drwx------. 3 jenkins jenkins 57 Jan 20 20:03 .semver [2022-01-20T20:04:17.548Z] drwxrwxr-x. 4 jenkins jenkins 71 Jan 20 20:02 snap [2022-01-20T20:04:17.548Z] -rw-rw-r--. 1 jenkins jenkins 11 Jan 20 20:03 VERSION [2022-01-20T20:04:17.548Z] -rw-rw-r--. 1 jenkins jenkins 227 Jan 20 20:02 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:04:17.851Z] + 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=6506aa605e312cf2eda10f01423d61b781597072 --label arch=amd64 --label version=2.2.0-dev.8 . [2022-01-20T20:04:17.852Z] Sending build context to Docker daemon 5.739MB [2022-01-20T20:04:17.852Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T20:04:17.852Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-20T20:04:17.852Z] ---> 970577528ebb [2022-01-20T20:04:17.852Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T20:04:17.852Z] ---> Running in 77873f29ee05 [2022-01-20T20:04:18.112Z] Removing intermediate container 77873f29ee05 [2022-01-20T20:04:18.112Z] ---> d8b8675ed84f [2022-01-20T20:04:18.112Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T20:04:18.112Z] ---> Running in 914f80b7ece6 [2022-01-20T20:04:18.112Z] Removing intermediate container 914f80b7ece6 [2022-01-20T20:04:18.112Z] ---> 00d9e5360acd [2022-01-20T20:04:18.112Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T20:04:18.112Z] ---> Running in 81e0b68f4b77 [2022-01-20T20:04:18.689Z] Removing intermediate container 81e0b68f4b77 [2022-01-20T20:04:18.689Z] ---> 219006d372e6 [2022-01-20T20:04:18.689Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T20:04:18.689Z] ---> Running in cb145e453600 [2022-01-20T20:04:18.950Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-20T20:04:19.892Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-20T20:04:20.153Z] OK: 224 MiB in 56 packages [2022-01-20T20:04:20.153Z] Removing intermediate container cb145e453600 [2022-01-20T20:04:20.153Z] ---> 657eb2297984 [2022-01-20T20:04:20.153Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-01-20T20:04:20.421Z] ---> Running in c74457991f94 [2022-01-20T20:04:20.421Z] Removing intermediate container c74457991f94 [2022-01-20T20:04:20.421Z] ---> c850f370222f [2022-01-20T20:04:20.421Z] Step 8/24 : COPY go.mod vendor* ./ [2022-01-20T20:04:20.421Z] ---> 96f8205d9b11 [2022-01-20T20:04:20.421Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T20:04:20.421Z] ---> Running in bcab18a9cf92 [2022-01-20T20:04:21.010Z] Removing intermediate container bcab18a9cf92 [2022-01-20T20:04:21.010Z] ---> edfcaf977af2 [2022-01-20T20:04:21.010Z] Step 10/24 : COPY . . [2022-01-20T20:04:21.275Z] ---> 28e41c73af6e [2022-01-20T20:04:21.275Z] Step 11/24 : ARG MAKE='make build' [2022-01-20T20:04:21.275Z] ---> Running in 6904f9444985 [2022-01-20T20:04:21.534Z] Removing intermediate container 6904f9444985 [2022-01-20T20:04:21.534Z] ---> 03f3ffbf2037 [2022-01-20T20:04:21.534Z] Step 12/24 : RUN $MAKE [2022-01-20T20:04:21.534Z] ---> Running in e3f30922fd6b [2022-01-20T20:04:21.800Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.8" -o cmd/device-mqtt ./cmd [2022-01-20T20:04:34.090Z] Removing intermediate container e3f30922fd6b [2022-01-20T20:04:34.090Z] ---> 70c71769bb62 [2022-01-20T20:04:34.090Z] Step 13/24 : FROM alpine:3.14 [2022-01-20T20:04:34.090Z] 3.14: Pulling from library/alpine [2022-01-20T20:04:34.091Z] 97518928ae5f: Pulling fs layer [2022-01-20T20:04:34.350Z] 97518928ae5f: Verifying Checksum [2022-01-20T20:04:34.350Z] 97518928ae5f: Download complete [2022-01-20T20:04:34.350Z] 97518928ae5f: Pull complete [2022-01-20T20:04:34.613Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-20T20:04:34.613Z] Status: Downloaded newer image for alpine:3.14 [2022-01-20T20:04:34.613Z] ---> 0a97eee8041e [2022-01-20T20:04:34.613Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-01-20T20:04:34.613Z] ---> Running in 2a57f670896e [2022-01-20T20:04:34.613Z] Removing intermediate container 2a57f670896e [2022-01-20T20:04:34.613Z] ---> 115af6cd471b [2022-01-20T20:04:34.613Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-20T20:04:34.613Z] ---> Running in c1d1ac571847 [2022-01-20T20:04:34.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-20T20:04:34.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-20T20:04:35.132Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-20T20:04:35.132Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-20T20:04:35.132Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-20T20:04:35.132Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-20T20:04:35.132Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-20T20:04:35.132Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-20T20:04:35.132Z] Executing busybox-1.33.1-r6.trigger [2022-01-20T20:04:35.132Z] OK: 8 MiB in 20 packages [2022-01-20T20:04:35.396Z] Removing intermediate container c1d1ac571847 [2022-01-20T20:04:35.396Z] ---> e326b3fbe811 [2022-01-20T20:04:35.396Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-01-20T20:04:35.660Z] ---> 14b7fed81c94 [2022-01-20T20:04:35.660Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-01-20T20:04:35.919Z] ---> e45d6ec1a6de [2022-01-20T20:04:35.919Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-01-20T20:04:35.919Z] ---> deffaf35e528 [2022-01-20T20:04:35.919Z] Step 19/24 : EXPOSE 59982 [2022-01-20T20:04:35.919Z] ---> Running in fe079c12aa03 [2022-01-20T20:04:36.181Z] Removing intermediate container fe079c12aa03 [2022-01-20T20:04:36.181Z] ---> c4eb9f9d6e8c [2022-01-20T20:04:36.181Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-01-20T20:04:36.181Z] ---> Running in 5457f6a42daa [2022-01-20T20:04:36.181Z] Removing intermediate container 5457f6a42daa [2022-01-20T20:04:36.181Z] ---> 2e0e7a062336 [2022-01-20T20:04:36.181Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-20T20:04:36.181Z] ---> Running in 18e19580bc66 [2022-01-20T20:04:36.181Z] Removing intermediate container 18e19580bc66 [2022-01-20T20:04:36.181Z] ---> 050767ae7e24 [2022-01-20T20:04:36.181Z] Step 22/24 : LABEL arch=amd64 [2022-01-20T20:04:36.440Z] ---> Running in c828aec20bf5 [2022-01-20T20:04:36.440Z] Removing intermediate container c828aec20bf5 [2022-01-20T20:04:36.440Z] ---> 45e30b37b578 [2022-01-20T20:04:36.440Z] Step 23/24 : LABEL git_sha=6506aa605e312cf2eda10f01423d61b781597072 [2022-01-20T20:04:36.440Z] ---> Running in 28475a9c534a [2022-01-20T20:04:36.440Z] Removing intermediate container 28475a9c534a [2022-01-20T20:04:36.440Z] ---> a3a01d50b7ed [2022-01-20T20:04:36.440Z] Step 24/24 : LABEL version=2.2.0-dev.8 [2022-01-20T20:04:36.440Z] ---> Running in 98b1807d2e48 [2022-01-20T20:04:36.699Z] Removing intermediate container 98b1807d2e48 [2022-01-20T20:04:36.699Z] ---> 4d9c447b6845 [2022-01-20T20:04:36.699Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-20T20:04:36.699Z] Successfully built 4d9c447b6845 [2022-01-20T20:04:36.699Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T20:04:36.803Z] provisioning config files... [2022-01-20T20:04:36.811Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8290317768310451252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T20:04:37.118Z] ---> docker-login.sh [2022-01-20T20:04:37.118Z] nexus3.edgexfoundry.org:10001 [2022-01-20T20:04:37.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:04:37.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:04:37.118Z] Configure a credential helper to remove this warning. See [2022-01-20T20:04:37.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:04:37.118Z] [2022-01-20T20:04:37.118Z] Login Succeeded [2022-01-20T20:04:37.118Z] nexus3.edgexfoundry.org:10002 [2022-01-20T20:04:37.118Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:04:37.118Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:04:37.118Z] Configure a credential helper to remove this warning. See [2022-01-20T20:04:37.118Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:04:37.118Z] [2022-01-20T20:04:37.118Z] Login Succeeded [2022-01-20T20:04:37.118Z] nexus3.edgexfoundry.org:10003 [2022-01-20T20:04:37.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:04:37.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:04:37.385Z] Configure a credential helper to remove this warning. See [2022-01-20T20:04:37.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:04:37.385Z] [2022-01-20T20:04:37.385Z] Login Succeeded [2022-01-20T20:04:37.385Z] nexus3.edgexfoundry.org:10004 [2022-01-20T20:04:37.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:04:37.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:04:37.385Z] Configure a credential helper to remove this warning. See [2022-01-20T20:04:37.385Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:04:37.385Z] [2022-01-20T20:04:37.385Z] Login Succeeded [2022-01-20T20:04:37.385Z] docker.io [2022-01-20T20:04:37.385Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:04:37.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:04:37.957Z] Configure a credential helper to remove this warning. See [2022-01-20T20:04:37.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:04:37.957Z] [2022-01-20T20:04:37.957Z] Login Succeeded [2022-01-20T20:04:37.957Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T20:04:37.970Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-20T20:04:38.003Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T20:04:38.030Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-01-20T20:04:38.030Z] 6506aa605e312cf2eda10f01423d61b781597072 [2022-01-20T20:04:38.030Z] latest [2022-01-20T20:04:38.030Z] 2.2.0-dev.8 [2022-01-20T20:04:38.030Z] 6506aa605e312cf2eda10f01423d61b781597072-2.2.0-dev.8 [2022-01-20T20:04:38.030Z] main [2022-01-20T20:04:38.030Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:04:38.346Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:6506aa605e312cf2eda10f01423d61b781597072 [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:04:38.645Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:6506aa605e312cf2eda10f01423d61b781597072 [2022-01-20T20:04:38.645Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-01-20T20:04:38.645Z] 27c94792b464: Preparing [2022-01-20T20:04:38.645Z] 4d32823b5837: Preparing [2022-01-20T20:04:38.645Z] 5b87b6184977: Preparing [2022-01-20T20:04:38.645Z] 96e4d72507b1: Preparing [2022-01-20T20:04:38.645Z] 1a058d5342cc: Preparing [2022-01-20T20:04:38.645Z] 1a058d5342cc: Layer already exists [2022-01-20T20:04:38.907Z] 27c94792b464: Pushed [2022-01-20T20:04:38.907Z] 4d32823b5837: Pushed [2022-01-20T20:04:38.907Z] 96e4d72507b1: Pushed [2022-01-20T20:04:39.478Z] 5b87b6184977: Pushed [2022-01-20T20:04:39.738Z] 6506aa605e312cf2eda10f01423d61b781597072: digest: sha256:7b6e7f4e4adb2d87985e42afd8fba165b882abb8d80631e150f84f0b2a2ebe7a size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:04:40.032Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:04:40.323Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-01-20T20:04:40.323Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-01-20T20:04:40.323Z] 27c94792b464: Preparing [2022-01-20T20:04:40.323Z] 4d32823b5837: Preparing [2022-01-20T20:04:40.323Z] 5b87b6184977: Preparing [2022-01-20T20:04:40.323Z] 96e4d72507b1: Preparing [2022-01-20T20:04:40.323Z] 1a058d5342cc: Preparing [2022-01-20T20:04:40.323Z] 1a058d5342cc: Layer already exists [2022-01-20T20:04:40.323Z] 96e4d72507b1: Layer already exists [2022-01-20T20:04:40.323Z] 5b87b6184977: Layer already exists [2022-01-20T20:04:40.323Z] 4d32823b5837: Layer already exists [2022-01-20T20:04:40.323Z] 27c94792b464: Layer already exists [2022-01-20T20:04:40.323Z] latest: digest: sha256:7b6e7f4e4adb2d87985e42afd8fba165b882abb8d80631e150f84f0b2a2ebe7a size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:04:40.622Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:04:40.932Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.8 [2022-01-20T20:04:40.932Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-01-20T20:04:40.932Z] 27c94792b464: Preparing [2022-01-20T20:04:40.932Z] 4d32823b5837: Preparing [2022-01-20T20:04:40.932Z] 5b87b6184977: Preparing [2022-01-20T20:04:40.932Z] 96e4d72507b1: Preparing [2022-01-20T20:04:40.932Z] 1a058d5342cc: Preparing [2022-01-20T20:04:40.932Z] 5b87b6184977: Layer already exists [2022-01-20T20:04:40.932Z] 96e4d72507b1: Layer already exists [2022-01-20T20:04:40.932Z] 1a058d5342cc: Layer already exists [2022-01-20T20:04:40.932Z] 27c94792b464: Layer already exists [2022-01-20T20:04:40.932Z] 4d32823b5837: Layer already exists [2022-01-20T20:04:40.932Z] 2.2.0-dev.8: digest: sha256:7b6e7f4e4adb2d87985e42afd8fba165b882abb8d80631e150f84f0b2a2ebe7a size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:04:41.228Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:6506aa605e312cf2eda10f01423d61b781597072-2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:04:41.526Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:6506aa605e312cf2eda10f01423d61b781597072-2.2.0-dev.8 [2022-01-20T20:04:41.526Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-01-20T20:04:41.526Z] 27c94792b464: Preparing [2022-01-20T20:04:41.526Z] 4d32823b5837: Preparing [2022-01-20T20:04:41.526Z] 5b87b6184977: Preparing [2022-01-20T20:04:41.526Z] 96e4d72507b1: Preparing [2022-01-20T20:04:41.526Z] 1a058d5342cc: Preparing [2022-01-20T20:04:41.526Z] 1a058d5342cc: Layer already exists [2022-01-20T20:04:41.526Z] 96e4d72507b1: Layer already exists [2022-01-20T20:04:41.526Z] 4d32823b5837: Layer already exists [2022-01-20T20:04:41.526Z] 27c94792b464: Layer already exists [2022-01-20T20:04:41.526Z] 5b87b6184977: Layer already exists [2022-01-20T20:04:41.526Z] 6506aa605e312cf2eda10f01423d61b781597072-2.2.0-dev.8: digest: sha256:7b6e7f4e4adb2d87985e42afd8fba165b882abb8d80631e150f84f0b2a2ebe7a size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:04:41.830Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:04:42.123Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-01-20T20:04:42.123Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-01-20T20:04:42.123Z] 27c94792b464: Preparing [2022-01-20T20:04:42.123Z] 4d32823b5837: Preparing [2022-01-20T20:04:42.123Z] 5b87b6184977: Preparing [2022-01-20T20:04:42.123Z] 96e4d72507b1: Preparing [2022-01-20T20:04:42.123Z] 1a058d5342cc: Preparing [2022-01-20T20:04:42.123Z] 96e4d72507b1: Layer already exists [2022-01-20T20:04:42.123Z] 5b87b6184977: Layer already exists [2022-01-20T20:04:42.123Z] 1a058d5342cc: Layer already exists [2022-01-20T20:04:42.123Z] 4d32823b5837: Layer already exists [2022-01-20T20:04:42.123Z] 27c94792b464: Layer already exists [2022-01-20T20:04:42.123Z] main: digest: sha256:7b6e7f4e4adb2d87985e42afd8fba165b882abb8d80631e150f84f0b2a2ebe7a size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-20T20:04:42.162Z] ===================================================== [Pipeline] echo [2022-01-20T20:04:42.172Z] taggedImages: [2022-01-20T20:04:42.172Z] - nexus3.edgexfoundry.org:10004/device-mqtt:6506aa605e312cf2eda10f01423d61b781597072 [2022-01-20T20:04:42.172Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-01-20T20:04:42.172Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.8 [2022-01-20T20:04:42.172Z] - nexus3.edgexfoundry.org:10004/device-mqtt:6506aa605e312cf2eda10f01423d61b781597072-2.2.0-dev.8 [2022-01-20T20:04:42.172Z] - 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 [2022-01-20T20:04:42.570Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T20:04:42.570Z] [2022-01-20T20:04:42.570Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:04:42.871Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T20:04:42.871Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-20T20:04:42.871Z] b4d181a07f80: Pulling fs layer [2022-01-20T20:04:42.871Z] a1111a8f2ec3: Pulling fs layer [2022-01-20T20:04:42.871Z] ed53099fbce6: Pulling fs layer [2022-01-20T20:04:42.871Z] dc539afda2c1: Pulling fs layer [2022-01-20T20:04:42.871Z] 77bc0d833cb6: Pulling fs layer [2022-01-20T20:04:42.871Z] 9065ff56babe: Pulling fs layer [2022-01-20T20:04:42.871Z] d287ab97295c: Pulling fs layer [2022-01-20T20:04:42.871Z] 77bc0d833cb6: Waiting [2022-01-20T20:04:42.871Z] 9065ff56babe: Waiting [2022-01-20T20:04:42.871Z] d287ab97295c: Waiting [2022-01-20T20:04:42.871Z] dc539afda2c1: Waiting [2022-01-20T20:04:42.871Z] a1111a8f2ec3: Verifying Checksum [2022-01-20T20:04:42.871Z] a1111a8f2ec3: Download complete [2022-01-20T20:04:42.871Z] dc539afda2c1: Verifying Checksum [2022-01-20T20:04:42.871Z] dc539afda2c1: Download complete [2022-01-20T20:04:42.871Z] ed53099fbce6: Verifying Checksum [2022-01-20T20:04:42.871Z] ed53099fbce6: Download complete [2022-01-20T20:04:42.871Z] 9065ff56babe: Verifying Checksum [2022-01-20T20:04:42.871Z] 9065ff56babe: Download complete [2022-01-20T20:04:42.871Z] 77bc0d833cb6: Verifying Checksum [2022-01-20T20:04:42.871Z] 77bc0d833cb6: Download complete [2022-01-20T20:04:43.134Z] b4d181a07f80: Verifying Checksum [2022-01-20T20:04:43.134Z] b4d181a07f80: Download complete [2022-01-20T20:04:43.717Z] d287ab97295c: Verifying Checksum [2022-01-20T20:04:43.717Z] d287ab97295c: Download complete [2022-01-20T20:04:44.668Z] b4d181a07f80: Pull complete [2022-01-20T20:04:44.668Z] a1111a8f2ec3: Pull complete [2022-01-20T20:04:45.247Z] ed53099fbce6: Pull complete [2022-01-20T20:04:45.247Z] dc539afda2c1: Pull complete [2022-01-20T20:04:45.510Z] 77bc0d833cb6: Pull complete [2022-01-20T20:04:45.771Z] 9065ff56babe: Pull complete [2022-01-20T20:04:51.113Z] d287ab97295c: Pull complete [2022-01-20T20:04:51.113Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-20T20:04:51.113Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T20:04:51.113Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-20T20:04:51.339Z] prd-centos7-docker-4c-2g-3544 does not seem to be running inside a container [2022-01-20T20:04:51.513Z] $ 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/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 [2022-01-20T20:04:53.872Z] $ docker top 7308b4cd261ef96114b9d5fc91c4325a94283b1985beccb230fc4f89fe647331 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T20:04:54.302Z] ---> job-cost.sh [2022-01-20T20:04:54.302Z] lf-activate-venv: SKIPPING [2022-01-20T20:04:54.302Z] INFO: No Stack... [2022-01-20T20:04:54.561Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-20T20:04:55.131Z] INFO: Archiving Costs [Pipeline] sh [2022-01-20T20:04:55.419Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-01-20T20:04:55.419Z] + cut -d, -f6 [Pipeline] lock [2022-01-20T20:04:55.435Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-29-stack-cost] [2022-01-20T20:04:55.441Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-29-stack-cost] did not exist. Created. [2022-01-20T20:04:55.441Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-20T20:04:55.747Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-20T20:04:55.782Z] Stashed 1 file(s) [Pipeline] } [2022-01-20T20:04:55.791Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-29-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-20T20:04:55.808Z] $ docker stop --time=1 7308b4cd261ef96114b9d5fc91c4325a94283b1985beccb230fc4f89fe647331 [2022-01-20T20:04:56.949Z] $ docker rm -f 7308b4cd261ef96114b9d5fc91c4325a94283b1985beccb230fc4f89fe647331 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-20T20:05:29.731Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3546 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-01-20T20:05:29.745Z] Running in /w/workspace/device-mqtt-go/29 [Pipeline] { [Pipeline] checkout [2022-01-20T20:05:29.929Z] Selected Git installation does not exist. Using Default [2022-01-20T20:05:29.929Z] The recommended git tool is: NONE [2022-01-20T20:05:34.747Z] using credential edgex-jenkins-ssh [2022-01-20T20:05:34.777Z] Cloning the remote Git repository [2022-01-20T20:05:34.827Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-01-20T20:05:34.902Z] > git init /w/workspace/device-mqtt-go/29 # timeout=10 [2022-01-20T20:05:34.994Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-01-20T20:05:34.995Z] > git --version # timeout=10 [2022-01-20T20:05:35.021Z] > git --version # 'git version 2.17.1' [2022-01-20T20:05:35.023Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-20T20:05:35.099Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T20:05:36.243Z] Avoid second fetch [2022-01-20T20:05:36.244Z] Checking out Revision 6506aa605e312cf2eda10f01423d61b781597072 (main) [2022-01-20T20:05:36.207Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-01-20T20:05:36.227Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-20T20:05:36.268Z] > git config core.sparsecheckout # timeout=10 [2022-01-20T20:05:36.296Z] > git checkout -f 6506aa605e312cf2eda10f01423d61b781597072 # timeout=10 [2022-01-20T20:05:40.717Z] Commit message: "ci: gomod changes related for Go 1.17 (#335)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T20:05:41.543Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-20T20:05:41.543Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-20T20:05:41.543Z] Dload Upload Total Spent Left Speed [2022-01-20T20:05:41.544Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 218k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh [2022-01-20T20:05:42.052Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-20T20:05:42.402Z] + sudo tee /etc/docker/daemon.new [2022-01-20T20:05:42.402Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-01-20T20:05:42.402Z] { [2022-01-20T20:05:42.402Z] "registry-mirrors": [ [2022-01-20T20:05:42.402Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-20T20:05:42.402Z] ], [2022-01-20T20:05:42.402Z] "bip": "10.250.0.254/24", [2022-01-20T20:05:42.402Z] "hosts": [ [2022-01-20T20:05:42.402Z] "tcp://0.0.0.0:5555", [2022-01-20T20:05:42.402Z] "unix:///var/run/docker.sock" [2022-01-20T20:05:42.402Z] ], [2022-01-20T20:05:42.402Z] "mtu": 1458, [2022-01-20T20:05:42.402Z] "selinux-enabled": true, [2022-01-20T20:05:42.402Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-20T20:05:42.402Z] } [Pipeline] sh [2022-01-20T20:05:42.745Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-20T20:05:43.088Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T20:06:01.459Z] provisioning config files... [2022-01-20T20:06:01.484Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/29@tmp/config6742251917629397042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T20:06:01.857Z] ---> docker-login.sh [2022-01-20T20:06:01.857Z] nexus3.edgexfoundry.org:10001 [2022-01-20T20:06:02.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:06:02.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:06:02.729Z] Configure a credential helper to remove this warning. See [2022-01-20T20:06:02.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:06:02.729Z] [2022-01-20T20:06:02.729Z] Login Succeeded [2022-01-20T20:06:02.729Z] nexus3.edgexfoundry.org:10002 [2022-01-20T20:06:03.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:06:03.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:06:03.008Z] Configure a credential helper to remove this warning. See [2022-01-20T20:06:03.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:06:03.008Z] [2022-01-20T20:06:03.008Z] Login Succeeded [2022-01-20T20:06:03.008Z] nexus3.edgexfoundry.org:10003 [2022-01-20T20:06:03.284Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:06:03.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:06:03.558Z] Configure a credential helper to remove this warning. See [2022-01-20T20:06:03.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:06:03.558Z] [2022-01-20T20:06:03.558Z] Login Succeeded [2022-01-20T20:06:03.558Z] nexus3.edgexfoundry.org:10004 [2022-01-20T20:06:03.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:06:03.834Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:06:03.834Z] Configure a credential helper to remove this warning. See [2022-01-20T20:06:03.834Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:06:03.834Z] [2022-01-20T20:06:03.834Z] Login Succeeded [2022-01-20T20:06:03.834Z] docker.io [2022-01-20T20:06:04.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:06:04.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:06:04.706Z] Configure a credential helper to remove this warning. See [2022-01-20T20:06:04.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:06:04.706Z] [2022-01-20T20:06:04.706Z] Login Succeeded [2022-01-20T20:06:04.706Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T20:06:04.724Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-20T20:06:05.477Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T20:06:05.489Z] ========================================================= [2022-01-20T20:06:05.489Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-20T20:06:05.489Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:06:05.841Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-01-20T20:06:06.115Z] Sending build context to Docker daemon 2.973MB [2022-01-20T20:06:06.115Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T20:06:06.115Z] Step 2/12 : FROM ${BASE} AS builder [2022-01-20T20:06:06.388Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-20T20:06:06.388Z] 9b3977197b4f: Pulling fs layer [2022-01-20T20:06:06.388Z] 1a89e8eeedd5: Pulling fs layer [2022-01-20T20:06:06.388Z] 94645a83ff95: Pulling fs layer [2022-01-20T20:06:06.388Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-20T20:06:06.388Z] 0c92f367c5e7: Pulling fs layer [2022-01-20T20:06:06.388Z] 4b8299f9d1f4: Pulling fs layer [2022-01-20T20:06:06.388Z] 9a6b49a46696: Pulling fs layer [2022-01-20T20:06:06.388Z] cf05db05a679: Pulling fs layer [2022-01-20T20:06:06.388Z] 0c92f367c5e7: Waiting [2022-01-20T20:06:06.388Z] 4b8299f9d1f4: Waiting [2022-01-20T20:06:06.388Z] 9a6b49a46696: Waiting [2022-01-20T20:06:06.388Z] cf05db05a679: Waiting [2022-01-20T20:06:06.388Z] 3f3a8bcf1eab: Waiting [2022-01-20T20:06:06.388Z] 94645a83ff95: Verifying Checksum [2022-01-20T20:06:06.388Z] 94645a83ff95: Download complete [2022-01-20T20:06:06.388Z] 1a89e8eeedd5: Verifying Checksum [2022-01-20T20:06:06.388Z] 1a89e8eeedd5: Download complete [2022-01-20T20:06:06.388Z] 0c92f367c5e7: Verifying Checksum [2022-01-20T20:06:06.388Z] 0c92f367c5e7: Download complete [2022-01-20T20:06:06.388Z] 4b8299f9d1f4: Verifying Checksum [2022-01-20T20:06:06.388Z] 4b8299f9d1f4: Download complete [2022-01-20T20:06:06.388Z] 9a6b49a46696: Verifying Checksum [2022-01-20T20:06:06.388Z] 9a6b49a46696: Download complete [2022-01-20T20:06:06.388Z] 9b3977197b4f: Download complete [2022-01-20T20:06:07.376Z] 9b3977197b4f: Pull complete [2022-01-20T20:06:07.978Z] 1a89e8eeedd5: Pull complete [2022-01-20T20:06:08.258Z] 94645a83ff95: Pull complete [2022-01-20T20:06:08.534Z] cf05db05a679: Verifying Checksum [2022-01-20T20:06:08.534Z] cf05db05a679: Download complete [2022-01-20T20:06:09.132Z] 3f3a8bcf1eab: Verifying Checksum [2022-01-20T20:06:09.132Z] 3f3a8bcf1eab: Download complete [2022-01-20T20:06:21.540Z] 3f3a8bcf1eab: Pull complete [2022-01-20T20:06:21.540Z] 0c92f367c5e7: Pull complete [2022-01-20T20:06:21.540Z] 4b8299f9d1f4: Pull complete [2022-01-20T20:06:21.540Z] 9a6b49a46696: Pull complete [2022-01-20T20:06:28.315Z] cf05db05a679: Pull complete [2022-01-20T20:06:28.315Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-20T20:06:28.315Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-20T20:06:28.315Z] ---> 0ccda1f7e2ee [2022-01-20T20:06:28.315Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T20:06:29.301Z] ---> Running in f3fb95842a91 [2022-01-20T20:06:29.588Z] Removing intermediate container f3fb95842a91 [2022-01-20T20:06:29.588Z] ---> cda6fdd1cc5b [2022-01-20T20:06:29.588Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T20:06:29.862Z] ---> Running in 486d635d4272 [2022-01-20T20:06:30.135Z] Removing intermediate container 486d635d4272 [2022-01-20T20:06:30.135Z] ---> a221d483d996 [2022-01-20T20:06:30.135Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T20:06:30.413Z] ---> Running in c60d4a9809ab [2022-01-20T20:06:32.408Z] Removing intermediate container c60d4a9809ab [2022-01-20T20:06:32.408Z] ---> ae3d1c0c622b [2022-01-20T20:06:32.408Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T20:06:32.408Z] ---> Running in af75919adc18 [2022-01-20T20:06:33.403Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-20T20:06:34.389Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-20T20:06:34.985Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-01-20T20:06:35.259Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-01-20T20:06:35.259Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-01-20T20:06:35.535Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-01-20T20:06:35.535Z] Executing busybox-1.34.1-r3.trigger [2022-01-20T20:06:35.535Z] OK: 224 MiB in 56 packages [2022-01-20T20:06:36.521Z] Removing intermediate container af75919adc18 [2022-01-20T20:06:36.521Z] ---> 6ea32b9cfbe1 [2022-01-20T20:06:36.521Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-01-20T20:06:36.795Z] ---> Running in a94b3072c454 [2022-01-20T20:06:37.069Z] Removing intermediate container a94b3072c454 [2022-01-20T20:06:37.069Z] ---> 53af9be8274d [2022-01-20T20:06:37.069Z] Step 8/12 : COPY go.mod vendor* ./ [2022-01-20T20:06:37.666Z] ---> ced0696f51b0 [2022-01-20T20:06:37.666Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T20:06:37.941Z] ---> Running in b57e13959ad4 [2022-01-20T20:07:59.821Z] Removing intermediate container b57e13959ad4 [2022-01-20T20:07:59.821Z] ---> a1e03e330332 [2022-01-20T20:07:59.821Z] Step 10/12 : COPY . . [2022-01-20T20:07:59.821Z] ---> 1fbb948ce6bc [2022-01-20T20:07:59.821Z] Step 11/12 : ARG MAKE='make build' [2022-01-20T20:07:59.821Z] ---> Running in b3abd8d5e267 [2022-01-20T20:07:59.821Z] Removing intermediate container b3abd8d5e267 [2022-01-20T20:07:59.821Z] ---> d63ef2d6e5e9 [2022-01-20T20:07:59.821Z] Step 12/12 : RUN $MAKE [2022-01-20T20:07:59.822Z] ---> Running in ec84b40048e4 [2022-01-20T20:07:59.822Z] noop [2022-01-20T20:07:59.822Z] Removing intermediate container ec84b40048e4 [2022-01-20T20:07:59.822Z] ---> b2fe4fc0d801 [2022-01-20T20:07:59.822Z] Successfully built b2fe4fc0d801 [2022-01-20T20:07:59.822Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:08:00.178Z] + docker inspect -f . ci-base-image-arm64 [2022-01-20T20:08:00.178Z] . [Pipeline] withDockerContainer [2022-01-20T20:08:00.395Z] prd-ubuntu18.04-docker-arm64-4c-16g-3546 does not seem to be running inside a container [2022-01-20T20:08:00.482Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/29 -v /w/workspace/device-mqtt-go/29:/w/workspace/device-mqtt-go/29:rw,z -v /w/workspace/device-mqtt-go/29@tmp:/w/workspace/device-mqtt-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-20T20:08:01.923Z] $ docker top b96a7657686a277728269c3ba371aed612355ffc505527533c6164bc3ae764ed -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T20:08:02.865Z] + go version [2022-01-20T20:08:02.865Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-20T20:08:02.890Z] $ docker stop --time=1 b96a7657686a277728269c3ba371aed612355ffc505527533c6164bc3ae764ed [2022-01-20T20:08:04.590Z] $ docker rm -f b96a7657686a277728269c3ba371aed612355ffc505527533c6164bc3ae764ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:08:05.230Z] + docker inspect -f . ci-base-image-arm64 [2022-01-20T20:08:05.230Z] . [Pipeline] withDockerContainer [2022-01-20T20:08:05.471Z] prd-ubuntu18.04-docker-arm64-4c-16g-3546 does not seem to be running inside a container [2022-01-20T20:08:05.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/29 -v /w/workspace/device-mqtt-go/29:/w/workspace/device-mqtt-go/29:rw,z -v /w/workspace/device-mqtt-go/29@tmp:/w/workspace/device-mqtt-go/29@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-01-20T20:08:06.920Z] $ docker top 7c71ce6c79c67efe626e98f0d106ac8a644ea8234a957385c908ceb0018e3bf9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-20T20:08:07.864Z] + make test [2022-01-20T20:08:07.864Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-01-20T20:08:09.301Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-01-20T20:09:05.888Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-01-20T20:09:05.888Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.065s coverage: 22.5% of statements [2022-01-20T20:09:05.888Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-01-20T20:09:05.888Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-01-20T20:09:24.219Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-20T20:09:24.219Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-20T20:09:24.219Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-20T20:09:24.242Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-20T20:09:24.255Z] $ docker stop --time=1 7c71ce6c79c67efe626e98f0d106ac8a644ea8234a957385c908ceb0018e3bf9 [2022-01-20T20:09:26.130Z] $ docker rm -f 7c71ce6c79c67efe626e98f0d106ac8a644ea8234a957385c908ceb0018e3bf9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T20:09:27.028Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-20T20:09:27.058Z] Warning: overwriting stash ‘coverage-report’ [2022-01-20T20:09:27.544Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-20T20:09:27.956Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-20T20:09:28.292Z] + ls -al . [2022-01-20T20:09:28.292Z] total 180 [2022-01-20T20:09:28.292Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 20 20:09 . [2022-01-20T20:09:28.292Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 20:05 .. [2022-01-20T20:09:28.292Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 20 20:05 .dockerignore [2022-01-20T20:09:28.292Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 20:05 .git [2022-01-20T20:09:28.292Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 20:05 .github [2022-01-20T20:09:28.292Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 20 20:05 .gitignore [2022-01-20T20:09:28.292Z] -rw-rw-r-- 1 jenkins jenkins 7287 Jan 20 20:05 Attribution.txt [2022-01-20T20:09:28.292Z] -rw-rw-r-- 1 jenkins jenkins 7447 Jan 20 20:05 CHANGELOG.md [2022-01-20T20:09:28.292Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jan 20 20:05 Dockerfile [2022-01-20T20:09:28.292Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 20:05 GOVERNANCE.md [2022-01-20T20:09:28.292Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 20 20:05 Jenkinsfile [2022-01-20T20:09:28.292Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 20 20:05 LICENSE [2022-01-20T20:09:28.292Z] -rw-rw-r-- 1 jenkins jenkins 1030 Jan 20 20:05 Makefile [2022-01-20T20:09:28.292Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 20 20:05 OWNERS.md [2022-01-20T20:09:28.292Z] -rw-rw-r-- 1 jenkins jenkins 2643 Jan 20 20:05 README.md [2022-01-20T20:09:28.292Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 20 20:03 VERSION [2022-01-20T20:09:28.292Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 20:05 bin [2022-01-20T20:09:28.292Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 20:05 cmd [2022-01-20T20:09:28.292Z] -rw-r--r-- 1 jenkins jenkins 17452 Jan 20 20:09 coverage.out [2022-01-20T20:09:28.292Z] -rw-rw-r-- 1 jenkins jenkins 2907 Jan 20 20:05 go.mod [2022-01-20T20:09:28.292Z] -rw-rw-r-- 1 jenkins jenkins 49409 Jan 20 20:05 go.sum [2022-01-20T20:09:28.292Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 20 20:05 internal [2022-01-20T20:09:28.292Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 20:05 mock [2022-01-20T20:09:28.292Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 20:05 snap [2022-01-20T20:09:28.292Z] -rw-rw-r-- 1 jenkins jenkins 227 Jan 20 20:05 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:09:28.635Z] + 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=6506aa605e312cf2eda10f01423d61b781597072 --label arch=arm64 --label version=2.2.0-dev.8 . [2022-01-20T20:09:28.907Z] Sending build context to Docker daemon 2.992MB [2022-01-20T20:09:28.907Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-01-20T20:09:28.907Z] Step 2/24 : FROM ${BASE} AS builder [2022-01-20T20:09:28.907Z] ---> b2fe4fc0d801 [2022-01-20T20:09:28.907Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-01-20T20:09:29.183Z] ---> Running in 5750a1524e06 [2022-01-20T20:09:29.456Z] Removing intermediate container 5750a1524e06 [2022-01-20T20:09:29.456Z] ---> 008548e530f9 [2022-01-20T20:09:29.456Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-01-20T20:09:29.730Z] ---> Running in e6e132578a87 [2022-01-20T20:09:30.012Z] Removing intermediate container e6e132578a87 [2022-01-20T20:09:30.012Z] ---> 3a77ae2cbb50 [2022-01-20T20:09:30.012Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-20T20:09:30.012Z] ---> Running in c50f40e8dcf8 [2022-01-20T20:09:32.003Z] Removing intermediate container c50f40e8dcf8 [2022-01-20T20:09:32.003Z] ---> 0d7fef370866 [2022-01-20T20:09:32.003Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-01-20T20:09:32.003Z] ---> Running in 83fd1daff28c [2022-01-20T20:09:32.981Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-20T20:09:33.956Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-20T20:09:34.552Z] OK: 224 MiB in 56 packages [2022-01-20T20:09:35.538Z] Removing intermediate container 83fd1daff28c [2022-01-20T20:09:35.538Z] ---> b25f53e40d39 [2022-01-20T20:09:35.538Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-01-20T20:09:35.811Z] ---> Running in 6144dbf9eb6c [2022-01-20T20:09:36.411Z] Removing intermediate container 6144dbf9eb6c [2022-01-20T20:09:36.411Z] ---> 3ac872ae17b4 [2022-01-20T20:09:36.411Z] Step 8/24 : COPY go.mod vendor* ./ [2022-01-20T20:09:37.009Z] ---> 82fce5373101 [2022-01-20T20:09:37.009Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-20T20:09:37.009Z] ---> Running in a4d87250646f [2022-01-20T20:09:38.980Z] Removing intermediate container a4d87250646f [2022-01-20T20:09:38.980Z] ---> b7ceaba2705b [2022-01-20T20:09:38.980Z] Step 10/24 : COPY . . [2022-01-20T20:09:39.955Z] ---> c12f23af5adf [2022-01-20T20:09:39.955Z] Step 11/24 : ARG MAKE='make build' [2022-01-20T20:09:39.955Z] ---> Running in 58f53d2bb9fc [2022-01-20T20:09:40.240Z] Removing intermediate container 58f53d2bb9fc [2022-01-20T20:09:40.240Z] ---> a9d4e167e518 [2022-01-20T20:09:40.240Z] Step 12/24 : RUN $MAKE [2022-01-20T20:09:40.519Z] ---> Running in b3cc6011380a [2022-01-20T20:09:41.501Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.8" -o cmd/device-mqtt ./cmd [2022-01-20T20:10:28.508Z] Removing intermediate container b3cc6011380a [2022-01-20T20:10:28.508Z] ---> 20ac95933d70 [2022-01-20T20:10:28.508Z] Step 13/24 : FROM alpine:3.14 [2022-01-20T20:10:28.508Z] 3.14: Pulling from library/alpine [2022-01-20T20:10:28.508Z] be307f383ecc: Pulling fs layer [2022-01-20T20:10:28.509Z] be307f383ecc: Verifying Checksum [2022-01-20T20:10:28.509Z] be307f383ecc: Pull complete [2022-01-20T20:10:28.509Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-20T20:10:28.509Z] Status: Downloaded newer image for alpine:3.14 [2022-01-20T20:10:28.509Z] ---> 5b8b7b635229 [2022-01-20T20:10:28.509Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-01-20T20:10:28.509Z] ---> Running in 4544ca8501c2 [2022-01-20T20:10:28.509Z] Removing intermediate container 4544ca8501c2 [2022-01-20T20:10:28.509Z] ---> 90abe38dcd94 [2022-01-20T20:10:28.509Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-01-20T20:10:28.509Z] ---> Running in 3cb84773aabb [2022-01-20T20:10:28.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-20T20:10:28.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-20T20:10:29.488Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-01-20T20:10:29.488Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-01-20T20:10:29.488Z] (3/6) Installing libsodium (1.0.18-r0) [2022-01-20T20:10:29.488Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-20T20:10:29.488Z] (5/6) Installing libzmq (4.3.4-r0) [2022-01-20T20:10:29.488Z] (6/6) Installing zeromq (4.3.4-r0) [2022-01-20T20:10:29.488Z] Executing busybox-1.33.1-r6.trigger [2022-01-20T20:10:29.488Z] OK: 8 MiB in 20 packages [2022-01-20T20:10:30.464Z] Removing intermediate container 3cb84773aabb [2022-01-20T20:10:30.464Z] ---> ec10bc9fde32 [2022-01-20T20:10:30.464Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-01-20T20:10:31.442Z] ---> 7cc4a7db0c23 [2022-01-20T20:10:31.442Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-01-20T20:10:32.417Z] ---> bd02511c20e4 [2022-01-20T20:10:32.418Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-01-20T20:10:33.015Z] ---> 4cdf28261b67 [2022-01-20T20:10:33.015Z] Step 19/24 : EXPOSE 59982 [2022-01-20T20:10:33.015Z] ---> Running in bfd97e73f40a [2022-01-20T20:10:33.289Z] Removing intermediate container bfd97e73f40a [2022-01-20T20:10:33.289Z] ---> 0905bc30121f [2022-01-20T20:10:33.289Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-01-20T20:10:33.289Z] ---> Running in 05163e1ab7d3 [2022-01-20T20:10:33.902Z] Removing intermediate container 05163e1ab7d3 [2022-01-20T20:10:33.902Z] ---> 7c7313b825a9 [2022-01-20T20:10:33.902Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-20T20:10:33.902Z] ---> Running in d7ccc350d9df [2022-01-20T20:10:34.502Z] Removing intermediate container d7ccc350d9df [2022-01-20T20:10:34.502Z] ---> ed293cba0b99 [2022-01-20T20:10:34.502Z] Step 22/24 : LABEL arch=arm64 [2022-01-20T20:10:34.502Z] ---> Running in 1a0a18e78ca8 [2022-01-20T20:10:34.775Z] Removing intermediate container 1a0a18e78ca8 [2022-01-20T20:10:34.775Z] ---> d689a84ed664 [2022-01-20T20:10:34.775Z] Step 23/24 : LABEL git_sha=6506aa605e312cf2eda10f01423d61b781597072 [2022-01-20T20:10:35.051Z] ---> Running in 65cbbc0e2263 [2022-01-20T20:10:35.325Z] Removing intermediate container 65cbbc0e2263 [2022-01-20T20:10:35.325Z] ---> 6917022336b6 [2022-01-20T20:10:35.325Z] Step 24/24 : LABEL version=2.2.0-dev.8 [2022-01-20T20:10:35.325Z] ---> Running in a4bdfe0405a2 [2022-01-20T20:10:35.928Z] Removing intermediate container a4bdfe0405a2 [2022-01-20T20:10:35.928Z] ---> 7d2af091c30d [2022-01-20T20:10:35.928Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-20T20:10:35.928Z] Successfully built 7d2af091c30d [2022-01-20T20:10:35.928Z] 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 [2022-01-20T20:10:36.037Z] provisioning config files... [2022-01-20T20:10:36.058Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/29@tmp/config6307738841242655759tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T20:10:36.416Z] ---> docker-login.sh [2022-01-20T20:10:36.416Z] nexus3.edgexfoundry.org:10001 [2022-01-20T20:10:36.690Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:10:36.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:10:36.690Z] Configure a credential helper to remove this warning. See [2022-01-20T20:10:36.690Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:10:36.690Z] [2022-01-20T20:10:36.690Z] Login Succeeded [2022-01-20T20:10:36.690Z] nexus3.edgexfoundry.org:10002 [2022-01-20T20:10:37.287Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:10:37.287Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:10:37.287Z] Configure a credential helper to remove this warning. See [2022-01-20T20:10:37.287Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:10:37.287Z] [2022-01-20T20:10:37.287Z] Login Succeeded [2022-01-20T20:10:37.287Z] nexus3.edgexfoundry.org:10003 [2022-01-20T20:10:37.887Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:10:37.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:10:37.887Z] Configure a credential helper to remove this warning. See [2022-01-20T20:10:37.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:10:37.887Z] [2022-01-20T20:10:37.887Z] Login Succeeded [2022-01-20T20:10:37.887Z] nexus3.edgexfoundry.org:10004 [2022-01-20T20:10:38.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:10:38.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:10:38.485Z] Configure a credential helper to remove this warning. See [2022-01-20T20:10:38.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:10:38.485Z] [2022-01-20T20:10:38.485Z] Login Succeeded [2022-01-20T20:10:38.485Z] docker.io [2022-01-20T20:10:38.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-20T20:10:39.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-20T20:10:39.355Z] Configure a credential helper to remove this warning. See [2022-01-20T20:10:39.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-20T20:10:39.355Z] [2022-01-20T20:10:39.355Z] Login Succeeded [2022-01-20T20:10:39.355Z] ---> docker-login.sh ends [Pipeline] } [2022-01-20T20:10:39.375Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-20T20:10:39.411Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-20T20:10:39.431Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-01-20T20:10:39.431Z] 6506aa605e312cf2eda10f01423d61b781597072 [2022-01-20T20:10:39.431Z] latest [2022-01-20T20:10:39.431Z] 2.2.0-dev.8 [2022-01-20T20:10:39.431Z] 6506aa605e312cf2eda10f01423d61b781597072-2.2.0-dev.8 [2022-01-20T20:10:39.431Z] main [2022-01-20T20:10:39.431Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:10:39.805Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6506aa605e312cf2eda10f01423d61b781597072 [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:10:40.154Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6506aa605e312cf2eda10f01423d61b781597072 [2022-01-20T20:10:40.154Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-01-20T20:10:40.154Z] 1483fe83d642: Preparing [2022-01-20T20:10:40.154Z] 59f99d2e8cbb: Preparing [2022-01-20T20:10:40.154Z] 94d00c28d8e1: Preparing [2022-01-20T20:10:40.154Z] 3291e58236d0: Preparing [2022-01-20T20:10:40.154Z] 62170e181a92: Preparing [2022-01-20T20:10:40.441Z] 62170e181a92: Layer already exists [2022-01-20T20:10:40.441Z] 59f99d2e8cbb: Pushed [2022-01-20T20:10:40.441Z] 1483fe83d642: Pushed [2022-01-20T20:10:41.044Z] 3291e58236d0: Pushed [2022-01-20T20:10:43.022Z] 94d00c28d8e1: Pushed [2022-01-20T20:10:43.295Z] 6506aa605e312cf2eda10f01423d61b781597072: digest: sha256:dd8793124ef59584d36551a0e8a25309549dcd67e75df155d4b5ea589a390043 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:10:43.655Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:10:43.998Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-01-20T20:10:43.998Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-01-20T20:10:43.998Z] 1483fe83d642: Preparing [2022-01-20T20:10:43.998Z] 59f99d2e8cbb: Preparing [2022-01-20T20:10:43.998Z] 94d00c28d8e1: Preparing [2022-01-20T20:10:43.998Z] 3291e58236d0: Preparing [2022-01-20T20:10:43.998Z] 62170e181a92: Preparing [2022-01-20T20:10:43.998Z] 59f99d2e8cbb: Layer already exists [2022-01-20T20:10:43.998Z] 3291e58236d0: Layer already exists [2022-01-20T20:10:43.998Z] 1483fe83d642: Layer already exists [2022-01-20T20:10:43.998Z] 94d00c28d8e1: Layer already exists [2022-01-20T20:10:43.998Z] 62170e181a92: Layer already exists [2022-01-20T20:10:44.271Z] latest: digest: sha256:dd8793124ef59584d36551a0e8a25309549dcd67e75df155d4b5ea589a390043 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:10:44.627Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:10:44.973Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.8 [2022-01-20T20:10:44.973Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-01-20T20:10:44.973Z] 1483fe83d642: Preparing [2022-01-20T20:10:44.973Z] 59f99d2e8cbb: Preparing [2022-01-20T20:10:44.973Z] 94d00c28d8e1: Preparing [2022-01-20T20:10:44.973Z] 3291e58236d0: Preparing [2022-01-20T20:10:44.973Z] 62170e181a92: Preparing [2022-01-20T20:10:44.973Z] 59f99d2e8cbb: Layer already exists [2022-01-20T20:10:44.973Z] 1483fe83d642: Layer already exists [2022-01-20T20:10:44.973Z] 62170e181a92: Layer already exists [2022-01-20T20:10:44.973Z] 3291e58236d0: Layer already exists [2022-01-20T20:10:44.973Z] 94d00c28d8e1: Layer already exists [2022-01-20T20:10:45.245Z] 2.2.0-dev.8: digest: sha256:dd8793124ef59584d36551a0e8a25309549dcd67e75df155d4b5ea589a390043 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:10:45.596Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6506aa605e312cf2eda10f01423d61b781597072-2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:10:45.949Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6506aa605e312cf2eda10f01423d61b781597072-2.2.0-dev.8 [2022-01-20T20:10:45.949Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-01-20T20:10:45.949Z] 1483fe83d642: Preparing [2022-01-20T20:10:45.949Z] 59f99d2e8cbb: Preparing [2022-01-20T20:10:45.949Z] 94d00c28d8e1: Preparing [2022-01-20T20:10:45.949Z] 3291e58236d0: Preparing [2022-01-20T20:10:45.949Z] 62170e181a92: Preparing [2022-01-20T20:10:46.223Z] 3291e58236d0: Layer already exists [2022-01-20T20:10:46.223Z] 94d00c28d8e1: Layer already exists [2022-01-20T20:10:46.223Z] 62170e181a92: Layer already exists [2022-01-20T20:10:46.223Z] 1483fe83d642: Layer already exists [2022-01-20T20:10:46.223Z] 59f99d2e8cbb: Layer already exists [2022-01-20T20:10:46.223Z] 6506aa605e312cf2eda10f01423d61b781597072-2.2.0-dev.8: digest: sha256:dd8793124ef59584d36551a0e8a25309549dcd67e75df155d4b5ea589a390043 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:10:46.576Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:10:46.923Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-01-20T20:10:46.923Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-01-20T20:10:46.923Z] 1483fe83d642: Preparing [2022-01-20T20:10:46.923Z] 59f99d2e8cbb: Preparing [2022-01-20T20:10:46.923Z] 94d00c28d8e1: Preparing [2022-01-20T20:10:46.923Z] 3291e58236d0: Preparing [2022-01-20T20:10:46.923Z] 62170e181a92: Preparing [2022-01-20T20:10:46.923Z] 94d00c28d8e1: Layer already exists [2022-01-20T20:10:46.923Z] 1483fe83d642: Layer already exists [2022-01-20T20:10:46.923Z] 59f99d2e8cbb: Layer already exists [2022-01-20T20:10:46.923Z] 62170e181a92: Layer already exists [2022-01-20T20:10:46.923Z] 3291e58236d0: Layer already exists [2022-01-20T20:10:47.197Z] main: digest: sha256:dd8793124ef59584d36551a0e8a25309549dcd67e75df155d4b5ea589a390043 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-01-20T20:10:47.252Z] ===================================================== [Pipeline] echo [2022-01-20T20:10:47.263Z] taggedImages: [2022-01-20T20:10:47.263Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6506aa605e312cf2eda10f01423d61b781597072 [2022-01-20T20:10:47.263Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-01-20T20:10:47.264Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.8 [2022-01-20T20:10:47.264Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:6506aa605e312cf2eda10f01423d61b781597072-2.2.0-dev.8 [2022-01-20T20:10:47.264Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:10:47.635Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T20:10:47.635Z] [2022-01-20T20:10:47.635Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:10:47.985Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T20:10:48.261Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-20T20:10:48.261Z] 448f6bf000e3: Pulling fs layer [2022-01-20T20:10:48.261Z] f757da607395: Pulling fs layer [2022-01-20T20:10:48.261Z] 05883995daec: Pulling fs layer [2022-01-20T20:10:48.261Z] 8603b9c90790: Pulling fs layer [2022-01-20T20:10:48.261Z] 1560dd03e051: Pulling fs layer [2022-01-20T20:10:48.261Z] 27f5ce0e4adf: Pulling fs layer [2022-01-20T20:10:48.261Z] c2d8d7efcc4b: Pulling fs layer [2022-01-20T20:10:48.261Z] 8603b9c90790: Waiting [2022-01-20T20:10:48.261Z] 1560dd03e051: Waiting [2022-01-20T20:10:48.261Z] 27f5ce0e4adf: Waiting [2022-01-20T20:10:48.261Z] c2d8d7efcc4b: Waiting [2022-01-20T20:10:48.261Z] f757da607395: Verifying Checksum [2022-01-20T20:10:48.261Z] f757da607395: Download complete [2022-01-20T20:10:48.261Z] 8603b9c90790: Verifying Checksum [2022-01-20T20:10:48.261Z] 8603b9c90790: Download complete [2022-01-20T20:10:48.261Z] 1560dd03e051: Verifying Checksum [2022-01-20T20:10:48.261Z] 1560dd03e051: Download complete [2022-01-20T20:10:48.535Z] 27f5ce0e4adf: Download complete [2022-01-20T20:10:48.535Z] 05883995daec: Verifying Checksum [2022-01-20T20:10:48.535Z] 05883995daec: Download complete [2022-01-20T20:10:48.812Z] 448f6bf000e3: Download complete [2022-01-20T20:10:51.446Z] c2d8d7efcc4b: Verifying Checksum [2022-01-20T20:10:51.446Z] c2d8d7efcc4b: Download complete [2022-01-20T20:10:52.422Z] 448f6bf000e3: Pull complete [2022-01-20T20:10:53.018Z] f757da607395: Pull complete [2022-01-20T20:10:54.454Z] 05883995daec: Pull complete [2022-01-20T20:10:54.726Z] 8603b9c90790: Pull complete [2022-01-20T20:10:55.706Z] 1560dd03e051: Pull complete [2022-01-20T20:10:55.977Z] 27f5ce0e4adf: Pull complete [2022-01-20T20:11:11.057Z] c2d8d7efcc4b: Pull complete [2022-01-20T20:11:11.057Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-20T20:11:11.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-20T20:11:11.057Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-20T20:11:11.308Z] prd-ubuntu18.04-docker-arm64-4c-16g-3546 does not seem to be running inside a container [2022-01-20T20:11:11.390Z] $ 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/29 -v /w/workspace/device-mqtt-go/29:/w/workspace/device-mqtt-go/29:rw,z -v /w/workspace/device-mqtt-go/29@tmp:/w/workspace/device-mqtt-go/29@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:arm64 cat [2022-01-20T20:11:14.454Z] $ docker top 240df900631e8676f338b96f76d3f8a42356359c6877978fbb5da9acc0867ca9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-20T20:11:15.416Z] ---> job-cost.sh [2022-01-20T20:11:15.416Z] lf-activate-venv: SKIPPING [2022-01-20T20:11:15.416Z] INFO: No Stack... [2022-01-20T20:11:15.686Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-20T20:11:16.280Z] INFO: Archiving Costs [Pipeline] sh [2022-01-20T20:11:16.958Z] + cat /w/workspace/device-mqtt-go/29/archives/cost.csv [2022-01-20T20:11:16.958Z] + cut -d, -f6 [Pipeline] lock [2022-01-20T20:11:17.040Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-29-stack-cost] [2022-01-20T20:11:17.047Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-29-stack-cost] did not exist. Created. [2022-01-20T20:11:17.047Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-20T20:11:17.729Z] /w/workspace/device-mqtt-go/29@tmp/durable-9b4de237/script.sh: 1: /w/workspace/device-mqtt-go/29@tmp/durable-9b4de237/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-20T20:11:18.407Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-20T20:11:18.430Z] Warning: overwriting stash ‘stack-cost’ [2022-01-20T20:11:18.486Z] Stashed 1 file(s) [Pipeline] } [2022-01-20T20:11:18.493Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-29-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-20T20:11:18.508Z] $ docker stop --time=1 240df900631e8676f338b96f76d3f8a42356359c6877978fbb5da9acc0867ca9 [2022-01-20T20:11:20.101Z] $ docker rm -f 240df900631e8676f338b96f76d3f8a42356359c6877978fbb5da9acc0867ca9 [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 [2022-01-20T20:11:20.558Z] provisioning config files... [2022-01-20T20:11:20.568Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9023762749030026263tmp [Pipeline] { [Pipeline] sh [2022-01-20T20:11:20.871Z] + set +x [2022-01-20T20:11:20.871Z] + curl -s https://codecov.io/bash [2022-01-20T20:11:20.871Z] + bash -s -- [2022-01-20T20:11:20.871Z] [2022-01-20T20:11:20.871Z] _____ _ [2022-01-20T20:11:20.871Z] / ____| | | [2022-01-20T20:11:20.871Z] | | ___ __| | ___ ___ _____ __ [2022-01-20T20:11:20.871Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-20T20:11:20.871Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-20T20:11:20.871Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-20T20:11:20.871Z] Bash-1.0.6 [2022-01-20T20:11:20.871Z] [2022-01-20T20:11:20.871Z] [2022-01-20T20:11:20.871Z] ==> git version 2.24.4 found [2022-01-20T20:11:20.871Z] ==> 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 [2022-01-20T20:11:20.871Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-20T20:11:20.871Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-20T20:11:20.871Z] ==> Jenkins CI detected. [2022-01-20T20:11:20.871Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-01-20T20:11:20.871Z] project root: . [2022-01-20T20:11:20.871Z] --> token set from env [2022-01-20T20:11:20.871Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-20T20:11:20.871Z] ==> Running gcov in . (disable via -X gcov) [2022-01-20T20:11:20.871Z] ==> Python coveragepy not found [2022-01-20T20:11:20.871Z] ==> Searching for coverage reports in: [2022-01-20T20:11:20.871Z] + . [2022-01-20T20:11:20.871Z] -> Found 1 reports [2022-01-20T20:11:20.871Z] ==> Detecting git/mercurial file structure [2022-01-20T20:11:20.871Z] ==> Reading reports [2022-01-20T20:11:20.871Z] + ./coverage.out bytes=17452 [2022-01-20T20:11:20.871Z] ==> Appending adjustments [2022-01-20T20:11:20.871Z] https://docs.codecov.io/docs/fixing-reports [2022-01-20T20:11:21.130Z] + Found adjustments [2022-01-20T20:11:21.130Z] ==> Gzipping contents [2022-01-20T20:11:21.130Z] 4.0K /tmp/codecov.swEFT5.gz [2022-01-20T20:11:21.130Z] ==> Uploading reports [2022-01-20T20:11:21.130Z] url: https://codecov.io [2022-01-20T20:11:21.130Z] query: branch=main&commit=6506aa605e312cf2eda10f01423d61b781597072&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-20T20:11:21.130Z] -> Pinging Codecov [2022-01-20T20:11:21.130Z] 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=6506aa605e312cf2eda10f01423d61b781597072&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-01-20T20:11:21.390Z] -> Uploading to [2022-01-20T20:11:21.390Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-20/7D719EC7BBE17E464838252E33014C33/6506aa605e312cf2eda10f01423d61b781597072/e6a78e9a-b442-41a1-bc47-562a2057b71e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220120T201121Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=867b193de27409db05168b91d31e696f22329f1451a8c9ca8f272c761d6566a3 [2022-01-20T20:11:21.390Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-20T20:11:21.390Z] Dload Upload Total Spent Left Speed [2022-01-20T20:11:21.650Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3218 0 0 100 3218 0 10576 --:--:-- --:--:-- --:--:-- 10550 100 3218 0 0 100 3218 0 10569 --:--:-- --:--:-- --:--:-- 10550 [2022-01-20T20:11:21.650Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/6506aa605e312cf2eda10f01423d61b781597072 [Pipeline] } [2022-01-20T20:11:21.658Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-01-20T20:11:21.953Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-01-20T20:11:21.971Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:11:22.269Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-20T20:11:22.270Z] [2022-01-20T20:11:22.270Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:11:22.591Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-20T20:11:22.591Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-01-20T20:11:22.591Z] 188c0c94c7c5: Pulling fs layer [2022-01-20T20:11:22.591Z] 0ef7d3d256c8: Pulling fs layer [2022-01-20T20:11:22.591Z] de9db76c5a1d: Pulling fs layer [2022-01-20T20:11:22.591Z] 0eba1c9be4d2: Pulling fs layer [2022-01-20T20:11:22.591Z] 0d57e429df01: Pulling fs layer [2022-01-20T20:11:22.591Z] 4e4be7b47b0d: Pulling fs layer [2022-01-20T20:11:22.591Z] e1f770b5df2f: Pulling fs layer [2022-01-20T20:11:22.591Z] 85a0685a4137: Pulling fs layer [2022-01-20T20:11:22.591Z] 4e4be7b47b0d: Waiting [2022-01-20T20:11:22.591Z] 0eba1c9be4d2: Waiting [2022-01-20T20:11:22.591Z] e1f770b5df2f: Waiting [2022-01-20T20:11:22.591Z] 85a0685a4137: Waiting [2022-01-20T20:11:22.591Z] 0d57e429df01: Waiting [2022-01-20T20:11:22.591Z] de9db76c5a1d: Verifying Checksum [2022-01-20T20:11:22.591Z] de9db76c5a1d: Download complete [2022-01-20T20:11:22.591Z] 0ef7d3d256c8: Verifying Checksum [2022-01-20T20:11:22.591Z] 0ef7d3d256c8: Download complete [2022-01-20T20:11:22.591Z] 0d57e429df01: Verifying Checksum [2022-01-20T20:11:22.591Z] 0d57e429df01: Download complete [2022-01-20T20:11:22.591Z] 188c0c94c7c5: Verifying Checksum [2022-01-20T20:11:22.591Z] 4e4be7b47b0d: Verifying Checksum [2022-01-20T20:11:22.591Z] 4e4be7b47b0d: Download complete [2022-01-20T20:11:22.858Z] e1f770b5df2f: Verifying Checksum [2022-01-20T20:11:22.858Z] e1f770b5df2f: Download complete [2022-01-20T20:11:23.129Z] 0eba1c9be4d2: Verifying Checksum [2022-01-20T20:11:23.129Z] 0eba1c9be4d2: Download complete [2022-01-20T20:11:23.129Z] 188c0c94c7c5: Pull complete [2022-01-20T20:11:23.397Z] 85a0685a4137: Verifying Checksum [2022-01-20T20:11:23.397Z] 85a0685a4137: Download complete [2022-01-20T20:11:23.397Z] 0ef7d3d256c8: Pull complete [2022-01-20T20:11:23.397Z] de9db76c5a1d: Pull complete [2022-01-20T20:11:26.746Z] 0eba1c9be4d2: Pull complete [2022-01-20T20:11:26.746Z] 0d57e429df01: Pull complete [2022-01-20T20:11:26.746Z] 4e4be7b47b0d: Pull complete [2022-01-20T20:11:27.333Z] e1f770b5df2f: Pull complete [2022-01-20T20:11:30.661Z] 85a0685a4137: Pull complete [2022-01-20T20:11:30.661Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-01-20T20:11:30.661Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-01-20T20:11:30.661Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-01-20T20:11:30.723Z] prd-centos7-docker-4c-2g-3544 does not seem to be running inside a container [2022-01-20T20:11:30.756Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-01-20T20:11:32.964Z] $ docker top 313f6db821b84d2bb585fcde96b390dfcd649e47d3e9d98e38cd79a3affd096f -eo pid,comm [Pipeline] { [Pipeline] echo [2022-01-20T20:11:33.040Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-01-20T20:11:33.327Z] + set -o pipefail [2022-01-20T20:11:33.327Z] + snyk monitor '--org=edgex-jenkins' [2022-01-20T20:11:37.548Z] [2022-01-20T20:11:37.548Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-01-20T20:11:37.548Z] [2022-01-20T20:11:37.548Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/86308c25-6cab-4b7b-92c7-d99948e474fb [2022-01-20T20:11:37.548Z] [2022-01-20T20:11:37.548Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-01-20T20:11:37.548Z] [2022-01-20T20:11:37.548Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-01-20T20:11:37.548Z] [2022-01-20T20:11:37.808Z] [Pipeline] } [2022-01-20T20:11:37.819Z] $ docker stop --time=1 313f6db821b84d2bb585fcde96b390dfcd649e47d3e9d98e38cd79a3affd096f [2022-01-20T20:11:39.697Z] $ docker rm -f 313f6db821b84d2bb585fcde96b390dfcd649e47d3e9d98e38cd79a3affd096f [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 [2022-01-20T20:11:40.443Z] + git log --format=format:%s -1 6506aa605e312cf2eda10f01423d61b781597072 [Pipeline] sh [2022-01-20T20:11:40.748Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-20T20:11:40.748Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:11:41.040Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T20:11:41.041Z] . [Pipeline] withDockerContainer [2022-01-20T20:11:41.108Z] prd-centos7-docker-4c-2g-3544 does not seem to be running inside a container [2022-01-20T20:11:41.141Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-20T20:11:41.460Z] $ docker top b6534e73e7bb9c2e7b2fa649f20ba870717c2c5820dd49df39c1b502fa36c1b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-20T20:11:41.560Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T20:11:41.560Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T20:11:41.660Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T20:11:41.662Z] $ docker exec b6534e73e7bb9c2e7b2fa649f20ba870717c2c5820dd49df39c1b502fa36c1b0 ssh-agent [2022-01-20T20:11:41.769Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXagfaMh/agent.14 [2022-01-20T20:11:41.769Z] SSH_AGENT_PID=20 [2022-01-20T20:11:41.777Z] Running ssh-add (command line suppressed) [2022-01-20T20:11:41.873Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5579883274383767920.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5579883274383767920.key) [2022-01-20T20:11:41.889Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T20:11:42.185Z] + git semver tag [2022-01-20T20:11:42.185Z] # -> Open(): unable to determine branch for HEAD [2022-01-20T20:11:42.185Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-01-20T20:11:42.185Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-01-20T20:11:42.185Z] # $SEMVER_REMOTE_NAME = origin [2022-01-20T20:11:42.185Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-20T20:11:42.185Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-20T20:11:42.185Z] # $SEMVER_BRANCH = main [2022-01-20T20:11:42.185Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-01-20T20:11:42.185Z] # 6506aa605e312cf2eda10f01423d61b781597072 HEAD [2022-01-20T20:11:42.185Z] # -> Force: false [2022-01-20T20:11:42.185Z] # 1ab8984ac7fa1494c7fa1d260db618212711ed66 refs/tags/v2.2.0-dev.8 [Pipeline] } [2022-01-20T20:11:42.197Z] $ docker exec --env ******** --env ******** b6534e73e7bb9c2e7b2fa649f20ba870717c2c5820dd49df39c1b502fa36c1b0 ssh-agent -k [2022-01-20T20:11:42.288Z] unset SSH_AUTH_SOCK; [2022-01-20T20:11:42.288Z] unset SSH_AGENT_PID; [2022-01-20T20:11:42.288Z] echo Agent pid 20 killed; [2022-01-20T20:11:42.298Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-20T20:11:42.599Z] + git semver [Pipeline] } [2022-01-20T20:11:42.613Z] $ docker stop --time=1 b6534e73e7bb9c2e7b2fa649f20ba870717c2c5820dd49df39c1b502fa36c1b0 [2022-01-20T20:11:43.793Z] $ docker rm -f b6534e73e7bb9c2e7b2fa649f20ba870717c2c5820dd49df39c1b502fa36c1b0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:11:44.201Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-20T20:11:44.201Z] [2022-01-20T20:11:44.201Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:11:44.506Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-20T20:11:44.506Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-01-20T20:11:44.506Z] ab5ef0e58194: Pulling fs layer [2022-01-20T20:11:44.506Z] 9712f1f96733: Pulling fs layer [2022-01-20T20:11:44.506Z] 63f879dbbcfc: Pulling fs layer [2022-01-20T20:11:44.506Z] 0d9ebad4ef96: Pulling fs layer [2022-01-20T20:11:44.506Z] e9a5061849ea: Pulling fs layer [2022-01-20T20:11:44.506Z] d747dcd14b5f: Pulling fs layer [2022-01-20T20:11:44.506Z] 2de7ff778b66: Pulling fs layer [2022-01-20T20:11:44.506Z] 0d9ebad4ef96: Waiting [2022-01-20T20:11:44.506Z] e9a5061849ea: Waiting [2022-01-20T20:11:44.506Z] d747dcd14b5f: Waiting [2022-01-20T20:11:44.506Z] 2de7ff778b66: Waiting [2022-01-20T20:11:44.506Z] 9712f1f96733: Verifying Checksum [2022-01-20T20:11:44.506Z] 9712f1f96733: Download complete [2022-01-20T20:11:45.089Z] 0d9ebad4ef96: Verifying Checksum [2022-01-20T20:11:45.089Z] 0d9ebad4ef96: Download complete [2022-01-20T20:11:45.089Z] 63f879dbbcfc: Verifying Checksum [2022-01-20T20:11:45.089Z] 63f879dbbcfc: Download complete [2022-01-20T20:11:45.089Z] d747dcd14b5f: Verifying Checksum [2022-01-20T20:11:45.089Z] d747dcd14b5f: Download complete [2022-01-20T20:11:45.089Z] ab5ef0e58194: Verifying Checksum [2022-01-20T20:11:45.089Z] ab5ef0e58194: Download complete [2022-01-20T20:11:45.089Z] e9a5061849ea: Verifying Checksum [2022-01-20T20:11:45.089Z] e9a5061849ea: Download complete [2022-01-20T20:11:45.354Z] 2de7ff778b66: Verifying Checksum [2022-01-20T20:11:45.354Z] 2de7ff778b66: Download complete [2022-01-20T20:11:47.941Z] ab5ef0e58194: Pull complete [2022-01-20T20:11:48.205Z] 9712f1f96733: Pull complete [2022-01-20T20:11:48.785Z] 63f879dbbcfc: Pull complete [2022-01-20T20:11:53.043Z] 0d9ebad4ef96: Pull complete [2022-01-20T20:11:53.043Z] e9a5061849ea: Pull complete [2022-01-20T20:11:53.043Z] d747dcd14b5f: Pull complete [2022-01-20T20:11:54.444Z] 2de7ff778b66: Pull complete [2022-01-20T20:11:54.444Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-01-20T20:11:54.444Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-01-20T20:11:54.444Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-01-20T20:11:54.507Z] prd-centos7-docker-4c-2g-3544 does not seem to be running inside a container [2022-01-20T20:11:54.537Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-01-20T20:11:57.631Z] $ docker top b056b1e4ba6a4cbadd9e3e91fed0099ad82ae1f6f7486e59127acec43856d823 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-01-20T20:11:57.704Z] provisioning config files... [2022-01-20T20:11:57.711Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7038555852377379971tmp [2022-01-20T20:11:57.720Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1186088946383864244tmp [2022-01-20T20:11:57.728Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7749823629895429160tmp [Pipeline] { [Pipeline] echo [2022-01-20T20:11:57.740Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T20:11:58.025Z] ---> sigul-configuration.sh [2022-01-20T20:11:58.026Z] gpg: directory `/root/.gnupg' created [2022-01-20T20:11:58.026Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-01-20T20:11:58.026Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-01-20T20:11:58.026Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-01-20T20:11:58.026Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-01-20T20:11:58.026Z] gpg: CAST5 encrypted data [2022-01-20T20:11:58.026Z] gpg: encrypted with 1 passphrase [2022-01-20T20:11:58.026Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-01-20T20:11:58.313Z] + mkdir /home/jenkins [2022-01-20T20:11:58.313Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-01-20T20:11:58.605Z] + 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 [2022-01-20T20:11:58.615Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T20:11:58.903Z] ---> sigul-install.sh [2022-01-20T20:11:58.903Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-01-20T20:11:59.187Z] + git tag --list [2022-01-20T20:11:59.187Z] 0.7.1 [2022-01-20T20:11:59.187Z] v1.0.0 [2022-01-20T20:11:59.187Z] v1.1.0 [2022-01-20T20:11:59.187Z] v1.1.1 [2022-01-20T20:11:59.187Z] v1.2.2 [2022-01-20T20:11:59.187Z] v1.3.0 [2022-01-20T20:11:59.187Z] v1.3.1 [2022-01-20T20:11:59.187Z] v2.0.0 [2022-01-20T20:11:59.187Z] v2.0.1-dev.1 [2022-01-20T20:11:59.187Z] v2.0.1-dev.10 [2022-01-20T20:11:59.187Z] v2.0.1-dev.11 [2022-01-20T20:11:59.187Z] v2.0.1-dev.12 [2022-01-20T20:11:59.187Z] v2.0.1-dev.13 [2022-01-20T20:11:59.187Z] v2.0.1-dev.14 [2022-01-20T20:11:59.187Z] v2.0.1-dev.15 [2022-01-20T20:11:59.187Z] v2.0.1-dev.16 [2022-01-20T20:11:59.187Z] v2.0.1-dev.17 [2022-01-20T20:11:59.187Z] v2.0.1-dev.2 [2022-01-20T20:11:59.187Z] v2.0.1-dev.3 [2022-01-20T20:11:59.187Z] v2.0.1-dev.4 [2022-01-20T20:11:59.187Z] v2.0.1-dev.5 [2022-01-20T20:11:59.187Z] v2.0.1-dev.6 [2022-01-20T20:11:59.187Z] v2.0.1-dev.7 [2022-01-20T20:11:59.187Z] v2.0.1-dev.8 [2022-01-20T20:11:59.187Z] v2.0.1-dev.9 [2022-01-20T20:11:59.187Z] v2.1.0 [2022-01-20T20:11:59.187Z] v2.2.0-dev.1 [2022-01-20T20:11:59.187Z] v2.2.0-dev.2 [2022-01-20T20:11:59.187Z] v2.2.0-dev.3 [2022-01-20T20:11:59.187Z] v2.2.0-dev.4 [2022-01-20T20:11:59.187Z] v2.2.0-dev.5 [2022-01-20T20:11:59.187Z] v2.2.0-dev.6 [2022-01-20T20:11:59.187Z] v2.2.0-dev.7 [2022-01-20T20:11:59.187Z] v2.2.0-dev.8 [Pipeline] sh [2022-01-20T20:11:59.490Z] + lftools sign git-tag v2.2.0-dev.8 [2022-01-20T20:12:00.057Z] Signing Git tag with Sigul... [2022-01-20T20:12:00.057Z] Signing v2.2.0-dev.8 [Pipeline] echo [2022-01-20T20:12:00.323Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T20:12:00.611Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-01-20T20:12:00.618Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-01-20T20:12:00.637Z] $ docker stop --time=1 b056b1e4ba6a4cbadd9e3e91fed0099ad82ae1f6f7486e59127acec43856d823 [2022-01-20T20:12:01.852Z] $ docker rm -f b056b1e4ba6a4cbadd9e3e91fed0099ad82ae1f6f7486e59127acec43856d823 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-01-20T20:12:02.286Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-20T20:12:02.286Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:12:02.582Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T20:12:02.583Z] . [Pipeline] withDockerContainer [2022-01-20T20:12:02.644Z] prd-centos7-docker-4c-2g-3544 does not seem to be running inside a container [2022-01-20T20:12:02.679Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-20T20:12:03.013Z] $ docker top 7bf98119a3338ee8bf89f0075b90bdec8c20bc07ac60e896de1aa74c6061bf83 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-20T20:12:03.105Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T20:12:03.105Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T20:12:03.206Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T20:12:03.207Z] $ docker exec 7bf98119a3338ee8bf89f0075b90bdec8c20bc07ac60e896de1aa74c6061bf83 ssh-agent [2022-01-20T20:12:03.310Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlFcana/agent.14 [2022-01-20T20:12:03.310Z] SSH_AGENT_PID=21 [2022-01-20T20:12:03.315Z] Running ssh-add (command line suppressed) [2022-01-20T20:12:03.399Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2786632631663378889.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2786632631663378889.key) [2022-01-20T20:12:03.411Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T20:12:03.711Z] + git semver bump pre [2022-01-20T20:12:03.711Z] # -> Open(): unable to determine branch for HEAD [2022-01-20T20:12:03.711Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-01-20T20:12:03.711Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-01-20T20:12:03.711Z] # $SEMVER_REMOTE_NAME = origin [2022-01-20T20:12:03.711Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-20T20:12:03.711Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-20T20:12:03.711Z] # $SEMVER_BRANCH = main [2022-01-20T20:12:03.711Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-01-20T20:12:03.711Z] 2.2.0-dev.9 [Pipeline] } [2022-01-20T20:12:03.721Z] $ docker exec --env ******** --env ******** 7bf98119a3338ee8bf89f0075b90bdec8c20bc07ac60e896de1aa74c6061bf83 ssh-agent -k [2022-01-20T20:12:03.804Z] unset SSH_AUTH_SOCK; [2022-01-20T20:12:03.804Z] unset SSH_AGENT_PID; [2022-01-20T20:12:03.804Z] echo Agent pid 21 killed; [2022-01-20T20:12:03.812Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-20T20:12:04.123Z] + git semver [Pipeline] } [2022-01-20T20:12:04.137Z] $ docker stop --time=1 7bf98119a3338ee8bf89f0075b90bdec8c20bc07ac60e896de1aa74c6061bf83 [2022-01-20T20:12:05.331Z] $ docker rm -f 7bf98119a3338ee8bf89f0075b90bdec8c20bc07ac60e896de1aa74c6061bf83 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-20T20:12:05.683Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-20T20:12:05.683Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:12:05.984Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-20T20:12:05.984Z] . [Pipeline] withDockerContainer [2022-01-20T20:12:06.046Z] prd-centos7-docker-4c-2g-3544 does not seem to be running inside a container [2022-01-20T20:12:06.077Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-01-20T20:12:06.407Z] $ docker top b84c4cdf2a1e2b29b9c612fa7137d5cf532a5e3c4289b7dfae219b58c4309f20 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-20T20:12:06.500Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-20T20:12:06.501Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-20T20:12:06.600Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-20T20:12:06.601Z] $ docker exec b84c4cdf2a1e2b29b9c612fa7137d5cf532a5e3c4289b7dfae219b58c4309f20 ssh-agent [2022-01-20T20:12:06.693Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLaghma/agent.13 [2022-01-20T20:12:06.693Z] SSH_AGENT_PID=19 [2022-01-20T20:12:06.698Z] Running ssh-add (command line suppressed) [2022-01-20T20:12:06.782Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7260837283470641607.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7260837283470641607.key) [2022-01-20T20:12:06.793Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-20T20:12:07.085Z] + git semver push [2022-01-20T20:12:07.085Z] # -> Open(): unable to determine branch for HEAD [2022-01-20T20:12:07.085Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-01-20T20:12:07.085Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-01-20T20:12:07.085Z] # $SEMVER_REMOTE_NAME = origin [2022-01-20T20:12:07.085Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-20T20:12:07.085Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-20T20:12:07.085Z] # $SEMVER_BRANCH = main [2022-01-20T20:12:07.085Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2022-01-20T20:12:09.006Z] $ docker exec --env ******** --env ******** b84c4cdf2a1e2b29b9c612fa7137d5cf532a5e3c4289b7dfae219b58c4309f20 ssh-agent -k [2022-01-20T20:12:09.099Z] unset SSH_AUTH_SOCK; [2022-01-20T20:12:09.100Z] unset SSH_AGENT_PID; [2022-01-20T20:12:09.100Z] echo Agent pid 19 killed; [2022-01-20T20:12:09.110Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-20T20:12:09.417Z] + git semver [Pipeline] } [2022-01-20T20:12:09.430Z] $ docker stop --time=1 b84c4cdf2a1e2b29b9c612fa7137d5cf532a5e3c4289b7dfae219b58c4309f20 [2022-01-20T20:12:10.621Z] $ docker rm -f b84c4cdf2a1e2b29b9c612fa7137d5cf532a5e3c4289b7dfae219b58c4309f20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-01-20T20:12:11.196Z] + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [2022-01-20T20:12:11.196Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-01-20T20:12:11.196Z] total 8 [2022-01-20T20:12:11.196Z] drwxr-xr-x. 3 root root 34 Jan 20 20:04 . [2022-01-20T20:12:11.196Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 20 20:11 .. [2022-01-20T20:12:11.196Z] drwxr-xr-x. 2 root root 6 Jan 20 20:04 cost [2022-01-20T20:12:11.196Z] -rw-r--r--. 1 root root 84 Jan 20 20:04 cost.csv [2022-01-20T20:12:11.196Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-01-20T20:12:11.196Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-01-20T20:12:11.196Z] total 8 [2022-01-20T20:12:11.196Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 20 20:04 . [2022-01-20T20:12:11.196Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 20 20:11 .. [2022-01-20T20:12:11.196Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 20 20:04 cost [2022-01-20T20:12:11.196Z] -rw-r--r--. 1 jenkins jenkins 84 Jan 20 20:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-20T20:12:11.490Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T20:12:12.049Z] ---> package-listing.sh [2022-01-20T20:12:12.049Z] ++ facter osfamily [2022-01-20T20:12:12.049Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-20T20:12:12.313Z] + OS_FAMILY=redhat [2022-01-20T20:12:12.313Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-01-20T20:12:12.313Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-20T20:12:12.313Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-20T20:12:12.313Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-20T20:12:12.313Z] + PACKAGES=/tmp/packages_start.txt [2022-01-20T20:12:12.313Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-01-20T20:12:12.313Z] + PACKAGES=/tmp/packages_end.txt [2022-01-20T20:12:12.313Z] + case "${OS_FAMILY}" in [2022-01-20T20:12:12.313Z] + rpm -qa [2022-01-20T20:12:12.313Z] + sort [2022-01-20T20:12:12.886Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-20T20:12:12.886Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-20T20:12:12.886Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-20T20:12:12.886Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-01-20T20:12:12.886Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-01-20T20:12:12.886Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2022-01-20T20:12:12.898Z] 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 [2022-01-20T20:12:13.179Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-20T20:12:13.739Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-20T20:12:13.739Z] . [Pipeline] withDockerContainer [2022-01-20T20:12:13.798Z] prd-centos7-docker-4c-2g-3544 does not seem to be running inside a container [2022-01-20T20:12:13.828Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-01-20T20:12:14.038Z] $ docker top 70c021b377b7af3ed8d8903c800ff63a3dbe7ab52550cb4cd7d655326e9e4230 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-20T20:12:14.388Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-20T20:12:14.672Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-20T20:12:14.961Z] + ls /var/log/sa-host [2022-01-20T20:12:14.961Z] + sadf -c /var/log/sa-host/sa17 [2022-01-20T20:12:14.961Z] file_magic: OK [2022-01-20T20:12:14.961Z] HZ: Using current value: 100 [2022-01-20T20:12:14.961Z] file_header: OK [2022-01-20T20:12:14.961Z] 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 [2022-01-20T20:12:14.961Z] Statistics: [2022-01-20T20:12:14.961Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-20T20:12:14.961Z] File successfully converted to sysstat format version 12.0.3 [2022-01-20T20:12:14.961Z] + sadf -c /var/log/sa-host/sa20 [2022-01-20T20:12:14.961Z] file_magic: OK [2022-01-20T20:12:14.961Z] HZ: Using current value: 100 [2022-01-20T20:12:14.961Z] file_header: OK [2022-01-20T20:12:14.961Z] 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 [2022-01-20T20:12:14.961Z] Statistics: [2022-01-20T20:12:14.961Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-20T20:12:14.961Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-20T20:12:15.055Z] provisioning config files... [2022-01-20T20:12:15.061Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config500214218337202083tmp [Pipeline] { [Pipeline] echo [2022-01-20T20:12:15.071Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T20:12:15.347Z] ---> create-netrc.sh [Pipeline] } [2022-01-20T20:12:15.353Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-20T20:12:15.672Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-20T20:12:15.681Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T20:12:15.970Z] ---> sudo-logs.sh [2022-01-20T20:12:15.970Z] Archiving 'sudo' log.. [2022-01-20T20:12:15.970Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-3544.novalocal: Name or service not known [2022-01-20T20:12:15.970Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-3544.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-20T20:12:15.989Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T20:12:16.278Z] ---> job-cost.sh [2022-01-20T20:12:16.278Z] lf-activate-venv: SKIPPING [2022-01-20T20:12:16.278Z] DEBUG: total: 0.05999999865889549 [2022-01-20T20:12:16.278Z] INFO: Retrieving Stack Cost... [2022-01-20T20:12:16.542Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-20T20:12:17.112Z] INFO: Archiving Costs [Pipeline] echo [2022-01-20T20:12:17.126Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-20T20:12:17.416Z] ---> logs-deploy.sh [2022-01-20T20:12:17.416Z] lf-activate-venv: SKIPPING [2022-01-20T20:12:17.416Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/29 [2022-01-20T20:12:17.416Z] INFO: archiving workspace using pattern(s): [2022-01-20T20:12:17.988Z] Archives upload complete. [2022-01-20T20:12:18.248Z] INFO: archiving logs to Nexus