Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9219881328434131614.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6923501184511125645.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8155573708772528015.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 # timeout=10 Commit message: "Merge pull request #366 from ernestojeda/fix-builder-images-sdk-c" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4346358264870221304.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-ssh6915769955968844731.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:true] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-982 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-ssh8446931459644239992.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 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 (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 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 # timeout=10 Commit message: "Merge pull request #324 from farshidtz/snap-core20" > git rev-list --no-walk ea5b9212d5b351ef8d69a08636345b209c30a09c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-17T15:09:23.555Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-17T15:09:23.608Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-17T15:09:23.627Z] ========================================================= [2021-11-17T15:09:23.627Z] EdgeX Global Pipelines Version Info [2021-11-17T15:09:23.627Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:09:24.769Z] ------------------- [2021-11-17T15:09:24.769Z] stable info: [2021-11-17T15:09:24.769Z] ------------------- [2021-11-17T15:09:24.769Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-17T15:09:24.769Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-17T15:09:24.769Z] Message: update stable to v1.0.215 [2021-11-17T15:09:25.715Z] ------------------- [2021-11-17T15:09:25.715Z] experimental info: [2021-11-17T15:09:25.715Z] ------------------- [2021-11-17T15:09:25.715Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-17T15:09:25.715Z] Commit SHA: 686c8e2b17b6b4c6988ddea14cf883eea3c5dfe4 [2021-11-17T15:09:25.715Z] Message: update experimental to v1.0.215 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-17T15:09:25.794Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2021-11-17T15:09:25.806Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2021-11-17T15:09:25.820Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-17T15:09:25.830Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-17T15:09:25.840Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-17T15:09:25.851Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-17T15:09:25.861Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-17T15:09:25.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-11-17T15:09:25.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-17T15:09:25.891Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-17T15:09:25.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-17T15:09:25.914Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2021-11-17T15:09:25.925Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-17T15:09:25.934Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-17T15:09:25.945Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-17T15:09:25.957Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-11-17T15:09:25.967Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-17T15:09:25.978Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-17T15:09:26.015Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-17T15:09:26.025Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2021-11-17T15:09:26.035Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-11-17T15:09:26.045Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-11-17T15:09:26.055Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-17T15:09:26.066Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-17T15:09:26.080Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-17T15:09:26.097Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-17T15:09:26.109Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2021-11-17T15:09:26.120Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2021-11-17T15:09:26.130Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2021-11-17T15:09:26.146Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 [Pipeline] echo [2021-11-17T15:09:26.161Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3e8a4d5 [Pipeline] echo [2021-11-17T15:09:26.177Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T15:09:26.218Z] provisioning config files... [2021-11-17T15:09:26.231Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8765034179027625887tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:09:26.549Z] ---> docker-login.sh [2021-11-17T15:09:26.549Z] nexus3.edgexfoundry.org:10001 [2021-11-17T15:09:26.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:09:26.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:09:26.815Z] Configure a credential helper to remove this warning. See [2021-11-17T15:09:26.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:09:26.815Z] [2021-11-17T15:09:26.815Z] Login Succeeded [2021-11-17T15:09:26.815Z] nexus3.edgexfoundry.org:10002 [2021-11-17T15:09:26.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:09:26.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:09:26.815Z] Configure a credential helper to remove this warning. See [2021-11-17T15:09:26.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:09:26.815Z] [2021-11-17T15:09:26.815Z] Login Succeeded [2021-11-17T15:09:26.815Z] nexus3.edgexfoundry.org:10003 [2021-11-17T15:09:26.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:09:27.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:09:27.077Z] Configure a credential helper to remove this warning. See [2021-11-17T15:09:27.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:09:27.077Z] [2021-11-17T15:09:27.077Z] Login Succeeded [2021-11-17T15:09:27.077Z] nexus3.edgexfoundry.org:10004 [2021-11-17T15:09:27.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:09:27.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:09:27.077Z] Configure a credential helper to remove this warning. See [2021-11-17T15:09:27.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:09:27.077Z] [2021-11-17T15:09:27.077Z] Login Succeeded [2021-11-17T15:09:27.077Z] docker.io [2021-11-17T15:09:27.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:09:27.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:09:27.652Z] Configure a credential helper to remove this warning. See [2021-11-17T15:09:27.652Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:09:27.652Z] [2021-11-17T15:09:27.652Z] Login Succeeded [2021-11-17T15:09:27.652Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T15:09:27.662Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-17T15:09:28.078Z] + git rev-list -1 --merges 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2~1..3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 [Pipeline] echo [2021-11-17T15:09:28.115Z] -----------> git rev-list -1 --merges 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2~1..3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 [2021-11-17T15:09:28.115Z] 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 [false] [Pipeline] sh [2021-11-17T15:09:28.403Z] + git log --format=format:%s -1 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 [Pipeline] echo [2021-11-17T15:09:28.415Z] ========================================================= [2021-11-17T15:09:28.415Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-17T15:09:28.415Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T15:09:28.762Z] + git log --format=format:%s -1 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 [Pipeline] echo [2021-11-17T15:09:28.775Z] [semverPrep] GIT_COMMIT: 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2, Commit Message: Merge pull request #324 from farshidtz/snap-core20 [Pipeline] echo [2021-11-17T15:09:28.784Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:09:29.212Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T15:09:29.212Z] [2021-11-17T15:09:29.212Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:09:29.538Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T15:09:29.538Z] latest: Pulling from edgex-devops/git-semver [2021-11-17T15:09:29.538Z] a0d0a0d46f8b: Pulling fs layer [2021-11-17T15:09:29.538Z] 3e5f54012d9b: Pulling fs layer [2021-11-17T15:09:29.538Z] 4c7163046ea9: Pulling fs layer [2021-11-17T15:09:29.538Z] 0c2d73faf560: Pulling fs layer [2021-11-17T15:09:29.538Z] 0c2d73faf560: Waiting [2021-11-17T15:09:29.538Z] 3e5f54012d9b: Verifying Checksum [2021-11-17T15:09:29.538Z] 3e5f54012d9b: Download complete [2021-11-17T15:09:29.538Z] a0d0a0d46f8b: Verifying Checksum [2021-11-17T15:09:29.538Z] a0d0a0d46f8b: Download complete [2021-11-17T15:09:29.538Z] 0c2d73faf560: Verifying Checksum [2021-11-17T15:09:29.538Z] 0c2d73faf560: Download complete [2021-11-17T15:09:29.538Z] 4c7163046ea9: Verifying Checksum [2021-11-17T15:09:29.538Z] 4c7163046ea9: Download complete [2021-11-17T15:09:29.813Z] a0d0a0d46f8b: Pull complete [2021-11-17T15:09:29.813Z] 3e5f54012d9b: Pull complete [2021-11-17T15:09:30.074Z] 4c7163046ea9: Pull complete [2021-11-17T15:09:30.074Z] 0c2d73faf560: Pull complete [2021-11-17T15:09:30.334Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-17T15:09:30.334Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T15:09:30.334Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-17T15:09:30.402Z] prd-centos7-docker-4c-2g-982 does not seem to be running inside a container [2021-11-17T15:09:30.443Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-17T15:09:31.024Z] $ docker top 4a547c36a4c276395f94bea8fd4c6a6ca98f652f56cd5bf0daa0fcb0e09bf0d5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-17T15:09:31.106Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T15:09:31.106Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T15:09:31.205Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T15:09:31.208Z] $ docker exec 4a547c36a4c276395f94bea8fd4c6a6ca98f652f56cd5bf0daa0fcb0e09bf0d5 ssh-agent [2021-11-17T15:09:31.297Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOgOlcd/agent.13 [2021-11-17T15:09:31.297Z] SSH_AGENT_PID=20 [2021-11-17T15:09:31.303Z] Running ssh-add (command line suppressed) [2021-11-17T15:09:31.386Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3709265456451322492.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_3709265456451322492.key) [2021-11-17T15:09:31.403Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T15:09:31.693Z] + git tag --points-at HEAD [Pipeline] } [2021-11-17T15:09:31.706Z] $ docker exec --env ******** --env ******** 4a547c36a4c276395f94bea8fd4c6a6ca98f652f56cd5bf0daa0fcb0e09bf0d5 ssh-agent -k [2021-11-17T15:09:31.784Z] unset SSH_AUTH_SOCK; [2021-11-17T15:09:31.785Z] unset SSH_AGENT_PID; [2021-11-17T15:09:31.785Z] echo Agent pid 20 killed; [2021-11-17T15:09:31.791Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-17T15:09:31.813Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T15:09:31.813Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T15:09:31.909Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T15:09:31.912Z] $ docker exec 4a547c36a4c276395f94bea8fd4c6a6ca98f652f56cd5bf0daa0fcb0e09bf0d5 ssh-agent [2021-11-17T15:09:32.004Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjolclD/agent.53 [2021-11-17T15:09:32.004Z] SSH_AGENT_PID=60 [2021-11-17T15:09:32.009Z] Running ssh-add (command line suppressed) [2021-11-17T15:09:32.090Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6562960985459728906.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6562960985459728906.key) [2021-11-17T15:09:32.102Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T15:09:32.406Z] + git semver init [2021-11-17T15:09:32.406Z] # -> Open(): unable to determine branch for HEAD [2021-11-17T15:09:32.406Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-11-17T15:09:32.406Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-17T15:09:32.406Z] # $SEMVER_REMOTE_NAME = origin [2021-11-17T15:09:32.406Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-17T15:09:32.406Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-17T15:09:32.406Z] # $SEMVER_BRANCH = main [2021-11-17T15:09:32.406Z] # $SEMVER_TEMP = /tmp/semver-661478221 [2021-11-17T15:09:32.406Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2021-11-17T15:09:32.406Z] # -> Clone(): ssh: handshake failed: knownhosts: key mismatch [2021-11-17T15:09:32.406Z] # git init /tmp/semver-661478221 [2021-11-17T15:09:32.406Z] # '/tmp/semver-661478221' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' [2021-11-17T15:09:32.406Z] # -> Force: false [2021-11-17T15:09:32.406Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2021-11-17T15:09:32.415Z] $ docker exec --env ******** --env ******** 4a547c36a4c276395f94bea8fd4c6a6ca98f652f56cd5bf0daa0fcb0e09bf0d5 ssh-agent -k [2021-11-17T15:09:32.536Z] unset SSH_AUTH_SOCK; [2021-11-17T15:09:32.538Z] unset SSH_AGENT_PID; [2021-11-17T15:09:32.538Z] echo Agent pid 60 killed; [2021-11-17T15:09:32.543Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-17T15:09:32.845Z] + git semver [Pipeline] } [2021-11-17T15:09:32.859Z] $ docker stop --time=1 4a547c36a4c276395f94bea8fd4c6a6ca98f652f56cd5bf0daa0fcb0e09bf0d5 [2021-11-17T15:09:34.051Z] $ docker rm -f 4a547c36a4c276395f94bea8fd4c6a6ca98f652f56cd5bf0daa0fcb0e09bf0d5 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T15:09:34.402Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-17T15:09:34.643Z] Stashed 1 file(s) [Pipeline] echo [2021-11-17T15:09:34.647Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-11-17T15:09:49.837Z] Still waiting to schedule task [2021-11-17T15:09:49.837Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-17T15:09:49.840Z] Still waiting to schedule task [2021-11-17T15:09:49.840Z] ‘prd-centos7-blackbox-4c-2g-465’ doesn’t have label ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-11-17T15:09:49.840Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-983’ is offline [2021-11-17T15:11:26.516Z] Running on prd-centos7-docker-4c-2g-985 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2021-11-17T15:11:26.526Z] Running in /w/workspace/device-mqtt-go/20 [Pipeline] { [Pipeline] checkout [2021-11-17T15:11:26.602Z] Selected Git installation does not exist. Using Default [2021-11-17T15:11:26.603Z] The recommended git tool is: NONE [2021-11-17T15:11:28.670Z] using credential edgex-jenkins-ssh [2021-11-17T15:11:28.681Z] Cloning the remote Git repository [2021-11-17T15:11:28.553Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-17T15:11:28.610Z] > git init /w/workspace/device-mqtt-go/20 # timeout=10 [2021-11-17T15:11:28.642Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-17T15:11:28.642Z] > git --version # timeout=10 [2021-11-17T15:11:28.653Z] > git --version # 'git version 2.24.4' [2021-11-17T15:11:28.653Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T15:11:28.675Z] [INFO] Currently running in a labeled security context [2021-11-17T15:11:28.675Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-17T15:11:28.675Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-mqtt-go/20@tmp/jenkins-gitclient-ssh6576553927489683607.key [2021-11-17T15:11:29.628Z] Avoid second fetch [2021-11-17T15:11:29.629Z] Checking out Revision 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 (main) [2021-11-17T15:11:28.766Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T15:11:29.455Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-11-17T15:11:29.463Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T15:11:29.489Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T15:11:29.496Z] > git checkout -f 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 # timeout=10 [2021-11-17T15:11:33.201Z] Commit message: "Merge pull request #324 from farshidtz/snap-core20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T15:11:33.710Z] provisioning config files... [2021-11-17T15:11:33.727Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/20@tmp/config2294709288125340459tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:11:34.133Z] ---> docker-login.sh [2021-11-17T15:11:34.133Z] nexus3.edgexfoundry.org:10001 [2021-11-17T15:11:34.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:11:34.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:11:34.133Z] Configure a credential helper to remove this warning. See [2021-11-17T15:11:34.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:11:34.133Z] [2021-11-17T15:11:34.133Z] Login Succeeded [2021-11-17T15:11:34.133Z] nexus3.edgexfoundry.org:10002 [2021-11-17T15:11:34.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:11:34.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:11:34.392Z] Configure a credential helper to remove this warning. See [2021-11-17T15:11:34.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:11:34.392Z] [2021-11-17T15:11:34.392Z] Login Succeeded [2021-11-17T15:11:34.392Z] nexus3.edgexfoundry.org:10003 [2021-11-17T15:11:34.392Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:11:34.392Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:11:34.392Z] Configure a credential helper to remove this warning. See [2021-11-17T15:11:34.392Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:11:34.392Z] [2021-11-17T15:11:34.392Z] Login Succeeded [2021-11-17T15:11:34.392Z] nexus3.edgexfoundry.org:10004 [2021-11-17T15:11:34.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:11:34.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:11:34.656Z] Configure a credential helper to remove this warning. See [2021-11-17T15:11:34.656Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:11:34.656Z] [2021-11-17T15:11:34.656Z] Login Succeeded [2021-11-17T15:11:34.656Z] docker.io [2021-11-17T15:11:34.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:11:34.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:11:34.920Z] Configure a credential helper to remove this warning. See [2021-11-17T15:11:34.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:11:34.920Z] [2021-11-17T15:11:34.920Z] Login Succeeded [2021-11-17T15:11:34.920Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T15:11:34.951Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-17T15:11:35.074Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T15:11:35.084Z] ========================================================= [2021-11-17T15:11:35.084Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-17T15:11:35.084Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:11:35.406Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-11-17T15:11:35.406Z] Sending build context to Docker daemon 707.1kB [2021-11-17T15:11:35.406Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T15:11:35.406Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-17T15:11:35.406Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-17T15:11:35.406Z] a0d0a0d46f8b: Pulling fs layer [2021-11-17T15:11:35.406Z] 31adcdaf11c8: Pulling fs layer [2021-11-17T15:11:35.406Z] b8b176561691: Pulling fs layer [2021-11-17T15:11:35.406Z] 4527c011a84f: Pulling fs layer [2021-11-17T15:11:35.406Z] 5d74067f8e1e: Pulling fs layer [2021-11-17T15:11:35.406Z] e0aca202a116: Pulling fs layer [2021-11-17T15:11:35.406Z] 3a43be97a3b4: Pulling fs layer [2021-11-17T15:11:35.406Z] 34cad66bf833: Pulling fs layer [2021-11-17T15:11:35.406Z] b4e3c513aaa6: Pulling fs layer [2021-11-17T15:11:35.406Z] 4527c011a84f: Waiting [2021-11-17T15:11:35.407Z] 5d74067f8e1e: Waiting [2021-11-17T15:11:35.407Z] e0aca202a116: Waiting [2021-11-17T15:11:35.407Z] 3a43be97a3b4: Waiting [2021-11-17T15:11:35.407Z] 34cad66bf833: Waiting [2021-11-17T15:11:35.407Z] b4e3c513aaa6: Waiting [2021-11-17T15:11:35.407Z] b8b176561691: Download complete [2021-11-17T15:11:35.407Z] 31adcdaf11c8: Verifying Checksum [2021-11-17T15:11:35.407Z] 31adcdaf11c8: Download complete [2021-11-17T15:11:35.407Z] 5d74067f8e1e: Verifying Checksum [2021-11-17T15:11:35.407Z] 5d74067f8e1e: Download complete [2021-11-17T15:11:35.407Z] e0aca202a116: Verifying Checksum [2021-11-17T15:11:35.407Z] e0aca202a116: Download complete [2021-11-17T15:11:35.407Z] a0d0a0d46f8b: Verifying Checksum [2021-11-17T15:11:35.407Z] a0d0a0d46f8b: Download complete [2021-11-17T15:11:35.407Z] 3a43be97a3b4: Verifying Checksum [2021-11-17T15:11:35.407Z] 3a43be97a3b4: Download complete [2021-11-17T15:11:35.677Z] 34cad66bf833: Verifying Checksum [2021-11-17T15:11:35.677Z] 34cad66bf833: Download complete [2021-11-17T15:11:36.255Z] 4527c011a84f: Verifying Checksum [2021-11-17T15:11:36.255Z] 4527c011a84f: Download complete [2021-11-17T15:11:36.255Z] a0d0a0d46f8b: Pull complete [2021-11-17T15:11:36.255Z] b4e3c513aaa6: Verifying Checksum [2021-11-17T15:11:36.255Z] b4e3c513aaa6: Download complete [2021-11-17T15:11:36.255Z] 31adcdaf11c8: Pull complete [2021-11-17T15:11:36.255Z] b8b176561691: Pull complete [2021-11-17T15:11:40.488Z] 4527c011a84f: Pull complete [2021-11-17T15:11:40.488Z] 5d74067f8e1e: Pull complete [2021-11-17T15:11:40.488Z] e0aca202a116: Pull complete [2021-11-17T15:11:40.488Z] 3a43be97a3b4: Pull complete [2021-11-17T15:11:40.488Z] 34cad66bf833: Pull complete [2021-11-17T15:11:43.051Z] b4e3c513aaa6: Pull complete [2021-11-17T15:11:43.051Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-17T15:11:43.051Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-17T15:11:43.051Z] ---> 9f6097aaca64 [2021-11-17T15:11:43.051Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T15:11:44.975Z] ---> Running in 9aefd9adec5a [2021-11-17T15:11:44.975Z] Removing intermediate container 9aefd9adec5a [2021-11-17T15:11:44.975Z] ---> a4ddefe00ef2 [2021-11-17T15:11:44.975Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T15:11:44.975Z] ---> Running in f08602da3649 [2021-11-17T15:11:45.236Z] Removing intermediate container f08602da3649 [2021-11-17T15:11:45.236Z] ---> f2e3b32eed11 [2021-11-17T15:11:45.236Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T15:11:45.236Z] ---> Running in 1675218c5569 [2021-11-17T15:11:45.822Z] Removing intermediate container 1675218c5569 [2021-11-17T15:11:45.822Z] ---> 69b2014dd0d5 [2021-11-17T15:11:45.822Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T15:11:45.822Z] ---> Running in 735f084e6005 [2021-11-17T15:11:46.085Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T15:11:47.024Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T15:11:47.024Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-17T15:11:47.300Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-17T15:11:47.300Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-17T15:11:47.300Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-17T15:11:47.563Z] Executing busybox-1.33.1-r3.trigger [2021-11-17T15:11:47.563Z] OK: 224 MiB in 56 packages [2021-11-17T15:11:47.828Z] Removing intermediate container 735f084e6005 [2021-11-17T15:11:47.829Z] ---> f202a4b047b9 [2021-11-17T15:11:47.829Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-11-17T15:11:47.829Z] ---> Running in 31b5bc23b3bc [2021-11-17T15:11:47.829Z] Removing intermediate container 31b5bc23b3bc [2021-11-17T15:11:47.829Z] ---> bed23f139f34 [2021-11-17T15:11:47.829Z] Step 8/11 : COPY . . [2021-11-17T15:11:48.089Z] ---> 8ca7bfc0ee56 [2021-11-17T15:11:48.089Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T15:11:48.359Z] ---> Running in 5ffaf842f2c9 [2021-11-17T15:11:59.168Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-984 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2021-11-17T15:11:59.180Z] Running in /w/workspace/device-mqtt-go/20 [Pipeline] { [Pipeline] checkout [2021-11-17T15:11:59.371Z] Selected Git installation does not exist. Using Default [2021-11-17T15:11:59.371Z] The recommended git tool is: NONE [2021-11-17T15:12:05.050Z] using credential edgex-jenkins-ssh [2021-11-17T15:12:05.071Z] Cloning the remote Git repository [2021-11-17T15:12:05.126Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-17T15:12:05.236Z] > git init /w/workspace/device-mqtt-go/20 # timeout=10 [2021-11-17T15:12:05.317Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2021-11-17T15:12:05.318Z] > git --version # timeout=10 [2021-11-17T15:12:05.349Z] > git --version # 'git version 2.17.1' [2021-11-17T15:12:05.351Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-17T15:12:05.450Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T15:12:06.344Z] Avoid second fetch [2021-11-17T15:12:06.344Z] Checking out Revision 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 (main) [2021-11-17T15:12:06.293Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2021-11-17T15:12:06.315Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-17T15:12:06.364Z] > git config core.sparsecheckout # timeout=10 [2021-11-17T15:12:06.377Z] > git checkout -f 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 # timeout=10 [2021-11-17T15:12:10.655Z] Commit message: "Merge pull request #324 from farshidtz/snap-core20" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T15:12:11.496Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-17T15:12:11.496Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-17T15:12:11.496Z] Dload Upload Total Spent Left Speed [2021-11-17T15:12:11.496Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 217k 0 --:--:-- --:--:-- --:--:-- 217k [Pipeline] sh [2021-11-17T15:12:11.923Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-17T15:12:12.267Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-17T15:12:12.267Z] + sudo tee /etc/docker/daemon.new [2021-11-17T15:12:12.267Z] { [2021-11-17T15:12:12.267Z] "registry-mirrors": [ [2021-11-17T15:12:12.267Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-17T15:12:12.267Z] ], [2021-11-17T15:12:12.267Z] "bip": "10.250.0.254/24", [2021-11-17T15:12:12.267Z] "hosts": [ [2021-11-17T15:12:12.267Z] "tcp://0.0.0.0:5555", [2021-11-17T15:12:12.267Z] "unix:///var/run/docker.sock" [2021-11-17T15:12:12.267Z] ], [2021-11-17T15:12:12.267Z] "mtu": 1458, [2021-11-17T15:12:12.267Z] "selinux-enabled": true, [2021-11-17T15:12:12.267Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-17T15:12:12.267Z] } [Pipeline] sh [2021-11-17T15:12:12.614Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-17T15:12:12.976Z] + sudo service docker restart [2021-11-17T15:12:27.157Z] Removing intermediate container 5ffaf842f2c9 [2021-11-17T15:12:27.157Z] ---> a737002e154e [2021-11-17T15:12:27.157Z] Step 10/11 : ARG MAKE='make build' [2021-11-17T15:12:27.157Z] ---> Running in c0fa4a284cbc [2021-11-17T15:12:27.157Z] Removing intermediate container c0fa4a284cbc [2021-11-17T15:12:27.157Z] ---> 5e806516c37a [2021-11-17T15:12:27.157Z] Step 11/11 : RUN $MAKE [2021-11-17T15:12:27.157Z] ---> Running in 6748dbb939ad [2021-11-17T15:12:27.157Z] noop [2021-11-17T15:12:27.157Z] Removing intermediate container 6748dbb939ad [2021-11-17T15:12:27.157Z] ---> eb3f4430d412 [2021-11-17T15:12:27.157Z] Successfully built eb3f4430d412 [2021-11-17T15:12:27.157Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:12:27.461Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-17T15:12:27.461Z] . [Pipeline] withDockerContainer [2021-11-17T15:12:27.528Z] prd-centos7-docker-4c-2g-985 does not seem to be running inside a container [2021-11-17T15:12:27.581Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/20 -v /w/workspace/device-mqtt-go/20:/w/workspace/device-mqtt-go/20:rw,z -v /w/workspace/device-mqtt-go/20@tmp:/w/workspace/device-mqtt-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-17T15:12:27.921Z] $ docker top c960ac0d1dfa69860c34fb511f09aa9acbd78d924655d5edf8653ba1bf1553f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T15:12:28.274Z] + go version [2021-11-17T15:12:28.274Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-17T15:12:28.284Z] $ docker stop --time=1 c960ac0d1dfa69860c34fb511f09aa9acbd78d924655d5edf8653ba1bf1553f7 [2021-11-17T15:12:29.453Z] $ docker rm -f c960ac0d1dfa69860c34fb511f09aa9acbd78d924655d5edf8653ba1bf1553f7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:12:29.980Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-17T15:12:29.980Z] . [Pipeline] withDockerContainer [2021-11-17T15:12:30.049Z] prd-centos7-docker-4c-2g-985 does not seem to be running inside a container [2021-11-17T15:12:30.098Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/20 -v /w/workspace/device-mqtt-go/20:/w/workspace/device-mqtt-go/20:rw,z -v /w/workspace/device-mqtt-go/20@tmp:/w/workspace/device-mqtt-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-17T15:12:30.447Z] $ docker top 0cb896aff84e8522579c4f1bef57a9c067f9b616924912f343405329909ff627 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-17T15:12:30.841Z] + make test [2021-11-17T15:12:30.841Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-17T15:12:31.117Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T15:12:31.341Z] provisioning config files... [2021-11-17T15:12:31.365Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/20@tmp/config4642504511044770060tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:12:31.844Z] ---> docker-login.sh [2021-11-17T15:12:31.844Z] nexus3.edgexfoundry.org:10001 [2021-11-17T15:12:32.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:12:33.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:12:33.037Z] Configure a credential helper to remove this warning. See [2021-11-17T15:12:33.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:12:33.037Z] [2021-11-17T15:12:33.037Z] Login Succeeded [2021-11-17T15:12:33.037Z] nexus3.edgexfoundry.org:10002 [2021-11-17T15:12:33.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:12:33.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:12:33.318Z] Configure a credential helper to remove this warning. See [2021-11-17T15:12:33.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:12:33.318Z] [2021-11-17T15:12:33.318Z] Login Succeeded [2021-11-17T15:12:33.318Z] nexus3.edgexfoundry.org:10003 [2021-11-17T15:12:33.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:12:33.925Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:12:33.925Z] Configure a credential helper to remove this warning. See [2021-11-17T15:12:33.925Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:12:33.925Z] [2021-11-17T15:12:33.925Z] Login Succeeded [2021-11-17T15:12:33.925Z] nexus3.edgexfoundry.org:10004 [2021-11-17T15:12:34.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:12:34.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:12:34.470Z] Configure a credential helper to remove this warning. See [2021-11-17T15:12:34.470Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:12:34.470Z] [2021-11-17T15:12:34.470Z] Login Succeeded [2021-11-17T15:12:34.470Z] docker.io [2021-11-17T15:12:34.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:12:35.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:12:35.354Z] Configure a credential helper to remove this warning. See [2021-11-17T15:12:35.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:12:35.354Z] [2021-11-17T15:12:35.354Z] Login Succeeded [2021-11-17T15:12:35.354Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T15:12:35.370Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-17T15:12:35.655Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T15:12:35.665Z] ========================================================= [2021-11-17T15:12:35.665Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-17T15:12:35.665Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:12:36.011Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-11-17T15:12:36.283Z] Sending build context to Docker daemon 706kB [2021-11-17T15:12:36.283Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T15:12:36.283Z] Step 2/11 : FROM ${BASE} AS builder [2021-11-17T15:12:36.558Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-17T15:12:36.558Z] 552d1f2373af: Pulling fs layer [2021-11-17T15:12:36.558Z] ea3f2d53f512: Pulling fs layer [2021-11-17T15:12:36.558Z] 9e70ebbbe112: Pulling fs layer [2021-11-17T15:12:36.558Z] 7a9cfe048b4a: Pulling fs layer [2021-11-17T15:12:36.558Z] 72dc09318566: Pulling fs layer [2021-11-17T15:12:36.558Z] 7a9cfe048b4a: Waiting [2021-11-17T15:12:36.558Z] f4f7b4309257: Pulling fs layer [2021-11-17T15:12:36.558Z] 0ac9a79272e3: Pulling fs layer [2021-11-17T15:12:36.558Z] 72dc09318566: Waiting [2021-11-17T15:12:36.558Z] b78e95d17946: Pulling fs layer [2021-11-17T15:12:36.558Z] f4f7b4309257: Waiting [2021-11-17T15:12:36.558Z] 0ac9a79272e3: Waiting [2021-11-17T15:12:36.558Z] b78e95d17946: Waiting [2021-11-17T15:12:36.558Z] 9e70ebbbe112: Download complete [2021-11-17T15:12:36.558Z] ea3f2d53f512: Download complete [2021-11-17T15:12:36.558Z] 72dc09318566: Verifying Checksum [2021-11-17T15:12:36.558Z] 72dc09318566: Download complete [2021-11-17T15:12:36.558Z] f4f7b4309257: Verifying Checksum [2021-11-17T15:12:36.558Z] f4f7b4309257: Download complete [2021-11-17T15:12:36.558Z] 552d1f2373af: Download complete [2021-11-17T15:12:36.837Z] 0ac9a79272e3: Verifying Checksum [2021-11-17T15:12:36.837Z] 0ac9a79272e3: Download complete [2021-11-17T15:12:37.442Z] 552d1f2373af: Pull complete [2021-11-17T15:12:38.051Z] ea3f2d53f512: Pull complete [2021-11-17T15:12:38.652Z] 9e70ebbbe112: Pull complete [2021-11-17T15:12:38.652Z] b78e95d17946: Verifying Checksum [2021-11-17T15:12:38.652Z] b78e95d17946: Download complete [2021-11-17T15:12:39.250Z] 7a9cfe048b4a: Verifying Checksum [2021-11-17T15:12:39.250Z] 7a9cfe048b4a: Download complete [2021-11-17T15:12:49.313Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-11-17T15:12:49.313Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.008s coverage: 22.4% of statements [2021-11-17T15:12:49.313Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-11-17T15:12:49.313Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-17T15:12:51.707Z] 7a9cfe048b4a: Pull complete [2021-11-17T15:12:51.707Z] 72dc09318566: Pull complete [2021-11-17T15:12:51.707Z] f4f7b4309257: Pull complete [2021-11-17T15:12:51.707Z] 0ac9a79272e3: Pull complete [2021-11-17T15:12:54.684Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-17T15:12:54.684Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-17T15:12:54.684Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-17T15:12:54.699Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-17T15:12:54.712Z] $ docker stop --time=1 0cb896aff84e8522579c4f1bef57a9c067f9b616924912f343405329909ff627 [2021-11-17T15:12:56.180Z] $ docker rm -f 0cb896aff84e8522579c4f1bef57a9c067f9b616924912f343405329909ff627 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T15:12:56.569Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-17T15:12:56.737Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-17T15:12:57.113Z] b78e95d17946: Pull complete [2021-11-17T15:12:57.113Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-17T15:12:57.113Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-17T15:12:57.113Z] ---> 8b459fc5aaf0 [2021-11-17T15:12:57.113Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T15:12:57.359Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-17T15:12:57.659Z] + ls -al . [2021-11-17T15:12:57.659Z] total 148 [2021-11-17T15:12:57.659Z] drwxrwxr-x. 9 jenkins jenkins 4096 Nov 17 15:12 . [2021-11-17T15:12:57.659Z] drwxrwxr-x. 4 jenkins jenkins 30 Nov 17 15:11 .. [2021-11-17T15:12:57.659Z] -rw-rw-r--. 1 jenkins jenkins 7287 Nov 17 15:11 Attribution.txt [2021-11-17T15:12:57.659Z] drwxrwxr-x. 2 jenkins jenkins 60 Nov 17 15:11 bin [2021-11-17T15:12:57.659Z] -rw-rw-r--. 1 jenkins jenkins 7447 Nov 17 15:11 CHANGELOG.md [2021-11-17T15:12:57.659Z] drwxrwxr-x. 3 jenkins jenkins 32 Nov 17 15:11 cmd [2021-11-17T15:12:57.659Z] -rw-r--r--. 1 jenkins jenkins 17284 Nov 17 15:12 coverage.out [2021-11-17T15:12:57.659Z] -rw-rw-r--. 1 jenkins jenkins 1907 Nov 17 15:11 Dockerfile [2021-11-17T15:12:57.659Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 17 15:11 .dockerignore [2021-11-17T15:12:57.659Z] drwxrwxr-x. 8 jenkins jenkins 162 Nov 17 15:11 .git [2021-11-17T15:12:57.659Z] drwxrwxr-x. 2 jenkins jenkins 103 Nov 17 15:11 .github [2021-11-17T15:12:57.659Z] -rw-rw-r--. 1 jenkins jenkins 329 Nov 17 15:11 .gitignore [2021-11-17T15:12:57.659Z] -rw-rw-r--. 1 jenkins jenkins 404 Nov 17 15:11 go.mod [2021-11-17T15:12:57.659Z] -rw-rw-r--. 1 jenkins jenkins 49385 Nov 17 15:11 go.sum [2021-11-17T15:12:57.659Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 17 15:11 GOVERNANCE.md [2021-11-17T15:12:57.659Z] drwxrwxr-x. 3 jenkins jenkins 20 Nov 17 15:11 internal [2021-11-17T15:12:57.659Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 17 15:11 Jenkinsfile [2021-11-17T15:12:57.659Z] -rw-rw-r--. 1 jenkins jenkins 11340 Nov 17 15:11 LICENSE [2021-11-17T15:12:57.659Z] -rw-rw-r--. 1 jenkins jenkins 1030 Nov 17 15:11 Makefile [2021-11-17T15:12:57.659Z] drwxrwxr-x. 2 jenkins jenkins 23 Nov 17 15:11 mock [2021-11-17T15:12:57.659Z] -rw-rw-r--. 1 jenkins jenkins 620 Nov 17 15:11 OWNERS.md [2021-11-17T15:12:57.659Z] -rw-rw-r--. 1 jenkins jenkins 2211 Nov 17 15:11 README.md [2021-11-17T15:12:57.659Z] drwxrwxr-x. 4 jenkins jenkins 71 Nov 17 15:11 snap [2021-11-17T15:12:57.659Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 17 15:09 VERSION [2021-11-17T15:12:57.659Z] -rw-rw-r--. 1 jenkins jenkins 227 Nov 17 15:11 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:12:57.963Z] + 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=3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 --label arch=amd64 --label version=0.0.0 . [2021-11-17T15:12:57.963Z] Sending build context to Docker daemon 725kB [2021-11-17T15:12:57.963Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T15:12:57.963Z] Step 2/23 : FROM ${BASE} AS builder [2021-11-17T15:12:57.963Z] ---> eb3f4430d412 [2021-11-17T15:12:57.963Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T15:12:57.963Z] ---> Running in 43ea9079f77e [2021-11-17T15:12:57.963Z] Removing intermediate container 43ea9079f77e [2021-11-17T15:12:57.963Z] ---> 8a84ffeca863 [2021-11-17T15:12:57.963Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T15:12:58.227Z] ---> Running in c842464089a8 [2021-11-17T15:12:58.227Z] Removing intermediate container c842464089a8 [2021-11-17T15:12:58.227Z] ---> 6f371af230cc [2021-11-17T15:12:58.227Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T15:12:58.227Z] ---> Running in a99aa92e26f9 [2021-11-17T15:12:58.485Z] Removing intermediate container a99aa92e26f9 [2021-11-17T15:12:58.485Z] ---> 7441802f4788 [2021-11-17T15:12:58.485Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T15:12:58.546Z] ---> Running in 7765959a9101 [2021-11-17T15:12:58.746Z] ---> Running in c6888b70d034 [2021-11-17T15:12:58.817Z] Removing intermediate container 7765959a9101 [2021-11-17T15:12:58.817Z] ---> e6323a4f44c9 [2021-11-17T15:12:58.817Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T15:12:59.006Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T15:12:59.091Z] ---> Running in f596b68a36ee [2021-11-17T15:12:59.365Z] Removing intermediate container f596b68a36ee [2021-11-17T15:12:59.365Z] ---> 7b166c1df50b [2021-11-17T15:12:59.365Z] Step 5/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T15:12:59.365Z] ---> Running in a07a1437c96f [2021-11-17T15:12:59.947Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T15:12:59.947Z] OK: 224 MiB in 56 packages [2021-11-17T15:13:00.208Z] Removing intermediate container c6888b70d034 [2021-11-17T15:13:00.208Z] ---> 408a1dc45a8e [2021-11-17T15:13:00.208Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-11-17T15:13:00.208Z] ---> Running in df0e16060bf2 [2021-11-17T15:13:00.468Z] Removing intermediate container df0e16060bf2 [2021-11-17T15:13:00.468Z] ---> 5bdebd320e19 [2021-11-17T15:13:00.468Z] Step 8/23 : COPY . . [2021-11-17T15:13:00.728Z] ---> c6f7bce63c6f [2021-11-17T15:13:00.728Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T15:13:00.728Z] ---> Running in ddff45269faa [2021-11-17T15:13:01.307Z] Removing intermediate container ddff45269faa [2021-11-17T15:13:01.307Z] ---> 379ca4f3f2cc [2021-11-17T15:13:01.307Z] Step 10/23 : ARG MAKE='make build' [2021-11-17T15:13:01.307Z] ---> Running in 2d7d97e3342c [2021-11-17T15:13:01.307Z] Removing intermediate container 2d7d97e3342c [2021-11-17T15:13:01.307Z] ---> f6d1305b94d5 [2021-11-17T15:13:01.307Z] Step 11/23 : RUN $MAKE [2021-11-17T15:13:01.307Z] ---> Running in f130c764e79e [2021-11-17T15:13:01.352Z] Removing intermediate container a07a1437c96f [2021-11-17T15:13:01.352Z] ---> 84582ce1e6d6 [2021-11-17T15:13:01.352Z] Step 6/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T15:13:01.568Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2021-11-17T15:13:01.626Z] ---> Running in e3f42eeba363 [2021-11-17T15:13:03.135Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T15:13:03.730Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T15:13:04.327Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-11-17T15:13:04.598Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-11-17T15:13:04.598Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-11-17T15:13:04.875Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-11-17T15:13:04.875Z] Executing busybox-1.33.1-r3.trigger [2021-11-17T15:13:04.875Z] OK: 223 MiB in 56 packages [2021-11-17T15:13:05.869Z] Removing intermediate container e3f42eeba363 [2021-11-17T15:13:05.869Z] ---> aeb7e5748e78 [2021-11-17T15:13:05.869Z] Step 7/11 : WORKDIR /device-mqtt-go [2021-11-17T15:13:06.143Z] ---> Running in 1a880829a38a [2021-11-17T15:13:06.418Z] Removing intermediate container 1a880829a38a [2021-11-17T15:13:06.418Z] ---> 0183167b31b0 [2021-11-17T15:13:06.418Z] Step 8/11 : COPY . . [2021-11-17T15:13:07.405Z] ---> 31c818d2b360 [2021-11-17T15:13:07.405Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T15:13:07.689Z] ---> Running in ff97c4231425 [2021-11-17T15:13:14.877Z] Removing intermediate container f130c764e79e [2021-11-17T15:13:14.878Z] ---> 4091c50f5943 [2021-11-17T15:13:14.878Z] Step 12/23 : FROM alpine:3.14 [2021-11-17T15:13:14.878Z] 3.14: Pulling from library/alpine [2021-11-17T15:13:14.878Z] 97518928ae5f: Pulling fs layer [2021-11-17T15:13:14.878Z] 97518928ae5f: Verifying Checksum [2021-11-17T15:13:14.878Z] 97518928ae5f: Download complete [2021-11-17T15:13:14.878Z] 97518928ae5f: Pull complete [2021-11-17T15:13:14.878Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-17T15:13:14.878Z] Status: Downloaded newer image for alpine:3.14 [2021-11-17T15:13:14.878Z] ---> 0a97eee8041e [2021-11-17T15:13:14.878Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-11-17T15:13:14.878Z] ---> Running in 4c2fc78fc066 [2021-11-17T15:13:14.878Z] Removing intermediate container 4c2fc78fc066 [2021-11-17T15:13:14.878Z] ---> f683c3bf765b [2021-11-17T15:13:14.878Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-17T15:13:14.878Z] ---> Running in bcfa3caa6ed1 [2021-11-17T15:13:14.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-17T15:13:15.138Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-17T15:13:15.138Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-17T15:13:15.138Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-17T15:13:15.138Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-17T15:13:15.138Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-17T15:13:15.138Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-17T15:13:15.138Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-17T15:13:15.138Z] Executing busybox-1.33.1-r6.trigger [2021-11-17T15:13:15.138Z] OK: 8 MiB in 20 packages [2021-11-17T15:13:15.707Z] Removing intermediate container bcfa3caa6ed1 [2021-11-17T15:13:15.707Z] ---> ccff46ec7897 [2021-11-17T15:13:15.707Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-11-17T15:13:15.968Z] ---> 8a01564ba53d [2021-11-17T15:13:15.968Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-11-17T15:13:16.228Z] ---> 0a405c9d4b15 [2021-11-17T15:13:16.228Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-11-17T15:13:16.228Z] ---> 0453ffb2e46d [2021-11-17T15:13:16.228Z] Step 18/23 : EXPOSE 59982 [2021-11-17T15:13:16.228Z] ---> Running in 47969c9284c9 [2021-11-17T15:13:16.500Z] Removing intermediate container 47969c9284c9 [2021-11-17T15:13:16.500Z] ---> a8bd4c4d4230 [2021-11-17T15:13:16.500Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-11-17T15:13:16.500Z] ---> Running in 78ec02962e7f [2021-11-17T15:13:16.500Z] Removing intermediate container 78ec02962e7f [2021-11-17T15:13:16.500Z] ---> 1dd1d12d7f06 [2021-11-17T15:13:16.500Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-17T15:13:16.500Z] ---> Running in 779895f59936 [2021-11-17T15:13:16.500Z] Removing intermediate container 779895f59936 [2021-11-17T15:13:16.500Z] ---> a636e6a46f03 [2021-11-17T15:13:16.500Z] Step 21/23 : LABEL arch=amd64 [2021-11-17T15:13:16.500Z] ---> Running in ce9ee15c60ac [2021-11-17T15:13:16.764Z] Removing intermediate container ce9ee15c60ac [2021-11-17T15:13:16.764Z] ---> 404c922ee051 [2021-11-17T15:13:16.764Z] Step 22/23 : LABEL git_sha=3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 [2021-11-17T15:13:16.764Z] ---> Running in c191ca292f82 [2021-11-17T15:13:16.764Z] Removing intermediate container c191ca292f82 [2021-11-17T15:13:16.764Z] ---> 097ae12bd715 [2021-11-17T15:13:16.764Z] Step 23/23 : LABEL version=0.0.0 [2021-11-17T15:13:16.764Z] ---> Running in 9402d14c87d7 [2021-11-17T15:13:16.764Z] Removing intermediate container 9402d14c87d7 [2021-11-17T15:13:16.764Z] ---> ea0713daccac [2021-11-17T15:13:16.764Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-17T15:13:16.764Z] Successfully built ea0713daccac [2021-11-17T15:13:16.764Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T15:13:16.904Z] provisioning config files... [2021-11-17T15:13:16.915Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/20@tmp/config5572252246408217419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:13:17.235Z] ---> docker-login.sh [2021-11-17T15:13:17.235Z] nexus3.edgexfoundry.org:10001 [2021-11-17T15:13:17.235Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:13:17.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:13:17.235Z] Configure a credential helper to remove this warning. See [2021-11-17T15:13:17.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:13:17.236Z] [2021-11-17T15:13:17.236Z] Login Succeeded [2021-11-17T15:13:17.236Z] nexus3.edgexfoundry.org:10002 [2021-11-17T15:13:17.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:13:17.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:13:17.236Z] Configure a credential helper to remove this warning. See [2021-11-17T15:13:17.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:13:17.236Z] [2021-11-17T15:13:17.236Z] Login Succeeded [2021-11-17T15:13:17.236Z] nexus3.edgexfoundry.org:10003 [2021-11-17T15:13:17.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:13:17.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:13:17.497Z] Configure a credential helper to remove this warning. See [2021-11-17T15:13:17.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:13:17.497Z] [2021-11-17T15:13:17.497Z] Login Succeeded [2021-11-17T15:13:17.497Z] nexus3.edgexfoundry.org:10004 [2021-11-17T15:13:17.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:13:17.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:13:17.497Z] Configure a credential helper to remove this warning. See [2021-11-17T15:13:17.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:13:17.497Z] [2021-11-17T15:13:17.497Z] Login Succeeded [2021-11-17T15:13:17.497Z] docker.io [2021-11-17T15:13:17.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:13:18.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:13:18.020Z] Configure a credential helper to remove this warning. See [2021-11-17T15:13:18.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:13:18.020Z] [2021-11-17T15:13:18.020Z] Login Succeeded [2021-11-17T15:13:18.020Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T15:13:18.029Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-17T15:13:18.058Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T15:13:18.076Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2021-11-17T15:13:18.076Z] 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 [2021-11-17T15:13:18.076Z] latest [2021-11-17T15:13:18.076Z] 0.0.0 [2021-11-17T15:13:18.076Z] 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2-0.0.0 [2021-11-17T15:13:18.076Z] main [2021-11-17T15:13:18.076Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:13:18.404Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:13:18.757Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 [2021-11-17T15:13:18.757Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-11-17T15:13:18.757Z] a178f1e9dbd7: Preparing [2021-11-17T15:13:18.757Z] 540ca2037851: Preparing [2021-11-17T15:13:18.757Z] e101e7eb8c65: Preparing [2021-11-17T15:13:18.757Z] 835e15b158e6: Preparing [2021-11-17T15:13:18.757Z] 1a058d5342cc: Preparing [2021-11-17T15:13:18.757Z] 1a058d5342cc: Layer already exists [2021-11-17T15:13:19.028Z] a178f1e9dbd7: Pushed [2021-11-17T15:13:19.028Z] 540ca2037851: Pushed [2021-11-17T15:13:19.028Z] 835e15b158e6: Pushed [2021-11-17T15:13:20.429Z] e101e7eb8c65: Pushed [2021-11-17T15:13:20.429Z] 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2: digest: sha256:a1a158414095116148f4010631e7f9e878c6738f694fffde9ef9363290b3dcf2 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:13:20.735Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:13:21.038Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-11-17T15:13:21.038Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-11-17T15:13:21.038Z] a178f1e9dbd7: Preparing [2021-11-17T15:13:21.038Z] 540ca2037851: Preparing [2021-11-17T15:13:21.038Z] e101e7eb8c65: Preparing [2021-11-17T15:13:21.038Z] 835e15b158e6: Preparing [2021-11-17T15:13:21.038Z] 1a058d5342cc: Preparing [2021-11-17T15:13:21.038Z] 835e15b158e6: Layer already exists [2021-11-17T15:13:21.038Z] 1a058d5342cc: Layer already exists [2021-11-17T15:13:21.038Z] e101e7eb8c65: Layer already exists [2021-11-17T15:13:21.038Z] 540ca2037851: Layer already exists [2021-11-17T15:13:21.038Z] a178f1e9dbd7: Layer already exists [2021-11-17T15:13:21.038Z] latest: digest: sha256:a1a158414095116148f4010631e7f9e878c6738f694fffde9ef9363290b3dcf2 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:13:21.336Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:0.0.0 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:13:21.637Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:0.0.0 [2021-11-17T15:13:21.637Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-11-17T15:13:21.637Z] a178f1e9dbd7: Preparing [2021-11-17T15:13:21.637Z] 540ca2037851: Preparing [2021-11-17T15:13:21.637Z] e101e7eb8c65: Preparing [2021-11-17T15:13:21.637Z] 835e15b158e6: Preparing [2021-11-17T15:13:21.637Z] 1a058d5342cc: Preparing [2021-11-17T15:13:21.637Z] a178f1e9dbd7: Layer already exists [2021-11-17T15:13:21.637Z] e101e7eb8c65: Layer already exists [2021-11-17T15:13:21.637Z] 835e15b158e6: Layer already exists [2021-11-17T15:13:21.637Z] 540ca2037851: Layer already exists [2021-11-17T15:13:21.637Z] 1a058d5342cc: Layer already exists [2021-11-17T15:13:21.637Z] 0.0.0: digest: sha256:a1a158414095116148f4010631e7f9e878c6738f694fffde9ef9363290b3dcf2 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:13:21.941Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3e8a4d54861bafb4faf940a81e67b0c32bedd8a2-0.0.0 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:13:22.242Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3e8a4d54861bafb4faf940a81e67b0c32bedd8a2-0.0.0 [2021-11-17T15:13:22.242Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-11-17T15:13:22.242Z] a178f1e9dbd7: Preparing [2021-11-17T15:13:22.242Z] 540ca2037851: Preparing [2021-11-17T15:13:22.242Z] e101e7eb8c65: Preparing [2021-11-17T15:13:22.242Z] 835e15b158e6: Preparing [2021-11-17T15:13:22.242Z] 1a058d5342cc: Preparing [2021-11-17T15:13:22.242Z] 835e15b158e6: Layer already exists [2021-11-17T15:13:22.242Z] e101e7eb8c65: Layer already exists [2021-11-17T15:13:22.242Z] 1a058d5342cc: Layer already exists [2021-11-17T15:13:22.242Z] a178f1e9dbd7: Layer already exists [2021-11-17T15:13:22.242Z] 540ca2037851: Layer already exists [2021-11-17T15:13:22.242Z] 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2-0.0.0: digest: sha256:a1a158414095116148f4010631e7f9e878c6738f694fffde9ef9363290b3dcf2 size: 1366 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:13:22.566Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:13:22.863Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2021-11-17T15:13:22.863Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2021-11-17T15:13:22.863Z] a178f1e9dbd7: Preparing [2021-11-17T15:13:22.863Z] 540ca2037851: Preparing [2021-11-17T15:13:22.863Z] e101e7eb8c65: Preparing [2021-11-17T15:13:22.863Z] 835e15b158e6: Preparing [2021-11-17T15:13:22.863Z] 1a058d5342cc: Preparing [2021-11-17T15:13:22.863Z] 540ca2037851: Layer already exists [2021-11-17T15:13:22.863Z] a178f1e9dbd7: Layer already exists [2021-11-17T15:13:22.863Z] 1a058d5342cc: Layer already exists [2021-11-17T15:13:22.863Z] e101e7eb8c65: Layer already exists [2021-11-17T15:13:22.863Z] 835e15b158e6: Layer already exists [2021-11-17T15:13:22.863Z] main: digest: sha256:a1a158414095116148f4010631e7f9e878c6738f694fffde9ef9363290b3dcf2 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-17T15:13:22.904Z] ===================================================== [Pipeline] echo [2021-11-17T15:13:22.913Z] taggedImages: [2021-11-17T15:13:22.913Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 [2021-11-17T15:13:22.913Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2021-11-17T15:13:22.913Z] - nexus3.edgexfoundry.org:10004/device-mqtt:0.0.0 [2021-11-17T15:13:22.913Z] - nexus3.edgexfoundry.org:10004/device-mqtt:3e8a4d54861bafb4faf940a81e67b0c32bedd8a2-0.0.0 [2021-11-17T15:13:22.913Z] - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:13:23.538Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T15:13:23.538Z] [2021-11-17T15:13:23.538Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:13:23.845Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T15:13:23.845Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-17T15:13:23.845Z] b4d181a07f80: Pulling fs layer [2021-11-17T15:13:23.845Z] a1111a8f2ec3: Pulling fs layer [2021-11-17T15:13:23.845Z] ed53099fbce6: Pulling fs layer [2021-11-17T15:13:23.845Z] dc539afda2c1: Pulling fs layer [2021-11-17T15:13:23.845Z] 77bc0d833cb6: Pulling fs layer [2021-11-17T15:13:23.845Z] 9065ff56babe: Pulling fs layer [2021-11-17T15:13:23.845Z] d287ab97295c: Pulling fs layer [2021-11-17T15:13:23.845Z] 77bc0d833cb6: Waiting [2021-11-17T15:13:23.845Z] 9065ff56babe: Waiting [2021-11-17T15:13:23.845Z] dc539afda2c1: Waiting [2021-11-17T15:13:23.845Z] d287ab97295c: Waiting [2021-11-17T15:13:23.845Z] a1111a8f2ec3: Verifying Checksum [2021-11-17T15:13:23.845Z] a1111a8f2ec3: Download complete [2021-11-17T15:13:23.845Z] dc539afda2c1: Verifying Checksum [2021-11-17T15:13:23.845Z] dc539afda2c1: Download complete [2021-11-17T15:13:23.845Z] ed53099fbce6: Verifying Checksum [2021-11-17T15:13:23.845Z] ed53099fbce6: Download complete [2021-11-17T15:13:24.116Z] 9065ff56babe: Verifying Checksum [2021-11-17T15:13:24.116Z] 9065ff56babe: Download complete [2021-11-17T15:13:24.116Z] 77bc0d833cb6: Verifying Checksum [2021-11-17T15:13:24.116Z] 77bc0d833cb6: Download complete [2021-11-17T15:13:24.116Z] b4d181a07f80: Verifying Checksum [2021-11-17T15:13:24.116Z] b4d181a07f80: Download complete [2021-11-17T15:13:24.703Z] d287ab97295c: Verifying Checksum [2021-11-17T15:13:24.703Z] d287ab97295c: Download complete [2021-11-17T15:13:25.665Z] b4d181a07f80: Pull complete [2021-11-17T15:13:25.665Z] a1111a8f2ec3: Pull complete [2021-11-17T15:13:26.250Z] ed53099fbce6: Pull complete [2021-11-17T15:13:26.250Z] dc539afda2c1: Pull complete [2021-11-17T15:13:26.514Z] 77bc0d833cb6: Pull complete [2021-11-17T15:13:26.514Z] 9065ff56babe: Pull complete [2021-11-17T15:13:31.808Z] d287ab97295c: Pull complete [2021-11-17T15:13:31.808Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-17T15:13:31.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T15:13:31.808Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-17T15:13:31.874Z] prd-centos7-docker-4c-2g-985 does not seem to be running inside a container [2021-11-17T15:13:31.913Z] $ 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/20 -v /w/workspace/device-mqtt-go/20:/w/workspace/device-mqtt-go/20:rw,z -v /w/workspace/device-mqtt-go/20@tmp:/w/workspace/device-mqtt-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-17T15:13:34.573Z] $ docker top f404a6c6255614caa83db99906e9ceb043d4f25a3f4b631c1abdb4a3a7ada575 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:13:34.979Z] ---> job-cost.sh [2021-11-17T15:13:34.980Z] lf-activate-venv: SKIPPING [2021-11-17T15:13:34.980Z] INFO: No Stack... [2021-11-17T15:13:35.240Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-17T15:13:35.501Z] INFO: Archiving Costs [Pipeline] sh [2021-11-17T15:13:35.801Z] + cat /w/workspace/device-mqtt-go/20/archives/cost.csv [2021-11-17T15:13:35.801Z] + cut -d, -f6 [Pipeline] lock [2021-11-17T15:13:35.833Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-20-stack-cost] [2021-11-17T15:13:35.845Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-20-stack-cost] did not exist. Created. [2021-11-17T15:13:35.845Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-17T15:13:36.167Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-17T15:13:36.194Z] Stashed 1 file(s) [Pipeline] } [2021-11-17T15:13:36.200Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-20-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-17T15:13:36.218Z] $ docker stop --time=1 f404a6c6255614caa83db99906e9ceb043d4f25a3f4b631c1abdb4a3a7ada575 [2021-11-17T15:13:37.357Z] $ docker rm -f f404a6c6255614caa83db99906e9ceb043d4f25a3f4b631c1abdb4a3a7ada575 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-17T15:14:29.468Z] Removing intermediate container ff97c4231425 [2021-11-17T15:14:29.468Z] ---> bde5eacfd211 [2021-11-17T15:14:29.468Z] Step 10/11 : ARG MAKE='make build' [2021-11-17T15:14:29.468Z] ---> Running in 84d3e08a67f6 [2021-11-17T15:14:29.468Z] Removing intermediate container 84d3e08a67f6 [2021-11-17T15:14:29.468Z] ---> fa356e458f86 [2021-11-17T15:14:29.468Z] Step 11/11 : RUN $MAKE [2021-11-17T15:14:29.468Z] ---> Running in 6c2744202f3b [2021-11-17T15:14:29.468Z] noop [2021-11-17T15:14:29.468Z] Removing intermediate container 6c2744202f3b [2021-11-17T15:14:29.468Z] ---> 428809af3c30 [2021-11-17T15:14:29.468Z] Successfully built 428809af3c30 [2021-11-17T15:14:29.468Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:14:29.828Z] + docker inspect -f . ci-base-image-arm64 [2021-11-17T15:14:29.828Z] . [Pipeline] withDockerContainer [2021-11-17T15:14:30.102Z] prd-ubuntu18.04-docker-arm64-4c-16g-984 does not seem to be running inside a container [2021-11-17T15:14:30.200Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/20 -v /w/workspace/device-mqtt-go/20:/w/workspace/device-mqtt-go/20:rw,z -v /w/workspace/device-mqtt-go/20@tmp:/w/workspace/device-mqtt-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-17T15:14:31.838Z] $ docker top 7f29a429d11cd8dee373ac427cbf6f091d4b5b3928f308267ffb9cf8217c7ad4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T15:14:32.843Z] + go version [2021-11-17T15:14:32.843Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-17T15:14:32.876Z] $ docker stop --time=1 7f29a429d11cd8dee373ac427cbf6f091d4b5b3928f308267ffb9cf8217c7ad4 [2021-11-17T15:14:34.622Z] $ docker rm -f 7f29a429d11cd8dee373ac427cbf6f091d4b5b3928f308267ffb9cf8217c7ad4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:14:35.355Z] + docker inspect -f . ci-base-image-arm64 [2021-11-17T15:14:35.355Z] . [Pipeline] withDockerContainer [2021-11-17T15:14:35.646Z] prd-ubuntu18.04-docker-arm64-4c-16g-984 does not seem to be running inside a container [2021-11-17T15:14:35.744Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/20 -v /w/workspace/device-mqtt-go/20:/w/workspace/device-mqtt-go/20:rw,z -v /w/workspace/device-mqtt-go/20@tmp:/w/workspace/device-mqtt-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-17T15:14:37.376Z] $ docker top a65c4bb41f942e3bf954b1ce0220de39db35c3868732c89a89895bdedfff79ab -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-17T15:14:38.401Z] + make test [2021-11-17T15:14:38.401Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-11-17T15:14:39.860Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2021-11-17T15:15:36.539Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2021-11-17T15:15:36.539Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.058s coverage: 22.4% of statements [2021-11-17T15:15:36.539Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2021-11-17T15:15:36.539Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2021-11-17T15:16:03.387Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-17T15:16:03.387Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-17T15:16:03.387Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2021-11-17T15:16:03.410Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2021-11-17T15:16:03.422Z] $ docker stop --time=1 a65c4bb41f942e3bf954b1ce0220de39db35c3868732c89a89895bdedfff79ab [2021-11-17T15:16:05.229Z] $ docker rm -f a65c4bb41f942e3bf954b1ce0220de39db35c3868732c89a89895bdedfff79ab [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-17T15:16:06.091Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-17T15:16:06.119Z] Warning: overwriting stash ‘coverage-report’ [2021-11-17T15:16:06.603Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-17T15:16:07.042Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-17T15:16:07.381Z] + ls -al . [2021-11-17T15:16:07.382Z] total 180 [2021-11-17T15:16:07.382Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 17 15:16 . [2021-11-17T15:16:07.382Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 17 15:12 .. [2021-11-17T15:16:07.382Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 17 15:12 .dockerignore [2021-11-17T15:16:07.382Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 17 15:12 .git [2021-11-17T15:16:07.382Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 15:12 .github [2021-11-17T15:16:07.382Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 17 15:12 .gitignore [2021-11-17T15:16:07.382Z] -rw-rw-r-- 1 jenkins jenkins 7287 Nov 17 15:12 Attribution.txt [2021-11-17T15:16:07.382Z] -rw-rw-r-- 1 jenkins jenkins 7447 Nov 17 15:12 CHANGELOG.md [2021-11-17T15:16:07.382Z] -rw-rw-r-- 1 jenkins jenkins 1907 Nov 17 15:12 Dockerfile [2021-11-17T15:16:07.382Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 17 15:12 GOVERNANCE.md [2021-11-17T15:16:07.382Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 17 15:12 Jenkinsfile [2021-11-17T15:16:07.382Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 17 15:12 LICENSE [2021-11-17T15:16:07.382Z] -rw-rw-r-- 1 jenkins jenkins 1030 Nov 17 15:12 Makefile [2021-11-17T15:16:07.382Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 17 15:12 OWNERS.md [2021-11-17T15:16:07.382Z] -rw-rw-r-- 1 jenkins jenkins 2211 Nov 17 15:12 README.md [2021-11-17T15:16:07.382Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 17 15:09 VERSION [2021-11-17T15:16:07.382Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 15:12 bin [2021-11-17T15:16:07.382Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 15:12 cmd [2021-11-17T15:16:07.382Z] -rw-r--r-- 1 jenkins jenkins 17284 Nov 17 15:15 coverage.out [2021-11-17T15:16:07.382Z] -rw-rw-r-- 1 jenkins jenkins 404 Nov 17 15:12 go.mod [2021-11-17T15:16:07.382Z] -rw-rw-r-- 1 jenkins jenkins 49385 Nov 17 15:12 go.sum [2021-11-17T15:16:07.382Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 17 15:12 internal [2021-11-17T15:16:07.382Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 17 15:12 mock [2021-11-17T15:16:07.382Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 17 15:12 snap [2021-11-17T15:16:07.382Z] -rw-rw-r-- 1 jenkins jenkins 227 Nov 17 15:12 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:16:07.730Z] + 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=3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 --label arch=arm64 --label version=0.0.0 . [2021-11-17T15:16:08.004Z] Sending build context to Docker daemon 724kB [2021-11-17T15:16:08.281Z] Step 1/23 : ARG BASE=golang:1.16-alpine3.14 [2021-11-17T15:16:08.281Z] Step 2/23 : FROM ${BASE} AS builder [2021-11-17T15:16:08.281Z] ---> 428809af3c30 [2021-11-17T15:16:08.281Z] Step 3/23 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-11-17T15:16:08.281Z] ---> Running in 7210ba948c98 [2021-11-17T15:16:08.877Z] Removing intermediate container 7210ba948c98 [2021-11-17T15:16:08.877Z] ---> 45d402d8857b [2021-11-17T15:16:08.877Z] Step 4/23 : ARG ALPINE_PKG_EXTRA="" [2021-11-17T15:16:08.877Z] ---> Running in d2a930f5bd95 [2021-11-17T15:16:09.151Z] Removing intermediate container d2a930f5bd95 [2021-11-17T15:16:09.151Z] ---> 9afd369fe1b5 [2021-11-17T15:16:09.422Z] Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-17T15:16:09.422Z] ---> Running in 4c789227c181 [2021-11-17T15:16:11.390Z] Removing intermediate container 4c789227c181 [2021-11-17T15:16:11.390Z] ---> fcb762d24045 [2021-11-17T15:16:11.390Z] Step 6/23 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-11-17T15:16:11.390Z] ---> Running in c0de008e6bdb [2021-11-17T15:16:12.816Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T15:16:13.407Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T15:16:14.382Z] OK: 223 MiB in 56 packages [2021-11-17T15:16:15.361Z] Removing intermediate container c0de008e6bdb [2021-11-17T15:16:15.361Z] ---> ab4e030a29df [2021-11-17T15:16:15.361Z] Step 7/23 : WORKDIR /device-mqtt-go [2021-11-17T15:16:15.361Z] ---> Running in bb53fc7318b9 [2021-11-17T15:16:15.955Z] Removing intermediate container bb53fc7318b9 [2021-11-17T15:16:15.955Z] ---> e707cb8c111f [2021-11-17T15:16:15.955Z] Step 8/23 : COPY . . [2021-11-17T15:16:16.930Z] ---> fe21e5a87d6a [2021-11-17T15:16:16.930Z] Step 9/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-17T15:16:16.930Z] ---> Running in 001e757c834a [2021-11-17T15:16:19.606Z] Removing intermediate container 001e757c834a [2021-11-17T15:16:19.606Z] ---> 476c7c7d2a05 [2021-11-17T15:16:19.606Z] Step 10/23 : ARG MAKE='make build' [2021-11-17T15:16:19.606Z] ---> Running in 4ae5aeb6f21e [2021-11-17T15:16:19.916Z] Removing intermediate container 4ae5aeb6f21e [2021-11-17T15:16:19.916Z] ---> 9f08b504fe3c [2021-11-17T15:16:19.916Z] Step 11/23 : RUN $MAKE [2021-11-17T15:16:19.916Z] ---> Running in 110b1e57f10a [2021-11-17T15:16:21.398Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -o cmd/device-mqtt ./cmd [2021-11-17T15:17:00.425Z] Removing intermediate container 110b1e57f10a [2021-11-17T15:17:00.425Z] ---> f2a7140e1c6d [2021-11-17T15:17:00.425Z] Step 12/23 : FROM alpine:3.14 [2021-11-17T15:17:00.425Z] 3.14: Pulling from library/alpine [2021-11-17T15:17:00.425Z] be307f383ecc: Pulling fs layer [2021-11-17T15:17:00.425Z] be307f383ecc: Verifying Checksum [2021-11-17T15:17:00.425Z] be307f383ecc: Download complete [2021-11-17T15:17:00.425Z] be307f383ecc: Pull complete [2021-11-17T15:17:00.425Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2021-11-17T15:17:00.425Z] Status: Downloaded newer image for alpine:3.14 [2021-11-17T15:17:00.425Z] ---> 5b8b7b635229 [2021-11-17T15:17:00.425Z] Step 13/23 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2021-11-17T15:17:00.425Z] ---> Running in 9277d11662da [2021-11-17T15:17:00.425Z] Removing intermediate container 9277d11662da [2021-11-17T15:17:00.425Z] ---> 8467ea15208a [2021-11-17T15:17:00.425Z] Step 14/23 : RUN apk add --update --no-cache zeromq dumb-init [2021-11-17T15:17:00.425Z] ---> Running in a1f3cea6fa35 [2021-11-17T15:17:01.021Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-17T15:17:01.618Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-17T15:17:02.219Z] (1/6) Installing dumb-init (1.2.5-r1) [2021-11-17T15:17:02.219Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2021-11-17T15:17:02.219Z] (3/6) Installing libsodium (1.0.18-r0) [2021-11-17T15:17:02.219Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-17T15:17:02.219Z] (5/6) Installing libzmq (4.3.4-r0) [2021-11-17T15:17:02.219Z] (6/6) Installing zeromq (4.3.4-r0) [2021-11-17T15:17:02.219Z] Executing busybox-1.33.1-r6.trigger [2021-11-17T15:17:02.219Z] OK: 8 MiB in 20 packages [2021-11-17T15:17:03.202Z] Removing intermediate container a1f3cea6fa35 [2021-11-17T15:17:03.203Z] ---> f06c7845da5b [2021-11-17T15:17:03.203Z] Step 15/23 : COPY --from=builder /device-mqtt-go/cmd / [2021-11-17T15:17:04.635Z] ---> 357e2e1fe133 [2021-11-17T15:17:04.635Z] Step 16/23 : COPY --from=builder /device-mqtt-go/LICENSE / [2021-11-17T15:17:05.229Z] ---> d56bfa21b470 [2021-11-17T15:17:05.229Z] Step 17/23 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2021-11-17T15:17:05.828Z] ---> d8a5c9297664 [2021-11-17T15:17:05.828Z] Step 18/23 : EXPOSE 59982 [2021-11-17T15:17:05.828Z] ---> Running in 3e3c55a75b86 [2021-11-17T15:17:06.424Z] Removing intermediate container 3e3c55a75b86 [2021-11-17T15:17:06.424Z] ---> dff343de468e [2021-11-17T15:17:06.424Z] Step 19/23 : ENTRYPOINT ["/device-mqtt"] [2021-11-17T15:17:06.424Z] ---> Running in 2839fb4fd72b [2021-11-17T15:17:06.698Z] Removing intermediate container 2839fb4fd72b [2021-11-17T15:17:06.698Z] ---> 50d751186168 [2021-11-17T15:17:06.698Z] Step 20/23 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-17T15:17:06.972Z] ---> Running in 0480d76e72d5 [2021-11-17T15:17:07.246Z] Removing intermediate container 0480d76e72d5 [2021-11-17T15:17:07.246Z] ---> 7c7de4485fa0 [2021-11-17T15:17:07.246Z] Step 21/23 : LABEL arch=arm64 [2021-11-17T15:17:07.521Z] ---> Running in af29d5963321 [2021-11-17T15:17:07.801Z] Removing intermediate container af29d5963321 [2021-11-17T15:17:07.801Z] ---> 9d9d6ecb6787 [2021-11-17T15:17:07.801Z] Step 22/23 : LABEL git_sha=3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 [2021-11-17T15:17:07.801Z] ---> Running in 86198ba66bad [2021-11-17T15:17:08.402Z] Removing intermediate container 86198ba66bad [2021-11-17T15:17:08.402Z] ---> 4cc79a7fbd96 [2021-11-17T15:17:08.402Z] Step 23/23 : LABEL version=0.0.0 [2021-11-17T15:17:08.402Z] ---> Running in d75b163bf6a4 [2021-11-17T15:17:08.675Z] Removing intermediate container d75b163bf6a4 [2021-11-17T15:17:08.675Z] ---> 1d68c97a92bd [2021-11-17T15:17:08.675Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-17T15:17:08.675Z] Successfully built 1d68c97a92bd [2021-11-17T15:17:08.949Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T15:17:09.100Z] provisioning config files... [2021-11-17T15:17:09.121Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/20@tmp/config59265421369331683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:17:09.467Z] ---> docker-login.sh [2021-11-17T15:17:09.467Z] nexus3.edgexfoundry.org:10001 [2021-11-17T15:17:09.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:17:09.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:17:09.739Z] Configure a credential helper to remove this warning. See [2021-11-17T15:17:09.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:17:09.739Z] [2021-11-17T15:17:09.739Z] Login Succeeded [2021-11-17T15:17:09.739Z] nexus3.edgexfoundry.org:10002 [2021-11-17T15:17:10.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:17:10.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:17:10.335Z] Configure a credential helper to remove this warning. See [2021-11-17T15:17:10.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:17:10.335Z] [2021-11-17T15:17:10.335Z] Login Succeeded [2021-11-17T15:17:10.335Z] nexus3.edgexfoundry.org:10003 [2021-11-17T15:17:10.931Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:17:10.931Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:17:10.931Z] Configure a credential helper to remove this warning. See [2021-11-17T15:17:10.931Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:17:10.931Z] [2021-11-17T15:17:10.931Z] Login Succeeded [2021-11-17T15:17:10.931Z] nexus3.edgexfoundry.org:10004 [2021-11-17T15:17:11.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:17:11.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:17:11.526Z] Configure a credential helper to remove this warning. See [2021-11-17T15:17:11.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:17:11.526Z] [2021-11-17T15:17:11.526Z] Login Succeeded [2021-11-17T15:17:11.526Z] docker.io [2021-11-17T15:17:12.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-17T15:17:12.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-17T15:17:12.391Z] Configure a credential helper to remove this warning. See [2021-11-17T15:17:12.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-17T15:17:12.391Z] [2021-11-17T15:17:12.391Z] Login Succeeded [2021-11-17T15:17:12.391Z] ---> docker-login.sh ends [Pipeline] } [2021-11-17T15:17:12.408Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-17T15:17:12.438Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-17T15:17:12.457Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2021-11-17T15:17:12.457Z] 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 [2021-11-17T15:17:12.457Z] latest [2021-11-17T15:17:12.457Z] 0.0.0 [2021-11-17T15:17:12.457Z] 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2-0.0.0 [2021-11-17T15:17:12.457Z] main [2021-11-17T15:17:12.457Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:17:12.806Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:17:13.147Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 [2021-11-17T15:17:13.147Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-11-17T15:17:13.147Z] da7eea92a578: Preparing [2021-11-17T15:17:13.147Z] 1b9377b76cd5: Preparing [2021-11-17T15:17:13.147Z] 9ed1aa1c7b22: Preparing [2021-11-17T15:17:13.147Z] 41afc7bc0313: Preparing [2021-11-17T15:17:13.147Z] 62170e181a92: Preparing [2021-11-17T15:17:13.424Z] 62170e181a92: Layer already exists [2021-11-17T15:17:13.424Z] da7eea92a578: Pushed [2021-11-17T15:17:13.424Z] 1b9377b76cd5: Pushed [2021-11-17T15:17:14.018Z] 41afc7bc0313: Pushed [2021-11-17T15:17:16.620Z] 9ed1aa1c7b22: Pushed [2021-11-17T15:17:16.620Z] 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2: digest: sha256:b3f51bec8cce94c174293cf12cca69ae744afd057e4bf939525d0941dd89aec9 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:17:16.957Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:17:17.292Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-11-17T15:17:17.292Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-11-17T15:17:17.292Z] da7eea92a578: Preparing [2021-11-17T15:17:17.292Z] 1b9377b76cd5: Preparing [2021-11-17T15:17:17.292Z] 9ed1aa1c7b22: Preparing [2021-11-17T15:17:17.292Z] 41afc7bc0313: Preparing [2021-11-17T15:17:17.292Z] 62170e181a92: Preparing [2021-11-17T15:17:17.292Z] 41afc7bc0313: Layer already exists [2021-11-17T15:17:17.292Z] 9ed1aa1c7b22: Layer already exists [2021-11-17T15:17:17.292Z] da7eea92a578: Layer already exists [2021-11-17T15:17:17.292Z] 1b9377b76cd5: Layer already exists [2021-11-17T15:17:17.292Z] 62170e181a92: Layer already exists [2021-11-17T15:17:17.561Z] latest: digest: sha256:b3f51bec8cce94c174293cf12cca69ae744afd057e4bf939525d0941dd89aec9 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:17:17.897Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:0.0.0 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:17:18.232Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:0.0.0 [2021-11-17T15:17:18.232Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-11-17T15:17:18.232Z] da7eea92a578: Preparing [2021-11-17T15:17:18.232Z] 1b9377b76cd5: Preparing [2021-11-17T15:17:18.232Z] 9ed1aa1c7b22: Preparing [2021-11-17T15:17:18.232Z] 41afc7bc0313: Preparing [2021-11-17T15:17:18.232Z] 62170e181a92: Preparing [2021-11-17T15:17:18.232Z] da7eea92a578: Layer already exists [2021-11-17T15:17:18.232Z] 62170e181a92: Layer already exists [2021-11-17T15:17:18.232Z] 1b9377b76cd5: Layer already exists [2021-11-17T15:17:18.232Z] 41afc7bc0313: Layer already exists [2021-11-17T15:17:18.232Z] 9ed1aa1c7b22: Layer already exists [2021-11-17T15:17:18.503Z] 0.0.0: digest: sha256:b3f51bec8cce94c174293cf12cca69ae744afd057e4bf939525d0941dd89aec9 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:17:18.838Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3e8a4d54861bafb4faf940a81e67b0c32bedd8a2-0.0.0 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:17:19.175Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3e8a4d54861bafb4faf940a81e67b0c32bedd8a2-0.0.0 [2021-11-17T15:17:19.175Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-11-17T15:17:19.175Z] da7eea92a578: Preparing [2021-11-17T15:17:19.175Z] 1b9377b76cd5: Preparing [2021-11-17T15:17:19.175Z] 9ed1aa1c7b22: Preparing [2021-11-17T15:17:19.175Z] 41afc7bc0313: Preparing [2021-11-17T15:17:19.175Z] 62170e181a92: Preparing [2021-11-17T15:17:19.446Z] da7eea92a578: Layer already exists [2021-11-17T15:17:19.446Z] 62170e181a92: Layer already exists [2021-11-17T15:17:19.446Z] 1b9377b76cd5: Layer already exists [2021-11-17T15:17:19.446Z] 41afc7bc0313: Layer already exists [2021-11-17T15:17:19.446Z] 9ed1aa1c7b22: Layer already exists [2021-11-17T15:17:19.446Z] 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2-0.0.0: digest: sha256:b3f51bec8cce94c174293cf12cca69ae744afd057e4bf939525d0941dd89aec9 size: 1365 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:17:19.785Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:17:20.123Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2021-11-17T15:17:20.123Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2021-11-17T15:17:20.123Z] da7eea92a578: Preparing [2021-11-17T15:17:20.123Z] 1b9377b76cd5: Preparing [2021-11-17T15:17:20.123Z] 9ed1aa1c7b22: Preparing [2021-11-17T15:17:20.123Z] 41afc7bc0313: Preparing [2021-11-17T15:17:20.123Z] 62170e181a92: Preparing [2021-11-17T15:17:20.123Z] 62170e181a92: Layer already exists [2021-11-17T15:17:20.123Z] 41afc7bc0313: Layer already exists [2021-11-17T15:17:20.123Z] 9ed1aa1c7b22: Layer already exists [2021-11-17T15:17:20.123Z] da7eea92a578: Layer already exists [2021-11-17T15:17:20.394Z] 1b9377b76cd5: Layer already exists [2021-11-17T15:17:20.394Z] main: digest: sha256:b3f51bec8cce94c174293cf12cca69ae744afd057e4bf939525d0941dd89aec9 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2021-11-17T15:17:20.442Z] ===================================================== [Pipeline] echo [2021-11-17T15:17:20.451Z] taggedImages: [2021-11-17T15:17:20.451Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 [2021-11-17T15:17:20.451Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2021-11-17T15:17:20.451Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:0.0.0 [2021-11-17T15:17:20.451Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3e8a4d54861bafb4faf940a81e67b0c32bedd8a2-0.0.0 [2021-11-17T15:17:20.451Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:17:20.980Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T15:17:20.980Z] [2021-11-17T15:17:20.980Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:17:21.320Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T15:17:21.595Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-17T15:17:21.595Z] 448f6bf000e3: Pulling fs layer [2021-11-17T15:17:21.595Z] f757da607395: Pulling fs layer [2021-11-17T15:17:21.595Z] 05883995daec: Pulling fs layer [2021-11-17T15:17:21.595Z] 8603b9c90790: Pulling fs layer [2021-11-17T15:17:21.595Z] 1560dd03e051: Pulling fs layer [2021-11-17T15:17:21.595Z] 27f5ce0e4adf: Pulling fs layer [2021-11-17T15:17:21.595Z] c2d8d7efcc4b: Pulling fs layer [2021-11-17T15:17:21.595Z] 1560dd03e051: Waiting [2021-11-17T15:17:21.595Z] 27f5ce0e4adf: Waiting [2021-11-17T15:17:21.595Z] c2d8d7efcc4b: Waiting [2021-11-17T15:17:21.595Z] 8603b9c90790: Waiting [2021-11-17T15:17:21.595Z] f757da607395: Verifying Checksum [2021-11-17T15:17:21.595Z] f757da607395: Download complete [2021-11-17T15:17:21.595Z] 8603b9c90790: Verifying Checksum [2021-11-17T15:17:21.595Z] 8603b9c90790: Download complete [2021-11-17T15:17:21.868Z] 1560dd03e051: Verifying Checksum [2021-11-17T15:17:21.868Z] 1560dd03e051: Download complete [2021-11-17T15:17:21.868Z] 27f5ce0e4adf: Verifying Checksum [2021-11-17T15:17:21.868Z] 27f5ce0e4adf: Download complete [2021-11-17T15:17:21.868Z] 05883995daec: Verifying Checksum [2021-11-17T15:17:21.868Z] 05883995daec: Download complete [2021-11-17T15:17:22.140Z] 448f6bf000e3: Verifying Checksum [2021-11-17T15:17:22.140Z] 448f6bf000e3: Download complete [2021-11-17T15:17:24.758Z] c2d8d7efcc4b: Verifying Checksum [2021-11-17T15:17:24.758Z] c2d8d7efcc4b: Download complete [2021-11-17T15:17:25.737Z] 448f6bf000e3: Pull complete [2021-11-17T15:17:26.714Z] f757da607395: Pull complete [2021-11-17T15:17:28.151Z] 05883995daec: Pull complete [2021-11-17T15:17:28.425Z] 8603b9c90790: Pull complete [2021-11-17T15:17:29.402Z] 1560dd03e051: Pull complete [2021-11-17T15:17:29.675Z] 27f5ce0e4adf: Pull complete [2021-11-17T15:17:44.757Z] c2d8d7efcc4b: Pull complete [2021-11-17T15:17:44.757Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-17T15:17:44.757Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-17T15:17:44.757Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-17T15:17:45.032Z] prd-ubuntu18.04-docker-arm64-4c-16g-984 does not seem to be running inside a container [2021-11-17T15:17:45.129Z] $ 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/20 -v /w/workspace/device-mqtt-go/20:/w/workspace/device-mqtt-go/20:rw,z -v /w/workspace/device-mqtt-go/20@tmp:/w/workspace/device-mqtt-go/20@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-17T15:17:47.971Z] $ docker top 3d099ea749e62227dc6d146f7fe7873e27ce066e44ce12842cf35afc4b6babeb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:17:48.964Z] ---> job-cost.sh [2021-11-17T15:17:48.964Z] lf-activate-venv: SKIPPING [2021-11-17T15:17:48.964Z] INFO: No Stack... [2021-11-17T15:17:49.236Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-17T15:17:49.833Z] INFO: Archiving Costs [Pipeline] sh [2021-11-17T15:17:50.488Z] + cat /w/workspace/device-mqtt-go/20/archives/cost.csv [2021-11-17T15:17:50.488Z] + cut -d, -f6 [Pipeline] lock [2021-11-17T15:17:50.551Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-20-stack-cost] [2021-11-17T15:17:50.559Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-20-stack-cost] did not exist. Created. [2021-11-17T15:17:50.559Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-20-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-17T15:17:51.232Z] /w/workspace/device-mqtt-go/20@tmp/durable-fe9a6b1b/script.sh: 1: /w/workspace/device-mqtt-go/20@tmp/durable-fe9a6b1b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-17T15:17:51.889Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-17T15:17:51.916Z] Warning: overwriting stash ‘stack-cost’ [2021-11-17T15:17:51.960Z] Stashed 1 file(s) [Pipeline] } [2021-11-17T15:17:51.967Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-20-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-17T15:17:51.983Z] $ docker stop --time=1 3d099ea749e62227dc6d146f7fe7873e27ce066e44ce12842cf35afc4b6babeb [2021-11-17T15:17:53.550Z] $ docker rm -f 3d099ea749e62227dc6d146f7fe7873e27ce066e44ce12842cf35afc4b6babeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-11-17T15:17:54.190Z] provisioning config files... [2021-11-17T15:17:54.199Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2919721555871060365tmp [Pipeline] { [Pipeline] sh [2021-11-17T15:17:54.517Z] + set +x [2021-11-17T15:17:54.517Z] + curl -s https://codecov.io/bash [2021-11-17T15:17:54.517Z] + bash -s -- [2021-11-17T15:17:54.517Z] [2021-11-17T15:17:54.517Z] _____ _ [2021-11-17T15:17:54.517Z] / ____| | | [2021-11-17T15:17:54.517Z] | | ___ __| | ___ ___ _____ __ [2021-11-17T15:17:54.517Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-17T15:17:54.517Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-17T15:17:54.517Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-17T15:17:54.517Z] Bash-1.0.6 [2021-11-17T15:17:54.517Z] [2021-11-17T15:17:54.517Z] [2021-11-17T15:17:54.517Z] ==> git version 2.24.4 found [2021-11-17T15:17:54.517Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-11-17T15:17:54.517Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-17T15:17:54.517Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-17T15:17:54.517Z] ==> Jenkins CI detected. [2021-11-17T15:17:54.517Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-17T15:17:54.517Z] project root: . [2021-11-17T15:17:54.517Z] --> token set from env [2021-11-17T15:17:54.517Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-17T15:17:54.517Z] ==> Running gcov in . (disable via -X gcov) [2021-11-17T15:17:54.517Z] ==> Python coveragepy not found [2021-11-17T15:17:54.517Z] ==> Searching for coverage reports in: [2021-11-17T15:17:54.517Z] + . [2021-11-17T15:17:54.517Z] -> Found 1 reports [2021-11-17T15:17:54.517Z] ==> Detecting git/mercurial file structure [2021-11-17T15:17:54.517Z] ==> Reading reports [2021-11-17T15:17:54.777Z] + ./coverage.out bytes=17284 [2021-11-17T15:17:54.777Z] ==> Appending adjustments [2021-11-17T15:17:54.777Z] https://docs.codecov.io/docs/fixing-reports [2021-11-17T15:17:54.777Z] + Found adjustments [2021-11-17T15:17:54.777Z] ==> Gzipping contents [2021-11-17T15:17:54.777Z] 4.0K /tmp/codecov.0EFQnK.gz [2021-11-17T15:17:54.777Z] ==> Uploading reports [2021-11-17T15:17:54.777Z] url: https://codecov.io [2021-11-17T15:17:54.777Z] query: branch=main&commit=3e8a4d54861bafb4faf940a81e67b0c32bedd8a2&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-17T15:17:54.777Z] -> Pinging Codecov [2021-11-17T15:17:54.777Z] 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=3e8a4d54861bafb4faf940a81e67b0c32bedd8a2&build=20&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F20%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2021-11-17T15:17:55.040Z] -> Uploading to [2021-11-17T15:17:55.040Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-17/7D719EC7BBE17E464838252E33014C33/3e8a4d54861bafb4faf940a81e67b0c32bedd8a2/a1b75344-5a3a-4ce8-a028-f58e969665c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211117%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211117T151754Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cc312a9a10a97f021c0ada9d045eb3b4bac7bba7b471fd3d4101832475ce6e1e [2021-11-17T15:17:55.040Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-17T15:17:55.040Z] Dload Upload Total Spent Left Speed [2021-11-17T15:17:55.611Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3192 0 0 100 3192 0 10107 --:--:-- --:--:-- --:--:-- 10133 [2021-11-17T15:17:55.611Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 [Pipeline] } [2021-11-17T15:17:55.619Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2021-11-17T15:17:55.809Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2021-11-17T15:17:55.820Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:17:56.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-17T15:17:56.132Z] [2021-11-17T15:17:56.132Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:17:56.433Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-17T15:17:56.433Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2021-11-17T15:17:56.433Z] 188c0c94c7c5: Pulling fs layer [2021-11-17T15:17:56.433Z] 0ef7d3d256c8: Pulling fs layer [2021-11-17T15:17:56.433Z] de9db76c5a1d: Pulling fs layer [2021-11-17T15:17:56.433Z] 0eba1c9be4d2: Pulling fs layer [2021-11-17T15:17:56.433Z] 0d57e429df01: Pulling fs layer [2021-11-17T15:17:56.433Z] 4e4be7b47b0d: Pulling fs layer [2021-11-17T15:17:56.433Z] e1f770b5df2f: Pulling fs layer [2021-11-17T15:17:56.433Z] 85a0685a4137: Pulling fs layer [2021-11-17T15:17:56.433Z] 0eba1c9be4d2: Waiting [2021-11-17T15:17:56.433Z] 0d57e429df01: Waiting [2021-11-17T15:17:56.433Z] 4e4be7b47b0d: Waiting [2021-11-17T15:17:56.433Z] e1f770b5df2f: Waiting [2021-11-17T15:17:56.433Z] 85a0685a4137: Waiting [2021-11-17T15:17:56.433Z] de9db76c5a1d: Verifying Checksum [2021-11-17T15:17:56.433Z] de9db76c5a1d: Download complete [2021-11-17T15:17:56.433Z] 0ef7d3d256c8: Verifying Checksum [2021-11-17T15:17:56.433Z] 0ef7d3d256c8: Download complete [2021-11-17T15:17:56.433Z] 0d57e429df01: Verifying Checksum [2021-11-17T15:17:56.433Z] 0d57e429df01: Download complete [2021-11-17T15:17:56.433Z] 4e4be7b47b0d: Verifying Checksum [2021-11-17T15:17:56.433Z] 4e4be7b47b0d: Download complete [2021-11-17T15:17:56.433Z] 188c0c94c7c5: Verifying Checksum [2021-11-17T15:17:56.433Z] 188c0c94c7c5: Download complete [2021-11-17T15:17:57.018Z] 188c0c94c7c5: Pull complete [2021-11-17T15:17:57.018Z] e1f770b5df2f: Verifying Checksum [2021-11-17T15:17:57.018Z] e1f770b5df2f: Download complete [2021-11-17T15:17:57.285Z] 0eba1c9be4d2: Verifying Checksum [2021-11-17T15:17:57.285Z] 0eba1c9be4d2: Download complete [2021-11-17T15:17:57.285Z] 0ef7d3d256c8: Pull complete [2021-11-17T15:17:57.285Z] de9db76c5a1d: Pull complete [2021-11-17T15:17:57.545Z] 85a0685a4137: Verifying Checksum [2021-11-17T15:17:57.546Z] 85a0685a4137: Download complete [2021-11-17T15:18:01.812Z] 0eba1c9be4d2: Pull complete [2021-11-17T15:18:01.812Z] 0d57e429df01: Pull complete [2021-11-17T15:18:01.812Z] 4e4be7b47b0d: Pull complete [2021-11-17T15:18:02.073Z] e1f770b5df2f: Pull complete [2021-11-17T15:18:10.241Z] 85a0685a4137: Pull complete [2021-11-17T15:18:10.241Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2021-11-17T15:18:10.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2021-11-17T15:18:10.241Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2021-11-17T15:18:10.327Z] prd-centos7-docker-4c-2g-982 does not seem to be running inside a container [2021-11-17T15:18:10.393Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2021-11-17T15:18:11.193Z] $ docker top c345712d91fa75bf798ef35fd2bf88b792d56b9e4d4c045ea3364a289cdc7874 -eo pid,comm [Pipeline] { [Pipeline] echo [2021-11-17T15:18:11.269Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2021-11-17T15:18:11.564Z] + set -o pipefail [2021-11-17T15:18:11.564Z] + snyk monitor '--org=edgex-jenkins' [2021-11-17T15:18:16.877Z] [2021-11-17T15:18:16.877Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2021-11-17T15:18:16.877Z] [2021-11-17T15:18:16.877Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/a7c8f222-1be4-4339-849c-058291a349a2 [2021-11-17T15:18:16.877Z] [2021-11-17T15:18:16.877Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2021-11-17T15:18:16.877Z] [2021-11-17T15:18:16.877Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2021-11-17T15:18:16.877Z] [2021-11-17T15:18:17.140Z] [Pipeline] } [2021-11-17T15:18:17.152Z] $ docker stop --time=1 c345712d91fa75bf798ef35fd2bf88b792d56b9e4d4c045ea3364a289cdc7874 [2021-11-17T15:18:19.503Z] $ docker rm -f c345712d91fa75bf798ef35fd2bf88b792d56b9e4d4c045ea3364a289cdc7874 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-17T15:18:20.466Z] + git log --format=format:%s -1 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:18:20.768Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T15:18:20.768Z] . [Pipeline] withDockerContainer [2021-11-17T15:18:20.822Z] prd-centos7-docker-4c-2g-982 does not seem to be running inside a container [2021-11-17T15:18:20.865Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-17T15:18:21.199Z] $ docker top 56525a8b57505491dc1e4600f2e08732564913b2bc4e027a8788587a35820b78 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-17T15:18:21.290Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T15:18:21.290Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T15:18:21.389Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T15:18:21.393Z] $ docker exec 56525a8b57505491dc1e4600f2e08732564913b2bc4e027a8788587a35820b78 ssh-agent [2021-11-17T15:18:21.484Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgCpfKN/agent.13 [2021-11-17T15:18:21.484Z] SSH_AGENT_PID=19 [2021-11-17T15:18:21.490Z] Running ssh-add (command line suppressed) [2021-11-17T15:18:21.589Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8637434567489551911.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8637434567489551911.key) [2021-11-17T15:18:21.601Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T15:18:21.892Z] + git semver tag [2021-11-17T15:18:21.892Z] # -> Open(): unable to determine branch for HEAD [2021-11-17T15:18:21.892Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-11-17T15:18:21.892Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-17T15:18:21.892Z] # $SEMVER_REMOTE_NAME = origin [2021-11-17T15:18:21.892Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-17T15:18:21.892Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-17T15:18:21.892Z] # $SEMVER_BRANCH = main [2021-11-17T15:18:21.892Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2021-11-17T15:18:21.892Z] # 3e8a4d54861bafb4faf940a81e67b0c32bedd8a2 HEAD [2021-11-17T15:18:21.892Z] # -> Force: false [2021-11-17T15:18:21.892Z] # cbd8a19a8c66f3007feebd767afa7998f311ee77 refs/tags/v0.0.0 [Pipeline] } [2021-11-17T15:18:21.902Z] $ docker exec --env ******** --env ******** 56525a8b57505491dc1e4600f2e08732564913b2bc4e027a8788587a35820b78 ssh-agent -k [2021-11-17T15:18:21.982Z] unset SSH_AUTH_SOCK; [2021-11-17T15:18:21.983Z] unset SSH_AGENT_PID; [2021-11-17T15:18:21.983Z] echo Agent pid 19 killed; [2021-11-17T15:18:21.988Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-17T15:18:22.298Z] + git semver [Pipeline] } [2021-11-17T15:18:22.314Z] $ docker stop --time=1 56525a8b57505491dc1e4600f2e08732564913b2bc4e027a8788587a35820b78 [2021-11-17T15:18:23.578Z] $ docker rm -f 56525a8b57505491dc1e4600f2e08732564913b2bc4e027a8788587a35820b78 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:18:23.989Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-17T15:18:23.989Z] [2021-11-17T15:18:23.989Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:18:24.298Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-17T15:18:24.298Z] 0.23.1-centos7: Pulling from edgex-lftools [2021-11-17T15:18:24.298Z] ab5ef0e58194: Pulling fs layer [2021-11-17T15:18:24.298Z] 9712f1f96733: Pulling fs layer [2021-11-17T15:18:24.298Z] 63f879dbbcfc: Pulling fs layer [2021-11-17T15:18:24.298Z] 0d9ebad4ef96: Pulling fs layer [2021-11-17T15:18:24.298Z] e9a5061849ea: Pulling fs layer [2021-11-17T15:18:24.298Z] d747dcd14b5f: Pulling fs layer [2021-11-17T15:18:24.298Z] 2de7ff778b66: Pulling fs layer [2021-11-17T15:18:24.298Z] e9a5061849ea: Waiting [2021-11-17T15:18:24.298Z] d747dcd14b5f: Waiting [2021-11-17T15:18:24.298Z] 2de7ff778b66: Waiting [2021-11-17T15:18:24.298Z] 0d9ebad4ef96: Waiting [2021-11-17T15:18:24.298Z] 9712f1f96733: Verifying Checksum [2021-11-17T15:18:24.298Z] 9712f1f96733: Download complete [2021-11-17T15:18:24.557Z] 63f879dbbcfc: Verifying Checksum [2021-11-17T15:18:24.557Z] 63f879dbbcfc: Download complete [2021-11-17T15:18:24.818Z] ab5ef0e58194: Verifying Checksum [2021-11-17T15:18:24.818Z] ab5ef0e58194: Download complete [2021-11-17T15:18:24.818Z] d747dcd14b5f: Verifying Checksum [2021-11-17T15:18:24.818Z] d747dcd14b5f: Download complete [2021-11-17T15:18:24.818Z] e9a5061849ea: Verifying Checksum [2021-11-17T15:18:24.818Z] e9a5061849ea: Download complete [2021-11-17T15:18:25.091Z] 0d9ebad4ef96: Verifying Checksum [2021-11-17T15:18:25.091Z] 0d9ebad4ef96: Download complete [2021-11-17T15:18:25.091Z] 2de7ff778b66: Download complete [2021-11-17T15:18:28.428Z] ab5ef0e58194: Pull complete [2021-11-17T15:18:28.428Z] 9712f1f96733: Pull complete [2021-11-17T15:18:29.023Z] 63f879dbbcfc: Pull complete [2021-11-17T15:18:33.265Z] 0d9ebad4ef96: Pull complete [2021-11-17T15:18:33.265Z] e9a5061849ea: Pull complete [2021-11-17T15:18:33.265Z] d747dcd14b5f: Pull complete [2021-11-17T15:18:34.682Z] 2de7ff778b66: Pull complete [2021-11-17T15:18:34.682Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2021-11-17T15:18:34.682Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2021-11-17T15:18:34.682Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2021-11-17T15:18:34.746Z] prd-centos7-docker-4c-2g-982 does not seem to be running inside a container [2021-11-17T15:18:34.783Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2021-11-17T15:18:39.712Z] $ docker top 7281f660cc82c007a60748f9e55cd4a692dba8b16c96327f7395260e0c946bef -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2021-11-17T15:18:39.780Z] provisioning config files... [2021-11-17T15:18:39.787Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3654211156111365347tmp [2021-11-17T15:18:39.798Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7271961888822136004tmp [2021-11-17T15:18:39.807Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3877687292340040513tmp [Pipeline] { [Pipeline] echo [2021-11-17T15:18:39.822Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:18:40.117Z] ---> sigul-configuration.sh [2021-11-17T15:18:40.117Z] gpg: directory `/root/.gnupg' created [2021-11-17T15:18:40.117Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2021-11-17T15:18:40.117Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2021-11-17T15:18:40.117Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2021-11-17T15:18:40.117Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2021-11-17T15:18:40.117Z] gpg: CAST5 encrypted data [2021-11-17T15:18:40.117Z] gpg: encrypted with 1 passphrase [2021-11-17T15:18:40.117Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2021-11-17T15:18:40.410Z] + mkdir /home/jenkins [2021-11-17T15:18:40.410Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2021-11-17T15:18:40.709Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2021-11-17T15:18:40.720Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:18:41.016Z] ---> sigul-install.sh [2021-11-17T15:18:41.016Z] Sigul already installed; skipping installation. [Pipeline] sh [2021-11-17T15:18:41.306Z] + git tag --list [2021-11-17T15:18:41.306Z] 0.7.1 [2021-11-17T15:18:41.306Z] v0.0.0 [2021-11-17T15:18:41.306Z] v1.0.0 [2021-11-17T15:18:41.306Z] v1.1.0 [2021-11-17T15:18:41.306Z] v1.1.1 [2021-11-17T15:18:41.306Z] v1.2.2 [2021-11-17T15:18:41.306Z] v1.3.0 [2021-11-17T15:18:41.306Z] v1.3.1 [2021-11-17T15:18:41.306Z] v2.0.0 [2021-11-17T15:18:41.306Z] v2.0.1-dev.1 [2021-11-17T15:18:41.306Z] v2.0.1-dev.10 [2021-11-17T15:18:41.306Z] v2.0.1-dev.11 [2021-11-17T15:18:41.306Z] v2.0.1-dev.12 [2021-11-17T15:18:41.306Z] v2.0.1-dev.13 [2021-11-17T15:18:41.306Z] v2.0.1-dev.14 [2021-11-17T15:18:41.306Z] v2.0.1-dev.15 [2021-11-17T15:18:41.306Z] v2.0.1-dev.16 [2021-11-17T15:18:41.306Z] v2.0.1-dev.17 [2021-11-17T15:18:41.306Z] v2.0.1-dev.2 [2021-11-17T15:18:41.306Z] v2.0.1-dev.3 [2021-11-17T15:18:41.306Z] v2.0.1-dev.4 [2021-11-17T15:18:41.306Z] v2.0.1-dev.5 [2021-11-17T15:18:41.306Z] v2.0.1-dev.6 [2021-11-17T15:18:41.306Z] v2.0.1-dev.7 [2021-11-17T15:18:41.306Z] v2.0.1-dev.8 [2021-11-17T15:18:41.306Z] v2.0.1-dev.9 [Pipeline] sh [2021-11-17T15:18:41.593Z] + lftools sign git-tag v0.0.0 [2021-11-17T15:18:42.163Z] Signing Git tag with Sigul... [2021-11-17T15:18:42.163Z] Signing v0.0.0 [Pipeline] echo [2021-11-17T15:18:43.116Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:18:43.421Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2021-11-17T15:18:43.428Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2021-11-17T15:18:43.452Z] $ docker stop --time=1 7281f660cc82c007a60748f9e55cd4a692dba8b16c96327f7395260e0c946bef [2021-11-17T15:18:44.719Z] $ docker rm -f 7281f660cc82c007a60748f9e55cd4a692dba8b16c96327f7395260e0c946bef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:18:45.337Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T15:18:45.337Z] . [Pipeline] withDockerContainer [2021-11-17T15:18:45.412Z] prd-centos7-docker-4c-2g-982 does not seem to be running inside a container [2021-11-17T15:18:45.450Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-17T15:18:45.840Z] $ docker top 39f5c3bea026716065c60da859ed658ab53c486529caddacaae0eaba70080f0c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-17T15:18:45.928Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T15:18:45.928Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T15:18:46.032Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T15:18:46.036Z] $ docker exec 39f5c3bea026716065c60da859ed658ab53c486529caddacaae0eaba70080f0c ssh-agent [2021-11-17T15:18:46.132Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKNJnIl/agent.15 [2021-11-17T15:18:46.132Z] SSH_AGENT_PID=22 [2021-11-17T15:18:46.137Z] Running ssh-add (command line suppressed) [2021-11-17T15:18:46.234Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2201678909076824340.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2201678909076824340.key) [2021-11-17T15:18:46.247Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T15:18:46.538Z] + git semver bump pre [2021-11-17T15:18:46.538Z] # -> Open(): unable to determine branch for HEAD [2021-11-17T15:18:46.538Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-11-17T15:18:46.538Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-17T15:18:46.538Z] # $SEMVER_REMOTE_NAME = origin [2021-11-17T15:18:46.538Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-17T15:18:46.538Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-17T15:18:46.538Z] # $SEMVER_BRANCH = main [2021-11-17T15:18:46.538Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2021-11-17T15:18:46.538Z] 0.0.1-dev.1 [Pipeline] } [2021-11-17T15:18:46.547Z] $ docker exec --env ******** --env ******** 39f5c3bea026716065c60da859ed658ab53c486529caddacaae0eaba70080f0c ssh-agent -k [2021-11-17T15:18:46.640Z] unset SSH_AUTH_SOCK; [2021-11-17T15:18:46.640Z] unset SSH_AGENT_PID; [2021-11-17T15:18:46.640Z] echo Agent pid 22 killed; [2021-11-17T15:18:46.649Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-17T15:18:46.966Z] + git semver [Pipeline] } [2021-11-17T15:18:46.978Z] $ docker stop --time=1 39f5c3bea026716065c60da859ed658ab53c486529caddacaae0eaba70080f0c [2021-11-17T15:18:48.191Z] $ docker rm -f 39f5c3bea026716065c60da859ed658ab53c486529caddacaae0eaba70080f0c [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:18:48.534Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-17T15:18:48.534Z] . [Pipeline] withDockerContainer [2021-11-17T15:18:48.672Z] prd-centos7-docker-4c-2g-982 does not seem to be running inside a container [2021-11-17T15:18:48.839Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-17T15:18:49.340Z] $ docker top 1d68a99ee8c4c5f293e73e26ffed16ff685c3416b72f5748dd375d2ab2f440d1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-17T15:18:49.437Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-17T15:18:49.437Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-17T15:18:49.551Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-17T15:18:49.555Z] $ docker exec 1d68a99ee8c4c5f293e73e26ffed16ff685c3416b72f5748dd375d2ab2f440d1 ssh-agent [2021-11-17T15:18:49.654Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCCeOpj/agent.15 [2021-11-17T15:18:49.654Z] SSH_AGENT_PID=21 [2021-11-17T15:18:49.659Z] Running ssh-add (command line suppressed) [2021-11-17T15:18:49.752Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4622724115263863421.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4622724115263863421.key) [2021-11-17T15:18:49.763Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-17T15:18:50.053Z] + git semver push [2021-11-17T15:18:50.053Z] # -> Open(): unable to determine branch for HEAD [2021-11-17T15:18:50.053Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2021-11-17T15:18:50.053Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-17T15:18:50.053Z] # $SEMVER_REMOTE_NAME = origin [2021-11-17T15:18:50.053Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-17T15:18:50.054Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-17T15:18:50.054Z] # $SEMVER_BRANCH = main [2021-11-17T15:18:50.054Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2021-11-17T15:18:50.054Z] git-semver-push: ssh: handshake failed: knownhosts: key mismatch [Pipeline] } [2021-11-17T15:18:50.064Z] $ docker exec --env ******** --env ******** 1d68a99ee8c4c5f293e73e26ffed16ff685c3416b72f5748dd375d2ab2f440d1 ssh-agent -k [2021-11-17T15:18:50.162Z] unset SSH_AUTH_SOCK; [2021-11-17T15:18:50.162Z] unset SSH_AGENT_PID; [2021-11-17T15:18:50.162Z] echo Agent pid 21 killed; [2021-11-17T15:18:50.166Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2021-11-17T15:18:50.208Z] $ docker stop --time=1 1d68a99ee8c4c5f293e73e26ffed16ff685c3416b72f5748dd375d2ab2f440d1 [2021-11-17T15:18:51.680Z] $ docker rm -f 1d68a99ee8c4c5f293e73e26ffed16ff685c3416b72f5748dd375d2ab2f440d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-17T15:18:52.614Z] + '[' -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:18:52.913Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:18:53.468Z] ---> package-listing.sh [2021-11-17T15:18:53.468Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-17T15:18:53.468Z] ++ facter osfamily [2021-11-17T15:18:53.726Z] + OS_FAMILY=redhat [2021-11-17T15:18:53.726Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2021-11-17T15:18:53.727Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-17T15:18:53.727Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-17T15:18:53.727Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-17T15:18:53.727Z] + PACKAGES=/tmp/packages_start.txt [2021-11-17T15:18:53.727Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2021-11-17T15:18:53.727Z] + PACKAGES=/tmp/packages_end.txt [2021-11-17T15:18:53.727Z] + case "${OS_FAMILY}" in [2021-11-17T15:18:53.727Z] + rpm -qa [2021-11-17T15:18:53.727Z] + sort [2021-11-17T15:18:54.296Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-17T15:18:54.296Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-17T15:18:54.296Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-17T15:18:54.296Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2021-11-17T15:18:54.296Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2021-11-17T15:18:54.296Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2021-11-17T15:18:54.307Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-17T15:18:54.586Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:18:55.139Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T15:18:55.139Z] [2021-11-17T15:18:55.139Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-17T15:18:55.440Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T15:18:55.440Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-17T15:18:55.440Z] b4d181a07f80: Pulling fs layer [2021-11-17T15:18:55.440Z] a1111a8f2ec3: Pulling fs layer [2021-11-17T15:18:55.440Z] ed53099fbce6: Pulling fs layer [2021-11-17T15:18:55.440Z] dc539afda2c1: Pulling fs layer [2021-11-17T15:18:55.440Z] 77bc0d833cb6: Pulling fs layer [2021-11-17T15:18:55.440Z] 9065ff56babe: Pulling fs layer [2021-11-17T15:18:55.440Z] d287ab97295c: Pulling fs layer [2021-11-17T15:18:55.440Z] dc539afda2c1: Waiting [2021-11-17T15:18:55.440Z] 77bc0d833cb6: Waiting [2021-11-17T15:18:55.440Z] 9065ff56babe: Waiting [2021-11-17T15:18:55.440Z] d287ab97295c: Waiting [2021-11-17T15:18:55.440Z] a1111a8f2ec3: Verifying Checksum [2021-11-17T15:18:55.440Z] a1111a8f2ec3: Download complete [2021-11-17T15:18:55.440Z] dc539afda2c1: Verifying Checksum [2021-11-17T15:18:55.440Z] dc539afda2c1: Download complete [2021-11-17T15:18:55.706Z] 77bc0d833cb6: Verifying Checksum [2021-11-17T15:18:55.706Z] 77bc0d833cb6: Download complete [2021-11-17T15:18:55.706Z] 9065ff56babe: Verifying Checksum [2021-11-17T15:18:55.706Z] 9065ff56babe: Download complete [2021-11-17T15:18:55.706Z] ed53099fbce6: Verifying Checksum [2021-11-17T15:18:55.706Z] ed53099fbce6: Download complete [2021-11-17T15:18:55.706Z] b4d181a07f80: Verifying Checksum [2021-11-17T15:18:55.706Z] b4d181a07f80: Download complete [2021-11-17T15:18:56.275Z] d287ab97295c: Verifying Checksum [2021-11-17T15:18:56.275Z] d287ab97295c: Download complete [2021-11-17T15:18:57.246Z] b4d181a07f80: Pull complete [2021-11-17T15:18:57.246Z] a1111a8f2ec3: Pull complete [2021-11-17T15:18:57.824Z] ed53099fbce6: Pull complete [2021-11-17T15:18:57.824Z] dc539afda2c1: Pull complete [2021-11-17T15:18:58.083Z] 77bc0d833cb6: Pull complete [2021-11-17T15:18:58.084Z] 9065ff56babe: Pull complete [2021-11-17T15:19:03.419Z] d287ab97295c: Pull complete [2021-11-17T15:19:03.419Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-17T15:19:03.419Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-17T15:19:03.419Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-17T15:19:03.489Z] prd-centos7-docker-4c-2g-982 does not seem to be running inside a container [2021-11-17T15:19:03.525Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-17T15:19:06.617Z] $ docker top 051486737f00596dab8b1b7ae3c3b66602a6932b4bbf52f96e7a393c38dd4bbd -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-17T15:19:06.977Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-17T15:19:07.268Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-17T15:19:07.556Z] + ls /var/log/sa-host [2021-11-17T15:19:07.556Z] + sadf -c /var/log/sa-host/sa17 [2021-11-17T15:19:07.556Z] file_magic: OK [2021-11-17T15:19:07.556Z] HZ: Using current value: 100 [2021-11-17T15:19:07.556Z] file_header: OK [2021-11-17T15:19:07.556Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-17T15:19:07.556Z] Statistics: [2021-11-17T15:19:07.556Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-17T15:19:07.556Z] File successfully converted to sysstat format version 12.0.3 [2021-11-17T15:19:07.556Z] + sadf -c /var/log/sa-host/sa30 [2021-11-17T15:19:07.556Z] file_magic: OK [2021-11-17T15:19:07.556Z] HZ: Using current value: 100 [2021-11-17T15:19:07.556Z] file_header: OK [2021-11-17T15:19:07.556Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-17T15:19:07.556Z] Statistics: [2021-11-17T15:19:07.556Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-17T15:19:07.556Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-17T15:19:07.636Z] provisioning config files... [2021-11-17T15:19:07.645Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1172076658712428399tmp [Pipeline] { [Pipeline] echo [2021-11-17T15:19:07.658Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:19:07.951Z] ---> create-netrc.sh [Pipeline] } [2021-11-17T15:19:07.958Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:19:08.291Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-17T15:19:08.300Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:19:08.591Z] ---> sudo-logs.sh [2021-11-17T15:19:08.591Z] Archiving 'sudo' log.. [2021-11-17T15:19:08.591Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-982.novalocal: Name or service not known [2021-11-17T15:19:08.591Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-982.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-17T15:19:08.613Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:19:08.898Z] ---> job-cost.sh [2021-11-17T15:19:08.898Z] lf-activate-venv: SKIPPING [2021-11-17T15:19:08.898Z] DEBUG: total: 0.10999999940395355 [2021-11-17T15:19:08.898Z] INFO: Retrieving Stack Cost... [2021-11-17T15:19:09.157Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-17T15:19:09.416Z] INFO: Archiving Costs [Pipeline] echo [2021-11-17T15:19:09.428Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-17T15:19:09.716Z] ---> logs-deploy.sh [2021-11-17T15:19:09.716Z] lf-activate-venv: SKIPPING [2021-11-17T15:19:09.716Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/20 [2021-11-17T15:19:09.716Z] INFO: archiving workspace using pattern(s): [2021-11-17T15:19:10.652Z] Archives upload complete. [2021-11-17T15:19:10.652Z] INFO: archiving logs to Nexus