Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 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-ssh8541584077977904658.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh18416624238236681045.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 32edd24ee733e309d05e35b1f887f14b07bde6d0 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-ssh13637725969081487758.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 32edd24ee733e309d05e35b1f887f14b07bde6d0 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 32edd24ee733e309d05e35b1f887f14b07bde6d0 # timeout=10 Commit message: "Merge pull request #369 from ernestojeda/revert-script-move" > 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-ssh5142576510985135417.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-ssh176419166242849422.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-95 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-ssh3598314901853456917.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 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 (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 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 # timeout=10 Commit message: "Merge pull request #327 from farshidtz/snap-config-plug-target" > git rev-list --no-walk cb2e8553b38ac866c025eedbd79f7c0275d0a362 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-12-02T14:15:41.382Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-12-02T14:15:41.417Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-12-02T14:15:41.431Z] ========================================================= [2021-12-02T14:15:41.431Z] EdgeX Global Pipelines Version Info [2021-12-02T14:15:41.431Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:15:42.544Z] ------------------- [2021-12-02T14:15:42.544Z] stable info: [2021-12-02T14:15:42.544Z] ------------------- [2021-12-02T14:15:42.544Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-12-02T14:15:42.544Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-02T14:15:42.544Z] Message: update stable to v1.0.217 [2021-12-02T14:15:43.115Z] ------------------- [2021-12-02T14:15:43.115Z] experimental info: [2021-12-02T14:15:43.115Z] ------------------- [2021-12-02T14:15:43.115Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-12-02T14:15:43.115Z] Commit SHA: 32edd24ee733e309d05e35b1f887f14b07bde6d0 [2021-12-02T14:15:43.115Z] Message: update experimental to v1.0.217 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-12-02T14:15:43.251Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-12-02T14:15:43.266Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-12-02T14:15:43.279Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-12-02T14:15:43.292Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-12-02T14:15:43.309Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-12-02T14:15:43.328Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-12-02T14:15:43.346Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-12-02T14:15:43.364Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-12-02T14:15:43.383Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-12-02T14:15:43.399Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-12-02T14:15:43.414Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-12-02T14:15:43.426Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-12-02T14:15:43.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-12-02T14:15:43.452Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-12-02T14:15:43.471Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-12-02T14:15:43.489Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-12-02T14:15:43.499Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-12-02T14:15:43.512Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-12-02T14:15:43.524Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-12-02T14:15:43.535Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-12-02T14:15:43.546Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-12-02T14:15:43.558Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-12-02T14:15:43.573Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-12-02T14:15:43.582Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-12-02T14:15:43.594Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-12-02T14:15:43.608Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-12-02T14:15:43.620Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-12-02T14:15:43.632Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-12-02T14:15:43.643Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-12-02T14:15:43.656Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [Pipeline] echo [2021-12-02T14:15:43.670Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5cad309 [Pipeline] echo [2021-12-02T14:15:43.681Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T14:15:43.729Z] provisioning config files... [2021-12-02T14:15:43.745Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config972241386787917577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:15:44.058Z] ---> docker-login.sh [2021-12-02T14:15:44.059Z] nexus3.edgexfoundry.org:10001 [2021-12-02T14:15:44.059Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:15:44.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:15:44.323Z] Configure a credential helper to remove this warning. See [2021-12-02T14:15:44.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:15:44.323Z] [2021-12-02T14:15:44.323Z] Login Succeeded [2021-12-02T14:15:44.323Z] nexus3.edgexfoundry.org:10002 [2021-12-02T14:15:44.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:15:44.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:15:44.323Z] Configure a credential helper to remove this warning. See [2021-12-02T14:15:44.323Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:15:44.323Z] [2021-12-02T14:15:44.323Z] Login Succeeded [2021-12-02T14:15:44.323Z] nexus3.edgexfoundry.org:10003 [2021-12-02T14:15:44.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:15:44.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:15:44.597Z] Configure a credential helper to remove this warning. See [2021-12-02T14:15:44.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:15:44.597Z] [2021-12-02T14:15:44.597Z] Login Succeeded [2021-12-02T14:15:44.597Z] nexus3.edgexfoundry.org:10004 [2021-12-02T14:15:44.597Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:15:44.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:15:44.597Z] Configure a credential helper to remove this warning. See [2021-12-02T14:15:44.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:15:44.597Z] [2021-12-02T14:15:44.597Z] Login Succeeded [2021-12-02T14:15:44.597Z] docker.io [2021-12-02T14:15:44.860Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:15:45.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:15:45.122Z] Configure a credential helper to remove this warning. See [2021-12-02T14:15:45.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:15:45.122Z] [2021-12-02T14:15:45.122Z] Login Succeeded [2021-12-02T14:15:45.122Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T14:15:45.131Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-12-02T14:15:45.574Z] + git rev-list -1 --merges 5cad3091e7ab269ff3d854c908e2e05f0e1b0126~1..5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [Pipeline] echo [2021-12-02T14:15:45.599Z] -----------> git rev-list -1 --merges 5cad3091e7ab269ff3d854c908e2e05f0e1b0126~1..5cad3091e7ab269ff3d854c908e2e05f0e1b0126 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [2021-12-02T14:15:45.599Z] 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [false] [Pipeline] sh [2021-12-02T14:15:45.900Z] + git log --format=format:%s -1 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [Pipeline] echo [2021-12-02T14:15:45.919Z] ========================================================= [2021-12-02T14:15:45.919Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-12-02T14:15:45.919Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T14:15:46.256Z] + git log --format=format:%s -1 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [Pipeline] echo [2021-12-02T14:15:46.269Z] [semverPrep] GIT_COMMIT: 5cad3091e7ab269ff3d854c908e2e05f0e1b0126, Commit Message: Merge pull request #327 from farshidtz/snap-config-plug-target [Pipeline] echo [2021-12-02T14:15:46.280Z] [semverPrep] This is not a build commit. [Pipeline] sh [2021-12-02T14:15:46.704Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T14:15:46.704Z] + grep -v github /etc/ssh/ssh_known_hosts [2021-12-02T14:15:46.704Z] + '[' -e /tmp/ssh_known_hosts ']' [2021-12-02T14:15:46.704Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2021-12-02T14:15:46.704Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2021-12-02T14:15:46.704Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2021-12-02T14:15:46.704Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:15:47.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T14:15:47.134Z] [2021-12-02T14:15:47.134Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:15:47.442Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T14:15:47.442Z] latest: Pulling from edgex-devops/git-semver [2021-12-02T14:15:47.442Z] a0d0a0d46f8b: Pulling fs layer [2021-12-02T14:15:47.442Z] 3e5f54012d9b: Pulling fs layer [2021-12-02T14:15:47.442Z] 4c7163046ea9: Pulling fs layer [2021-12-02T14:15:47.442Z] 0c2d73faf560: Pulling fs layer [2021-12-02T14:15:47.442Z] 0c2d73faf560: Waiting [2021-12-02T14:15:47.442Z] 3e5f54012d9b: Verifying Checksum [2021-12-02T14:15:47.442Z] 3e5f54012d9b: Download complete [2021-12-02T14:15:47.442Z] a0d0a0d46f8b: Verifying Checksum [2021-12-02T14:15:47.442Z] a0d0a0d46f8b: Download complete [2021-12-02T14:15:47.442Z] 0c2d73faf560: Verifying Checksum [2021-12-02T14:15:47.442Z] 0c2d73faf560: Download complete [2021-12-02T14:15:47.442Z] 4c7163046ea9: Verifying Checksum [2021-12-02T14:15:47.442Z] 4c7163046ea9: Download complete [2021-12-02T14:15:47.705Z] a0d0a0d46f8b: Pull complete [2021-12-02T14:15:47.705Z] 3e5f54012d9b: Pull complete [2021-12-02T14:15:47.967Z] 4c7163046ea9: Pull complete [2021-12-02T14:15:48.233Z] 0c2d73faf560: Pull complete [2021-12-02T14:15:48.233Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-12-02T14:15:48.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T14:15:48.233Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-12-02T14:15:48.313Z] prd-centos7-docker-4c-2g-95 does not seem to be running inside a container [2021-12-02T14:15:48.357Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-02T14:15:48.956Z] $ docker top 9692160e2f32aefe29698d5a18376cd3ebc2896c590379ebe7a9d8173a2db66f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T14:15:49.054Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T14:15:49.054Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T14:15:49.173Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T14:15:49.175Z] $ docker exec 9692160e2f32aefe29698d5a18376cd3ebc2896c590379ebe7a9d8173a2db66f ssh-agent [2021-12-02T14:15:49.281Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFkcJKG/agent.13 [2021-12-02T14:15:49.281Z] SSH_AGENT_PID=20 [2021-12-02T14:15:49.287Z] Running ssh-add (command line suppressed) [2021-12-02T14:15:49.384Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5717001426650016512.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5717001426650016512.key) [2021-12-02T14:15:49.399Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T14:15:49.697Z] + git tag --points-at HEAD [Pipeline] } [2021-12-02T14:15:49.714Z] $ docker exec --env ******** --env ******** 9692160e2f32aefe29698d5a18376cd3ebc2896c590379ebe7a9d8173a2db66f ssh-agent -k [2021-12-02T14:15:49.806Z] unset SSH_AUTH_SOCK; [2021-12-02T14:15:49.806Z] unset SSH_AGENT_PID; [2021-12-02T14:15:49.806Z] echo Agent pid 20 killed; [2021-12-02T14:15:49.820Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-12-02T14:15:49.841Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T14:15:49.841Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T14:15:49.938Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T14:15:49.939Z] $ docker exec 9692160e2f32aefe29698d5a18376cd3ebc2896c590379ebe7a9d8173a2db66f ssh-agent [2021-12-02T14:15:50.033Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXmAfCEb/agent.56 [2021-12-02T14:15:50.033Z] SSH_AGENT_PID=63 [2021-12-02T14:15:50.042Z] Running ssh-add (command line suppressed) [2021-12-02T14:15:50.130Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1966134795130201150.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1966134795130201150.key) [2021-12-02T14:15:50.150Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T14:15:50.445Z] + git semver init [2021-12-02T14:15:50.445Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T14:15:50.445Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-12-02T14:15:50.445Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-02T14:15:50.445Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T14:15:50.445Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T14:15:50.445Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T14:15:50.445Z] # $SEMVER_BRANCH = main [2021-12-02T14:15:50.445Z] # $SEMVER_TEMP = /tmp/semver-619959834 [2021-12-02T14:15:50.445Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-12-02T14:15:51.385Z] # '/tmp/semver-619959834' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' [2021-12-02T14:15:51.385Z] # -> Force: false [2021-12-02T14:15:51.385Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2021-12-02T14:15:51.396Z] $ docker exec --env ******** --env ******** 9692160e2f32aefe29698d5a18376cd3ebc2896c590379ebe7a9d8173a2db66f ssh-agent -k [2021-12-02T14:15:51.483Z] unset SSH_AUTH_SOCK; [2021-12-02T14:15:51.485Z] unset SSH_AGENT_PID; [2021-12-02T14:15:51.485Z] echo Agent pid 63 killed; [2021-12-02T14:15:51.496Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T14:15:51.806Z] + git semver [Pipeline] } [2021-12-02T14:15:51.818Z] $ docker stop --time=1 9692160e2f32aefe29698d5a18376cd3ebc2896c590379ebe7a9d8173a2db66f [2021-12-02T14:15:53.040Z] $ docker rm -f 9692160e2f32aefe29698d5a18376cd3ebc2896c590379ebe7a9d8173a2db66f [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T14:15:53.380Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-12-02T14:15:53.602Z] Stashed 1 file(s) [Pipeline] echo [2021-12-02T14:15:53.605Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.3 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-12-02T14:16:08.822Z] Still waiting to schedule task [2021-12-02T14:16:08.822Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-95’ [2021-12-02T14:16:08.824Z] Still waiting to schedule task [2021-12-02T14:16:08.824Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-12-02T14:17:22.800Z] Running on prd-centos7-docker-4c-2g-97 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2021-12-02T14:17:22.812Z] Running in /w/workspace/device-mqtt-go/24 [Pipeline] { [Pipeline] checkout [2021-12-02T14:17:22.908Z] Selected Git installation does not exist. Using Default [2021-12-02T14:17:22.908Z] The recommended git tool is: NONE [2021-12-02T14:17:24.443Z] using credential edgex-jenkins-ssh [2021-12-02T14:17:24.453Z] Cloning the remote Git repository [2021-12-02T14:17:24.848Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-12-02T14:17:24.879Z] > git init /w/workspace/device-mqtt-go/24 # timeout=10 [2021-12-02T14:17:24.968Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-12-02T14:17:24.969Z] > git --version # timeout=10 [2021-12-02T14:17:24.981Z] > git --version # 'git version 2.24.4' [2021-12-02T14:17:24.982Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T14:17:25.000Z] [INFO] Currently running in a labeled security context [2021-12-02T14:17:25.000Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-12-02T14:17:25.000Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/24@tmp/jenkins-gitclient-ssh9189317082127316826.key [2021-12-02T14:17:25.027Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T14:17:25.407Z] Avoid second fetch [2021-12-02T14:17:25.408Z] Checking out Revision 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 (main) [2021-12-02T14:17:25.767Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-12-02T14:17:25.777Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T14:17:25.797Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T14:17:25.808Z] > git checkout -f 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 # timeout=10 [2021-12-02T14:17:29.147Z] Commit message: "Merge pull request #327 from farshidtz/snap-config-plug-target" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T14:17:29.508Z] provisioning config files... [2021-12-02T14:17:29.521Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/24@tmp/config4588672464629159892tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:17:29.925Z] ---> docker-login.sh [2021-12-02T14:17:29.926Z] nexus3.edgexfoundry.org:10001 [2021-12-02T14:17:29.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:17:29.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:17:29.926Z] Configure a credential helper to remove this warning. See [2021-12-02T14:17:29.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:17:29.926Z] [2021-12-02T14:17:29.926Z] Login Succeeded [2021-12-02T14:17:29.926Z] nexus3.edgexfoundry.org:10002 [2021-12-02T14:17:30.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:17:30.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:17:30.194Z] Configure a credential helper to remove this warning. See [2021-12-02T14:17:30.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:17:30.194Z] [2021-12-02T14:17:30.194Z] Login Succeeded [2021-12-02T14:17:30.194Z] nexus3.edgexfoundry.org:10003 [2021-12-02T14:17:30.194Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:17:30.194Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:17:30.194Z] Configure a credential helper to remove this warning. See [2021-12-02T14:17:30.194Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:17:30.194Z] [2021-12-02T14:17:30.194Z] Login Succeeded [2021-12-02T14:17:30.194Z] nexus3.edgexfoundry.org:10004 [2021-12-02T14:17:30.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:17:30.456Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:17:30.456Z] Configure a credential helper to remove this warning. See [2021-12-02T14:17:30.456Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:17:30.456Z] [2021-12-02T14:17:30.456Z] Login Succeeded [2021-12-02T14:17:30.456Z] docker.io [2021-12-02T14:17:30.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:17:30.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:17:30.718Z] Configure a credential helper to remove this warning. See [2021-12-02T14:17:30.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:17:30.718Z] [2021-12-02T14:17:30.718Z] Login Succeeded [2021-12-02T14:17:30.718Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T14:17:30.807Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-02T14:17:30.937Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T14:17:30.948Z] ========================================================= [2021-12-02T14:17:30.948Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-12-02T14:17:30.948Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:17:31.277Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-12-02T14:17:31.277Z] Sending build context to Docker daemon 2.953MB [2021-12-02T14:17:31.277Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T14:17:31.277Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-02T14:17:31.277Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-12-02T14:17:31.277Z] a0d0a0d46f8b: Pulling fs layer [2021-12-02T14:17:31.277Z] 31adcdaf11c8: Pulling fs layer [2021-12-02T14:17:31.277Z] b8b176561691: Pulling fs layer [2021-12-02T14:17:31.277Z] 4527c011a84f: Pulling fs layer [2021-12-02T14:17:31.277Z] 5d74067f8e1e: Pulling fs layer [2021-12-02T14:17:31.277Z] e0aca202a116: Pulling fs layer [2021-12-02T14:17:31.277Z] 3a43be97a3b4: Pulling fs layer [2021-12-02T14:17:31.277Z] 34cad66bf833: Pulling fs layer [2021-12-02T14:17:31.277Z] b4e3c513aaa6: Pulling fs layer [2021-12-02T14:17:31.277Z] 4527c011a84f: Waiting [2021-12-02T14:17:31.277Z] 5d74067f8e1e: Waiting [2021-12-02T14:17:31.277Z] e0aca202a116: Waiting [2021-12-02T14:17:31.277Z] 34cad66bf833: Waiting [2021-12-02T14:17:31.277Z] 3a43be97a3b4: Waiting [2021-12-02T14:17:31.277Z] b4e3c513aaa6: Waiting [2021-12-02T14:17:31.277Z] b8b176561691: Verifying Checksum [2021-12-02T14:17:31.277Z] b8b176561691: Download complete [2021-12-02T14:17:31.277Z] 31adcdaf11c8: Verifying Checksum [2021-12-02T14:17:31.277Z] 31adcdaf11c8: Download complete [2021-12-02T14:17:31.277Z] 5d74067f8e1e: Verifying Checksum [2021-12-02T14:17:31.277Z] 5d74067f8e1e: Download complete [2021-12-02T14:17:31.277Z] e0aca202a116: Verifying Checksum [2021-12-02T14:17:31.277Z] e0aca202a116: Download complete [2021-12-02T14:17:31.277Z] a0d0a0d46f8b: Verifying Checksum [2021-12-02T14:17:31.277Z] a0d0a0d46f8b: Download complete [2021-12-02T14:17:31.277Z] 3a43be97a3b4: Verifying Checksum [2021-12-02T14:17:31.277Z] 3a43be97a3b4: Download complete [2021-12-02T14:17:31.544Z] 34cad66bf833: Verifying Checksum [2021-12-02T14:17:31.544Z] 34cad66bf833: Download complete [2021-12-02T14:17:31.810Z] b4e3c513aaa6: Verifying Checksum [2021-12-02T14:17:31.810Z] b4e3c513aaa6: Download complete [2021-12-02T14:17:32.075Z] a0d0a0d46f8b: Pull complete [2021-12-02T14:17:32.075Z] 4527c011a84f: Verifying Checksum [2021-12-02T14:17:32.075Z] 4527c011a84f: Download complete [2021-12-02T14:17:32.075Z] 31adcdaf11c8: Pull complete [2021-12-02T14:17:32.075Z] b8b176561691: Pull complete [2021-12-02T14:17:36.318Z] 4527c011a84f: Pull complete [2021-12-02T14:17:36.318Z] 5d74067f8e1e: Pull complete [2021-12-02T14:17:36.318Z] e0aca202a116: Pull complete [2021-12-02T14:17:36.318Z] 3a43be97a3b4: Pull complete [2021-12-02T14:17:36.318Z] 34cad66bf833: Pull complete [2021-12-02T14:17:38.517Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-96 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2021-12-02T14:17:38.532Z] Running in /w/workspace/device-mqtt-go/24 [Pipeline] { [Pipeline] checkout [2021-12-02T14:17:38.716Z] Selected Git installation does not exist. Using Default [2021-12-02T14:17:38.716Z] The recommended git tool is: NONE [2021-12-02T14:17:38.868Z] b4e3c513aaa6: Pull complete [2021-12-02T14:17:38.868Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-12-02T14:17:38.868Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-12-02T14:17:38.868Z] ---> 9f6097aaca64 [2021-12-02T14:17:38.868Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T14:17:42.166Z] ---> Running in 73415ba17cba [2021-12-02T14:17:42.166Z] Removing intermediate container 73415ba17cba [2021-12-02T14:17:42.166Z] ---> 11473e623260 [2021-12-02T14:17:42.166Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T14:17:42.428Z] ---> Running in 190f51387b10 [2021-12-02T14:17:42.428Z] Removing intermediate container 190f51387b10 [2021-12-02T14:17:42.428Z] ---> 5bc52188f55b [2021-12-02T14:17:42.428Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T14:17:42.428Z] ---> Running in 0c6a5f3bcabf [2021-12-02T14:17:42.999Z] Removing intermediate container 0c6a5f3bcabf [2021-12-02T14:17:42.999Z] ---> 63eb195158f6 [2021-12-02T14:17:42.999Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T14:17:42.999Z] ---> Running in 0729a365b954 [2021-12-02T14:17:43.259Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T14:17:43.609Z] using credential edgex-jenkins-ssh [2021-12-02T14:17:43.625Z] Cloning the remote Git repository [2021-12-02T14:17:44.212Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T14:17:44.474Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-02T14:17:44.474Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-02T14:17:44.474Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-02T14:17:44.733Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-02T14:17:44.733Z] Executing busybox-1.33.1-r3.trigger [2021-12-02T14:17:44.733Z] OK: 224 MiB in 56 packages [2021-12-02T14:17:43.694Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-12-02T14:17:43.767Z] > git init /w/workspace/device-mqtt-go/24 # timeout=10 [2021-12-02T14:17:43.849Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-12-02T14:17:43.850Z] > git --version # timeout=10 [2021-12-02T14:17:43.869Z] > git --version # 'git version 2.17.1' [2021-12-02T14:17:43.871Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-12-02T14:17:43.931Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T14:17:44.994Z] Removing intermediate container 0729a365b954 [2021-12-02T14:17:44.994Z] ---> c9a01359813d [2021-12-02T14:17:44.994Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-12-02T14:17:44.994Z] ---> Running in fa2d4d76cc90 [2021-12-02T14:17:45.127Z] Avoid second fetch [2021-12-02T14:17:45.127Z] Checking out Revision 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 (main) [2021-12-02T14:17:45.258Z] Removing intermediate container fa2d4d76cc90 [2021-12-02T14:17:45.258Z] ---> decadc5a3da0 [2021-12-02T14:17:45.258Z] Step 8/11 : COPY . . [2021-12-02T14:17:45.530Z] ---> 7bedfae6e885 [2021-12-02T14:17:45.530Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T14:17:45.530Z] ---> Running in e7954a41f9e8 [2021-12-02T14:17:45.063Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-12-02T14:17:45.079Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-12-02T14:17:45.170Z] > git config core.sparsecheckout # timeout=10 [2021-12-02T14:17:45.217Z] > git checkout -f 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 # timeout=10 [2021-12-02T14:17:49.543Z] Commit message: "Merge pull request #327 from farshidtz/snap-config-plug-target" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T14:17:50.341Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-12-02T14:17:50.341Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-02T14:17:50.341Z] Dload Upload Total Spent Left Speed [2021-12-02T14:17:50.341Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 78304 0 --:--:-- --:--:-- --:--:-- 78304 100 11824 100 11824 0 0 77789 0 --:--:-- --:--:-- --:--:-- 77281 [Pipeline] sh [2021-12-02T14:17:50.889Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-12-02T14:17:51.236Z] + sudo tee /etc/docker/daemon.new [2021-12-02T14:17:51.236Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-12-02T14:17:51.236Z] { [2021-12-02T14:17:51.236Z] "registry-mirrors": [ [2021-12-02T14:17:51.236Z] "https://nexus3.edgexfoundry.org:10001" [2021-12-02T14:17:51.236Z] ], [2021-12-02T14:17:51.236Z] "bip": "10.250.0.254/24", [2021-12-02T14:17:51.236Z] "hosts": [ [2021-12-02T14:17:51.236Z] "tcp://0.0.0.0:5555", [2021-12-02T14:17:51.236Z] "unix:///var/run/docker.sock" [2021-12-02T14:17:51.236Z] ], [2021-12-02T14:17:51.236Z] "mtu": 1458, [2021-12-02T14:17:51.236Z] "selinux-enabled": true, [2021-12-02T14:17:51.236Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-12-02T14:17:51.236Z] } [Pipeline] sh [2021-12-02T14:17:51.599Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-12-02T14:17:51.940Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T14:18:10.322Z] provisioning config files... [2021-12-02T14:18:10.346Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/24@tmp/config5146091022347145922tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:18:10.709Z] ---> docker-login.sh [2021-12-02T14:18:10.709Z] nexus3.edgexfoundry.org:10001 [2021-12-02T14:18:11.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:18:11.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:18:11.315Z] Configure a credential helper to remove this warning. See [2021-12-02T14:18:11.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:18:11.315Z] [2021-12-02T14:18:11.315Z] Login Succeeded [2021-12-02T14:18:11.315Z] nexus3.edgexfoundry.org:10002 [2021-12-02T14:18:11.912Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:18:11.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:18:11.912Z] Configure a credential helper to remove this warning. See [2021-12-02T14:18:11.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:18:11.912Z] [2021-12-02T14:18:11.912Z] Login Succeeded [2021-12-02T14:18:11.912Z] nexus3.edgexfoundry.org:10003 [2021-12-02T14:18:12.185Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:18:12.465Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:18:12.465Z] Configure a credential helper to remove this warning. See [2021-12-02T14:18:12.465Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:18:12.465Z] [2021-12-02T14:18:12.465Z] Login Succeeded [2021-12-02T14:18:12.465Z] nexus3.edgexfoundry.org:10004 [2021-12-02T14:18:12.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:18:12.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:18:12.741Z] Configure a credential helper to remove this warning. See [2021-12-02T14:18:12.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:18:12.741Z] [2021-12-02T14:18:12.741Z] Login Succeeded [2021-12-02T14:18:12.741Z] docker.io [2021-12-02T14:18:13.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:18:13.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:18:13.607Z] Configure a credential helper to remove this warning. See [2021-12-02T14:18:13.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:18:13.607Z] [2021-12-02T14:18:13.607Z] Login Succeeded [2021-12-02T14:18:13.607Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T14:18:13.623Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-12-02T14:18:14.027Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T14:18:14.039Z] ========================================================= [2021-12-02T14:18:14.039Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-12-02T14:18:14.039Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:18:14.435Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-12-02T14:18:14.709Z] Sending build context to Docker daemon 2.952MB [2021-12-02T14:18:14.709Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T14:18:14.709Z] Step 2/11 : FROM ${BASE} AS builder [2021-12-02T14:18:14.984Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-12-02T14:18:14.984Z] 552d1f2373af: Pulling fs layer [2021-12-02T14:18:14.984Z] ea3f2d53f512: Pulling fs layer [2021-12-02T14:18:14.984Z] 9e70ebbbe112: Pulling fs layer [2021-12-02T14:18:14.984Z] 7a9cfe048b4a: Pulling fs layer [2021-12-02T14:18:14.984Z] 72dc09318566: Pulling fs layer [2021-12-02T14:18:14.984Z] f4f7b4309257: Pulling fs layer [2021-12-02T14:18:14.984Z] 0ac9a79272e3: Pulling fs layer [2021-12-02T14:18:14.984Z] b78e95d17946: Pulling fs layer [2021-12-02T14:18:14.984Z] 72dc09318566: Waiting [2021-12-02T14:18:14.984Z] 7a9cfe048b4a: Waiting [2021-12-02T14:18:14.984Z] f4f7b4309257: Waiting [2021-12-02T14:18:14.984Z] 0ac9a79272e3: Waiting [2021-12-02T14:18:14.984Z] 9e70ebbbe112: Verifying Checksum [2021-12-02T14:18:14.984Z] 9e70ebbbe112: Download complete [2021-12-02T14:18:14.984Z] ea3f2d53f512: Download complete [2021-12-02T14:18:14.984Z] 72dc09318566: Verifying Checksum [2021-12-02T14:18:14.984Z] 72dc09318566: Download complete [2021-12-02T14:18:14.984Z] f4f7b4309257: Verifying Checksum [2021-12-02T14:18:14.984Z] f4f7b4309257: Download complete [2021-12-02T14:18:14.984Z] 0ac9a79272e3: Verifying Checksum [2021-12-02T14:18:14.984Z] 0ac9a79272e3: Download complete [2021-12-02T14:18:14.984Z] 552d1f2373af: Verifying Checksum [2021-12-02T14:18:14.984Z] 552d1f2373af: Download complete [2021-12-02T14:18:15.975Z] 552d1f2373af: Pull complete [2021-12-02T14:18:16.253Z] ea3f2d53f512: Pull complete [2021-12-02T14:18:16.854Z] 9e70ebbbe112: Pull complete [2021-12-02T14:18:16.854Z] b78e95d17946: Verifying Checksum [2021-12-02T14:18:16.854Z] b78e95d17946: Download complete [2021-12-02T14:18:17.450Z] 7a9cfe048b4a: Verifying Checksum [2021-12-02T14:18:17.450Z] 7a9cfe048b4a: Download complete [2021-12-02T14:18:17.705Z] Removing intermediate container e7954a41f9e8 [2021-12-02T14:18:17.705Z] ---> e0b4ce3252d9 [2021-12-02T14:18:17.705Z] Step 10/11 : ARG MAKE='make build' [2021-12-02T14:18:17.705Z] ---> Running in dfa0ed1e8676 [2021-12-02T14:18:17.705Z] Removing intermediate container dfa0ed1e8676 [2021-12-02T14:18:17.705Z] ---> 3bd342fe957e [2021-12-02T14:18:17.705Z] Step 11/11 : RUN $MAKE [2021-12-02T14:18:17.705Z] ---> Running in 62a6665ecac7 [2021-12-02T14:18:17.705Z] noop [2021-12-02T14:18:17.967Z] Removing intermediate container 62a6665ecac7 [2021-12-02T14:18:17.967Z] ---> 4c3a03061033 [2021-12-02T14:18:17.967Z] Successfully built 4c3a03061033 [2021-12-02T14:18:17.967Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:18:18.267Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-02T14:18:18.267Z] . [Pipeline] withDockerContainer [2021-12-02T14:18:18.348Z] prd-centos7-docker-4c-2g-97 does not seem to be running inside a container [2021-12-02T14:18:18.393Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/24 -v /w/workspace/device-mqtt-go/24:/w/workspace/device-mqtt-go/24:rw,z -v /w/workspace/device-mqtt-go/24@tmp:/w/workspace/device-mqtt-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-02T14:18:18.763Z] $ docker top ecbf5342adfb385346187d9d2b63bd03f6c10e939df6a00d8844ccc87b1af4bf -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T14:18:19.121Z] + go version [2021-12-02T14:18:19.121Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-12-02T14:18:19.130Z] $ docker stop --time=1 ecbf5342adfb385346187d9d2b63bd03f6c10e939df6a00d8844ccc87b1af4bf [2021-12-02T14:18:20.315Z] $ docker rm -f ecbf5342adfb385346187d9d2b63bd03f6c10e939df6a00d8844ccc87b1af4bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:18:20.890Z] + docker inspect -f . ci-base-image-x86_64 [2021-12-02T14:18:20.890Z] . [Pipeline] withDockerContainer [2021-12-02T14:18:20.963Z] prd-centos7-docker-4c-2g-97 does not seem to be running inside a container [2021-12-02T14:18:20.991Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/24 -v /w/workspace/device-mqtt-go/24:/w/workspace/device-mqtt-go/24:rw,z -v /w/workspace/device-mqtt-go/24@tmp:/w/workspace/device-mqtt-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-12-02T14:18:21.330Z] $ docker top 839de3d17f1c5692d44fe4a70ac308d0e87b7e8c4c4c6dac0a43323bf562a556 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-02T14:18:21.711Z] + make test [2021-12-02T14:18:21.711Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-12-02T14:18:22.288Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-12-02T14:18:29.840Z] 7a9cfe048b4a: Pull complete [2021-12-02T14:18:29.840Z] 72dc09318566: Pull complete [2021-12-02T14:18:29.840Z] f4f7b4309257: Pull complete [2021-12-02T14:18:29.840Z] 0ac9a79272e3: Pull complete [2021-12-02T14:18:35.260Z] b78e95d17946: Pull complete [2021-12-02T14:18:35.260Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-12-02T14:18:35.260Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-12-02T14:18:35.260Z] ---> 8b459fc5aaf0 [2021-12-02T14:18:35.260Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T14:18:36.240Z] ---> Running in dde23fe12e66 [2021-12-02T14:18:36.516Z] Removing intermediate container dde23fe12e66 [2021-12-02T14:18:36.517Z] ---> dcf1fde8443d [2021-12-02T14:18:36.517Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T14:18:36.517Z] ---> Running in 87d754100537 [2021-12-02T14:18:37.113Z] Removing intermediate container 87d754100537 [2021-12-02T14:18:37.113Z] ---> 54e973747aa0 [2021-12-02T14:18:37.113Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T14:18:37.113Z] ---> Running in e12b9bb1058e [2021-12-02T14:18:37.305Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-12-02T14:18:37.305Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.5% of statements [2021-12-02T14:18:37.566Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-12-02T14:18:37.566Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-02T14:18:39.084Z] Removing intermediate container e12b9bb1058e [2021-12-02T14:18:39.084Z] ---> 77953cbfe1b3 [2021-12-02T14:18:39.084Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T14:18:39.084Z] ---> Running in 93822942cfd4 [2021-12-02T14:18:40.061Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T14:18:40.655Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T14:18:41.632Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-12-02T14:18:41.632Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-12-02T14:18:41.632Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-12-02T14:18:41.905Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-12-02T14:18:41.905Z] Executing busybox-1.33.1-r3.trigger [2021-12-02T14:18:41.905Z] OK: 223 MiB in 56 packages [2021-12-02T14:18:42.886Z] Removing intermediate container 93822942cfd4 [2021-12-02T14:18:42.886Z] ---> 04c47d1a57a4 [2021-12-02T14:18:42.886Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-12-02T14:18:43.160Z] ---> Running in 0f1bcb62ffaf [2021-12-02T14:18:43.432Z] Removing intermediate container 0f1bcb62ffaf [2021-12-02T14:18:43.432Z] ---> b4e277699bb1 [2021-12-02T14:18:43.432Z] Step 8/11 : COPY . . [2021-12-02T14:18:44.192Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-02T14:18:44.192Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-02T14:18:44.192Z] ./bin/test-attribution-txt.sh [2021-12-02T14:18:44.416Z] ---> 58d2e85a740f [2021-12-02T14:18:44.416Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T14:18:44.416Z] ---> Running in 89f40f43f4ae [Pipeline] echo [2021-12-02T14:18:44.461Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-02T14:18:44.470Z] $ docker stop --time=1 839de3d17f1c5692d44fe4a70ac308d0e87b7e8c4c4c6dac0a43323bf562a556 [2021-12-02T14:18:45.923Z] $ docker rm -f 839de3d17f1c5692d44fe4a70ac308d0e87b7e8c4c4c6dac0a43323bf562a556 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T14:18:46.328Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-02T14:18:46.479Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-12-02T14:18:47.551Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-02T14:18:47.840Z] + ls -al . [2021-12-02T14:18:47.840Z] total 148 [2021-12-02T14:18:47.840Z] drwxrwxr-x. 9 jenkins jenkins 4096 Dec 2 14:18 . [2021-12-02T14:18:47.840Z] drwxrwxr-x. 4 jenkins jenkins 30 Dec 2 14:17 .. [2021-12-02T14:18:47.840Z] -rw-rw-r--. 1 jenkins jenkins 7287 Dec 2 14:17 Attribution.txt [2021-12-02T14:18:47.840Z] drwxrwxr-x. 2 jenkins jenkins 60 Dec 2 14:17 bin [2021-12-02T14:18:47.840Z] -rw-rw-r--. 1 jenkins jenkins 7447 Dec 2 14:17 CHANGELOG.md [2021-12-02T14:18:47.840Z] drwxrwxr-x. 3 jenkins jenkins 32 Dec 2 14:17 cmd [2021-12-02T14:18:47.840Z] -rw-r--r--. 1 jenkins jenkins 17452 Dec 2 14:18 coverage.out [2021-12-02T14:18:47.840Z] -rw-rw-r--. 1 jenkins jenkins 1907 Dec 2 14:17 Dockerfile [2021-12-02T14:18:47.840Z] -rw-rw-r--. 1 jenkins jenkins 140 Dec 2 14:17 .dockerignore [2021-12-02T14:18:47.840Z] drwxrwxr-x. 8 jenkins jenkins 162 Dec 2 14:17 .git [2021-12-02T14:18:47.840Z] drwxrwxr-x. 2 jenkins jenkins 103 Dec 2 14:17 .github [2021-12-02T14:18:47.840Z] -rw-rw-r--. 1 jenkins jenkins 329 Dec 2 14:17 .gitignore [2021-12-02T14:18:47.840Z] -rw-rw-r--. 1 jenkins jenkins 410 Dec 2 14:17 go.mod [2021-12-02T14:18:47.840Z] -rw-rw-r--. 1 jenkins jenkins 49409 Dec 2 14:17 go.sum [2021-12-02T14:18:47.840Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 2 14:17 GOVERNANCE.md [2021-12-02T14:18:47.840Z] drwxrwxr-x. 3 jenkins jenkins 20 Dec 2 14:17 internal [2021-12-02T14:18:47.840Z] -rw-rw-r--. 1 jenkins jenkins 677 Dec 2 14:17 Jenkinsfile [2021-12-02T14:18:47.840Z] -rw-rw-r--. 1 jenkins jenkins 11340 Dec 2 14:17 LICENSE [2021-12-02T14:18:47.840Z] -rw-rw-r--. 1 jenkins jenkins 1030 Dec 2 14:17 Makefile [2021-12-02T14:18:47.840Z] drwxrwxr-x. 2 jenkins jenkins 23 Dec 2 14:17 mock [2021-12-02T14:18:47.840Z] -rw-rw-r--. 1 jenkins jenkins 620 Dec 2 14:17 OWNERS.md [2021-12-02T14:18:47.840Z] -rw-rw-r--. 1 jenkins jenkins 2211 Dec 2 14:17 README.md [2021-12-02T14:18:47.840Z] drwxrwxr-x. 4 jenkins jenkins 71 Dec 2 14:17 snap [2021-12-02T14:18:47.840Z] -rw-rw-r--. 1 jenkins jenkins 11 Dec 2 14:15 VERSION [2021-12-02T14:18:47.840Z] -rw-rw-r--. 1 jenkins jenkins 227 Dec 2 14:17 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:18:48.150Z] + 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=5cad3091e7ab269ff3d854c908e2e05f0e1b0126 --label arch=amd64 --label version=2.2.0-dev.3 . [2021-12-02T14:18:48.150Z] Sending build context to Docker daemon 2.972MB [2021-12-02T14:18:48.150Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T14:18:48.150Z] Step 2/23 : FROM ${BASE} AS builder [2021-12-02T14:18:48.150Z] ---> 4c3a03061033 [2021-12-02T14:18:48.150Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T14:18:48.150Z] ---> Running in f0ddb25dcc15 [2021-12-02T14:18:48.150Z] Removing intermediate container f0ddb25dcc15 [2021-12-02T14:18:48.150Z] ---> 2456ede36b19 [2021-12-02T14:18:48.150Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T14:18:48.422Z] ---> Running in 75a6066e771a [2021-12-02T14:18:48.422Z] Removing intermediate container 75a6066e771a [2021-12-02T14:18:48.422Z] ---> 3e8d8df09f7e [2021-12-02T14:18:48.422Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T14:18:48.422Z] ---> Running in 8be03eb9cc96 [2021-12-02T14:18:48.999Z] Removing intermediate container 8be03eb9cc96 [2021-12-02T14:18:48.999Z] ---> 493a62eabbc8 [2021-12-02T14:18:48.999Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T14:18:48.999Z] ---> Running in 3fc4a8629420 [2021-12-02T14:18:49.259Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T14:18:50.201Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T14:18:50.463Z] OK: 224 MiB in 56 packages [2021-12-02T14:18:50.463Z] Removing intermediate container 3fc4a8629420 [2021-12-02T14:18:50.463Z] ---> 0a3fe6aee4c3 [2021-12-02T14:18:50.463Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-12-02T14:18:50.723Z] ---> Running in 06d3f99e4049 [2021-12-02T14:18:50.723Z] Removing intermediate container 06d3f99e4049 [2021-12-02T14:18:50.723Z] ---> 8a21922e1a2c [2021-12-02T14:18:50.723Z] Step 8/23 : COPY . . [2021-12-02T14:18:50.990Z] ---> a810873e9633 [2021-12-02T14:18:50.990Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T14:18:50.990Z] ---> Running in 1617c230f49c [2021-12-02T14:18:51.564Z] Removing intermediate container 1617c230f49c [2021-12-02T14:18:51.564Z] ---> 4461b944a142 [2021-12-02T14:18:51.564Z] Step 10/23 : ARG MAKE='make build' [2021-12-02T14:18:51.564Z] ---> Running in 15729e07cf38 [2021-12-02T14:18:51.564Z] Removing intermediate container 15729e07cf38 [2021-12-02T14:18:51.564Z] ---> ce25d476ce0a [2021-12-02T14:18:51.564Z] Step 11/23 : RUN $MAKE [2021-12-02T14:18:51.564Z] ---> Running in e3a2d421da12 [2021-12-02T14:18:51.824Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.3" -o cmd/device-mqtt ./cmd [2021-12-02T14:19:04.088Z] Removing intermediate container e3a2d421da12 [2021-12-02T14:19:04.088Z] ---> 5493308863e4 [2021-12-02T14:19:04.088Z] Step 12/23 : FROM alpine:3.14 [2021-12-02T14:19:04.088Z] 3.14: Pulling from library/alpine [2021-12-02T14:19:04.088Z] 97518928ae5f: Pulling fs layer [2021-12-02T14:19:04.088Z] 97518928ae5f: Verifying Checksum [2021-12-02T14:19:04.088Z] 97518928ae5f: Download complete [2021-12-02T14:19:04.088Z] 97518928ae5f: Pull complete [2021-12-02T14:19:04.088Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-02T14:19:04.088Z] Status: Downloaded newer image for alpine:3.14 [2021-12-02T14:19:04.088Z] ---> 0a97eee8041e [2021-12-02T14:19:04.088Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-12-02T14:19:04.349Z] ---> Running in 8691f87576ce [2021-12-02T14:19:04.349Z] Removing intermediate container 8691f87576ce [2021-12-02T14:19:04.349Z] ---> 93725db427c4 [2021-12-02T14:19:04.349Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-02T14:19:04.349Z] ---> Running in 701e7b647eab [2021-12-02T14:19:04.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-12-02T14:19:04.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-12-02T14:19:04.873Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-02T14:19:04.873Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-02T14:19:04.873Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-02T14:19:04.873Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-02T14:19:04.873Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-02T14:19:04.873Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-02T14:19:04.873Z] Executing busybox-1.33.1-r6.trigger [2021-12-02T14:19:04.873Z] OK: 8 MiB in 20 packages [2021-12-02T14:19:05.138Z] Removing intermediate container 701e7b647eab [2021-12-02T14:19:05.138Z] ---> 0e17fbcb8294 [2021-12-02T14:19:05.138Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-12-02T14:19:05.712Z] ---> ab8547454f49 [2021-12-02T14:19:05.712Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-12-02T14:19:05.712Z] ---> 883f098a23d1 [2021-12-02T14:19:05.712Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-12-02T14:19:05.974Z] ---> 331cd46fd5c7 [2021-12-02T14:19:05.974Z] Step 18/23 : EXPOSE 59982 [2021-12-02T14:19:05.974Z] ---> Running in 4e210b9c9ec2 [2021-12-02T14:19:05.974Z] Removing intermediate container 4e210b9c9ec2 [2021-12-02T14:19:05.974Z] ---> 574182164484 [2021-12-02T14:19:05.974Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-12-02T14:19:05.974Z] ---> Running in 3ba0ad517a51 [2021-12-02T14:19:05.974Z] Removing intermediate container 3ba0ad517a51 [2021-12-02T14:19:05.974Z] ---> 2a5c42b4e3d8 [2021-12-02T14:19:05.974Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-12-02T14:19:05.974Z] ---> Running in 60bad1dee35c [2021-12-02T14:19:06.240Z] Removing intermediate container 60bad1dee35c [2021-12-02T14:19:06.241Z] ---> 19d7ddd23a0b [2021-12-02T14:19:06.241Z] Step 21/23 : LABEL arch=amd64 [2021-12-02T14:19:06.241Z] ---> Running in 17525cedfcfe [2021-12-02T14:19:06.241Z] Removing intermediate container 17525cedfcfe [2021-12-02T14:19:06.241Z] ---> 554bc6bcfcde [2021-12-02T14:19:06.241Z] Step 22/23 : LABEL git_sha=5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [2021-12-02T14:19:06.241Z] ---> Running in e315870fd303 [2021-12-02T14:19:06.241Z] Removing intermediate container e315870fd303 [2021-12-02T14:19:06.241Z] ---> 72eaee18bc0e [2021-12-02T14:19:06.241Z] Step 23/23 : LABEL version=2.2.0-dev.3 [2021-12-02T14:19:06.501Z] ---> Running in 18ded2d42b3b [2021-12-02T14:19:06.501Z] Removing intermediate container 18ded2d42b3b [2021-12-02T14:19:06.501Z] ---> 1c86234d7281 [2021-12-02T14:19:06.501Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-02T14:19:06.501Z] Successfully built 1c86234d7281 [2021-12-02T14:19:06.501Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T14:19:06.639Z] provisioning config files... [2021-12-02T14:19:06.652Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/24@tmp/config4981312062222974978tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:19:06.955Z] ---> docker-login.sh [2021-12-02T14:19:06.955Z] nexus3.edgexfoundry.org:10001 [2021-12-02T14:19:06.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:19:06.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:19:06.955Z] Configure a credential helper to remove this warning. See [2021-12-02T14:19:06.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:19:06.955Z] [2021-12-02T14:19:06.955Z] Login Succeeded [2021-12-02T14:19:06.955Z] nexus3.edgexfoundry.org:10002 [2021-12-02T14:19:06.955Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:19:06.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:19:06.956Z] Configure a credential helper to remove this warning. See [2021-12-02T14:19:06.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:19:06.956Z] [2021-12-02T14:19:06.956Z] Login Succeeded [2021-12-02T14:19:06.956Z] nexus3.edgexfoundry.org:10003 [2021-12-02T14:19:07.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:19:07.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:19:07.219Z] Configure a credential helper to remove this warning. See [2021-12-02T14:19:07.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:19:07.219Z] [2021-12-02T14:19:07.219Z] Login Succeeded [2021-12-02T14:19:07.219Z] nexus3.edgexfoundry.org:10004 [2021-12-02T14:19:07.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:19:07.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:19:07.219Z] Configure a credential helper to remove this warning. See [2021-12-02T14:19:07.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:19:07.219Z] [2021-12-02T14:19:07.219Z] Login Succeeded [2021-12-02T14:19:07.219Z] docker.io [2021-12-02T14:19:07.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:19:07.743Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:19:07.743Z] Configure a credential helper to remove this warning. See [2021-12-02T14:19:07.743Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:19:07.743Z] [2021-12-02T14:19:07.743Z] Login Succeeded [2021-12-02T14:19:07.743Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T14:19:07.752Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T14:19:07.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T14:19:07.814Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2021-12-02T14:19:07.814Z] 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [2021-12-02T14:19:07.814Z] latest [2021-12-02T14:19:07.814Z] 2.2.0-dev.3 [2021-12-02T14:19:07.814Z] 5cad3091e7ab269ff3d854c908e2e05f0e1b0126-2.2.0-dev.3 [2021-12-02T14:19:07.814Z] main [2021-12-02T14:19:07.814Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:19:08.139Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:19:08.441Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [2021-12-02T14:19:08.441Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-12-02T14:19:08.441Z] c19c7c87467e: Preparing [2021-12-02T14:19:08.441Z] 871c034d8c0d: Preparing [2021-12-02T14:19:08.441Z] e84bb3b7c820: Preparing [2021-12-02T14:19:08.441Z] 9a612cb4f38e: Preparing [2021-12-02T14:19:08.441Z] 1a058d5342cc: Preparing [2021-12-02T14:19:08.441Z] 1a058d5342cc: Layer already exists [2021-12-02T14:19:08.703Z] 871c034d8c0d: Pushed [2021-12-02T14:19:08.703Z] c19c7c87467e: Pushed [2021-12-02T14:19:08.703Z] 9a612cb4f38e: Pushed [2021-12-02T14:19:10.086Z] e84bb3b7c820: Pushed [2021-12-02T14:19:10.086Z] 5cad3091e7ab269ff3d854c908e2e05f0e1b0126: digest: sha256:2261bbdb1180a327302c2ba863d18e99dccede2ead51192c79ede52b872bdc79 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:19:10.387Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:19:10.685Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-12-02T14:19:10.685Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-12-02T14:19:10.685Z] c19c7c87467e: Preparing [2021-12-02T14:19:10.685Z] 871c034d8c0d: Preparing [2021-12-02T14:19:10.685Z] e84bb3b7c820: Preparing [2021-12-02T14:19:10.685Z] 9a612cb4f38e: Preparing [2021-12-02T14:19:10.685Z] 1a058d5342cc: Preparing [2021-12-02T14:19:10.685Z] e84bb3b7c820: Layer already exists [2021-12-02T14:19:10.685Z] c19c7c87467e: Layer already exists [2021-12-02T14:19:10.685Z] 9a612cb4f38e: Layer already exists [2021-12-02T14:19:10.685Z] 871c034d8c0d: Layer already exists [2021-12-02T14:19:10.685Z] 1a058d5342cc: Layer already exists [2021-12-02T14:19:10.685Z] latest: digest: sha256:2261bbdb1180a327302c2ba863d18e99dccede2ead51192c79ede52b872bdc79 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:19:10.983Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:19:11.278Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.3 [2021-12-02T14:19:11.278Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-12-02T14:19:11.278Z] c19c7c87467e: Preparing [2021-12-02T14:19:11.278Z] 871c034d8c0d: Preparing [2021-12-02T14:19:11.278Z] e84bb3b7c820: Preparing [2021-12-02T14:19:11.278Z] 9a612cb4f38e: Preparing [2021-12-02T14:19:11.278Z] 1a058d5342cc: Preparing [2021-12-02T14:19:11.278Z] e84bb3b7c820: Layer already exists [2021-12-02T14:19:11.278Z] 9a612cb4f38e: Layer already exists [2021-12-02T14:19:11.278Z] 1a058d5342cc: Layer already exists [2021-12-02T14:19:11.278Z] 871c034d8c0d: Layer already exists [2021-12-02T14:19:11.278Z] c19c7c87467e: Layer already exists [2021-12-02T14:19:11.278Z] 2.2.0-dev.3: digest: sha256:2261bbdb1180a327302c2ba863d18e99dccede2ead51192c79ede52b872bdc79 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:19:11.574Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:5cad3091e7ab269ff3d854c908e2e05f0e1b0126-2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:19:11.871Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:5cad3091e7ab269ff3d854c908e2e05f0e1b0126-2.2.0-dev.3 [2021-12-02T14:19:11.871Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-12-02T14:19:11.871Z] c19c7c87467e: Preparing [2021-12-02T14:19:11.871Z] 871c034d8c0d: Preparing [2021-12-02T14:19:11.871Z] e84bb3b7c820: Preparing [2021-12-02T14:19:11.871Z] 9a612cb4f38e: Preparing [2021-12-02T14:19:11.871Z] 1a058d5342cc: Preparing [2021-12-02T14:19:11.871Z] 871c034d8c0d: Layer already exists [2021-12-02T14:19:11.871Z] 1a058d5342cc: Layer already exists [2021-12-02T14:19:11.871Z] e84bb3b7c820: Layer already exists [2021-12-02T14:19:11.871Z] 9a612cb4f38e: Layer already exists [2021-12-02T14:19:11.871Z] c19c7c87467e: Layer already exists [2021-12-02T14:19:11.871Z] 5cad3091e7ab269ff3d854c908e2e05f0e1b0126-2.2.0-dev.3: digest: sha256:2261bbdb1180a327302c2ba863d18e99dccede2ead51192c79ede52b872bdc79 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:19:12.180Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:19:12.477Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2021-12-02T14:19:12.477Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-12-02T14:19:12.477Z] c19c7c87467e: Preparing [2021-12-02T14:19:12.477Z] 871c034d8c0d: Preparing [2021-12-02T14:19:12.477Z] e84bb3b7c820: Preparing [2021-12-02T14:19:12.477Z] 9a612cb4f38e: Preparing [2021-12-02T14:19:12.477Z] 1a058d5342cc: Preparing [2021-12-02T14:19:12.477Z] e84bb3b7c820: Layer already exists [2021-12-02T14:19:12.477Z] 871c034d8c0d: Layer already exists [2021-12-02T14:19:12.477Z] 9a612cb4f38e: Layer already exists [2021-12-02T14:19:12.477Z] c19c7c87467e: Layer already exists [2021-12-02T14:19:12.477Z] 1a058d5342cc: Layer already exists [2021-12-02T14:19:12.477Z] main: digest: sha256:2261bbdb1180a327302c2ba863d18e99dccede2ead51192c79ede52b872bdc79 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T14:19:12.504Z] ===================================================== [Pipeline] echo [2021-12-02T14:19:12.513Z] taggedImages: [2021-12-02T14:19:12.513Z] - nexus3.edgexfoundry.org:10004/device-mqtt:5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [2021-12-02T14:19:12.513Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-12-02T14:19:12.513Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.3 [2021-12-02T14:19:12.513Z] - nexus3.edgexfoundry.org:10004/device-mqtt:5cad3091e7ab269ff3d854c908e2e05f0e1b0126-2.2.0-dev.3 [2021-12-02T14:19:12.513Z] - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:19:13.005Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T14:19:13.005Z] [2021-12-02T14:19:13.005Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:19:13.310Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T14:19:13.310Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-02T14:19:13.310Z] b4d181a07f80: Pulling fs layer [2021-12-02T14:19:13.310Z] a1111a8f2ec3: Pulling fs layer [2021-12-02T14:19:13.310Z] ed53099fbce6: Pulling fs layer [2021-12-02T14:19:13.310Z] dc539afda2c1: Pulling fs layer [2021-12-02T14:19:13.310Z] 77bc0d833cb6: Pulling fs layer [2021-12-02T14:19:13.310Z] 9065ff56babe: Pulling fs layer [2021-12-02T14:19:13.310Z] d287ab97295c: Pulling fs layer [2021-12-02T14:19:13.310Z] dc539afda2c1: Waiting [2021-12-02T14:19:13.310Z] 77bc0d833cb6: Waiting [2021-12-02T14:19:13.310Z] 9065ff56babe: Waiting [2021-12-02T14:19:13.310Z] d287ab97295c: Waiting [2021-12-02T14:19:13.310Z] a1111a8f2ec3: Verifying Checksum [2021-12-02T14:19:13.310Z] a1111a8f2ec3: Download complete [2021-12-02T14:19:13.310Z] dc539afda2c1: Verifying Checksum [2021-12-02T14:19:13.310Z] dc539afda2c1: Download complete [2021-12-02T14:19:13.310Z] ed53099fbce6: Verifying Checksum [2021-12-02T14:19:13.310Z] ed53099fbce6: Download complete [2021-12-02T14:19:13.310Z] 9065ff56babe: Verifying Checksum [2021-12-02T14:19:13.310Z] 9065ff56babe: Download complete [2021-12-02T14:19:13.571Z] 77bc0d833cb6: Verifying Checksum [2021-12-02T14:19:13.571Z] 77bc0d833cb6: Download complete [2021-12-02T14:19:13.571Z] b4d181a07f80: Verifying Checksum [2021-12-02T14:19:13.571Z] b4d181a07f80: Download complete [2021-12-02T14:19:14.154Z] d287ab97295c: Verifying Checksum [2021-12-02T14:19:14.154Z] d287ab97295c: Download complete [2021-12-02T14:19:15.096Z] b4d181a07f80: Pull complete [2021-12-02T14:19:15.096Z] a1111a8f2ec3: Pull complete [2021-12-02T14:19:15.666Z] ed53099fbce6: Pull complete [2021-12-02T14:19:15.930Z] dc539afda2c1: Pull complete [2021-12-02T14:19:16.195Z] 77bc0d833cb6: Pull complete [2021-12-02T14:19:16.195Z] 9065ff56babe: Pull complete [2021-12-02T14:19:21.522Z] d287ab97295c: Pull complete [2021-12-02T14:19:21.522Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-02T14:19:21.522Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T14:19:21.522Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-02T14:19:21.589Z] prd-centos7-docker-4c-2g-97 does not seem to be running inside a container [2021-12-02T14:19:21.627Z] $ 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/24 -v /w/workspace/device-mqtt-go/24:/w/workspace/device-mqtt-go/24:rw,z -v /w/workspace/device-mqtt-go/24@tmp:/w/workspace/device-mqtt-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-02T14:19:24.137Z] $ docker top f2713f33327853f9d9922bd9deedfc4fe81cb9579b17df56d4e0319850808834 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:19:24.570Z] ---> job-cost.sh [2021-12-02T14:19:24.570Z] lf-activate-venv: SKIPPING [2021-12-02T14:19:24.570Z] INFO: No Stack... [2021-12-02T14:19:24.835Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-02T14:19:25.096Z] INFO: Archiving Costs [Pipeline] sh [2021-12-02T14:19:25.394Z] + cut -d, -f6 [2021-12-02T14:19:25.394Z] + cat /w/workspace/device-mqtt-go/24/archives/cost.csv [Pipeline] lock [2021-12-02T14:19:25.434Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-24-stack-cost] [2021-12-02T14:19:25.445Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-24-stack-cost] did not exist. Created. [2021-12-02T14:19:25.445Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-02T14:19:25.759Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-12-02T14:19:25.786Z] Stashed 1 file(s) [Pipeline] } [2021-12-02T14:19:25.792Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-24-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-02T14:19:25.813Z] $ docker stop --time=1 f2713f33327853f9d9922bd9deedfc4fe81cb9579b17df56d4e0319850808834 [2021-12-02T14:19:26.975Z] $ docker rm -f f2713f33327853f9d9922bd9deedfc4fe81cb9579b17df56d4e0319850808834 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-12-02T14:20:06.230Z] Removing intermediate container 89f40f43f4ae [2021-12-02T14:20:06.230Z] ---> 8b2bf0655493 [2021-12-02T14:20:06.230Z] Step 10/11 : ARG MAKE='make build' [2021-12-02T14:20:06.230Z] ---> Running in 96094e136113 [2021-12-02T14:20:06.230Z] Removing intermediate container 96094e136113 [2021-12-02T14:20:06.230Z] ---> dd268c67bea1 [2021-12-02T14:20:06.230Z] Step 11/11 : RUN $MAKE [2021-12-02T14:20:06.230Z] ---> Running in ad8404462f08 [2021-12-02T14:20:06.230Z] noop [2021-12-02T14:20:06.230Z] Removing intermediate container ad8404462f08 [2021-12-02T14:20:06.230Z] ---> b63429850c81 [2021-12-02T14:20:06.230Z] Successfully built b63429850c81 [2021-12-02T14:20:06.230Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:20:06.579Z] + docker inspect -f . ci-base-image-arm64 [2021-12-02T14:20:06.579Z] . [Pipeline] withDockerContainer [2021-12-02T14:20:06.825Z] prd-ubuntu18.04-docker-arm64-4c-16g-96 does not seem to be running inside a container [2021-12-02T14:20:06.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/24 -v /w/workspace/device-mqtt-go/24:/w/workspace/device-mqtt-go/24:rw,z -v /w/workspace/device-mqtt-go/24@tmp:/w/workspace/device-mqtt-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-02T14:20:08.264Z] $ docker top f32aa2c7a31e240705eb97b74e7d27f31c1d6c2ebf1b63ee9e72e2eb029e7155 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T14:20:09.157Z] + go version [2021-12-02T14:20:09.157Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-12-02T14:20:09.184Z] $ docker stop --time=1 f32aa2c7a31e240705eb97b74e7d27f31c1d6c2ebf1b63ee9e72e2eb029e7155 [2021-12-02T14:20:10.831Z] $ docker rm -f f32aa2c7a31e240705eb97b74e7d27f31c1d6c2ebf1b63ee9e72e2eb029e7155 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:20:11.529Z] + docker inspect -f . ci-base-image-arm64 [2021-12-02T14:20:11.529Z] . [Pipeline] withDockerContainer [2021-12-02T14:20:11.740Z] prd-ubuntu18.04-docker-arm64-4c-16g-96 does not seem to be running inside a container [2021-12-02T14:20:11.826Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/24 -v /w/workspace/device-mqtt-go/24:/w/workspace/device-mqtt-go/24:rw,z -v /w/workspace/device-mqtt-go/24@tmp:/w/workspace/device-mqtt-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-12-02T14:20:13.062Z] $ docker top ec195b744e8d9f5f2f9c63161e0310dda79e916f1f1d4862ae2a4a1552f73a84 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-12-02T14:20:13.921Z] + make test [2021-12-02T14:20:13.921Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-12-02T14:20:14.896Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-12-02T14:21:11.476Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-12-02T14:21:11.476Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.065s coverage: 22.5% of statements [2021-12-02T14:21:11.476Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-12-02T14:21:11.476Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-12-02T14:21:38.259Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-12-02T14:21:38.259Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-12-02T14:21:38.259Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-12-02T14:21:38.281Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-12-02T14:21:38.292Z] $ docker stop --time=1 ec195b744e8d9f5f2f9c63161e0310dda79e916f1f1d4862ae2a4a1552f73a84 [2021-12-02T14:21:39.930Z] $ docker rm -f ec195b744e8d9f5f2f9c63161e0310dda79e916f1f1d4862ae2a4a1552f73a84 [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T14:21:40.692Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-12-02T14:21:40.711Z] Warning: overwriting stash ‘coverage-report’ [2021-12-02T14:21:41.145Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-12-02T14:21:41.735Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-12-02T14:21:42.069Z] + ls -al . [2021-12-02T14:21:42.069Z] total 180 [2021-12-02T14:21:42.069Z] drwxrwxr-x 9 jenkins jenkins 4096 Dec 2 14:21 . [2021-12-02T14:21:42.069Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 14:17 .. [2021-12-02T14:21:42.069Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 2 14:17 .dockerignore [2021-12-02T14:21:42.069Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 2 14:17 .git [2021-12-02T14:21:42.069Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 14:17 .github [2021-12-02T14:21:42.069Z] -rw-rw-r-- 1 jenkins jenkins 329 Dec 2 14:17 .gitignore [2021-12-02T14:21:42.069Z] -rw-rw-r-- 1 jenkins jenkins 7287 Dec 2 14:17 Attribution.txt [2021-12-02T14:21:42.069Z] -rw-rw-r-- 1 jenkins jenkins 7447 Dec 2 14:17 CHANGELOG.md [2021-12-02T14:21:42.069Z] -rw-rw-r-- 1 jenkins jenkins 1907 Dec 2 14:17 Dockerfile [2021-12-02T14:21:42.069Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 2 14:17 GOVERNANCE.md [2021-12-02T14:21:42.069Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 2 14:17 Jenkinsfile [2021-12-02T14:21:42.069Z] -rw-rw-r-- 1 jenkins jenkins 11340 Dec 2 14:17 LICENSE [2021-12-02T14:21:42.069Z] -rw-rw-r-- 1 jenkins jenkins 1030 Dec 2 14:17 Makefile [2021-12-02T14:21:42.069Z] -rw-rw-r-- 1 jenkins jenkins 620 Dec 2 14:17 OWNERS.md [2021-12-02T14:21:42.069Z] -rw-rw-r-- 1 jenkins jenkins 2211 Dec 2 14:17 README.md [2021-12-02T14:21:42.069Z] -rw-rw-r-- 1 jenkins jenkins 11 Dec 2 14:15 VERSION [2021-12-02T14:21:42.069Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 14:17 bin [2021-12-02T14:21:42.069Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 14:17 cmd [2021-12-02T14:21:42.069Z] -rw-r--r-- 1 jenkins jenkins 17452 Dec 2 14:21 coverage.out [2021-12-02T14:21:42.069Z] -rw-rw-r-- 1 jenkins jenkins 410 Dec 2 14:17 go.mod [2021-12-02T14:21:42.069Z] -rw-rw-r-- 1 jenkins jenkins 49409 Dec 2 14:17 go.sum [2021-12-02T14:21:42.069Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 2 14:17 internal [2021-12-02T14:21:42.069Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 2 14:17 mock [2021-12-02T14:21:42.069Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 2 14:17 snap [2021-12-02T14:21:42.069Z] -rw-rw-r-- 1 jenkins jenkins 227 Dec 2 14:17 version.go [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:21:42.412Z] + 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=5cad3091e7ab269ff3d854c908e2e05f0e1b0126 --label arch=arm64 --label version=2.2.0-dev.3 . [2021-12-02T14:21:42.686Z] Sending build context to Docker daemon 2.971MB [2021-12-02T14:21:42.686Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-12-02T14:21:42.686Z] Step 2/23 : FROM ${BASE} AS builder [2021-12-02T14:21:42.686Z] ---> b63429850c81 [2021-12-02T14:21:42.686Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-12-02T14:21:42.960Z] ---> Running in 009c5a909362 [2021-12-02T14:21:43.274Z] Removing intermediate container 009c5a909362 [2021-12-02T14:21:43.274Z] ---> 5ab584cabf72 [2021-12-02T14:21:43.274Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-12-02T14:21:43.274Z] ---> Running in 98a4d3035069 [2021-12-02T14:21:43.884Z] Removing intermediate container 98a4d3035069 [2021-12-02T14:21:43.884Z] ---> 0c50100c5ee9 [2021-12-02T14:21:43.884Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-12-02T14:21:43.884Z] ---> Running in cae5825b8629 [2021-12-02T14:21:45.934Z] Removing intermediate container cae5825b8629 [2021-12-02T14:21:45.934Z] ---> 1f2e469c949f [2021-12-02T14:21:45.934Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-12-02T14:21:45.934Z] ---> Running in c2b6a245fa49 [2021-12-02T14:21:47.369Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T14:21:47.964Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T14:21:48.941Z] OK: 223 MiB in 56 packages [2021-12-02T14:21:49.544Z] Removing intermediate container c2b6a245fa49 [2021-12-02T14:21:49.544Z] ---> a38a4d7f24ac [2021-12-02T14:21:49.544Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-12-02T14:21:49.544Z] ---> Running in fa14399310dc [2021-12-02T14:21:50.149Z] Removing intermediate container fa14399310dc [2021-12-02T14:21:50.149Z] ---> f19757966c0a [2021-12-02T14:21:50.149Z] Step 8/23 : COPY . . [2021-12-02T14:21:51.130Z] ---> 5a3c09f80a6f [2021-12-02T14:21:51.130Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-12-02T14:21:51.130Z] ---> Running in df5433da9ee6 [2021-12-02T14:21:53.108Z] Removing intermediate container df5433da9ee6 [2021-12-02T14:21:53.108Z] ---> 9850860508e5 [2021-12-02T14:21:53.108Z] Step 10/23 : ARG MAKE='make build' [2021-12-02T14:21:53.383Z] ---> Running in bbb8b264a1f5 [2021-12-02T14:21:53.658Z] Removing intermediate container bbb8b264a1f5 [2021-12-02T14:21:53.658Z] ---> fd6374f59d10 [2021-12-02T14:21:53.658Z] Step 11/23 : RUN $MAKE [2021-12-02T14:21:53.939Z] ---> Running in 0df29fe39d41 [2021-12-02T14:21:54.921Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.3" -o cmd/device-mqtt ./cmd [2021-12-02T14:22:41.919Z] Removing intermediate container 0df29fe39d41 [2021-12-02T14:22:41.919Z] ---> 8be7d87d79ae [2021-12-02T14:22:41.919Z] Step 12/23 : FROM alpine:3.14 [2021-12-02T14:22:41.919Z] 3.14: Pulling from library/alpine [2021-12-02T14:22:41.919Z] be307f383ecc: Pulling fs layer [2021-12-02T14:22:41.919Z] be307f383ecc: Verifying Checksum [2021-12-02T14:22:41.919Z] be307f383ecc: Download complete [2021-12-02T14:22:41.919Z] be307f383ecc: Pull complete [2021-12-02T14:22:41.919Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-12-02T14:22:41.919Z] Status: Downloaded newer image for alpine:3.14 [2021-12-02T14:22:41.919Z] ---> 5b8b7b635229 [2021-12-02T14:22:41.919Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-12-02T14:22:41.919Z] ---> Running in 13e4b97fba1a [2021-12-02T14:22:41.919Z] Removing intermediate container 13e4b97fba1a [2021-12-02T14:22:41.919Z] ---> b6246ebebfc2 [2021-12-02T14:22:41.919Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-12-02T14:22:41.919Z] ---> Running in 99d7214cd417 [2021-12-02T14:22:41.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-12-02T14:22:41.919Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-12-02T14:22:41.919Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-12-02T14:22:41.919Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-12-02T14:22:41.919Z] (3/6) Installing libsodium (1.0.18-r0) [2021-12-02T14:22:41.919Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-12-02T14:22:41.919Z] (5/6) Installing libzmq (4.3.4-r0) [2021-12-02T14:22:41.919Z] (6/6) Installing zeromq (4.3.4-r0) [2021-12-02T14:22:41.919Z] Executing busybox-1.33.1-r6.trigger [2021-12-02T14:22:41.919Z] OK: 8 MiB in 20 packages [2021-12-02T14:22:41.919Z] Removing intermediate container 99d7214cd417 [2021-12-02T14:22:41.919Z] ---> 0f2a1925d326 [2021-12-02T14:22:41.919Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-12-02T14:22:41.919Z] ---> ba092349b59f [2021-12-02T14:22:41.919Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-12-02T14:22:41.919Z] ---> 2fc02f46f75a [2021-12-02T14:22:41.919Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-12-02T14:22:41.919Z] ---> 9eaa6a35bf04 [2021-12-02T14:22:41.919Z] Step 18/23 : EXPOSE 59982 [2021-12-02T14:22:41.919Z] ---> Running in 47f5998df261 [2021-12-02T14:22:42.191Z] Removing intermediate container 47f5998df261 [2021-12-02T14:22:42.191Z] ---> a924284ef235 [2021-12-02T14:22:42.191Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-12-02T14:22:42.462Z] ---> Running in 3c8511f4a7e9 [2021-12-02T14:22:42.735Z] Removing intermediate container 3c8511f4a7e9 [2021-12-02T14:22:42.735Z] ---> e746e16688f5 [2021-12-02T14:22:42.735Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-12-02T14:22:43.011Z] ---> Running in 26b98a4a1c5e [2021-12-02T14:22:43.284Z] Removing intermediate container 26b98a4a1c5e [2021-12-02T14:22:43.284Z] ---> dc9bde3c9326 [2021-12-02T14:22:43.284Z] Step 21/23 : LABEL arch=arm64 [2021-12-02T14:22:43.284Z] ---> Running in ea021748655a [2021-12-02T14:22:43.882Z] Removing intermediate container ea021748655a [2021-12-02T14:22:43.882Z] ---> 88cbb44a8705 [2021-12-02T14:22:43.882Z] Step 22/23 : LABEL git_sha=5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [2021-12-02T14:22:43.882Z] ---> Running in d9a5ef912599 [2021-12-02T14:22:44.156Z] Removing intermediate container d9a5ef912599 [2021-12-02T14:22:44.156Z] ---> 6e6ff089daae [2021-12-02T14:22:44.156Z] Step 23/23 : LABEL version=2.2.0-dev.3 [2021-12-02T14:22:44.432Z] ---> Running in d113b59c5316 [2021-12-02T14:22:44.705Z] Removing intermediate container d113b59c5316 [2021-12-02T14:22:44.705Z] ---> 4c1890f258a9 [2021-12-02T14:22:44.705Z] [Warning] One or more build-args [ARCH] were not consumed [2021-12-02T14:22:44.705Z] Successfully built 4c1890f258a9 [2021-12-02T14:22:44.705Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T14:22:44.977Z] provisioning config files... [2021-12-02T14:22:44.996Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/24@tmp/config7301775450681236758tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:22:45.347Z] ---> docker-login.sh [2021-12-02T14:22:45.347Z] nexus3.edgexfoundry.org:10001 [2021-12-02T14:22:45.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:22:45.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:22:45.620Z] Configure a credential helper to remove this warning. See [2021-12-02T14:22:45.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:22:45.620Z] [2021-12-02T14:22:45.620Z] Login Succeeded [2021-12-02T14:22:45.620Z] nexus3.edgexfoundry.org:10002 [2021-12-02T14:22:45.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:22:46.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:22:46.168Z] Configure a credential helper to remove this warning. See [2021-12-02T14:22:46.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:22:46.168Z] [2021-12-02T14:22:46.168Z] Login Succeeded [2021-12-02T14:22:46.168Z] nexus3.edgexfoundry.org:10003 [2021-12-02T14:22:46.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:22:46.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:22:46.716Z] Configure a credential helper to remove this warning. See [2021-12-02T14:22:46.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:22:46.716Z] [2021-12-02T14:22:46.716Z] Login Succeeded [2021-12-02T14:22:46.716Z] nexus3.edgexfoundry.org:10004 [2021-12-02T14:22:47.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:22:47.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:22:47.000Z] Configure a credential helper to remove this warning. See [2021-12-02T14:22:47.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:22:47.000Z] [2021-12-02T14:22:47.000Z] Login Succeeded [2021-12-02T14:22:47.000Z] docker.io [2021-12-02T14:22:47.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-12-02T14:22:47.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-12-02T14:22:47.875Z] Configure a credential helper to remove this warning. See [2021-12-02T14:22:47.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-12-02T14:22:47.875Z] [2021-12-02T14:22:47.875Z] Login Succeeded [2021-12-02T14:22:47.875Z] ---> docker-login.sh ends [Pipeline] } [2021-12-02T14:22:47.892Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T14:22:47.928Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-12-02T14:22:47.942Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2021-12-02T14:22:47.942Z] 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [2021-12-02T14:22:47.942Z] latest [2021-12-02T14:22:47.942Z] 2.2.0-dev.3 [2021-12-02T14:22:47.942Z] 5cad3091e7ab269ff3d854c908e2e05f0e1b0126-2.2.0-dev.3 [2021-12-02T14:22:47.942Z] main [2021-12-02T14:22:47.942Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:22:48.295Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:22:48.648Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [2021-12-02T14:22:48.648Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-12-02T14:22:48.648Z] 986ba1f5f1f0: Preparing [2021-12-02T14:22:48.648Z] d16bb3511073: Preparing [2021-12-02T14:22:48.648Z] de5082c3d3cb: Preparing [2021-12-02T14:22:48.648Z] 8b5aadbc2877: Preparing [2021-12-02T14:22:48.648Z] 62170e181a92: Preparing [2021-12-02T14:22:48.648Z] 62170e181a92: Layer already exists [2021-12-02T14:22:48.924Z] d16bb3511073: Pushed [2021-12-02T14:22:48.924Z] 986ba1f5f1f0: Pushed [2021-12-02T14:22:49.521Z] 8b5aadbc2877: Pushed [2021-12-02T14:22:52.139Z] de5082c3d3cb: Pushed [2021-12-02T14:22:52.139Z] 5cad3091e7ab269ff3d854c908e2e05f0e1b0126: digest: sha256:add542f41eebcdf44bce7934dd327cf38e5173dca671ec752cf920a32ced8965 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:22:52.485Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:22:52.827Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-12-02T14:22:52.827Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-12-02T14:22:52.827Z] 986ba1f5f1f0: Preparing [2021-12-02T14:22:52.827Z] d16bb3511073: Preparing [2021-12-02T14:22:52.827Z] de5082c3d3cb: Preparing [2021-12-02T14:22:52.827Z] 8b5aadbc2877: Preparing [2021-12-02T14:22:52.827Z] 62170e181a92: Preparing [2021-12-02T14:22:52.827Z] 8b5aadbc2877: Layer already exists [2021-12-02T14:22:52.827Z] de5082c3d3cb: Layer already exists [2021-12-02T14:22:52.827Z] d16bb3511073: Layer already exists [2021-12-02T14:22:52.827Z] 986ba1f5f1f0: Layer already exists [2021-12-02T14:22:52.827Z] 62170e181a92: Layer already exists [2021-12-02T14:22:53.101Z] latest: digest: sha256:add542f41eebcdf44bce7934dd327cf38e5173dca671ec752cf920a32ced8965 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:22:53.447Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:22:53.789Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.3 [2021-12-02T14:22:53.789Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-12-02T14:22:53.789Z] 986ba1f5f1f0: Preparing [2021-12-02T14:22:53.789Z] d16bb3511073: Preparing [2021-12-02T14:22:53.789Z] de5082c3d3cb: Preparing [2021-12-02T14:22:53.789Z] 8b5aadbc2877: Preparing [2021-12-02T14:22:53.789Z] 62170e181a92: Preparing [2021-12-02T14:22:53.789Z] de5082c3d3cb: Layer already exists [2021-12-02T14:22:53.789Z] d16bb3511073: Layer already exists [2021-12-02T14:22:53.789Z] 8b5aadbc2877: Layer already exists [2021-12-02T14:22:53.789Z] 62170e181a92: Layer already exists [2021-12-02T14:22:53.789Z] 986ba1f5f1f0: Layer already exists [2021-12-02T14:22:54.064Z] 2.2.0-dev.3: digest: sha256:add542f41eebcdf44bce7934dd327cf38e5173dca671ec752cf920a32ced8965 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:22:54.407Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5cad3091e7ab269ff3d854c908e2e05f0e1b0126-2.2.0-dev.3 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:22:54.744Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5cad3091e7ab269ff3d854c908e2e05f0e1b0126-2.2.0-dev.3 [2021-12-02T14:22:54.744Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-12-02T14:22:54.744Z] 986ba1f5f1f0: Preparing [2021-12-02T14:22:54.744Z] d16bb3511073: Preparing [2021-12-02T14:22:54.744Z] de5082c3d3cb: Preparing [2021-12-02T14:22:54.744Z] 8b5aadbc2877: Preparing [2021-12-02T14:22:54.744Z] 62170e181a92: Preparing [2021-12-02T14:22:54.744Z] 62170e181a92: Layer already exists [2021-12-02T14:22:54.744Z] d16bb3511073: Layer already exists [2021-12-02T14:22:54.744Z] 986ba1f5f1f0: Layer already exists [2021-12-02T14:22:54.744Z] de5082c3d3cb: Layer already exists [2021-12-02T14:22:54.744Z] 8b5aadbc2877: Layer already exists [2021-12-02T14:22:55.017Z] 5cad3091e7ab269ff3d854c908e2e05f0e1b0126-2.2.0-dev.3: digest: sha256:add542f41eebcdf44bce7934dd327cf38e5173dca671ec752cf920a32ced8965 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:22:55.357Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:22:55.692Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2021-12-02T14:22:55.692Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-12-02T14:22:55.692Z] 986ba1f5f1f0: Preparing [2021-12-02T14:22:55.692Z] d16bb3511073: Preparing [2021-12-02T14:22:55.692Z] de5082c3d3cb: Preparing [2021-12-02T14:22:55.692Z] 8b5aadbc2877: Preparing [2021-12-02T14:22:55.692Z] 62170e181a92: Preparing [2021-12-02T14:22:55.692Z] 986ba1f5f1f0: Layer already exists [2021-12-02T14:22:55.692Z] 62170e181a92: Layer already exists [2021-12-02T14:22:55.692Z] 8b5aadbc2877: Layer already exists [2021-12-02T14:22:55.692Z] de5082c3d3cb: Layer already exists [2021-12-02T14:22:55.692Z] d16bb3511073: Layer already exists [2021-12-02T14:22:55.964Z] main: digest: sha256:add542f41eebcdf44bce7934dd327cf38e5173dca671ec752cf920a32ced8965 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-12-02T14:22:56.014Z] ===================================================== [Pipeline] echo [2021-12-02T14:22:56.023Z] taggedImages: [2021-12-02T14:22:56.023Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [2021-12-02T14:22:56.023Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-12-02T14:22:56.023Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.3 [2021-12-02T14:22:56.023Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:5cad3091e7ab269ff3d854c908e2e05f0e1b0126-2.2.0-dev.3 [2021-12-02T14:22:56.023Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:22:56.444Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T14:22:56.444Z] [2021-12-02T14:22:56.444Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:22:56.784Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T14:22:57.057Z] arm64: Pulling from edgex-lftools-log-publisher [2021-12-02T14:22:57.057Z] 448f6bf000e3: Pulling fs layer [2021-12-02T14:22:57.057Z] f757da607395: Pulling fs layer [2021-12-02T14:22:57.057Z] 05883995daec: Pulling fs layer [2021-12-02T14:22:57.057Z] 8603b9c90790: Pulling fs layer [2021-12-02T14:22:57.057Z] 1560dd03e051: Pulling fs layer [2021-12-02T14:22:57.057Z] 27f5ce0e4adf: Pulling fs layer [2021-12-02T14:22:57.057Z] c2d8d7efcc4b: Pulling fs layer [2021-12-02T14:22:57.057Z] 1560dd03e051: Waiting [2021-12-02T14:22:57.057Z] 27f5ce0e4adf: Waiting [2021-12-02T14:22:57.057Z] c2d8d7efcc4b: Waiting [2021-12-02T14:22:57.057Z] 8603b9c90790: Waiting [2021-12-02T14:22:57.057Z] f757da607395: Verifying Checksum [2021-12-02T14:22:57.057Z] f757da607395: Download complete [2021-12-02T14:22:57.057Z] 8603b9c90790: Verifying Checksum [2021-12-02T14:22:57.057Z] 8603b9c90790: Download complete [2021-12-02T14:22:57.057Z] 1560dd03e051: Verifying Checksum [2021-12-02T14:22:57.057Z] 1560dd03e051: Download complete [2021-12-02T14:22:57.332Z] 27f5ce0e4adf: Verifying Checksum [2021-12-02T14:22:57.332Z] 05883995daec: Verifying Checksum [2021-12-02T14:22:57.332Z] 05883995daec: Download complete [2021-12-02T14:22:57.332Z] 27f5ce0e4adf: Download complete [2021-12-02T14:22:57.609Z] 448f6bf000e3: Verifying Checksum [2021-12-02T14:22:57.609Z] 448f6bf000e3: Download complete [2021-12-02T14:23:00.216Z] c2d8d7efcc4b: Verifying Checksum [2021-12-02T14:23:00.216Z] c2d8d7efcc4b: Download complete [2021-12-02T14:23:01.187Z] 448f6bf000e3: Pull complete [2021-12-02T14:23:01.459Z] f757da607395: Pull complete [2021-12-02T14:23:02.880Z] 05883995daec: Pull complete [2021-12-02T14:23:03.151Z] 8603b9c90790: Pull complete [2021-12-02T14:23:04.122Z] 1560dd03e051: Pull complete [2021-12-02T14:23:04.122Z] 27f5ce0e4adf: Pull complete [2021-12-02T14:23:19.172Z] c2d8d7efcc4b: Pull complete [2021-12-02T14:23:19.172Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-12-02T14:23:19.172Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-12-02T14:23:19.172Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-12-02T14:23:19.378Z] prd-ubuntu18.04-docker-arm64-4c-16g-96 does not seem to be running inside a container [2021-12-02T14:23:19.469Z] $ 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/24 -v /w/workspace/device-mqtt-go/24:/w/workspace/device-mqtt-go/24:rw,z -v /w/workspace/device-mqtt-go/24@tmp:/w/workspace/device-mqtt-go/24@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-12-02T14:23:22.361Z] $ docker top 6b40bfffe1342e7f914fb8e2a886268f4d7c5803a2ba63ea2b08ac2837aeb8a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:23:23.302Z] ---> job-cost.sh [2021-12-02T14:23:23.302Z] lf-activate-venv: SKIPPING [2021-12-02T14:23:23.302Z] INFO: No Stack... [2021-12-02T14:23:23.578Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-12-02T14:23:24.170Z] INFO: Archiving Costs [Pipeline] sh [2021-12-02T14:23:24.828Z] + cat /w/workspace/device-mqtt-go/24/archives/cost.csv+ [2021-12-02T14:23:24.828Z] cut -d, -f6 [Pipeline] lock [2021-12-02T14:23:24.893Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-24-stack-cost] [2021-12-02T14:23:24.899Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-24-stack-cost] did not exist. Created. [2021-12-02T14:23:24.899Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-24-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-02T14:23:25.572Z] /w/workspace/device-mqtt-go/24@tmp/durable-607c26e0/script.sh: 1: /w/workspace/device-mqtt-go/24@tmp/durable-607c26e0/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-12-02T14:23:26.237Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-12-02T14:23:26.257Z] Warning: overwriting stash ‘stack-cost’ [2021-12-02T14:23:26.304Z] Stashed 1 file(s) [Pipeline] } [2021-12-02T14:23:26.310Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-24-stack-cost] [Pipeline] // lock [Pipeline] } [2021-12-02T14:23:26.329Z] $ docker stop --time=1 6b40bfffe1342e7f914fb8e2a886268f4d7c5803a2ba63ea2b08ac2837aeb8a7 [2021-12-02T14:23:27.785Z] $ docker rm -f 6b40bfffe1342e7f914fb8e2a886268f4d7c5803a2ba63ea2b08ac2837aeb8a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-12-02T14:23:28.404Z] provisioning config files... [2021-12-02T14:23:28.414Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6274470160115461722tmp [Pipeline] { [Pipeline] sh [2021-12-02T14:23:28.712Z] + set +x [2021-12-02T14:23:28.712Z] + curl -s https://codecov.io/bash [2021-12-02T14:23:28.712Z] + bash -s -- [2021-12-02T14:23:30.626Z] [2021-12-02T14:23:30.626Z] _____ _ [2021-12-02T14:23:30.626Z] / ____| | | [2021-12-02T14:23:30.626Z] | | ___ __| | ___ ___ _____ __ [2021-12-02T14:23:30.626Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-12-02T14:23:30.626Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-12-02T14:23:30.626Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-12-02T14:23:30.626Z] Bash-1.0.6 [2021-12-02T14:23:30.626Z] [2021-12-02T14:23:30.626Z] [2021-12-02T14:23:30.626Z] ==> git version 2.24.4 found [2021-12-02T14:23:30.626Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-12-02T14:23:30.626Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-12-02T14:23:30.626Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-12-02T14:23:30.626Z] ==> Jenkins CI detected. [2021-12-02T14:23:30.626Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-02T14:23:30.626Z] project root: . [2021-12-02T14:23:30.626Z] --> token set from env [2021-12-02T14:23:30.626Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-12-02T14:23:30.626Z] ==> Running gcov in . (disable via -X gcov) [2021-12-02T14:23:30.626Z] ==> Python coveragepy not found [2021-12-02T14:23:30.626Z] ==> Searching for coverage reports in: [2021-12-02T14:23:30.626Z] + . [2021-12-02T14:23:30.626Z] -> Found 1 reports [2021-12-02T14:23:30.626Z] ==> Detecting git/mercurial file structure [2021-12-02T14:23:30.626Z] ==> Reading reports [2021-12-02T14:23:30.626Z] + ./coverage.out bytes=17452 [2021-12-02T14:23:30.626Z] ==> Appending adjustments [2021-12-02T14:23:30.626Z] https://docs.codecov.io/docs/fixing-reports [2021-12-02T14:23:30.626Z] + Found adjustments [2021-12-02T14:23:30.626Z] ==> Gzipping contents [2021-12-02T14:23:30.626Z] 4.0K /tmp/codecov.OeqV9f.gz [2021-12-02T14:23:30.626Z] ==> Uploading reports [2021-12-02T14:23:30.626Z] url: https://codecov.io [2021-12-02T14:23:30.626Z] query: branch=main&commit=5cad3091e7ab269ff3d854c908e2e05f0e1b0126&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-12-02T14:23:30.626Z] -> Pinging Codecov [2021-12-02T14:23:30.626Z] 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=5cad3091e7ab269ff3d854c908e2e05f0e1b0126&build=24&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F24%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-12-02T14:23:30.626Z] -> Uploading to [2021-12-02T14:23:30.626Z] https://storage.googleapis.com/codecov/v4/raw/2021-12-02/7D719EC7BBE17E464838252E33014C33/5cad3091e7ab269ff3d854c908e2e05f0e1b0126/05187ec7-efe8-4487-8351-10975c40f6fa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211202T142330Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a0da9dbbb478e96554bcfe69e339cbcfde4b3b722933414fe596acf0063f8613 [2021-12-02T14:23:30.626Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-12-02T14:23:30.626Z] Dload Upload Total Spent Left Speed [2021-12-02T14:23:30.886Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3198 0 0 100 3198 0 11807 --:--:-- --:--:-- --:--:-- 11844 [2021-12-02T14:23:30.886Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [Pipeline] } [2021-12-02T14:23:30.893Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-12-02T14:23:31.216Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-12-02T14:23:31.226Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:23:31.524Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-02T14:23:31.524Z] [2021-12-02T14:23:31.524Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:23:31.844Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-02T14:23:31.844Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-12-02T14:23:31.844Z] 188c0c94c7c5: Pulling fs layer [2021-12-02T14:23:31.844Z] 0ef7d3d256c8: Pulling fs layer [2021-12-02T14:23:31.844Z] de9db76c5a1d: Pulling fs layer [2021-12-02T14:23:31.844Z] 0eba1c9be4d2: Pulling fs layer [2021-12-02T14:23:31.844Z] 0d57e429df01: Pulling fs layer [2021-12-02T14:23:31.844Z] 4e4be7b47b0d: Pulling fs layer [2021-12-02T14:23:31.844Z] e1f770b5df2f: Pulling fs layer [2021-12-02T14:23:31.844Z] 85a0685a4137: Pulling fs layer [2021-12-02T14:23:31.844Z] 0d57e429df01: Waiting [2021-12-02T14:23:31.844Z] 4e4be7b47b0d: Waiting [2021-12-02T14:23:31.844Z] e1f770b5df2f: Waiting [2021-12-02T14:23:31.844Z] 85a0685a4137: Waiting [2021-12-02T14:23:31.844Z] 0eba1c9be4d2: Waiting [2021-12-02T14:23:31.844Z] de9db76c5a1d: Verifying Checksum [2021-12-02T14:23:31.844Z] de9db76c5a1d: Download complete [2021-12-02T14:23:31.845Z] 0ef7d3d256c8: Verifying Checksum [2021-12-02T14:23:31.845Z] 0ef7d3d256c8: Download complete [2021-12-02T14:23:31.845Z] 0d57e429df01: Verifying Checksum [2021-12-02T14:23:31.845Z] 0d57e429df01: Download complete [2021-12-02T14:23:31.845Z] 188c0c94c7c5: Verifying Checksum [2021-12-02T14:23:31.845Z] 188c0c94c7c5: Download complete [2021-12-02T14:23:31.845Z] 4e4be7b47b0d: Verifying Checksum [2021-12-02T14:23:31.845Z] 4e4be7b47b0d: Download complete [2021-12-02T14:23:32.131Z] e1f770b5df2f: Verifying Checksum [2021-12-02T14:23:32.131Z] e1f770b5df2f: Download complete [2021-12-02T14:23:32.394Z] 0eba1c9be4d2: Verifying Checksum [2021-12-02T14:23:32.394Z] 0eba1c9be4d2: Download complete [2021-12-02T14:23:32.653Z] 188c0c94c7c5: Pull complete [2021-12-02T14:23:32.653Z] 85a0685a4137: Verifying Checksum [2021-12-02T14:23:32.653Z] 85a0685a4137: Download complete [2021-12-02T14:23:32.653Z] 0ef7d3d256c8: Pull complete [2021-12-02T14:23:32.653Z] de9db76c5a1d: Pull complete [2021-12-02T14:23:36.897Z] 0eba1c9be4d2: Pull complete [2021-12-02T14:23:36.897Z] 0d57e429df01: Pull complete [2021-12-02T14:23:36.897Z] 4e4be7b47b0d: Pull complete [2021-12-02T14:23:37.162Z] e1f770b5df2f: Pull complete [2021-12-02T14:23:41.404Z] 85a0685a4137: Pull complete [2021-12-02T14:23:41.404Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-12-02T14:23:41.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-12-02T14:23:41.405Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-12-02T14:23:41.469Z] prd-centos7-docker-4c-2g-95 does not seem to be running inside a container [2021-12-02T14:23:41.505Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-12-02T14:23:43.885Z] $ docker top ff134f551d5ff1c68d325364aa07c57ce98e13d226743fffae3b235a3a67d945 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-12-02T14:23:43.961Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-12-02T14:23:44.261Z] + set -o pipefail [2021-12-02T14:23:44.262Z] + snyk monitor '--org=edgex-jenkins' [2021-12-02T14:23:49.546Z] [2021-12-02T14:23:49.546Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2021-12-02T14:23:49.546Z] [2021-12-02T14:23:49.546Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/d2da22dc-f3b3-4233-8eaf-8cb3ee38de20 [2021-12-02T14:23:49.546Z] [2021-12-02T14:23:49.546Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-12-02T14:23:49.546Z] [2021-12-02T14:23:49.546Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-12-02T14:23:49.546Z] [2021-12-02T14:23:49.546Z] [Pipeline] } [2021-12-02T14:23:49.555Z] $ docker stop --time=1 ff134f551d5ff1c68d325364aa07c57ce98e13d226743fffae3b235a3a67d945 [2021-12-02T14:23:51.728Z] $ docker rm -f ff134f551d5ff1c68d325364aa07c57ce98e13d226743fffae3b235a3a67d945 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-12-02T14:23:52.663Z] + git log --format=format:%s -1 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 [Pipeline] sh [2021-12-02T14:23:52.958Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T14:23:52.958Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:23:53.254Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T14:23:53.254Z] . [Pipeline] withDockerContainer [2021-12-02T14:23:53.315Z] prd-centos7-docker-4c-2g-95 does not seem to be running inside a container [2021-12-02T14:23:53.350Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-02T14:23:53.673Z] $ docker top a336651a6c8d6ebdfe0192a330b98037a2d77af5bf1310cd3ca1a2bf6f4b0abb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T14:23:53.760Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T14:23:53.761Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T14:23:53.862Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T14:23:53.864Z] $ docker exec a336651a6c8d6ebdfe0192a330b98037a2d77af5bf1310cd3ca1a2bf6f4b0abb ssh-agent [2021-12-02T14:23:53.968Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBAeOld/agent.15 [2021-12-02T14:23:53.968Z] SSH_AGENT_PID=22 [2021-12-02T14:23:53.974Z] Running ssh-add (command line suppressed) [2021-12-02T14:23:54.061Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5459102532753937825.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5459102532753937825.key) [2021-12-02T14:23:54.074Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T14:23:54.379Z] + git semver tag [2021-12-02T14:23:54.379Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T14:23:54.379Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-12-02T14:23:54.379Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-02T14:23:54.379Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T14:23:54.379Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T14:23:54.379Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T14:23:54.379Z] # $SEMVER_BRANCH = main [2021-12-02T14:23:54.379Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2021-12-02T14:23:54.379Z] # 5cad3091e7ab269ff3d854c908e2e05f0e1b0126 HEAD [2021-12-02T14:23:54.379Z] # -> Force: false [2021-12-02T14:23:54.379Z] # aeea7cef1bd44612d9eeb2cd4c65fc9efd4e1af6 refs/tags/v2.2.0-dev.3 [Pipeline] } [2021-12-02T14:23:54.388Z] $ docker exec --env ******** --env ******** a336651a6c8d6ebdfe0192a330b98037a2d77af5bf1310cd3ca1a2bf6f4b0abb ssh-agent -k [2021-12-02T14:23:54.475Z] unset SSH_AUTH_SOCK; [2021-12-02T14:23:54.475Z] unset SSH_AGENT_PID; [2021-12-02T14:23:54.475Z] echo Agent pid 22 killed; [2021-12-02T14:23:54.488Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T14:23:54.810Z] + git semver [Pipeline] } [2021-12-02T14:23:54.824Z] $ docker stop --time=1 a336651a6c8d6ebdfe0192a330b98037a2d77af5bf1310cd3ca1a2bf6f4b0abb [2021-12-02T14:23:55.986Z] $ docker rm -f a336651a6c8d6ebdfe0192a330b98037a2d77af5bf1310cd3ca1a2bf6f4b0abb [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:23:56.376Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-02T14:23:56.376Z] [2021-12-02T14:23:56.376Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:23:56.686Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-02T14:23:56.686Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-12-02T14:23:56.686Z] ab5ef0e58194: Pulling fs layer [2021-12-02T14:23:56.686Z] 9712f1f96733: Pulling fs layer [2021-12-02T14:23:56.686Z] 63f879dbbcfc: Pulling fs layer [2021-12-02T14:23:56.686Z] 0d9ebad4ef96: Pulling fs layer [2021-12-02T14:23:56.686Z] e9a5061849ea: Pulling fs layer [2021-12-02T14:23:56.686Z] d747dcd14b5f: Pulling fs layer [2021-12-02T14:23:56.686Z] 2de7ff778b66: Pulling fs layer [2021-12-02T14:23:56.686Z] e9a5061849ea: Waiting [2021-12-02T14:23:56.686Z] d747dcd14b5f: Waiting [2021-12-02T14:23:56.686Z] 2de7ff778b66: Waiting [2021-12-02T14:23:56.686Z] 0d9ebad4ef96: Waiting [2021-12-02T14:23:56.686Z] 9712f1f96733: Download complete [2021-12-02T14:23:56.950Z] 63f879dbbcfc: Verifying Checksum [2021-12-02T14:23:56.950Z] 63f879dbbcfc: Download complete [2021-12-02T14:23:57.217Z] ab5ef0e58194: Verifying Checksum [2021-12-02T14:23:57.217Z] ab5ef0e58194: Download complete [2021-12-02T14:23:57.217Z] d747dcd14b5f: Verifying Checksum [2021-12-02T14:23:57.217Z] d747dcd14b5f: Download complete [2021-12-02T14:23:57.217Z] e9a5061849ea: Verifying Checksum [2021-12-02T14:23:57.217Z] e9a5061849ea: Download complete [2021-12-02T14:23:57.217Z] 0d9ebad4ef96: Verifying Checksum [2021-12-02T14:23:57.217Z] 0d9ebad4ef96: Download complete [2021-12-02T14:23:57.217Z] 2de7ff778b66: Verifying Checksum [2021-12-02T14:23:57.217Z] 2de7ff778b66: Download complete [2021-12-02T14:24:00.555Z] ab5ef0e58194: Pull complete [2021-12-02T14:24:00.555Z] 9712f1f96733: Pull complete [2021-12-02T14:24:01.132Z] 63f879dbbcfc: Pull complete [2021-12-02T14:24:05.380Z] 0d9ebad4ef96: Pull complete [2021-12-02T14:24:05.648Z] e9a5061849ea: Pull complete [2021-12-02T14:24:05.648Z] d747dcd14b5f: Pull complete [2021-12-02T14:24:07.038Z] 2de7ff778b66: Pull complete [2021-12-02T14:24:07.038Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-12-02T14:24:07.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-12-02T14:24:07.038Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-12-02T14:24:07.105Z] prd-centos7-docker-4c-2g-95 does not seem to be running inside a container [2021-12-02T14:24:07.140Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-12-02T14:24:11.013Z] $ docker top f0bc882910604fe8baca6fe00b8fc467dc6bc160ad4a7951f1e523f89e86111b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-12-02T14:24:11.091Z] provisioning config files... [2021-12-02T14:24:11.101Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config960297046301866056tmp [2021-12-02T14:24:11.114Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4363819244433885667tmp [2021-12-02T14:24:11.126Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config407854854769700662tmp [Pipeline] { [Pipeline] echo [2021-12-02T14:24:11.142Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:24:11.429Z] ---> sigul-configuration.sh [2021-12-02T14:24:11.429Z] gpg: directory `/root/.gnupg' created [2021-12-02T14:24:11.429Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-12-02T14:24:11.429Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-12-02T14:24:11.429Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-12-02T14:24:11.429Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-12-02T14:24:11.429Z] gpg: CAST5 encrypted data [2021-12-02T14:24:11.429Z] gpg: encrypted with 1 passphrase [2021-12-02T14:24:11.429Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-12-02T14:24:11.719Z] + mkdir /home/jenkins [2021-12-02T14:24:11.719Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-12-02T14:24:12.010Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-12-02T14:24:12.020Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:24:12.309Z] ---> sigul-install.sh [2021-12-02T14:24:12.309Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-12-02T14:24:12.601Z] + git tag --list [2021-12-02T14:24:12.601Z] 0.7.1 [2021-12-02T14:24:12.601Z] v1.0.0 [2021-12-02T14:24:12.601Z] v1.1.0 [2021-12-02T14:24:12.601Z] v1.1.1 [2021-12-02T14:24:12.601Z] v1.2.2 [2021-12-02T14:24:12.601Z] v1.3.0 [2021-12-02T14:24:12.601Z] v1.3.1 [2021-12-02T14:24:12.601Z] v2.0.0 [2021-12-02T14:24:12.601Z] v2.0.1-dev.1 [2021-12-02T14:24:12.601Z] v2.0.1-dev.10 [2021-12-02T14:24:12.601Z] v2.0.1-dev.11 [2021-12-02T14:24:12.601Z] v2.0.1-dev.12 [2021-12-02T14:24:12.601Z] v2.0.1-dev.13 [2021-12-02T14:24:12.601Z] v2.0.1-dev.14 [2021-12-02T14:24:12.601Z] v2.0.1-dev.15 [2021-12-02T14:24:12.601Z] v2.0.1-dev.16 [2021-12-02T14:24:12.601Z] v2.0.1-dev.17 [2021-12-02T14:24:12.601Z] v2.0.1-dev.2 [2021-12-02T14:24:12.601Z] v2.0.1-dev.3 [2021-12-02T14:24:12.601Z] v2.0.1-dev.4 [2021-12-02T14:24:12.601Z] v2.0.1-dev.5 [2021-12-02T14:24:12.601Z] v2.0.1-dev.6 [2021-12-02T14:24:12.601Z] v2.0.1-dev.7 [2021-12-02T14:24:12.601Z] v2.0.1-dev.8 [2021-12-02T14:24:12.601Z] v2.0.1-dev.9 [2021-12-02T14:24:12.601Z] v2.1.0 [2021-12-02T14:24:12.601Z] v2.2.0-dev.1 [2021-12-02T14:24:12.601Z] v2.2.0-dev.2 [2021-12-02T14:24:12.601Z] v2.2.0-dev.3 [Pipeline] sh [2021-12-02T14:24:12.894Z] + lftools sign git-tag v2.2.0-dev.3 [2021-12-02T14:24:13.466Z] Signing Git tag with Sigul... [2021-12-02T14:24:13.466Z] Signing v2.2.0-dev.3 [Pipeline] echo [2021-12-02T14:24:14.422Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:24:14.708Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-12-02T14:24:14.715Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-12-02T14:24:14.736Z] $ docker stop --time=1 f0bc882910604fe8baca6fe00b8fc467dc6bc160ad4a7951f1e523f89e86111b [2021-12-02T14:24:15.941Z] $ docker rm -f f0bc882910604fe8baca6fe00b8fc467dc6bc160ad4a7951f1e523f89e86111b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2021-12-02T14:24:16.469Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T14:24:16.469Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:24:16.759Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T14:24:16.759Z] . [Pipeline] withDockerContainer [2021-12-02T14:24:16.819Z] prd-centos7-docker-4c-2g-95 does not seem to be running inside a container [2021-12-02T14:24:16.853Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-02T14:24:17.223Z] $ docker top c56c03975cd1a8e9ca084123c31fac0095d696171e6714567d9807c675e1b81c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T14:24:17.317Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T14:24:17.317Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T14:24:17.418Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T14:24:17.419Z] $ docker exec c56c03975cd1a8e9ca084123c31fac0095d696171e6714567d9807c675e1b81c ssh-agent [2021-12-02T14:24:17.526Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXacnGNa/agent.14 [2021-12-02T14:24:17.526Z] SSH_AGENT_PID=21 [2021-12-02T14:24:17.532Z] Running ssh-add (command line suppressed) [2021-12-02T14:24:17.622Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4339681896105560989.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4339681896105560989.key) [2021-12-02T14:24:17.635Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T14:24:17.933Z] + git semver bump pre [2021-12-02T14:24:17.933Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T14:24:17.933Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-12-02T14:24:17.933Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-02T14:24:17.933Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T14:24:17.933Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T14:24:17.933Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T14:24:17.933Z] # $SEMVER_BRANCH = main [2021-12-02T14:24:17.933Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2021-12-02T14:24:17.933Z] 2.2.0-dev.4 [Pipeline] } [2021-12-02T14:24:17.949Z] $ docker exec --env ******** --env ******** c56c03975cd1a8e9ca084123c31fac0095d696171e6714567d9807c675e1b81c ssh-agent -k [2021-12-02T14:24:18.029Z] unset SSH_AUTH_SOCK; [2021-12-02T14:24:18.029Z] unset SSH_AGENT_PID; [2021-12-02T14:24:18.029Z] echo Agent pid 21 killed; [2021-12-02T14:24:18.041Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T14:24:18.354Z] + git semver [Pipeline] } [2021-12-02T14:24:18.366Z] $ docker stop --time=1 c56c03975cd1a8e9ca084123c31fac0095d696171e6714567d9807c675e1b81c [2021-12-02T14:24:19.580Z] $ docker rm -f c56c03975cd1a8e9ca084123c31fac0095d696171e6714567d9807c675e1b81c [Pipeline] // withDockerContainer [Pipeline] sh [2021-12-02T14:24:19.950Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2021-12-02T14:24:19.950Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:24:20.244Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-12-02T14:24:20.244Z] . [Pipeline] withDockerContainer [2021-12-02T14:24:20.317Z] prd-centos7-docker-4c-2g-95 does not seem to be running inside a container [2021-12-02T14:24:20.352Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-12-02T14:24:20.727Z] $ docker top 70b3cc43321a7464ade5f872c7700e038e82e49f64a81c4a9dc49224661da3cd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-12-02T14:24:20.826Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-12-02T14:24:20.826Z] [ssh-agent] Looking for ssh-agent implementation... [2021-12-02T14:24:20.923Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-12-02T14:24:20.925Z] $ docker exec 70b3cc43321a7464ade5f872c7700e038e82e49f64a81c4a9dc49224661da3cd ssh-agent [2021-12-02T14:24:21.016Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIHLbFh/agent.14 [2021-12-02T14:24:21.016Z] SSH_AGENT_PID=20 [2021-12-02T14:24:21.020Z] Running ssh-add (command line suppressed) [2021-12-02T14:24:21.098Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1119127878096839514.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1119127878096839514.key) [2021-12-02T14:24:21.113Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-12-02T14:24:21.404Z] + git semver push [2021-12-02T14:24:21.404Z] # -> Open(): unable to determine branch for HEAD [2021-12-02T14:24:21.404Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-12-02T14:24:21.404Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-02T14:24:21.404Z] # $SEMVER_REMOTE_NAME = origin [2021-12-02T14:24:21.404Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-12-02T14:24:21.404Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-12-02T14:24:21.404Z] # $SEMVER_BRANCH = main [2021-12-02T14:24:21.404Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2021-12-02T14:24:23.325Z] $ docker exec --env ******** --env ******** 70b3cc43321a7464ade5f872c7700e038e82e49f64a81c4a9dc49224661da3cd ssh-agent -k [2021-12-02T14:24:23.411Z] unset SSH_AUTH_SOCK; [2021-12-02T14:24:23.411Z] unset SSH_AGENT_PID; [2021-12-02T14:24:23.411Z] echo Agent pid 20 killed; [2021-12-02T14:24:23.421Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-12-02T14:24:23.734Z] + git semver [Pipeline] } [2021-12-02T14:24:23.744Z] $ docker stop --time=1 70b3cc43321a7464ade5f872c7700e038e82e49f64a81c4a9dc49224661da3cd [2021-12-02T14:24:24.936Z] $ docker rm -f 70b3cc43321a7464ade5f872c7700e038e82e49f64a81c4a9dc49224661da3cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-12-02T14:24:25.909Z] + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:24:26.208Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:24:26.765Z] ---> package-listing.sh [2021-12-02T14:24:26.765Z] ++ facter osfamily [2021-12-02T14:24:26.765Z] ++ tr '[:upper:]' '[:lower:]' [2021-12-02T14:24:27.026Z] + OS_FAMILY=redhat [2021-12-02T14:24:27.026Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2021-12-02T14:24:27.026Z] + START_PACKAGES=/tmp/packages_start.txt [2021-12-02T14:24:27.026Z] + END_PACKAGES=/tmp/packages_end.txt [2021-12-02T14:24:27.026Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-12-02T14:24:27.026Z] + PACKAGES=/tmp/packages_start.txt [2021-12-02T14:24:27.026Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2021-12-02T14:24:27.026Z] + PACKAGES=/tmp/packages_end.txt [2021-12-02T14:24:27.026Z] + case "${OS_FAMILY}" in [2021-12-02T14:24:27.026Z] + rpm -qa [2021-12-02T14:24:27.026Z] + sort [2021-12-02T14:24:27.599Z] + '[' -f /tmp/packages_start.txt ']' [2021-12-02T14:24:27.599Z] + '[' -f /tmp/packages_end.txt ']' [2021-12-02T14:24:27.599Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-12-02T14:24:27.599Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2021-12-02T14:24:27.599Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2021-12-02T14:24:27.599Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2021-12-02T14:24:27.611Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-12-02T14:24:27.897Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:24:28.451Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T14:24:28.451Z] [2021-12-02T14:24:28.451Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-12-02T14:24:28.764Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T14:24:28.764Z] latest: Pulling from edgex-lftools-log-publisher [2021-12-02T14:24:28.764Z] b4d181a07f80: Pulling fs layer [2021-12-02T14:24:28.764Z] a1111a8f2ec3: Pulling fs layer [2021-12-02T14:24:28.764Z] ed53099fbce6: Pulling fs layer [2021-12-02T14:24:28.764Z] dc539afda2c1: Pulling fs layer [2021-12-02T14:24:28.764Z] 77bc0d833cb6: Pulling fs layer [2021-12-02T14:24:28.764Z] 9065ff56babe: Pulling fs layer [2021-12-02T14:24:28.764Z] d287ab97295c: Pulling fs layer [2021-12-02T14:24:28.764Z] 77bc0d833cb6: Waiting [2021-12-02T14:24:28.764Z] 9065ff56babe: Waiting [2021-12-02T14:24:28.764Z] d287ab97295c: Waiting [2021-12-02T14:24:28.764Z] dc539afda2c1: Waiting [2021-12-02T14:24:28.764Z] a1111a8f2ec3: Verifying Checksum [2021-12-02T14:24:28.764Z] a1111a8f2ec3: Download complete [2021-12-02T14:24:28.764Z] dc539afda2c1: Verifying Checksum [2021-12-02T14:24:28.764Z] dc539afda2c1: Download complete [2021-12-02T14:24:28.764Z] ed53099fbce6: Verifying Checksum [2021-12-02T14:24:28.764Z] ed53099fbce6: Download complete [2021-12-02T14:24:29.028Z] 9065ff56babe: Verifying Checksum [2021-12-02T14:24:29.028Z] 9065ff56babe: Download complete [2021-12-02T14:24:29.028Z] 77bc0d833cb6: Verifying Checksum [2021-12-02T14:24:29.028Z] 77bc0d833cb6: Download complete [2021-12-02T14:24:29.028Z] b4d181a07f80: Verifying Checksum [2021-12-02T14:24:29.028Z] b4d181a07f80: Download complete [2021-12-02T14:24:29.604Z] d287ab97295c: Verifying Checksum [2021-12-02T14:24:29.604Z] d287ab97295c: Download complete [2021-12-02T14:24:30.564Z] b4d181a07f80: Pull complete [2021-12-02T14:24:30.564Z] a1111a8f2ec3: Pull complete [2021-12-02T14:24:31.141Z] ed53099fbce6: Pull complete [2021-12-02T14:24:31.141Z] dc539afda2c1: Pull complete [2021-12-02T14:24:31.403Z] 77bc0d833cb6: Pull complete [2021-12-02T14:24:31.665Z] 9065ff56babe: Pull complete [2021-12-02T14:24:36.987Z] d287ab97295c: Pull complete [2021-12-02T14:24:36.987Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-12-02T14:24:36.987Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-12-02T14:24:36.987Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-12-02T14:24:37.054Z] prd-centos7-docker-4c-2g-95 does not seem to be running inside a container [2021-12-02T14:24:37.092Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-12-02T14:24:39.763Z] $ docker top 68a0f21fca4dc65a3ce2c617eb6768443b79809678e1ad0557b93586b3d4cc4e -eo pid,comm [Pipeline] { [Pipeline] sh [2021-12-02T14:24:40.117Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-12-02T14:24:40.406Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-12-02T14:24:40.693Z] + ls /var/log/sa-host [2021-12-02T14:24:40.693Z] + sadf -c /var/log/sa-host/sa02 [2021-12-02T14:24:40.693Z] file_magic: OK [2021-12-02T14:24:40.693Z] HZ: Using current value: 100 [2021-12-02T14:24:40.693Z] file_header: OK [2021-12-02T14:24:40.693Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-12-02T14:24:40.693Z] Statistics: [2021-12-02T14:24:40.693Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-02T14:24:40.693Z] File successfully converted to sysstat format version 12.0.3 [2021-12-02T14:24:40.693Z] + sadf -c /var/log/sa-host/sa17 [2021-12-02T14:24:40.693Z] file_magic: OK [2021-12-02T14:24:40.693Z] HZ: Using current value: 100 [2021-12-02T14:24:40.693Z] file_header: OK [2021-12-02T14:24:40.693Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-12-02T14:24:40.693Z] Statistics: [2021-12-02T14:24:40.693Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-12-02T14:24:40.693Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-12-02T14:24:40.914Z] provisioning config files... [2021-12-02T14:24:40.925Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8033408410572119553tmp [Pipeline] { [Pipeline] echo [2021-12-02T14:24:40.940Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:24:41.226Z] ---> create-netrc.sh [Pipeline] } [2021-12-02T14:24:41.233Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:24:41.564Z] ---> python-tools-install.sh [Pipeline] echo [2021-12-02T14:24:41.573Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:24:41.858Z] ---> sudo-logs.sh [2021-12-02T14:24:41.858Z] Archiving 'sudo' log.. [2021-12-02T14:24:41.858Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-95.novalocal: Name or service not known [2021-12-02T14:24:41.858Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-95.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-12-02T14:24:41.880Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:24:42.164Z] ---> job-cost.sh [2021-12-02T14:24:42.164Z] lf-activate-venv: SKIPPING [2021-12-02T14:24:42.164Z] DEBUG: total: 0.10999999940395355 [2021-12-02T14:24:42.164Z] INFO: Retrieving Stack Cost... [2021-12-02T14:24:42.425Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-12-02T14:24:42.686Z] INFO: Archiving Costs [Pipeline] echo [2021-12-02T14:24:42.701Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-12-02T14:24:42.996Z] ---> logs-deploy.sh [2021-12-02T14:24:42.996Z] lf-activate-venv: SKIPPING [2021-12-02T14:24:42.996Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/24 [2021-12-02T14:24:42.996Z] INFO: archiving workspace using pattern(s): [2021-12-02T14:24:43.568Z] Archives upload complete. [2021-12-02T14:24:43.829Z] INFO: archiving logs to Nexus