Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 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-ssh2906240395950811453.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh10812955592473202113.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 c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh11846443499826424724.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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-ssh2017583189452128230.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-ssh2461995305299493062.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: true PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8146 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.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > 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 bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 (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 bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 # timeout=10 Commit message: "Merge pull request #347 from weichou1229/bump-go-mods" > git rev-list --no-walk 195658a04037eb8b6dd2e89b8fc6d25babbaa5f0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-21T03:27:20.177Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-21T03:27:20.257Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-21T03:27:20.282Z] ========================================================= [2022-03-21T03:27:20.282Z] EdgeX Global Pipelines Version Info [2022-03-21T03:27:20.282Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-21T03:27:21.051Z] ------------------- [2022-03-21T03:27:21.051Z] stable info: [2022-03-21T03:27:21.051Z] ------------------- [2022-03-21T03:27:21.051Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-21T03:27:21.051Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-21T03:27:21.051Z] Message: update stable to v1.0.221 [2022-03-21T03:27:21.625Z] ------------------- [2022-03-21T03:27:21.625Z] experimental info: [2022-03-21T03:27:21.625Z] ------------------- [2022-03-21T03:27:21.625Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-21T03:27:21.625Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-21T03:27:21.625Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-21T03:27:21.760Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-03-21T03:27:21.777Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-03-21T03:27:21.793Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-21T03:27:21.805Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-21T03:27:21.814Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-21T03:27:21.825Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-21T03:27:21.835Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-21T03:27:21.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-21T03:27:21.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-21T03:27:21.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-21T03:27:21.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-21T03:27:21.878Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-03-21T03:27:21.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-21T03:27:21.910Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-21T03:27:21.930Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-21T03:27:21.949Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-21T03:27:21.966Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-21T03:27:21.977Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-21T03:27:21.992Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-21T03:27:22.004Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-03-21T03:27:22.018Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-21T03:27:22.030Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-21T03:27:22.043Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-21T03:27:22.059Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-21T03:27:22.076Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-21T03:27:22.093Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-21T03:27:22.102Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-03-21T03:27:22.114Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-03-21T03:27:22.126Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-03-21T03:27:22.142Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [Pipeline] echo [2022-03-21T03:27:22.165Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bfd01e0 [Pipeline] echo [2022-03-21T03:27:22.184Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-21T03:27:22.232Z] provisioning config files... [2022-03-21T03:27:22.246Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5365358114919032521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-21T03:27:22.558Z] ---> docker-login.sh [2022-03-21T03:27:22.558Z] nexus3.edgexfoundry.org:10001 [2022-03-21T03:27:22.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:27:22.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:27:22.818Z] Configure a credential helper to remove this warning. See [2022-03-21T03:27:22.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:27:22.818Z] [2022-03-21T03:27:22.818Z] Login Succeeded [2022-03-21T03:27:22.818Z] nexus3.edgexfoundry.org:10002 [2022-03-21T03:27:23.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:27:23.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:27:23.079Z] Configure a credential helper to remove this warning. See [2022-03-21T03:27:23.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:27:23.079Z] [2022-03-21T03:27:23.079Z] Login Succeeded [2022-03-21T03:27:23.079Z] nexus3.edgexfoundry.org:10003 [2022-03-21T03:27:23.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:27:23.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:27:23.079Z] Configure a credential helper to remove this warning. See [2022-03-21T03:27:23.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:27:23.079Z] [2022-03-21T03:27:23.079Z] Login Succeeded [2022-03-21T03:27:23.079Z] nexus3.edgexfoundry.org:10004 [2022-03-21T03:27:23.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:27:23.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:27:23.341Z] Configure a credential helper to remove this warning. See [2022-03-21T03:27:23.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:27:23.341Z] [2022-03-21T03:27:23.341Z] Login Succeeded [2022-03-21T03:27:23.341Z] docker.io [2022-03-21T03:27:23.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:27:23.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:27:23.917Z] Configure a credential helper to remove this warning. See [2022-03-21T03:27:23.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:27:23.917Z] [2022-03-21T03:27:23.917Z] Login Succeeded [2022-03-21T03:27:23.917Z] ---> docker-login.sh ends [Pipeline] } [2022-03-21T03:27:23.926Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-21T03:27:24.311Z] + git rev-list -1 --merges bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364~1..bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [Pipeline] echo [2022-03-21T03:27:24.414Z] -----------> git rev-list -1 --merges bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364~1..bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [2022-03-21T03:27:24.414Z] bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [false] [Pipeline] sh [2022-03-21T03:27:24.712Z] + git log --format=format:%s -1 bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [Pipeline] echo [2022-03-21T03:27:24.730Z] ========================================================= [2022-03-21T03:27:24.730Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-21T03:27:24.730Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-21T03:27:25.073Z] + git log --format=format:%s -1 bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [Pipeline] echo [2022-03-21T03:27:25.088Z] [semverPrep] GIT_COMMIT: bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364, Commit Message: Merge pull request #347 from weichou1229/bump-go-mods [Pipeline] echo [2022-03-21T03:27:25.099Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-21T03:27:25.525Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-21T03:27:25.525Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-21T03:27:25.525Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-21T03:27:25.525Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-21T03:27:25.525Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-21T03:27:25.525Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-21T03:27:25.525Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:27:25.957Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-21T03:27:25.957Z] [2022-03-21T03:27:25.957Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:27:26.263Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-21T03:27:26.263Z] latest: Pulling from edgex-devops/git-semver [2022-03-21T03:27:26.263Z] a0d0a0d46f8b: Pulling fs layer [2022-03-21T03:27:26.263Z] 3e5f54012d9b: Pulling fs layer [2022-03-21T03:27:26.263Z] 4c7163046ea9: Pulling fs layer [2022-03-21T03:27:26.263Z] 0c2d73faf560: Pulling fs layer [2022-03-21T03:27:26.263Z] 0c2d73faf560: Waiting [2022-03-21T03:27:26.263Z] 3e5f54012d9b: Verifying Checksum [2022-03-21T03:27:26.263Z] 3e5f54012d9b: Download complete [2022-03-21T03:27:26.263Z] a0d0a0d46f8b: Verifying Checksum [2022-03-21T03:27:26.263Z] a0d0a0d46f8b: Download complete [2022-03-21T03:27:26.525Z] 4c7163046ea9: Verifying Checksum [2022-03-21T03:27:26.525Z] 4c7163046ea9: Download complete [2022-03-21T03:27:26.525Z] 0c2d73faf560: Download complete [2022-03-21T03:27:26.525Z] a0d0a0d46f8b: Pull complete [2022-03-21T03:27:26.525Z] 3e5f54012d9b: Pull complete [2022-03-21T03:27:27.098Z] 4c7163046ea9: Pull complete [2022-03-21T03:27:27.098Z] 0c2d73faf560: Pull complete [2022-03-21T03:27:27.098Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-21T03:27:27.098Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-21T03:27:27.098Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-21T03:27:27.180Z] prd-ubuntu20.04-docker-8c-8g-8146 does not seem to be running inside a container [2022-03-21T03:27:27.229Z] $ 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 [2022-03-21T03:27:27.941Z] $ docker top 3e3c9f16aeb157d907e025b3de56432ac8d894a718f9814748c31f6ba9d1d3bd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-21T03:27:28.051Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-21T03:27:28.051Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-21T03:27:28.181Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-21T03:27:28.193Z] $ docker exec 3e3c9f16aeb157d907e025b3de56432ac8d894a718f9814748c31f6ba9d1d3bd ssh-agent [2022-03-21T03:27:28.318Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXINkOpj/agent.14 [2022-03-21T03:27:28.318Z] SSH_AGENT_PID=21 [2022-03-21T03:27:28.327Z] Running ssh-add (command line suppressed) [2022-03-21T03:27:28.492Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_110404465606841133.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_110404465606841133.key) [2022-03-21T03:27:28.500Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-21T03:27:28.792Z] + git tag --points-at HEAD [Pipeline] } [2022-03-21T03:27:28.821Z] $ docker exec --env ******** --env ******** 3e3c9f16aeb157d907e025b3de56432ac8d894a718f9814748c31f6ba9d1d3bd ssh-agent -k [2022-03-21T03:27:28.944Z] unset SSH_AUTH_SOCK; [2022-03-21T03:27:28.945Z] unset SSH_AGENT_PID; [2022-03-21T03:27:28.945Z] echo Agent pid 21 killed; [2022-03-21T03:27:28.949Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-21T03:27:28.975Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-21T03:27:28.975Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-21T03:27:29.113Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-21T03:27:29.123Z] $ docker exec 3e3c9f16aeb157d907e025b3de56432ac8d894a718f9814748c31f6ba9d1d3bd ssh-agent [2022-03-21T03:27:29.246Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNhGdFm/agent.54 [2022-03-21T03:27:29.246Z] SSH_AGENT_PID=60 [2022-03-21T03:27:29.253Z] Running ssh-add (command line suppressed) [2022-03-21T03:27:29.376Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2159886678543294663.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2159886678543294663.key) [2022-03-21T03:27:29.384Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-21T03:27:29.679Z] + git semver init [2022-03-21T03:27:29.679Z] # -> Open(): unable to determine branch for HEAD [2022-03-21T03:27:29.679Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-03-21T03:27:29.679Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-03-21T03:27:29.679Z] # $SEMVER_REMOTE_NAME = origin [2022-03-21T03:27:29.679Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-21T03:27:29.679Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-21T03:27:29.679Z] # $SEMVER_BRANCH = main [2022-03-21T03:27:29.679Z] # $SEMVER_TEMP = /tmp/semver-760105597 [2022-03-21T03:27:29.679Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-03-21T03:27:30.625Z] # '/tmp/semver-760105597' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' [2022-03-21T03:27:30.625Z] # -> Force: false [2022-03-21T03:27:30.625Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2022-03-21T03:27:30.645Z] $ docker exec --env ******** --env ******** 3e3c9f16aeb157d907e025b3de56432ac8d894a718f9814748c31f6ba9d1d3bd ssh-agent -k [2022-03-21T03:27:30.752Z] unset SSH_AUTH_SOCK; [2022-03-21T03:27:30.752Z] unset SSH_AGENT_PID; [2022-03-21T03:27:30.752Z] echo Agent pid 60 killed; [2022-03-21T03:27:30.759Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-21T03:27:31.070Z] + git semver [Pipeline] } [2022-03-21T03:27:31.091Z] $ docker stop --time=1 3e3c9f16aeb157d907e025b3de56432ac8d894a718f9814748c31f6ba9d1d3bd [2022-03-21T03:27:32.450Z] $ docker rm -f 3e3c9f16aeb157d907e025b3de56432ac8d894a718f9814748c31f6ba9d1d3bd [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-21T03:27:32.803Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-21T03:27:33.048Z] Stashed 1 file(s) [Pipeline] echo [2022-03-21T03:27:33.051Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.10 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-21T03:27:33.206Z] provisioning config files... [2022-03-21T03:27:33.219Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8376148627160811390tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-21T03:27:33.524Z] ---> docker-login.sh [2022-03-21T03:27:33.524Z] nexus3.edgexfoundry.org:10001 [2022-03-21T03:27:33.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:27:33.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:27:33.524Z] Configure a credential helper to remove this warning. See [2022-03-21T03:27:33.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:27:33.524Z] [2022-03-21T03:27:33.524Z] Login Succeeded [2022-03-21T03:27:33.524Z] nexus3.edgexfoundry.org:10002 [2022-03-21T03:27:33.524Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:27:33.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:27:33.785Z] Configure a credential helper to remove this warning. See [2022-03-21T03:27:33.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:27:33.785Z] [2022-03-21T03:27:33.785Z] Login Succeeded [2022-03-21T03:27:33.785Z] nexus3.edgexfoundry.org:10003 [2022-03-21T03:27:33.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:27:33.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:27:33.785Z] Configure a credential helper to remove this warning. See [2022-03-21T03:27:33.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:27:33.785Z] [2022-03-21T03:27:33.785Z] Login Succeeded [2022-03-21T03:27:33.785Z] nexus3.edgexfoundry.org:10004 [2022-03-21T03:27:34.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:27:34.046Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:27:34.046Z] Configure a credential helper to remove this warning. See [2022-03-21T03:27:34.046Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:27:34.046Z] [2022-03-21T03:27:34.046Z] Login Succeeded [2022-03-21T03:27:34.046Z] docker.io [2022-03-21T03:27:34.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:27:34.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:27:34.308Z] Configure a credential helper to remove this warning. See [2022-03-21T03:27:34.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:27:34.308Z] [2022-03-21T03:27:34.308Z] Login Succeeded [2022-03-21T03:27:34.308Z] ---> docker-login.sh ends [Pipeline] } [2022-03-21T03:27:34.317Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-21T03:27:34.392Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-21T03:27:34.403Z] ========================================================= [2022-03-21T03:27:34.403Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-21T03:27:34.403Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:27:34.713Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-03-21T03:27:34.713Z] Sending build context to Docker daemon 5.74MB [2022-03-21T03:27:34.713Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-21T03:27:34.713Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-21T03:27:34.713Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-21T03:27:34.713Z] 59bf1c3509f3: Pulling fs layer [2022-03-21T03:27:34.713Z] 666ba61612fd: Pulling fs layer [2022-03-21T03:27:34.713Z] 8ed8ca486205: Pulling fs layer [2022-03-21T03:27:34.713Z] 4fe6c5a15a65: Pulling fs layer [2022-03-21T03:27:34.713Z] 22a0e8bec74d: Pulling fs layer [2022-03-21T03:27:34.713Z] 640e595b4fbd: Pulling fs layer [2022-03-21T03:27:34.713Z] 763cafe07f6e: Pulling fs layer [2022-03-21T03:27:34.713Z] 0c0b528cf693: Pulling fs layer [2022-03-21T03:27:34.713Z] 10935f4eaf8b: Pulling fs layer [2022-03-21T03:27:34.713Z] 640e595b4fbd: Waiting [2022-03-21T03:27:34.713Z] 763cafe07f6e: Waiting [2022-03-21T03:27:34.713Z] 0c0b528cf693: Waiting [2022-03-21T03:27:34.713Z] 4fe6c5a15a65: Waiting [2022-03-21T03:27:34.713Z] 22a0e8bec74d: Waiting [2022-03-21T03:27:34.713Z] 8ed8ca486205: Verifying Checksum [2022-03-21T03:27:34.713Z] 8ed8ca486205: Download complete [2022-03-21T03:27:34.713Z] 666ba61612fd: Download complete [2022-03-21T03:27:34.974Z] 22a0e8bec74d: Verifying Checksum [2022-03-21T03:27:34.974Z] 22a0e8bec74d: Download complete [2022-03-21T03:27:34.974Z] 640e595b4fbd: Download complete [2022-03-21T03:27:34.974Z] 59bf1c3509f3: Verifying Checksum [2022-03-21T03:27:34.974Z] 59bf1c3509f3: Download complete [2022-03-21T03:27:34.974Z] 763cafe07f6e: Verifying Checksum [2022-03-21T03:27:34.974Z] 763cafe07f6e: Download complete [2022-03-21T03:27:34.974Z] 0c0b528cf693: Verifying Checksum [2022-03-21T03:27:34.974Z] 59bf1c3509f3: Pull complete [2022-03-21T03:27:35.236Z] 666ba61612fd: Pull complete [2022-03-21T03:27:35.236Z] 8ed8ca486205: Pull complete [2022-03-21T03:27:35.496Z] 10935f4eaf8b: Verifying Checksum [2022-03-21T03:27:35.496Z] 10935f4eaf8b: Download complete [2022-03-21T03:27:35.496Z] 4fe6c5a15a65: Verifying Checksum [2022-03-21T03:27:35.496Z] 4fe6c5a15a65: Download complete [2022-03-21T03:27:39.696Z] 4fe6c5a15a65: Pull complete [2022-03-21T03:27:39.696Z] 22a0e8bec74d: Pull complete [2022-03-21T03:27:39.696Z] 640e595b4fbd: Pull complete [2022-03-21T03:27:39.696Z] 763cafe07f6e: Pull complete [2022-03-21T03:27:39.696Z] 0c0b528cf693: Pull complete [2022-03-21T03:27:41.601Z] 10935f4eaf8b: Pull complete [2022-03-21T03:27:41.601Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-21T03:27:41.601Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-21T03:27:41.601Z] ---> 99d49a6021b9 [2022-03-21T03:27:41.601Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-21T03:27:42.990Z] ---> Running in 126e3ac98d29 [2022-03-21T03:27:43.251Z] Removing intermediate container 126e3ac98d29 [2022-03-21T03:27:43.251Z] ---> 09fac2cffca4 [2022-03-21T03:27:43.251Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-21T03:27:43.251Z] ---> Running in 6c9010031983 [2022-03-21T03:27:43.251Z] Removing intermediate container 6c9010031983 [2022-03-21T03:27:43.251Z] ---> 98d73ea8bf57 [2022-03-21T03:27:43.251Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-21T03:27:43.251Z] ---> Running in 6b556e603dfe [2022-03-21T03:27:44.193Z] Removing intermediate container 6b556e603dfe [2022-03-21T03:27:44.193Z] ---> 4393e04f0ebd [2022-03-21T03:27:44.193Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-21T03:27:44.193Z] ---> Running in 30a7427f1c7e [2022-03-21T03:27:44.455Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-21T03:27:45.399Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-21T03:27:45.399Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-21T03:27:45.662Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-21T03:27:45.662Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-21T03:27:45.662Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-21T03:27:45.924Z] Executing busybox-1.34.1-r3.trigger [2022-03-21T03:27:45.924Z] OK: 224 MiB in 56 packages [2022-03-21T03:27:46.497Z] Removing intermediate container 30a7427f1c7e [2022-03-21T03:27:46.497Z] ---> 289554cfe475 [2022-03-21T03:27:46.497Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-03-21T03:27:46.497Z] ---> Running in eda6a88e46a6 [2022-03-21T03:27:46.497Z] Removing intermediate container eda6a88e46a6 [2022-03-21T03:27:46.497Z] ---> 5e8d7536e383 [2022-03-21T03:27:46.497Z] Step 8/12 : COPY go.mod vendor* ./ [2022-03-21T03:27:46.497Z] ---> a5b3aa3bdbea [2022-03-21T03:27:46.497Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-21T03:27:46.757Z] ---> Running in bac9ee8ed557 [2022-03-21T03:27:48.160Z] Still waiting to schedule task [2022-03-21T03:27:48.160Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-03-21T03:28:13.352Z] Removing intermediate container bac9ee8ed557 [2022-03-21T03:28:13.352Z] ---> ab618ad59147 [2022-03-21T03:28:13.352Z] Step 10/12 : COPY . . [2022-03-21T03:28:13.352Z] ---> d5bbeb516734 [2022-03-21T03:28:13.352Z] Step 11/12 : ARG MAKE='make build' [2022-03-21T03:28:13.353Z] ---> Running in 9b88bcef9c96 [2022-03-21T03:28:13.353Z] Removing intermediate container 9b88bcef9c96 [2022-03-21T03:28:13.353Z] ---> 7096a8b429e2 [2022-03-21T03:28:13.353Z] Step 12/12 : RUN $MAKE [2022-03-21T03:28:13.353Z] ---> Running in f68472f3af3e [2022-03-21T03:28:13.353Z] noop [2022-03-21T03:28:13.613Z] Removing intermediate container f68472f3af3e [2022-03-21T03:28:13.613Z] ---> e7c0951de30a [2022-03-21T03:28:13.613Z] Successfully built e7c0951de30a [2022-03-21T03:28:13.613Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:28:13.912Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-21T03:28:13.912Z] . [Pipeline] withDockerContainer [2022-03-21T03:28:13.980Z] prd-ubuntu20.04-docker-8c-8g-8146 does not seem to be running inside a container [2022-03-21T03:28:14.018Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-03-21T03:28:14.408Z] $ docker top 3561ab7558706f711ad7fbf421ed562225b8c430892cb7cefd8f1a4af53e07e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-21T03:28:14.751Z] + go version [2022-03-21T03:28:14.751Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-21T03:28:14.769Z] $ docker stop --time=1 3561ab7558706f711ad7fbf421ed562225b8c430892cb7cefd8f1a4af53e07e0 [2022-03-21T03:28:16.056Z] $ docker rm -f 3561ab7558706f711ad7fbf421ed562225b8c430892cb7cefd8f1a4af53e07e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:28:16.483Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-21T03:28:16.483Z] . [Pipeline] withDockerContainer [2022-03-21T03:28:16.551Z] prd-ubuntu20.04-docker-8c-8g-8146 does not seem to be running inside a container [2022-03-21T03:28:16.591Z] $ 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 ******** -e ******** ci-base-image-x86_64 cat [2022-03-21T03:28:17.020Z] $ docker top 9b2894e0510b7549926681f9b6ca6ac559f6181a48185618ec10383d4547b080 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-21T03:28:17.487Z] + make test [2022-03-21T03:28:17.487Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-21T03:28:17.747Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-03-21T03:28:24.316Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-03-21T03:28:24.316Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 22.5% of statements [2022-03-21T03:28:24.316Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-03-21T03:28:24.316Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-21T03:28:27.619Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-21T03:28:27.619Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-21T03:28:27.619Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-21T03:28:27.893Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-21T03:28:27.912Z] $ docker stop --time=1 9b2894e0510b7549926681f9b6ca6ac559f6181a48185618ec10383d4547b080 [2022-03-21T03:28:29.552Z] $ docker rm -f 9b2894e0510b7549926681f9b6ca6ac559f6181a48185618ec10383d4547b080 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-21T03:28:29.933Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-21T03:28:29.968Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-21T03:28:30.945Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-21T03:28:31.235Z] + ls -al . [2022-03-21T03:28:31.235Z] total 184 [2022-03-21T03:28:31.235Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 03:28 . [2022-03-21T03:28:31.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 03:27 .. [2022-03-21T03:28:31.235Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 03:27 .dockerignore [2022-03-21T03:28:31.235Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 03:27 .git [2022-03-21T03:28:31.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 03:27 .github [2022-03-21T03:28:31.235Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 03:27 .gitignore [2022-03-21T03:28:31.235Z] drwx------ 3 jenkins jenkins 4096 Mar 21 03:27 .semver [2022-03-21T03:28:31.235Z] -rw-rw-r-- 1 jenkins jenkins 7384 Mar 21 03:27 Attribution.txt [2022-03-21T03:28:31.235Z] -rw-rw-r-- 1 jenkins jenkins 7447 Mar 21 03:27 CHANGELOG.md [2022-03-21T03:28:31.235Z] -rw-rw-r-- 1 jenkins jenkins 1930 Mar 21 03:27 Dockerfile [2022-03-21T03:28:31.235Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 03:27 GOVERNANCE.md [2022-03-21T03:28:31.235Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 03:27 Jenkinsfile [2022-03-21T03:28:31.235Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 03:27 LICENSE [2022-03-21T03:28:31.235Z] -rw-rw-r-- 1 jenkins jenkins 1030 Mar 21 03:27 Makefile [2022-03-21T03:28:31.235Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 03:27 OWNERS.md [2022-03-21T03:28:31.235Z] -rw-rw-r-- 1 jenkins jenkins 2643 Mar 21 03:27 README.md [2022-03-21T03:28:31.235Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 03:27 VERSION [2022-03-21T03:28:31.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 03:27 bin [2022-03-21T03:28:31.235Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 03:27 cmd [2022-03-21T03:28:31.235Z] -rw-r--r-- 1 jenkins jenkins 17452 Mar 21 03:28 coverage.out [2022-03-21T03:28:31.235Z] -rw-rw-r-- 1 jenkins jenkins 2884 Mar 21 03:27 go.mod [2022-03-21T03:28:31.235Z] -rw-rw-r-- 1 jenkins jenkins 50572 Mar 21 03:27 go.sum [2022-03-21T03:28:31.235Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 03:27 internal [2022-03-21T03:28:31.235Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 03:27 mock [2022-03-21T03:28:31.235Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 03:27 snap [2022-03-21T03:28:31.235Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 21 03:27 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:28:31.529Z] + 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=bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 --label arch=amd64 --label version=2.2.0-dev.10 . [2022-03-21T03:28:31.530Z] Sending build context to Docker daemon 5.758MB [2022-03-21T03:28:31.530Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-03-21T03:28:31.530Z] Step 2/24 : FROM ${BASE} AS builder [2022-03-21T03:28:31.530Z] ---> e7c0951de30a [2022-03-21T03:28:31.530Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-21T03:28:31.530Z] ---> Running in 2a228b9088d0 [2022-03-21T03:28:31.790Z] Removing intermediate container 2a228b9088d0 [2022-03-21T03:28:31.790Z] ---> 99fa6a1391e6 [2022-03-21T03:28:31.790Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-03-21T03:28:31.790Z] ---> Running in fe335a0b5f1f [2022-03-21T03:28:31.790Z] Removing intermediate container fe335a0b5f1f [2022-03-21T03:28:31.790Z] ---> 519c51d308b1 [2022-03-21T03:28:31.790Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-21T03:28:31.790Z] ---> Running in a592d7c6b09e [2022-03-21T03:28:32.361Z] Removing intermediate container a592d7c6b09e [2022-03-21T03:28:32.361Z] ---> 9883fcb8262e [2022-03-21T03:28:32.361Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-21T03:28:32.621Z] ---> Running in 7e490d71d496 [2022-03-21T03:28:32.882Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-21T03:28:33.829Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-21T03:28:33.829Z] OK: 224 MiB in 56 packages [2022-03-21T03:28:34.404Z] Removing intermediate container 7e490d71d496 [2022-03-21T03:28:34.404Z] ---> e4ea121820d2 [2022-03-21T03:28:34.404Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-03-21T03:28:34.404Z] ---> Running in 9d0e29bf6d9a [2022-03-21T03:28:34.404Z] Removing intermediate container 9d0e29bf6d9a [2022-03-21T03:28:34.404Z] ---> 56c8aee26641 [2022-03-21T03:28:34.404Z] Step 8/24 : COPY go.mod vendor* ./ [2022-03-21T03:28:34.665Z] ---> 74d0b65dfafc [2022-03-21T03:28:34.665Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-21T03:28:34.665Z] ---> Running in 6d5ce3846cdb [2022-03-21T03:28:35.236Z] Removing intermediate container 6d5ce3846cdb [2022-03-21T03:28:35.236Z] ---> 6a3cb6e2c1ba [2022-03-21T03:28:35.236Z] Step 10/24 : COPY . . [2022-03-21T03:28:35.497Z] ---> 41e5ba14acc0 [2022-03-21T03:28:35.497Z] Step 11/24 : ARG MAKE='make build' [2022-03-21T03:28:35.757Z] ---> Running in 4924d4755d54 [2022-03-21T03:28:35.757Z] Removing intermediate container 4924d4755d54 [2022-03-21T03:28:35.757Z] ---> 8f527e0a7af6 [2022-03-21T03:28:35.757Z] Step 12/24 : RUN $MAKE [2022-03-21T03:28:35.757Z] ---> Running in e294ad34dfa2 [2022-03-21T03:28:36.018Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.10" -o cmd/device-mqtt ./cmd [2022-03-21T03:28:44.143Z] Removing intermediate container e294ad34dfa2 [2022-03-21T03:28:44.143Z] ---> 085d8008e1c4 [2022-03-21T03:28:44.143Z] Step 13/24 : FROM alpine:3.14 [2022-03-21T03:28:44.143Z] 3.14: Pulling from library/alpine [2022-03-21T03:28:44.143Z] 36ccefbf3d8a: Pulling fs layer [2022-03-21T03:28:44.143Z] 36ccefbf3d8a: Verifying Checksum [2022-03-21T03:28:44.143Z] 36ccefbf3d8a: Download complete [2022-03-21T03:28:44.406Z] 36ccefbf3d8a: Pull complete [2022-03-21T03:28:44.406Z] Digest: sha256:beca83085fd7f5b2a2cc457ddb2ed180c090c13ad7e806530e4ef578cb5cfe7b [2022-03-21T03:28:44.406Z] Status: Downloaded newer image for alpine:3.14 [2022-03-21T03:28:44.406Z] ---> a33ac4f1069a [2022-03-21T03:28:44.406Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-03-21T03:28:44.406Z] ---> Running in 1be0a231bb79 [2022-03-21T03:28:44.406Z] Removing intermediate container 1be0a231bb79 [2022-03-21T03:28:44.406Z] ---> 0f513c412ccb [2022-03-21T03:28:44.406Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-21T03:28:44.665Z] ---> Running in d891d0c5c4dd [2022-03-21T03:28:44.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-03-21T03:28:44.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-03-21T03:28:45.184Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-21T03:28:45.184Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-21T03:28:45.184Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-21T03:28:45.184Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-21T03:28:45.184Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-21T03:28:45.184Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-21T03:28:45.184Z] Executing busybox-1.33.1-r6.trigger [2022-03-21T03:28:45.184Z] OK: 8 MiB in 20 packages [2022-03-21T03:28:45.445Z] Removing intermediate container d891d0c5c4dd [2022-03-21T03:28:45.445Z] ---> 1fda166771c3 [2022-03-21T03:28:45.445Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-03-21T03:28:46.032Z] ---> f1d342d1862f [2022-03-21T03:28:46.032Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-03-21T03:28:46.032Z] ---> 204a4777ef38 [2022-03-21T03:28:46.032Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-03-21T03:28:46.294Z] ---> cace9ccc22b8 [2022-03-21T03:28:46.294Z] Step 19/24 : EXPOSE 59982 [2022-03-21T03:28:46.294Z] ---> Running in 8c1f16251f48 [2022-03-21T03:28:46.294Z] Removing intermediate container 8c1f16251f48 [2022-03-21T03:28:46.294Z] ---> 07da0562d412 [2022-03-21T03:28:46.294Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-03-21T03:28:46.294Z] ---> Running in eab2282c5f56 [2022-03-21T03:28:46.555Z] Removing intermediate container eab2282c5f56 [2022-03-21T03:28:46.555Z] ---> 3736ef7884ab [2022-03-21T03:28:46.555Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-21T03:28:46.555Z] ---> Running in ff59b1b18f9c [2022-03-21T03:28:46.555Z] Removing intermediate container ff59b1b18f9c [2022-03-21T03:28:46.555Z] ---> 7242e36c95bb [2022-03-21T03:28:46.555Z] Step 22/24 : LABEL arch=amd64 [2022-03-21T03:28:46.816Z] ---> Running in 288dda1cf0bc [2022-03-21T03:28:46.816Z] Removing intermediate container 288dda1cf0bc [2022-03-21T03:28:46.816Z] ---> 10d8c4e5ee70 [2022-03-21T03:28:46.816Z] Step 23/24 : LABEL git_sha=bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [2022-03-21T03:28:46.816Z] ---> Running in 6db74b8c8338 [2022-03-21T03:28:46.816Z] Removing intermediate container 6db74b8c8338 [2022-03-21T03:28:46.816Z] ---> 83e6b611469e [2022-03-21T03:28:46.816Z] Step 24/24 : LABEL version=2.2.0-dev.10 [2022-03-21T03:28:46.816Z] ---> Running in da0d9ba3973b [2022-03-21T03:28:47.078Z] Removing intermediate container da0d9ba3973b [2022-03-21T03:28:47.078Z] ---> 5e8f026fd6c6 [2022-03-21T03:28:47.078Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-21T03:28:47.078Z] Successfully built 5e8f026fd6c6 [2022-03-21T03:28:47.078Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-21T03:28:47.201Z] provisioning config files... [2022-03-21T03:28:47.212Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config80877476501574419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-21T03:28:47.518Z] ---> docker-login.sh [2022-03-21T03:28:47.518Z] nexus3.edgexfoundry.org:10001 [2022-03-21T03:28:47.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:28:47.518Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:28:47.518Z] Configure a credential helper to remove this warning. See [2022-03-21T03:28:47.518Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:28:47.518Z] [2022-03-21T03:28:47.518Z] Login Succeeded [2022-03-21T03:28:47.518Z] nexus3.edgexfoundry.org:10002 [2022-03-21T03:28:47.518Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:28:47.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:28:47.778Z] Configure a credential helper to remove this warning. See [2022-03-21T03:28:47.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:28:47.778Z] [2022-03-21T03:28:47.778Z] Login Succeeded [2022-03-21T03:28:47.778Z] nexus3.edgexfoundry.org:10003 [2022-03-21T03:28:47.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:28:47.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:28:47.778Z] Configure a credential helper to remove this warning. See [2022-03-21T03:28:47.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:28:47.778Z] [2022-03-21T03:28:47.778Z] Login Succeeded [2022-03-21T03:28:47.778Z] nexus3.edgexfoundry.org:10004 [2022-03-21T03:28:47.778Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:28:48.039Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:28:48.039Z] Configure a credential helper to remove this warning. See [2022-03-21T03:28:48.039Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:28:48.039Z] [2022-03-21T03:28:48.039Z] Login Succeeded [2022-03-21T03:28:48.039Z] docker.io [2022-03-21T03:28:48.039Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:28:48.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:28:48.300Z] Configure a credential helper to remove this warning. See [2022-03-21T03:28:48.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:28:48.300Z] [2022-03-21T03:28:48.300Z] Login Succeeded [2022-03-21T03:28:48.300Z] ---> docker-login.sh ends [Pipeline] } [2022-03-21T03:28:48.310Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-21T03:28:48.349Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-21T03:28:48.372Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-03-21T03:28:48.372Z] bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [2022-03-21T03:28:48.372Z] latest [2022-03-21T03:28:48.372Z] 2.2.0-dev.10 [2022-03-21T03:28:48.372Z] bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364-2.2.0-dev.10 [2022-03-21T03:28:48.372Z] main [2022-03-21T03:28:48.372Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:28:48.693Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:28:48.987Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [2022-03-21T03:28:48.987Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-03-21T03:28:48.988Z] f3c62946f129: Preparing [2022-03-21T03:28:48.988Z] 08da98e87b0c: Preparing [2022-03-21T03:28:48.988Z] a23d6cd56dc0: Preparing [2022-03-21T03:28:48.988Z] 9c17d6929def: Preparing [2022-03-21T03:28:48.988Z] 2e38978dfe40: Preparing [2022-03-21T03:28:48.988Z] 2e38978dfe40: Layer already exists [2022-03-21T03:28:48.988Z] f3c62946f129: Pushed [2022-03-21T03:28:48.988Z] 08da98e87b0c: Pushed [2022-03-21T03:28:49.248Z] 9c17d6929def: Pushed [2022-03-21T03:28:50.630Z] a23d6cd56dc0: Pushed [2022-03-21T03:28:50.630Z] bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364: digest: sha256:2f8290c36d9c73fff5d447e79540ec6f26308c8e8fc2f88493b5b7c3b30dcdbf size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:28:50.937Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:28:51.234Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-03-21T03:28:51.234Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-03-21T03:28:51.234Z] f3c62946f129: Preparing [2022-03-21T03:28:51.234Z] 08da98e87b0c: Preparing [2022-03-21T03:28:51.234Z] a23d6cd56dc0: Preparing [2022-03-21T03:28:51.234Z] 9c17d6929def: Preparing [2022-03-21T03:28:51.234Z] 2e38978dfe40: Preparing [2022-03-21T03:28:51.234Z] 2e38978dfe40: Layer already exists [2022-03-21T03:28:51.234Z] f3c62946f129: Layer already exists [2022-03-21T03:28:51.234Z] 9c17d6929def: Layer already exists [2022-03-21T03:28:51.234Z] 08da98e87b0c: Layer already exists [2022-03-21T03:28:51.234Z] a23d6cd56dc0: Layer already exists [2022-03-21T03:28:51.234Z] latest: digest: sha256:2f8290c36d9c73fff5d447e79540ec6f26308c8e8fc2f88493b5b7c3b30dcdbf size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:28:51.533Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:28:51.827Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.10 [2022-03-21T03:28:51.827Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-03-21T03:28:51.827Z] f3c62946f129: Preparing [2022-03-21T03:28:51.827Z] 08da98e87b0c: Preparing [2022-03-21T03:28:51.827Z] a23d6cd56dc0: Preparing [2022-03-21T03:28:51.827Z] 9c17d6929def: Preparing [2022-03-21T03:28:51.827Z] 2e38978dfe40: Preparing [2022-03-21T03:28:51.827Z] 9c17d6929def: Layer already exists [2022-03-21T03:28:51.827Z] f3c62946f129: Layer already exists [2022-03-21T03:28:51.827Z] 08da98e87b0c: Layer already exists [2022-03-21T03:28:51.827Z] a23d6cd56dc0: Layer already exists [2022-03-21T03:28:51.827Z] 2e38978dfe40: Layer already exists [2022-03-21T03:28:51.827Z] 2.2.0-dev.10: digest: sha256:2f8290c36d9c73fff5d447e79540ec6f26308c8e8fc2f88493b5b7c3b30dcdbf size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:28:52.128Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364-2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:28:52.424Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364-2.2.0-dev.10 [2022-03-21T03:28:52.424Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-03-21T03:28:52.424Z] f3c62946f129: Preparing [2022-03-21T03:28:52.424Z] 08da98e87b0c: Preparing [2022-03-21T03:28:52.424Z] a23d6cd56dc0: Preparing [2022-03-21T03:28:52.424Z] 9c17d6929def: Preparing [2022-03-21T03:28:52.424Z] 2e38978dfe40: Preparing [2022-03-21T03:28:52.424Z] f3c62946f129: Layer already exists [2022-03-21T03:28:52.424Z] 08da98e87b0c: Layer already exists [2022-03-21T03:28:52.424Z] 2e38978dfe40: Layer already exists [2022-03-21T03:28:52.424Z] a23d6cd56dc0: Layer already exists [2022-03-21T03:28:52.424Z] 9c17d6929def: Layer already exists [2022-03-21T03:28:52.424Z] bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364-2.2.0-dev.10: digest: sha256:2f8290c36d9c73fff5d447e79540ec6f26308c8e8fc2f88493b5b7c3b30dcdbf size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:28:52.722Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:28:53.017Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-03-21T03:28:53.017Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-03-21T03:28:53.017Z] f3c62946f129: Preparing [2022-03-21T03:28:53.017Z] 08da98e87b0c: Preparing [2022-03-21T03:28:53.017Z] a23d6cd56dc0: Preparing [2022-03-21T03:28:53.017Z] 9c17d6929def: Preparing [2022-03-21T03:28:53.017Z] 2e38978dfe40: Preparing [2022-03-21T03:28:53.017Z] 9c17d6929def: Layer already exists [2022-03-21T03:28:53.017Z] a23d6cd56dc0: Layer already exists [2022-03-21T03:28:53.017Z] f3c62946f129: Layer already exists [2022-03-21T03:28:53.017Z] 08da98e87b0c: Layer already exists [2022-03-21T03:28:53.017Z] 2e38978dfe40: Layer already exists [2022-03-21T03:28:53.017Z] main: digest: sha256:2f8290c36d9c73fff5d447e79540ec6f26308c8e8fc2f88493b5b7c3b30dcdbf size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-21T03:28:53.055Z] ===================================================== [Pipeline] echo [2022-03-21T03:28:53.065Z] taggedImages: [2022-03-21T03:28:53.065Z] - nexus3.edgexfoundry.org:10004/device-mqtt:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [2022-03-21T03:28:53.065Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-03-21T03:28:53.065Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.10 [2022-03-21T03:28:53.065Z] - nexus3.edgexfoundry.org:10004/device-mqtt:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364-2.2.0-dev.10 [2022-03-21T03:28:53.065Z] - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) [Pipeline] findFiles Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:28:53.469Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-21T03:28:53.469Z] [2022-03-21T03:28:53.470Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:28:53.767Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-21T03:28:53.767Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-21T03:28:53.767Z] 5eb5b503b376: Pulling fs layer [2022-03-21T03:28:53.767Z] 5c69ac0246d0: Pulling fs layer [2022-03-21T03:28:53.767Z] ec43610c2a17: Pulling fs layer [2022-03-21T03:28:53.767Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-21T03:28:53.767Z] 33b1e0a273af: Pulling fs layer [2022-03-21T03:28:53.767Z] 5d3b04190fa2: Pulling fs layer [2022-03-21T03:28:53.767Z] 2f39f015ded8: Pulling fs layer [2022-03-21T03:28:53.767Z] 33b1e0a273af: Waiting [2022-03-21T03:28:53.767Z] 2f39f015ded8: Waiting [2022-03-21T03:28:53.767Z] 5d3b04190fa2: Waiting [2022-03-21T03:28:53.767Z] 3a2ae6a8a46f: Waiting [2022-03-21T03:28:53.767Z] 5c69ac0246d0: Verifying Checksum [2022-03-21T03:28:53.767Z] 5c69ac0246d0: Download complete [2022-03-21T03:28:53.767Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-21T03:28:53.767Z] 3a2ae6a8a46f: Download complete [2022-03-21T03:28:53.767Z] 33b1e0a273af: Verifying Checksum [2022-03-21T03:28:53.767Z] 33b1e0a273af: Download complete [2022-03-21T03:28:53.767Z] ec43610c2a17: Verifying Checksum [2022-03-21T03:28:53.767Z] ec43610c2a17: Download complete [2022-03-21T03:28:53.767Z] 5d3b04190fa2: Verifying Checksum [2022-03-21T03:28:53.767Z] 5d3b04190fa2: Download complete [2022-03-21T03:28:54.027Z] 5eb5b503b376: Verifying Checksum [2022-03-21T03:28:54.027Z] 5eb5b503b376: Download complete [2022-03-21T03:28:54.597Z] 2f39f015ded8: Verifying Checksum [2022-03-21T03:28:54.597Z] 2f39f015ded8: Download complete [2022-03-21T03:28:55.539Z] 5eb5b503b376: Pull complete [2022-03-21T03:28:55.539Z] 5c69ac0246d0: Pull complete [2022-03-21T03:28:56.110Z] ec43610c2a17: Pull complete [2022-03-21T03:28:56.110Z] 3a2ae6a8a46f: Pull complete [2022-03-21T03:28:56.371Z] 33b1e0a273af: Pull complete [2022-03-21T03:28:56.371Z] 5d3b04190fa2: Pull complete [2022-03-21T03:29:01.657Z] 2f39f015ded8: Pull complete [2022-03-21T03:29:01.657Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-21T03:29:01.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-21T03:29:01.657Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-21T03:29:01.731Z] prd-ubuntu20.04-docker-8c-8g-8146 does not seem to be running inside a container [2022-03-21T03:29:01.773Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-21T03:29:03.669Z] $ docker top 4b4fb140dd86b91a15888db02a1681608b78bd9a68de5bfc3fc0c80ae6a1a8ec -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-21T03:29:04.071Z] ---> job-cost.sh [2022-03-21T03:29:04.071Z] lf-activate-venv: SKIPPING [2022-03-21T03:29:04.071Z] INFO: No Stack... [2022-03-21T03:29:04.331Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-21T03:29:04.901Z] INFO: Archiving Costs [Pipeline] sh [2022-03-21T03:29:05.194Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-03-21T03:29:05.194Z] + cut -d, -f6 [Pipeline] lock [2022-03-21T03:29:05.209Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-31-stack-cost] [2022-03-21T03:29:05.220Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-31-stack-cost] did not exist. Created. [2022-03-21T03:29:05.220Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-21T03:29:05.553Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-21T03:29:05.632Z] Stashed 1 file(s) [Pipeline] } [2022-03-21T03:29:05.639Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-21T03:29:05.662Z] $ docker stop --time=1 4b4fb140dd86b91a15888db02a1681608b78bd9a68de5bfc3fc0c80ae6a1a8ec [2022-03-21T03:29:06.846Z] $ docker rm -f 4b4fb140dd86b91a15888db02a1681608b78bd9a68de5bfc3fc0c80ae6a1a8ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-21T03:30:09.333Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8148 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-03-21T03:30:09.347Z] Running in /w/workspace/device-mqtt-go/31 [Pipeline] { [Pipeline] checkout [2022-03-21T03:30:09.839Z] Selected Git installation does not exist. Using Default [2022-03-21T03:30:09.839Z] The recommended git tool is: NONE [2022-03-21T03:30:16.874Z] using credential edgex-jenkins-ssh [2022-03-21T03:30:16.892Z] Cloning the remote Git repository [2022-03-21T03:30:16.954Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-03-21T03:30:17.040Z] > git init /w/workspace/device-mqtt-go/31 # timeout=10 [2022-03-21T03:30:17.166Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-03-21T03:30:17.168Z] > git --version # timeout=10 [2022-03-21T03:30:17.207Z] > git --version # 'git version 2.25.1' [2022-03-21T03:30:17.209Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-21T03:30:17.399Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-21T03:30:18.730Z] Avoid second fetch [2022-03-21T03:30:18.731Z] Checking out Revision bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 (main) [2022-03-21T03:30:18.660Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-03-21T03:30:18.700Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-21T03:30:18.757Z] > git config core.sparsecheckout # timeout=10 [2022-03-21T03:30:18.778Z] > git checkout -f bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 # timeout=10 [2022-03-21T03:30:23.277Z] Commit message: "Merge pull request #347 from weichou1229/bump-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-21T03:30:24.192Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-21T03:30:24.192Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-21T03:30:24.192Z] Dload Upload Total Spent Left Speed [2022-03-21T03:30:24.192Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 48338 0 --:--:-- --:--:-- --:--:-- 48142 [Pipeline] sh [2022-03-21T03:30:24.772Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-21T03:30:25.111Z] + + sudo teesudo /etc/docker/daemon.new jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-21T03:30:25.111Z] [2022-03-21T03:30:25.111Z] { [2022-03-21T03:30:25.111Z] "registry-mirrors": [ [2022-03-21T03:30:25.111Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-21T03:30:25.111Z] ], [2022-03-21T03:30:25.111Z] "bip": "10.250.0.254/24", [2022-03-21T03:30:25.111Z] "hosts": [ [2022-03-21T03:30:25.111Z] "tcp://0.0.0.0:5555", [2022-03-21T03:30:25.111Z] "unix:///var/run/docker.sock" [2022-03-21T03:30:25.111Z] ], [2022-03-21T03:30:25.111Z] "mtu": 1458, [2022-03-21T03:30:25.111Z] "selinux-enabled": true, [2022-03-21T03:30:25.111Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-21T03:30:25.111Z] } [Pipeline] sh [2022-03-21T03:30:25.476Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-21T03:30:25.818Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-21T03:30:44.170Z] provisioning config files... [2022-03-21T03:30:44.197Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/31@tmp/config4017575236289904796tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-21T03:30:44.604Z] ---> docker-login.sh [2022-03-21T03:30:44.604Z] nexus3.edgexfoundry.org:10001 [2022-03-21T03:30:45.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:30:45.496Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:30:45.496Z] Configure a credential helper to remove this warning. See [2022-03-21T03:30:45.496Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:30:45.496Z] [2022-03-21T03:30:45.496Z] Login Succeeded [2022-03-21T03:30:45.496Z] nexus3.edgexfoundry.org:10002 [2022-03-21T03:30:45.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:30:46.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:30:46.045Z] Configure a credential helper to remove this warning. See [2022-03-21T03:30:46.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:30:46.045Z] [2022-03-21T03:30:46.045Z] Login Succeeded [2022-03-21T03:30:46.045Z] nexus3.edgexfoundry.org:10003 [2022-03-21T03:30:46.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:30:46.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:30:46.593Z] Configure a credential helper to remove this warning. See [2022-03-21T03:30:46.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:30:46.593Z] [2022-03-21T03:30:46.593Z] Login Succeeded [2022-03-21T03:30:46.593Z] nexus3.edgexfoundry.org:10004 [2022-03-21T03:30:46.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:30:46.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:30:46.867Z] Configure a credential helper to remove this warning. See [2022-03-21T03:30:46.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:30:46.867Z] [2022-03-21T03:30:46.867Z] Login Succeeded [2022-03-21T03:30:46.867Z] docker.io [2022-03-21T03:30:47.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:30:47.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:30:47.737Z] Configure a credential helper to remove this warning. See [2022-03-21T03:30:47.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:30:47.737Z] [2022-03-21T03:30:47.737Z] Login Succeeded [2022-03-21T03:30:47.737Z] ---> docker-login.sh ends [Pipeline] } [2022-03-21T03:30:47.755Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-21T03:30:48.226Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-21T03:30:48.241Z] ========================================================= [2022-03-21T03:30:48.241Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-21T03:30:48.241Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:30:48.628Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-03-21T03:30:48.902Z] Sending build context to Docker daemon 2.984MB [2022-03-21T03:30:48.902Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-21T03:30:48.902Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-21T03:30:49.179Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-21T03:30:49.179Z] 9b3977197b4f: Pulling fs layer [2022-03-21T03:30:49.179Z] 1a89e8eeedd5: Pulling fs layer [2022-03-21T03:30:49.179Z] 94645a83ff95: Pulling fs layer [2022-03-21T03:30:49.179Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-21T03:30:49.179Z] 0c92f367c5e7: Pulling fs layer [2022-03-21T03:30:49.179Z] f7c0051592d6: Pulling fs layer [2022-03-21T03:30:49.179Z] a227ed2f7395: Pulling fs layer [2022-03-21T03:30:49.179Z] 7b1c46037f91: Pulling fs layer [2022-03-21T03:30:49.179Z] 0c92f367c5e7: Waiting [2022-03-21T03:30:49.179Z] f7c0051592d6: Waiting [2022-03-21T03:30:49.179Z] a227ed2f7395: Waiting [2022-03-21T03:30:49.179Z] 7b1c46037f91: Waiting [2022-03-21T03:30:49.179Z] 3f3a8bcf1eab: Waiting [2022-03-21T03:30:49.179Z] 94645a83ff95: Verifying Checksum [2022-03-21T03:30:49.179Z] 94645a83ff95: Download complete [2022-03-21T03:30:49.179Z] 1a89e8eeedd5: Download complete [2022-03-21T03:30:49.179Z] 0c92f367c5e7: Verifying Checksum [2022-03-21T03:30:49.179Z] 0c92f367c5e7: Download complete [2022-03-21T03:30:49.179Z] f7c0051592d6: Verifying Checksum [2022-03-21T03:30:49.179Z] f7c0051592d6: Download complete [2022-03-21T03:30:49.179Z] 9b3977197b4f: Verifying Checksum [2022-03-21T03:30:49.179Z] 9b3977197b4f: Download complete [2022-03-21T03:30:49.179Z] a227ed2f7395: Verifying Checksum [2022-03-21T03:30:49.179Z] a227ed2f7395: Download complete [2022-03-21T03:30:50.171Z] 9b3977197b4f: Pull complete [2022-03-21T03:30:50.449Z] 1a89e8eeedd5: Pull complete [2022-03-21T03:30:51.059Z] 94645a83ff95: Pull complete [2022-03-21T03:30:51.334Z] 7b1c46037f91: Verifying Checksum [2022-03-21T03:30:51.334Z] 7b1c46037f91: Download complete [2022-03-21T03:30:51.932Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-21T03:30:51.932Z] 3f3a8bcf1eab: Download complete [2022-03-21T03:31:04.371Z] 3f3a8bcf1eab: Pull complete [2022-03-21T03:31:04.371Z] 0c92f367c5e7: Pull complete [2022-03-21T03:31:04.371Z] f7c0051592d6: Pull complete [2022-03-21T03:31:04.371Z] a227ed2f7395: Pull complete [2022-03-21T03:31:11.103Z] 7b1c46037f91: Pull complete [2022-03-21T03:31:11.103Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-21T03:31:11.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-21T03:31:11.103Z] ---> f79e39bc4007 [2022-03-21T03:31:11.103Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-21T03:31:11.381Z] ---> Running in caa7bc7ca818 [2022-03-21T03:31:11.655Z] Removing intermediate container caa7bc7ca818 [2022-03-21T03:31:11.655Z] ---> 98fc795977a1 [2022-03-21T03:31:11.655Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-21T03:31:11.655Z] ---> Running in 2cc12e481dbd [2022-03-21T03:31:11.938Z] Removing intermediate container 2cc12e481dbd [2022-03-21T03:31:11.938Z] ---> 9cbddbdc9df1 [2022-03-21T03:31:11.938Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-21T03:31:11.938Z] ---> Running in e76abf27cf4e [2022-03-21T03:31:13.916Z] Removing intermediate container e76abf27cf4e [2022-03-21T03:31:13.916Z] ---> 251de3b3e065 [2022-03-21T03:31:13.916Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-21T03:31:13.916Z] ---> Running in 2e9801885c01 [2022-03-21T03:31:14.896Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-21T03:31:15.877Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-21T03:31:16.473Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-21T03:31:16.746Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-21T03:31:16.746Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-21T03:31:17.019Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-21T03:31:17.019Z] Executing busybox-1.34.1-r3.trigger [2022-03-21T03:31:17.019Z] OK: 224 MiB in 56 packages [2022-03-21T03:31:18.003Z] Removing intermediate container 2e9801885c01 [2022-03-21T03:31:18.003Z] ---> 18052d224f9a [2022-03-21T03:31:18.003Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-03-21T03:31:18.003Z] ---> Running in 69700ac94a72 [2022-03-21T03:31:18.279Z] Removing intermediate container 69700ac94a72 [2022-03-21T03:31:18.279Z] ---> ccfd5dd638be [2022-03-21T03:31:18.279Z] Step 8/12 : COPY go.mod vendor* ./ [2022-03-21T03:31:18.885Z] ---> 6a07c62baea8 [2022-03-21T03:31:18.885Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-21T03:31:18.885Z] ---> Running in eec75c6886ce [2022-03-21T03:32:40.696Z] Removing intermediate container eec75c6886ce [2022-03-21T03:32:40.696Z] ---> 61146c25c485 [2022-03-21T03:32:40.696Z] Step 10/12 : COPY . . [2022-03-21T03:32:40.696Z] ---> dabfb45e5c1b [2022-03-21T03:32:40.696Z] Step 11/12 : ARG MAKE='make build' [2022-03-21T03:32:40.696Z] ---> Running in 2e1cec456efa [2022-03-21T03:32:40.696Z] Removing intermediate container 2e1cec456efa [2022-03-21T03:32:40.696Z] ---> 5a0e2ca3a8b4 [2022-03-21T03:32:40.696Z] Step 12/12 : RUN $MAKE [2022-03-21T03:32:40.696Z] ---> Running in b5e186a6380f [2022-03-21T03:32:40.696Z] noop [2022-03-21T03:32:40.696Z] Removing intermediate container b5e186a6380f [2022-03-21T03:32:40.696Z] ---> ea1a772c9080 [2022-03-21T03:32:40.696Z] Successfully built ea1a772c9080 [2022-03-21T03:32:40.696Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:32:41.044Z] + docker inspect -f . ci-base-image-arm64 [2022-03-21T03:32:41.044Z] . [Pipeline] withDockerContainer [2022-03-21T03:32:41.290Z] prd-ubuntu20.04-docker-arm64-4c-16g-8148 does not seem to be running inside a container [2022-03-21T03:32:41.376Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/31 -v /w/workspace/device-mqtt-go/31:/w/workspace/device-mqtt-go/31:rw,z -v /w/workspace/device-mqtt-go/31@tmp:/w/workspace/device-mqtt-go/31@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 [2022-03-21T03:32:42.720Z] $ docker top aad4c50b4451a7c0ce67c1f5d2d214609dc862ec668c890df9c59d158dd731e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-21T03:32:43.613Z] + go version [2022-03-21T03:32:43.613Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-21T03:32:43.642Z] $ docker stop --time=1 aad4c50b4451a7c0ce67c1f5d2d214609dc862ec668c890df9c59d158dd731e8 [2022-03-21T03:32:45.280Z] $ docker rm -f aad4c50b4451a7c0ce67c1f5d2d214609dc862ec668c890df9c59d158dd731e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:32:45.875Z] + docker inspect -f . ci-base-image-arm64 [2022-03-21T03:32:45.875Z] . [Pipeline] withDockerContainer [2022-03-21T03:32:46.113Z] prd-ubuntu20.04-docker-arm64-4c-16g-8148 does not seem to be running inside a container [2022-03-21T03:32:46.205Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/31 -v /w/workspace/device-mqtt-go/31:/w/workspace/device-mqtt-go/31:rw,z -v /w/workspace/device-mqtt-go/31@tmp:/w/workspace/device-mqtt-go/31@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 [2022-03-21T03:32:47.537Z] $ docker top 41649146b2b45e1aa4f684dad54d60ac9f97768f921cefb482bcf131987df37e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-21T03:32:48.464Z] + make test [2022-03-21T03:32:48.464Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-21T03:32:49.912Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-03-21T03:33:36.955Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-03-21T03:33:39.577Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.061s coverage: 22.5% of statements [2022-03-21T03:33:39.577Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-03-21T03:33:39.853Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-21T03:33:58.193Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-21T03:33:58.193Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-21T03:33:58.193Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-21T03:33:59.197Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-21T03:33:59.218Z] $ docker stop --time=1 41649146b2b45e1aa4f684dad54d60ac9f97768f921cefb482bcf131987df37e [2022-03-21T03:34:00.974Z] $ docker rm -f 41649146b2b45e1aa4f684dad54d60ac9f97768f921cefb482bcf131987df37e [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-21T03:34:01.767Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-21T03:34:01.794Z] Warning: overwriting stash ‘coverage-report’ [2022-03-21T03:34:02.257Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-21T03:34:02.665Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-21T03:34:03.007Z] + ls -al . [2022-03-21T03:34:03.007Z] total 180 [2022-03-21T03:34:03.007Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 03:33 . [2022-03-21T03:34:03.007Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 03:30 .. [2022-03-21T03:34:03.007Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 03:30 .dockerignore [2022-03-21T03:34:03.007Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 03:30 .git [2022-03-21T03:34:03.007Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 03:30 .github [2022-03-21T03:34:03.007Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 03:30 .gitignore [2022-03-21T03:34:03.007Z] -rw-rw-r-- 1 jenkins jenkins 7384 Mar 21 03:30 Attribution.txt [2022-03-21T03:34:03.007Z] -rw-rw-r-- 1 jenkins jenkins 7447 Mar 21 03:30 CHANGELOG.md [2022-03-21T03:34:03.007Z] -rw-rw-r-- 1 jenkins jenkins 1930 Mar 21 03:30 Dockerfile [2022-03-21T03:34:03.007Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 03:30 GOVERNANCE.md [2022-03-21T03:34:03.007Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 03:30 Jenkinsfile [2022-03-21T03:34:03.007Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 03:30 LICENSE [2022-03-21T03:34:03.007Z] -rw-rw-r-- 1 jenkins jenkins 1030 Mar 21 03:30 Makefile [2022-03-21T03:34:03.007Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 03:30 OWNERS.md [2022-03-21T03:34:03.007Z] -rw-rw-r-- 1 jenkins jenkins 2643 Mar 21 03:30 README.md [2022-03-21T03:34:03.007Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 03:27 VERSION [2022-03-21T03:34:03.007Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 03:30 bin [2022-03-21T03:34:03.007Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 03:30 cmd [2022-03-21T03:34:03.007Z] -rw-r--r-- 1 jenkins jenkins 17452 Mar 21 03:33 coverage.out [2022-03-21T03:34:03.007Z] -rw-rw-r-- 1 jenkins jenkins 2884 Mar 21 03:30 go.mod [2022-03-21T03:34:03.007Z] -rw-rw-r-- 1 jenkins jenkins 50572 Mar 21 03:30 go.sum [2022-03-21T03:34:03.007Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 03:30 internal [2022-03-21T03:34:03.007Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 03:30 mock [2022-03-21T03:34:03.007Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 03:30 snap [2022-03-21T03:34:03.007Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 21 03:30 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:34:03.358Z] + 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=bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 --label arch=arm64 --label version=2.2.0-dev.10 . [2022-03-21T03:34:03.635Z] Sending build context to Docker daemon 3.003MB [2022-03-21T03:34:03.635Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-03-21T03:34:03.635Z] Step 2/24 : FROM ${BASE} AS builder [2022-03-21T03:34:03.635Z] ---> ea1a772c9080 [2022-03-21T03:34:03.635Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-21T03:34:03.912Z] ---> Running in 6fbc2ccf2ec4 [2022-03-21T03:34:04.184Z] Removing intermediate container 6fbc2ccf2ec4 [2022-03-21T03:34:04.184Z] ---> a835551b3268 [2022-03-21T03:34:04.185Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-03-21T03:34:04.185Z] ---> Running in 9b70494dc329 [2022-03-21T03:34:04.460Z] Removing intermediate container 9b70494dc329 [2022-03-21T03:34:04.460Z] ---> 187b98350212 [2022-03-21T03:34:04.460Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-21T03:34:04.736Z] ---> Running in 981ac9142bcc [2022-03-21T03:34:06.183Z] Removing intermediate container 981ac9142bcc [2022-03-21T03:34:06.183Z] ---> 4cbb584183dd [2022-03-21T03:34:06.183Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-21T03:34:06.466Z] ---> Running in 66965d45f0d5 [2022-03-21T03:34:07.454Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-21T03:34:08.432Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-21T03:34:09.028Z] OK: 224 MiB in 56 packages [2022-03-21T03:34:10.021Z] Removing intermediate container 66965d45f0d5 [2022-03-21T03:34:10.021Z] ---> 44f45edf9e2d [2022-03-21T03:34:10.021Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-03-21T03:34:10.021Z] ---> Running in f6dab57fbd2d [2022-03-21T03:34:10.298Z] Removing intermediate container f6dab57fbd2d [2022-03-21T03:34:10.298Z] ---> 2d1da4d6bd0f [2022-03-21T03:34:10.298Z] Step 8/24 : COPY go.mod vendor* ./ [2022-03-21T03:34:10.896Z] ---> 645e83b4f9ac [2022-03-21T03:34:10.896Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-21T03:34:10.896Z] ---> Running in 4c810108903a [2022-03-21T03:34:13.613Z] Removing intermediate container 4c810108903a [2022-03-21T03:34:13.613Z] ---> cd9118f4bf3d [2022-03-21T03:34:13.613Z] Step 10/24 : COPY . . [2022-03-21T03:34:14.215Z] ---> b53456674300 [2022-03-21T03:34:14.215Z] Step 11/24 : ARG MAKE='make build' [2022-03-21T03:34:14.215Z] ---> Running in f3d609b2d352 [2022-03-21T03:34:14.495Z] Removing intermediate container f3d609b2d352 [2022-03-21T03:34:14.495Z] ---> 8c10feb17842 [2022-03-21T03:34:14.495Z] Step 12/24 : RUN $MAKE [2022-03-21T03:34:14.495Z] ---> Running in 41d5415bfbf7 [2022-03-21T03:34:15.480Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.10" -o cmd/device-mqtt ./cmd [2022-03-21T03:35:02.516Z] Removing intermediate container 41d5415bfbf7 [2022-03-21T03:35:02.516Z] ---> b2dc1e3ae173 [2022-03-21T03:35:02.516Z] Step 13/24 : FROM alpine:3.14 [2022-03-21T03:35:02.516Z] 3.14: Pulling from library/alpine [2022-03-21T03:35:02.516Z] 93a1719cf261: Pulling fs layer [2022-03-21T03:35:02.516Z] 93a1719cf261: Download complete [2022-03-21T03:35:02.516Z] 93a1719cf261: Pull complete [2022-03-21T03:35:02.516Z] Digest: sha256:beca83085fd7f5b2a2cc457ddb2ed180c090c13ad7e806530e4ef578cb5cfe7b [2022-03-21T03:35:02.516Z] Status: Downloaded newer image for alpine:3.14 [2022-03-21T03:35:02.516Z] ---> 71a2028e5025 [2022-03-21T03:35:02.516Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-03-21T03:35:02.516Z] ---> Running in f0aee5a7486f [2022-03-21T03:35:02.516Z] Removing intermediate container f0aee5a7486f [2022-03-21T03:35:02.516Z] ---> 81611cc72875 [2022-03-21T03:35:02.516Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-21T03:35:02.516Z] ---> Running in 1f57f3cfcc08 [2022-03-21T03:35:02.516Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-03-21T03:35:02.516Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-03-21T03:35:02.516Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-21T03:35:02.516Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-21T03:35:02.516Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-21T03:35:02.516Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-21T03:35:02.516Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-21T03:35:02.516Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-21T03:35:02.516Z] Executing busybox-1.33.1-r6.trigger [2022-03-21T03:35:02.516Z] OK: 8 MiB in 20 packages [2022-03-21T03:35:02.516Z] Removing intermediate container 1f57f3cfcc08 [2022-03-21T03:35:02.516Z] ---> edf58080d8b1 [2022-03-21T03:35:02.516Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-03-21T03:35:02.516Z] ---> 8ef0d4d2f1dc [2022-03-21T03:35:02.516Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-03-21T03:35:02.516Z] ---> 9cf3796db80b [2022-03-21T03:35:02.516Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-03-21T03:35:02.516Z] ---> 7bbb444dab5e [2022-03-21T03:35:02.516Z] Step 19/24 : EXPOSE 59982 [2022-03-21T03:35:02.516Z] ---> Running in 9732d0fe4cd8 [2022-03-21T03:35:02.516Z] Removing intermediate container 9732d0fe4cd8 [2022-03-21T03:35:02.516Z] ---> 2e96de748585 [2022-03-21T03:35:02.516Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-03-21T03:35:02.792Z] ---> Running in aaa340f092a1 [2022-03-21T03:35:03.068Z] Removing intermediate container aaa340f092a1 [2022-03-21T03:35:03.068Z] ---> 770f26f3e639 [2022-03-21T03:35:03.068Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-21T03:35:03.068Z] ---> Running in 943761e413c5 [2022-03-21T03:35:03.341Z] Removing intermediate container 943761e413c5 [2022-03-21T03:35:03.341Z] ---> eaf406b7bf1e [2022-03-21T03:35:03.341Z] Step 22/24 : LABEL arch=arm64 [2022-03-21T03:35:03.341Z] ---> Running in 23ca2aebb654 [2022-03-21T03:35:03.615Z] Removing intermediate container 23ca2aebb654 [2022-03-21T03:35:03.615Z] ---> 34d35f0e9192 [2022-03-21T03:35:03.615Z] Step 23/24 : LABEL git_sha=bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [2022-03-21T03:35:03.898Z] ---> Running in 3808538b6268 [2022-03-21T03:35:04.171Z] Removing intermediate container 3808538b6268 [2022-03-21T03:35:04.171Z] ---> cd6bcd04831b [2022-03-21T03:35:04.171Z] Step 24/24 : LABEL version=2.2.0-dev.10 [2022-03-21T03:35:04.171Z] ---> Running in f1d185354117 [2022-03-21T03:35:04.444Z] Removing intermediate container f1d185354117 [2022-03-21T03:35:04.444Z] ---> 45b9d7b06723 [2022-03-21T03:35:04.444Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-21T03:35:04.444Z] Successfully built 45b9d7b06723 [2022-03-21T03:35:04.444Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-21T03:35:04.550Z] provisioning config files... [2022-03-21T03:35:04.569Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/31@tmp/config5292748240401468889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-21T03:35:04.919Z] ---> docker-login.sh [2022-03-21T03:35:04.919Z] nexus3.edgexfoundry.org:10001 [2022-03-21T03:35:05.192Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:35:05.192Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:35:05.192Z] Configure a credential helper to remove this warning. See [2022-03-21T03:35:05.192Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:35:05.192Z] [2022-03-21T03:35:05.192Z] Login Succeeded [2022-03-21T03:35:05.192Z] nexus3.edgexfoundry.org:10002 [2022-03-21T03:35:05.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:35:05.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:35:05.787Z] Configure a credential helper to remove this warning. See [2022-03-21T03:35:05.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:35:05.787Z] [2022-03-21T03:35:05.787Z] Login Succeeded [2022-03-21T03:35:05.787Z] nexus3.edgexfoundry.org:10003 [2022-03-21T03:35:06.061Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:35:06.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:35:06.333Z] Configure a credential helper to remove this warning. See [2022-03-21T03:35:06.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:35:06.333Z] [2022-03-21T03:35:06.333Z] Login Succeeded [2022-03-21T03:35:06.333Z] nexus3.edgexfoundry.org:10004 [2022-03-21T03:35:06.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:35:06.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:35:06.876Z] Configure a credential helper to remove this warning. See [2022-03-21T03:35:06.876Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:35:06.876Z] [2022-03-21T03:35:06.876Z] Login Succeeded [2022-03-21T03:35:06.876Z] docker.io [2022-03-21T03:35:07.150Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T03:35:07.745Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T03:35:07.745Z] Configure a credential helper to remove this warning. See [2022-03-21T03:35:07.745Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T03:35:07.745Z] [2022-03-21T03:35:07.745Z] Login Succeeded [2022-03-21T03:35:07.745Z] ---> docker-login.sh ends [Pipeline] } [2022-03-21T03:35:07.763Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-21T03:35:07.793Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-21T03:35:07.813Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-03-21T03:35:07.813Z] bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [2022-03-21T03:35:07.813Z] latest [2022-03-21T03:35:07.813Z] 2.2.0-dev.10 [2022-03-21T03:35:07.813Z] bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364-2.2.0-dev.10 [2022-03-21T03:35:07.813Z] main [2022-03-21T03:35:07.813Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:35:08.152Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:35:08.493Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [2022-03-21T03:35:08.493Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-03-21T03:35:08.493Z] 39e1b72dff60: Preparing [2022-03-21T03:35:08.493Z] 5be21fda09b1: Preparing [2022-03-21T03:35:08.493Z] 4b9ce085da76: Preparing [2022-03-21T03:35:08.493Z] 12e7fb00b7c7: Preparing [2022-03-21T03:35:08.493Z] 49c7c6f6dc6c: Preparing [2022-03-21T03:35:08.774Z] 49c7c6f6dc6c: Layer already exists [2022-03-21T03:35:08.774Z] 5be21fda09b1: Pushed [2022-03-21T03:35:08.774Z] 39e1b72dff60: Pushed [2022-03-21T03:35:09.368Z] 12e7fb00b7c7: Pushed [2022-03-21T03:35:11.987Z] 4b9ce085da76: Pushed [2022-03-21T03:35:11.987Z] bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364: digest: sha256:20f25031a695ba16658c6d71262823e0df4303cdb4581f36a445b9f1879b3d89 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:35:12.332Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:35:12.671Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-03-21T03:35:12.672Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-03-21T03:35:12.672Z] 39e1b72dff60: Preparing [2022-03-21T03:35:12.672Z] 5be21fda09b1: Preparing [2022-03-21T03:35:12.672Z] 4b9ce085da76: Preparing [2022-03-21T03:35:12.672Z] 12e7fb00b7c7: Preparing [2022-03-21T03:35:12.672Z] 49c7c6f6dc6c: Preparing [2022-03-21T03:35:12.672Z] 49c7c6f6dc6c: Layer already exists [2022-03-21T03:35:12.672Z] 4b9ce085da76: Layer already exists [2022-03-21T03:35:12.672Z] 12e7fb00b7c7: Layer already exists [2022-03-21T03:35:12.672Z] 5be21fda09b1: Layer already exists [2022-03-21T03:35:12.672Z] 39e1b72dff60: Layer already exists [2022-03-21T03:35:12.943Z] latest: digest: sha256:20f25031a695ba16658c6d71262823e0df4303cdb4581f36a445b9f1879b3d89 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:35:13.289Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:35:13.633Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.10 [2022-03-21T03:35:13.633Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-03-21T03:35:13.633Z] 39e1b72dff60: Preparing [2022-03-21T03:35:13.633Z] 5be21fda09b1: Preparing [2022-03-21T03:35:13.633Z] 4b9ce085da76: Preparing [2022-03-21T03:35:13.633Z] 12e7fb00b7c7: Preparing [2022-03-21T03:35:13.633Z] 49c7c6f6dc6c: Preparing [2022-03-21T03:35:13.633Z] 4b9ce085da76: Layer already exists [2022-03-21T03:35:13.633Z] 39e1b72dff60: Layer already exists [2022-03-21T03:35:13.633Z] 5be21fda09b1: Layer already exists [2022-03-21T03:35:13.633Z] 49c7c6f6dc6c: Layer already exists [2022-03-21T03:35:13.633Z] 12e7fb00b7c7: Layer already exists [2022-03-21T03:35:13.903Z] 2.2.0-dev.10: digest: sha256:20f25031a695ba16658c6d71262823e0df4303cdb4581f36a445b9f1879b3d89 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:35:14.249Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364-2.2.0-dev.10 [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:35:14.585Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364-2.2.0-dev.10 [2022-03-21T03:35:14.585Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-03-21T03:35:14.585Z] 39e1b72dff60: Preparing [2022-03-21T03:35:14.585Z] 5be21fda09b1: Preparing [2022-03-21T03:35:14.585Z] 4b9ce085da76: Preparing [2022-03-21T03:35:14.585Z] 12e7fb00b7c7: Preparing [2022-03-21T03:35:14.585Z] 49c7c6f6dc6c: Preparing [2022-03-21T03:35:14.585Z] 49c7c6f6dc6c: Layer already exists [2022-03-21T03:35:14.585Z] 12e7fb00b7c7: Layer already exists [2022-03-21T03:35:14.585Z] 4b9ce085da76: Layer already exists [2022-03-21T03:35:14.585Z] 5be21fda09b1: Layer already exists [2022-03-21T03:35:14.585Z] 39e1b72dff60: Layer already exists [2022-03-21T03:35:14.857Z] bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364-2.2.0-dev.10: digest: sha256:20f25031a695ba16658c6d71262823e0df4303cdb4581f36a445b9f1879b3d89 size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:35:15.202Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:35:15.538Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-03-21T03:35:15.538Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-03-21T03:35:15.538Z] 39e1b72dff60: Preparing [2022-03-21T03:35:15.538Z] 5be21fda09b1: Preparing [2022-03-21T03:35:15.538Z] 4b9ce085da76: Preparing [2022-03-21T03:35:15.538Z] 12e7fb00b7c7: Preparing [2022-03-21T03:35:15.538Z] 49c7c6f6dc6c: Preparing [2022-03-21T03:35:15.538Z] 4b9ce085da76: Layer already exists [2022-03-21T03:35:15.538Z] 49c7c6f6dc6c: Layer already exists [2022-03-21T03:35:15.538Z] 12e7fb00b7c7: Layer already exists [2022-03-21T03:35:15.538Z] 5be21fda09b1: Layer already exists [2022-03-21T03:35:15.538Z] 39e1b72dff60: Layer already exists [2022-03-21T03:35:15.809Z] main: digest: sha256:20f25031a695ba16658c6d71262823e0df4303cdb4581f36a445b9f1879b3d89 size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-21T03:35:15.858Z] ===================================================== [Pipeline] echo [2022-03-21T03:35:15.867Z] taggedImages: [2022-03-21T03:35:15.867Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [2022-03-21T03:35:15.867Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-03-21T03:35:15.867Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.10 [2022-03-21T03:35:15.867Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364-2.2.0-dev.10 [2022-03-21T03:35:15.867Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:35:16.221Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-21T03:35:16.221Z] [2022-03-21T03:35:16.221Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:35:16.568Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-21T03:35:16.841Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-21T03:35:16.841Z] 8998bd30e6a1: Pulling fs layer [2022-03-21T03:35:16.841Z] 04944245beec: Pulling fs layer [2022-03-21T03:35:16.841Z] 699f458cf7ca: Pulling fs layer [2022-03-21T03:35:16.841Z] 765212b225bb: Pulling fs layer [2022-03-21T03:35:16.841Z] f23df028b6ca: Pulling fs layer [2022-03-21T03:35:16.841Z] d65c8cfc05b1: Pulling fs layer [2022-03-21T03:35:16.841Z] 2437ff75d9bd: Pulling fs layer [2022-03-21T03:35:16.841Z] f23df028b6ca: Waiting [2022-03-21T03:35:16.841Z] 765212b225bb: Waiting [2022-03-21T03:35:16.841Z] d65c8cfc05b1: Waiting [2022-03-21T03:35:16.841Z] 2437ff75d9bd: Waiting [2022-03-21T03:35:16.841Z] 04944245beec: Verifying Checksum [2022-03-21T03:35:16.841Z] 04944245beec: Download complete [2022-03-21T03:35:16.841Z] 765212b225bb: Verifying Checksum [2022-03-21T03:35:16.841Z] 765212b225bb: Download complete [2022-03-21T03:35:16.841Z] f23df028b6ca: Download complete [2022-03-21T03:35:16.841Z] d65c8cfc05b1: Download complete [2022-03-21T03:35:17.118Z] 699f458cf7ca: Verifying Checksum [2022-03-21T03:35:17.118Z] 699f458cf7ca: Download complete [2022-03-21T03:35:17.392Z] 8998bd30e6a1: Verifying Checksum [2022-03-21T03:35:17.392Z] 8998bd30e6a1: Download complete [2022-03-21T03:35:20.021Z] 2437ff75d9bd: Verifying Checksum [2022-03-21T03:35:20.021Z] 2437ff75d9bd: Download complete [2022-03-21T03:35:22.009Z] 8998bd30e6a1: Pull complete [2022-03-21T03:35:22.009Z] 04944245beec: Pull complete [2022-03-21T03:35:23.992Z] 699f458cf7ca: Pull complete [2022-03-21T03:35:23.992Z] 765212b225bb: Pull complete [2022-03-21T03:35:24.588Z] f23df028b6ca: Pull complete [2022-03-21T03:35:24.862Z] d65c8cfc05b1: Pull complete [2022-03-21T03:35:39.940Z] 2437ff75d9bd: Pull complete [2022-03-21T03:35:39.940Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-21T03:35:39.940Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-21T03:35:39.940Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-21T03:35:40.158Z] prd-ubuntu20.04-docker-arm64-4c-16g-8148 does not seem to be running inside a container [2022-03-21T03:35:40.248Z] $ 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/31 -v /w/workspace/device-mqtt-go/31:/w/workspace/device-mqtt-go/31:rw,z -v /w/workspace/device-mqtt-go/31@tmp:/w/workspace/device-mqtt-go/31@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 [2022-03-21T03:35:42.813Z] $ docker top 63e735fe39f78ec770d0e69ee9d1da0182df1cd7ea6e514bc199b46fd7b66756 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-21T03:35:43.783Z] ---> job-cost.sh [2022-03-21T03:35:43.783Z] lf-activate-venv: SKIPPING [2022-03-21T03:35:43.783Z] INFO: No Stack... [2022-03-21T03:35:44.066Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-21T03:35:45.052Z] INFO: Archiving Costs [Pipeline] sh [2022-03-21T03:35:45.718Z] + cat /w/workspace/device-mqtt-go/31/archives/cost.csv [2022-03-21T03:35:45.718Z] + cut -d, -f6 [Pipeline] lock [2022-03-21T03:35:45.787Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-31-stack-cost] [2022-03-21T03:35:45.793Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-31-stack-cost] did not exist. Created. [2022-03-21T03:35:45.793Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-31-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-21T03:35:46.463Z] /w/workspace/device-mqtt-go/31@tmp/durable-a6f6605c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-21T03:35:47.141Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-21T03:35:47.162Z] Warning: overwriting stash ‘stack-cost’ [2022-03-21T03:35:47.209Z] Stashed 1 file(s) [Pipeline] } [2022-03-21T03:35:47.217Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-31-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-21T03:35:47.243Z] $ docker stop --time=1 63e735fe39f78ec770d0e69ee9d1da0182df1cd7ea6e514bc199b46fd7b66756 [2022-03-21T03:35:48.737Z] $ docker rm -f 63e735fe39f78ec770d0e69ee9d1da0182df1cd7ea6e514bc199b46fd7b66756 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-03-21T03:35:49.190Z] provisioning config files... [2022-03-21T03:35:49.199Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8533860486567156848tmp [Pipeline] { [Pipeline] sh [2022-03-21T03:35:49.488Z] + set +x [2022-03-21T03:35:49.488Z] + curl -s https://codecov.io/bash [2022-03-21T03:35:49.488Z] + bash -s -- [2022-03-21T03:35:49.488Z] [2022-03-21T03:35:49.488Z] _____ _ [2022-03-21T03:35:49.488Z] / ____| | | [2022-03-21T03:35:49.488Z] | | ___ __| | ___ ___ _____ __ [2022-03-21T03:35:49.488Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-21T03:35:49.488Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-21T03:35:49.489Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-21T03:35:49.489Z] Bash-1.0.6 [2022-03-21T03:35:49.489Z] [2022-03-21T03:35:49.489Z] [2022-03-21T03:35:49.489Z] ==> git version 2.25.1 found [2022-03-21T03:35:49.489Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-03-21T03:35:49.489Z] Release-Date: 2020-01-08 [2022-03-21T03:35:49.489Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-03-21T03:35:49.489Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-21T03:35:49.489Z] ==> Jenkins CI detected. [2022-03-21T03:35:49.489Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-03-21T03:35:49.489Z] project root: . [2022-03-21T03:35:49.489Z] --> token set from env [2022-03-21T03:35:49.489Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-21T03:35:49.489Z] ==> Running gcov in . (disable via -X gcov) [2022-03-21T03:35:49.489Z] ==> Python coveragepy not found [2022-03-21T03:35:49.489Z] ==> Searching for coverage reports in: [2022-03-21T03:35:49.489Z] + . [2022-03-21T03:35:49.489Z] -> Found 1 reports [2022-03-21T03:35:49.489Z] ==> Detecting git/mercurial file structure [2022-03-21T03:35:49.489Z] ==> Reading reports [2022-03-21T03:35:49.489Z] + ./coverage.out bytes=17452 [2022-03-21T03:35:49.489Z] ==> Appending adjustments [2022-03-21T03:35:49.489Z] https://docs.codecov.io/docs/fixing-reports [2022-03-21T03:35:49.749Z] + Found adjustments [2022-03-21T03:35:49.749Z] ==> Gzipping contents [2022-03-21T03:35:49.749Z] 4.0K /tmp/codecov.YZLvUY.gz [2022-03-21T03:35:49.749Z] ==> Uploading reports [2022-03-21T03:35:49.749Z] url: https://codecov.io [2022-03-21T03:35:49.750Z] query: branch=main&commit=bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-21T03:35:49.750Z] -> Pinging Codecov [2022-03-21T03:35:49.750Z] 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=bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364&build=31&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F31%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-21T03:35:50.010Z] -> Uploading to [2022-03-21T03:35:50.010Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-21/7D719EC7BBE17E464838252E33014C33/bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364/eea27aaf-6c8e-40d6-8cd0-308dd4c9c0c3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220321T033549Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=36885f172f3a9f46afd0491eeb3235b91e4bf7d50c3aaa8f9d2ebc77f068f9f8 [2022-03-21T03:35:50.010Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-21T03:35:50.010Z] Dload Upload Total Spent Left Speed [2022-03-21T03:35:50.271Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3188 0 0 100 3188 0 13451 --:--:-- --:--:-- --:--:-- 13451 [2022-03-21T03:35:50.271Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [Pipeline] } [2022-03-21T03:35:50.281Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-03-21T03:35:50.397Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-03-21T03:35:50.407Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:35:50.697Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-21T03:35:50.697Z] [2022-03-21T03:35:50.697Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:35:51.003Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-21T03:35:51.003Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-03-21T03:35:51.003Z] 188c0c94c7c5: Pulling fs layer [2022-03-21T03:35:51.003Z] 0ef7d3d256c8: Pulling fs layer [2022-03-21T03:35:51.003Z] de9db76c5a1d: Pulling fs layer [2022-03-21T03:35:51.003Z] 0eba1c9be4d2: Pulling fs layer [2022-03-21T03:35:51.003Z] 0d57e429df01: Pulling fs layer [2022-03-21T03:35:51.003Z] 4e4be7b47b0d: Pulling fs layer [2022-03-21T03:35:51.003Z] e1f770b5df2f: Pulling fs layer [2022-03-21T03:35:51.003Z] 85a0685a4137: Pulling fs layer [2022-03-21T03:35:51.003Z] 0eba1c9be4d2: Waiting [2022-03-21T03:35:51.003Z] e1f770b5df2f: Waiting [2022-03-21T03:35:51.003Z] 85a0685a4137: Waiting [2022-03-21T03:35:51.003Z] 4e4be7b47b0d: Waiting [2022-03-21T03:35:51.003Z] de9db76c5a1d: Download complete [2022-03-21T03:35:51.003Z] 0ef7d3d256c8: Download complete [2022-03-21T03:35:51.003Z] 0d57e429df01: Verifying Checksum [2022-03-21T03:35:51.003Z] 0d57e429df01: Download complete [2022-03-21T03:35:51.003Z] 4e4be7b47b0d: Download complete [2022-03-21T03:35:51.003Z] 188c0c94c7c5: Verifying Checksum [2022-03-21T03:35:51.003Z] 188c0c94c7c5: Download complete [2022-03-21T03:35:51.264Z] e1f770b5df2f: Verifying Checksum [2022-03-21T03:35:51.264Z] e1f770b5df2f: Download complete [2022-03-21T03:35:51.264Z] 188c0c94c7c5: Pull complete [2022-03-21T03:35:51.264Z] 0ef7d3d256c8: Pull complete [2022-03-21T03:35:51.525Z] de9db76c5a1d: Pull complete [2022-03-21T03:35:51.785Z] 0eba1c9be4d2: Download complete [2022-03-21T03:35:52.044Z] 85a0685a4137: Download complete [2022-03-21T03:35:55.334Z] 0eba1c9be4d2: Pull complete [2022-03-21T03:35:55.334Z] 0d57e429df01: Pull complete [2022-03-21T03:35:55.593Z] 4e4be7b47b0d: Pull complete [2022-03-21T03:35:56.161Z] e1f770b5df2f: Pull complete [2022-03-21T03:35:59.454Z] 85a0685a4137: Pull complete [2022-03-21T03:35:59.454Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-03-21T03:35:59.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-21T03:35:59.454Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-03-21T03:35:59.521Z] prd-ubuntu20.04-docker-8c-8g-8146 does not seem to be running inside a container [2022-03-21T03:35:59.553Z] $ 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 [2022-03-21T03:36:01.685Z] $ docker top 5edb4388721bd81caff6cd7b3d998ccdf22d361f8aac2c01e6c3222457f3fc9e -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-21T03:36:01.766Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-03-21T03:36:02.045Z] + set -o pipefail [2022-03-21T03:36:02.045Z] + snyk monitor '--org=edgex-jenkins' [2022-03-21T03:36:06.245Z] [2022-03-21T03:36:06.245Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-03-21T03:36:06.245Z] [2022-03-21T03:36:06.245Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/1349062c-a90c-4f39-98c5-82023a0e81b6 [2022-03-21T03:36:06.245Z] [2022-03-21T03:36:06.245Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-03-21T03:36:06.245Z] [2022-03-21T03:36:06.245Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-03-21T03:36:06.245Z] [2022-03-21T03:36:06.245Z] [Pipeline] } [2022-03-21T03:36:06.262Z] $ docker stop --time=1 5edb4388721bd81caff6cd7b3d998ccdf22d361f8aac2c01e6c3222457f3fc9e [2022-03-21T03:36:08.038Z] $ docker rm -f 5edb4388721bd81caff6cd7b3d998ccdf22d361f8aac2c01e6c3222457f3fc9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-21T03:36:08.779Z] + git log --format=format:%s -1 bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 [Pipeline] sh [2022-03-21T03:36:09.075Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-21T03:36:09.075Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:36:09.374Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-21T03:36:09.374Z] . [Pipeline] withDockerContainer [2022-03-21T03:36:09.447Z] prd-ubuntu20.04-docker-8c-8g-8146 does not seem to be running inside a container [2022-03-21T03:36:09.489Z] $ 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 [2022-03-21T03:36:09.951Z] $ docker top 4dba62f010b157310bd5366b11a8b7e2bfeb5866cfbe0c2757c13153bf19b368 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-21T03:36:10.050Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-21T03:36:10.050Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-21T03:36:10.184Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-21T03:36:10.190Z] $ docker exec 4dba62f010b157310bd5366b11a8b7e2bfeb5866cfbe0c2757c13153bf19b368 ssh-agent [2022-03-21T03:36:10.322Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbEfmCF/agent.15 [2022-03-21T03:36:10.322Z] SSH_AGENT_PID=21 [2022-03-21T03:36:10.328Z] Running ssh-add (command line suppressed) [2022-03-21T03:36:10.455Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2378569573134123530.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2378569573134123530.key) [2022-03-21T03:36:10.469Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-21T03:36:10.762Z] + git semver tag [2022-03-21T03:36:10.762Z] # -> Open(): unable to determine branch for HEAD [2022-03-21T03:36:10.762Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-03-21T03:36:10.762Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-03-21T03:36:10.762Z] # $SEMVER_REMOTE_NAME = origin [2022-03-21T03:36:10.762Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-21T03:36:10.762Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-21T03:36:10.762Z] # $SEMVER_BRANCH = main [2022-03-21T03:36:10.762Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-03-21T03:36:10.762Z] # bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 HEAD [2022-03-21T03:36:10.762Z] # -> Force: false [2022-03-21T03:36:10.762Z] # 944c39c23e3435f2a4746f6b956ea16ca154df4d refs/tags/v2.2.0-dev.10 [Pipeline] } [2022-03-21T03:36:10.777Z] $ docker exec --env ******** --env ******** 4dba62f010b157310bd5366b11a8b7e2bfeb5866cfbe0c2757c13153bf19b368 ssh-agent -k [2022-03-21T03:36:10.894Z] unset SSH_AUTH_SOCK; [2022-03-21T03:36:10.894Z] unset SSH_AGENT_PID; [2022-03-21T03:36:10.894Z] echo Agent pid 21 killed; [2022-03-21T03:36:10.903Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-21T03:36:11.211Z] + git semver [Pipeline] } [2022-03-21T03:36:11.231Z] $ docker stop --time=1 4dba62f010b157310bd5366b11a8b7e2bfeb5866cfbe0c2757c13153bf19b368 [2022-03-21T03:36:12.550Z] $ docker rm -f 4dba62f010b157310bd5366b11a8b7e2bfeb5866cfbe0c2757c13153bf19b368 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:36:12.941Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-21T03:36:12.941Z] [2022-03-21T03:36:12.941Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:36:13.246Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-21T03:36:13.247Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-03-21T03:36:13.247Z] ab5ef0e58194: Pulling fs layer [2022-03-21T03:36:13.247Z] 9712f1f96733: Pulling fs layer [2022-03-21T03:36:13.247Z] 63f879dbbcfc: Pulling fs layer [2022-03-21T03:36:13.247Z] 0d9ebad4ef96: Pulling fs layer [2022-03-21T03:36:13.247Z] e9a5061849ea: Pulling fs layer [2022-03-21T03:36:13.247Z] d747dcd14b5f: Pulling fs layer [2022-03-21T03:36:13.247Z] 2de7ff778b66: Pulling fs layer [2022-03-21T03:36:13.247Z] e9a5061849ea: Waiting [2022-03-21T03:36:13.247Z] d747dcd14b5f: Waiting [2022-03-21T03:36:13.247Z] 0d9ebad4ef96: Waiting [2022-03-21T03:36:13.247Z] 2de7ff778b66: Waiting [2022-03-21T03:36:13.247Z] 9712f1f96733: Download complete [2022-03-21T03:36:13.510Z] 63f879dbbcfc: Verifying Checksum [2022-03-21T03:36:13.510Z] 63f879dbbcfc: Download complete [2022-03-21T03:36:13.769Z] e9a5061849ea: Verifying Checksum [2022-03-21T03:36:13.769Z] e9a5061849ea: Download complete [2022-03-21T03:36:13.769Z] 0d9ebad4ef96: Verifying Checksum [2022-03-21T03:36:13.770Z] 0d9ebad4ef96: Download complete [2022-03-21T03:36:13.770Z] d747dcd14b5f: Verifying Checksum [2022-03-21T03:36:13.770Z] d747dcd14b5f: Download complete [2022-03-21T03:36:13.770Z] ab5ef0e58194: Verifying Checksum [2022-03-21T03:36:13.770Z] ab5ef0e58194: Download complete [2022-03-21T03:36:13.770Z] 2de7ff778b66: Verifying Checksum [2022-03-21T03:36:13.770Z] 2de7ff778b66: Download complete [2022-03-21T03:36:17.058Z] ab5ef0e58194: Pull complete [2022-03-21T03:36:17.058Z] 9712f1f96733: Pull complete [2022-03-21T03:36:17.630Z] 63f879dbbcfc: Pull complete [2022-03-21T03:36:21.825Z] 0d9ebad4ef96: Pull complete [2022-03-21T03:36:21.825Z] e9a5061849ea: Pull complete [2022-03-21T03:36:21.825Z] d747dcd14b5f: Pull complete [2022-03-21T03:36:23.213Z] 2de7ff778b66: Pull complete [2022-03-21T03:36:23.213Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-03-21T03:36:23.213Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-21T03:36:23.213Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-03-21T03:36:23.336Z] prd-ubuntu20.04-docker-8c-8g-8146 does not seem to be running inside a container [2022-03-21T03:36:23.380Z] $ 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 [2022-03-21T03:36:25.870Z] $ docker top bdc3cbd9e14e9866fa0bf1e5f095d6cbabcbea0a2d677fbb3b0f691350bd7ad6 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-03-21T03:36:25.955Z] provisioning config files... [2022-03-21T03:36:25.966Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3888551420950628419tmp [2022-03-21T03:36:25.977Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4627335593654109231tmp [2022-03-21T03:36:25.989Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3911503888682069592tmp [Pipeline] { [Pipeline] echo [2022-03-21T03:36:26.004Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T03:36:26.290Z] ---> sigul-configuration.sh [2022-03-21T03:36:26.290Z] gpg: directory `/root/.gnupg' created [2022-03-21T03:36:26.290Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-03-21T03:36:26.290Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-03-21T03:36:26.290Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-03-21T03:36:26.290Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-03-21T03:36:26.290Z] gpg: CAST5 encrypted data [2022-03-21T03:36:26.290Z] gpg: encrypted with 1 passphrase [2022-03-21T03:36:26.290Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-03-21T03:36:26.581Z] + mkdir /home/jenkins [2022-03-21T03:36:26.581Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-03-21T03:36:26.870Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-03-21T03:36:26.880Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T03:36:27.166Z] ---> sigul-install.sh [2022-03-21T03:36:27.166Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-03-21T03:36:27.457Z] + git tag --list [2022-03-21T03:36:27.457Z] 0.7.1 [2022-03-21T03:36:27.457Z] v1.0.0 [2022-03-21T03:36:27.457Z] v1.1.0 [2022-03-21T03:36:27.457Z] v1.1.1 [2022-03-21T03:36:27.457Z] v1.2.2 [2022-03-21T03:36:27.457Z] v1.3.0 [2022-03-21T03:36:27.457Z] v1.3.1 [2022-03-21T03:36:27.457Z] v2.0.0 [2022-03-21T03:36:27.457Z] v2.0.1-dev.1 [2022-03-21T03:36:27.457Z] v2.0.1-dev.10 [2022-03-21T03:36:27.457Z] v2.0.1-dev.11 [2022-03-21T03:36:27.457Z] v2.0.1-dev.12 [2022-03-21T03:36:27.457Z] v2.0.1-dev.13 [2022-03-21T03:36:27.457Z] v2.0.1-dev.14 [2022-03-21T03:36:27.457Z] v2.0.1-dev.15 [2022-03-21T03:36:27.457Z] v2.0.1-dev.16 [2022-03-21T03:36:27.457Z] v2.0.1-dev.17 [2022-03-21T03:36:27.457Z] v2.0.1-dev.2 [2022-03-21T03:36:27.457Z] v2.0.1-dev.3 [2022-03-21T03:36:27.457Z] v2.0.1-dev.4 [2022-03-21T03:36:27.457Z] v2.0.1-dev.5 [2022-03-21T03:36:27.457Z] v2.0.1-dev.6 [2022-03-21T03:36:27.457Z] v2.0.1-dev.7 [2022-03-21T03:36:27.457Z] v2.0.1-dev.8 [2022-03-21T03:36:27.457Z] v2.0.1-dev.9 [2022-03-21T03:36:27.457Z] v2.1.0 [2022-03-21T03:36:27.457Z] v2.2.0-dev.1 [2022-03-21T03:36:27.457Z] v2.2.0-dev.10 [2022-03-21T03:36:27.457Z] v2.2.0-dev.2 [2022-03-21T03:36:27.457Z] v2.2.0-dev.3 [2022-03-21T03:36:27.457Z] v2.2.0-dev.4 [2022-03-21T03:36:27.457Z] v2.2.0-dev.5 [2022-03-21T03:36:27.457Z] v2.2.0-dev.6 [2022-03-21T03:36:27.457Z] v2.2.0-dev.7 [2022-03-21T03:36:27.457Z] v2.2.0-dev.8 [2022-03-21T03:36:27.457Z] v2.2.0-dev.9 [Pipeline] sh [2022-03-21T03:36:27.747Z] + lftools sign git-tag v2.2.0-dev.10 [2022-03-21T03:36:28.319Z] Signing Git tag with Sigul... [2022-03-21T03:36:28.319Z] Signing v2.2.0-dev.10 [Pipeline] echo [2022-03-21T03:36:28.593Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T03:36:28.883Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-03-21T03:36:28.891Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-03-21T03:36:28.914Z] $ docker stop --time=1 bdc3cbd9e14e9866fa0bf1e5f095d6cbabcbea0a2d677fbb3b0f691350bd7ad6 [2022-03-21T03:36:30.257Z] $ docker rm -f bdc3cbd9e14e9866fa0bf1e5f095d6cbabcbea0a2d677fbb3b0f691350bd7ad6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-03-21T03:36:30.675Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-21T03:36:30.675Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:36:30.976Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-21T03:36:30.976Z] . [Pipeline] withDockerContainer [2022-03-21T03:36:31.049Z] prd-ubuntu20.04-docker-8c-8g-8146 does not seem to be running inside a container [2022-03-21T03:36:31.086Z] $ 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 [2022-03-21T03:36:31.477Z] $ docker top 69b2b61a71e767fe7c84af46d18546f788cb664426e74e2d4924a44e8ecc495d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-21T03:36:31.575Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-21T03:36:31.575Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-21T03:36:31.712Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-21T03:36:31.718Z] $ docker exec 69b2b61a71e767fe7c84af46d18546f788cb664426e74e2d4924a44e8ecc495d ssh-agent [2022-03-21T03:36:31.842Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgnBgfn/agent.13 [2022-03-21T03:36:31.842Z] SSH_AGENT_PID=19 [2022-03-21T03:36:31.848Z] Running ssh-add (command line suppressed) [2022-03-21T03:36:31.966Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6462659559037030818.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6462659559037030818.key) [2022-03-21T03:36:31.980Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-21T03:36:32.272Z] + git semver bump pre [2022-03-21T03:36:32.272Z] # -> Open(): unable to determine branch for HEAD [2022-03-21T03:36:32.272Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-03-21T03:36:32.272Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-03-21T03:36:32.272Z] # $SEMVER_REMOTE_NAME = origin [2022-03-21T03:36:32.272Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-21T03:36:32.272Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-21T03:36:32.272Z] # $SEMVER_BRANCH = main [2022-03-21T03:36:32.272Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-03-21T03:36:32.272Z] 2.2.0-dev.11 [Pipeline] } [2022-03-21T03:36:32.287Z] $ docker exec --env ******** --env ******** 69b2b61a71e767fe7c84af46d18546f788cb664426e74e2d4924a44e8ecc495d ssh-agent -k [2022-03-21T03:36:32.408Z] unset SSH_AUTH_SOCK; [2022-03-21T03:36:32.408Z] unset SSH_AGENT_PID; [2022-03-21T03:36:32.408Z] echo Agent pid 19 killed; [2022-03-21T03:36:32.417Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-21T03:36:32.726Z] + git semver [Pipeline] } [2022-03-21T03:36:32.748Z] $ docker stop --time=1 69b2b61a71e767fe7c84af46d18546f788cb664426e74e2d4924a44e8ecc495d [2022-03-21T03:36:34.080Z] $ docker rm -f 69b2b61a71e767fe7c84af46d18546f788cb664426e74e2d4924a44e8ecc495d [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-21T03:36:34.436Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-21T03:36:34.436Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:36:34.735Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-21T03:36:34.735Z] . [Pipeline] withDockerContainer [2022-03-21T03:36:34.808Z] prd-ubuntu20.04-docker-8c-8g-8146 does not seem to be running inside a container [2022-03-21T03:36:34.846Z] $ 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 [2022-03-21T03:36:35.228Z] $ docker top ac534a2e27c76b743614781096208b5fd51fbf4998922208ed9520725ff460d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-21T03:36:35.323Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-21T03:36:35.323Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-21T03:36:35.465Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-21T03:36:35.472Z] $ docker exec ac534a2e27c76b743614781096208b5fd51fbf4998922208ed9520725ff460d6 ssh-agent [2022-03-21T03:36:35.600Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBoMIBJ/agent.14 [2022-03-21T03:36:35.600Z] SSH_AGENT_PID=20 [2022-03-21T03:36:35.606Z] Running ssh-add (command line suppressed) [2022-03-21T03:36:35.723Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2991107188861247843.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2991107188861247843.key) [2022-03-21T03:36:35.736Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-21T03:36:36.038Z] + git semver push [2022-03-21T03:36:36.038Z] # -> Open(): unable to determine branch for HEAD [2022-03-21T03:36:36.038Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-03-21T03:36:36.038Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-03-21T03:36:36.038Z] # $SEMVER_REMOTE_NAME = origin [2022-03-21T03:36:36.038Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-21T03:36:36.038Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-21T03:36:36.038Z] # $SEMVER_BRANCH = main [2022-03-21T03:36:36.038Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2022-03-21T03:36:37.968Z] $ docker exec --env ******** --env ******** ac534a2e27c76b743614781096208b5fd51fbf4998922208ed9520725ff460d6 ssh-agent -k [2022-03-21T03:36:38.093Z] unset SSH_AUTH_SOCK; [2022-03-21T03:36:38.093Z] unset SSH_AGENT_PID; [2022-03-21T03:36:38.094Z] echo Agent pid 20 killed; [2022-03-21T03:36:38.106Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-21T03:36:38.418Z] + git semver [Pipeline] } [2022-03-21T03:36:38.435Z] $ docker stop --time=1 ac534a2e27c76b743614781096208b5fd51fbf4998922208ed9520725ff460d6 [2022-03-21T03:36:39.720Z] $ docker rm -f ac534a2e27c76b743614781096208b5fd51fbf4998922208ed9520725ff460d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-03-21T03:36:40.303Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2022-03-21T03:36:40.303Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-03-21T03:36:40.303Z] total 16 [2022-03-21T03:36:40.303Z] drwxr-xr-x 3 root root 4096 Mar 21 03:29 . [2022-03-21T03:36:40.303Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 03:36 .. [2022-03-21T03:36:40.303Z] drwxr-xr-x 2 root root 4096 Mar 21 03:29 cost [2022-03-21T03:36:40.303Z] -rw-r--r-- 1 root root 84 Mar 21 03:29 cost.csv [2022-03-21T03:36:40.303Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-03-21T03:36:40.303Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-03-21T03:36:40.303Z] total 16 [2022-03-21T03:36:40.303Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 03:29 . [2022-03-21T03:36:40.303Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 03:36 .. [2022-03-21T03:36:40.303Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 03:29 cost [2022-03-21T03:36:40.303Z] -rw-r--r-- 1 jenkins jenkins 84 Mar 21 03:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-21T03:36:40.599Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T03:36:41.467Z] ---> package-listing.sh [2022-03-21T03:36:41.467Z] ++ facter osfamily [2022-03-21T03:36:41.467Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-21T03:36:41.729Z] + OS_FAMILY=debian [2022-03-21T03:36:41.729Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-03-21T03:36:41.729Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-21T03:36:41.729Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-21T03:36:41.729Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-21T03:36:41.729Z] + PACKAGES=/tmp/packages_start.txt [2022-03-21T03:36:41.729Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-03-21T03:36:41.729Z] + PACKAGES=/tmp/packages_end.txt [2022-03-21T03:36:41.729Z] + case "${OS_FAMILY}" in [2022-03-21T03:36:41.729Z] + dpkg -l [2022-03-21T03:36:41.729Z] + grep '^ii' [2022-03-21T03:36:41.729Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-21T03:36:41.729Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-21T03:36:41.729Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-21T03:36:41.729Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-03-21T03:36:41.729Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-03-21T03:36:41.729Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo [2022-03-21T03:36:41.743Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-21T03:36:42.027Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-21T03:36:42.591Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-21T03:36:42.591Z] . [Pipeline] withDockerContainer [2022-03-21T03:36:42.751Z] prd-ubuntu20.04-docker-8c-8g-8146 does not seem to be running inside a container [2022-03-21T03:36:42.786Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -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 [2022-03-21T03:36:43.061Z] $ docker top 75cbf56a9cee3d3f14b45c2ee1872c1cfe2bb5cf62507d9d0e4f9c5e6f6663fd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-21T03:36:43.427Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-21T03:36:43.717Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-21T03:36:44.007Z] + ls /var/log/sa-host [2022-03-21T03:36:44.007Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-21T03:36:44.100Z] provisioning config files... [2022-03-21T03:36:44.108Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2707067274649296149tmp [Pipeline] { [Pipeline] echo [2022-03-21T03:36:44.125Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T03:36:44.415Z] ---> create-netrc.sh [Pipeline] } [2022-03-21T03:36:44.423Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-21T03:36:44.763Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-21T03:36:44.774Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T03:36:45.064Z] ---> sudo-logs.sh [2022-03-21T03:36:45.064Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-21T03:36:45.088Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T03:36:45.378Z] ---> job-cost.sh [2022-03-21T03:36:45.378Z] lf-activate-venv: SKIPPING [2022-03-21T03:36:45.378Z] DEBUG: total: 0.2199999988079071 [2022-03-21T03:36:45.378Z] INFO: Retrieving Stack Cost... [2022-03-21T03:36:45.951Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-21T03:36:46.213Z] INFO: Archiving Costs [Pipeline] echo [2022-03-21T03:36:46.230Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T03:36:46.517Z] ---> logs-deploy.sh [2022-03-21T03:36:46.517Z] lf-activate-venv: SKIPPING [2022-03-21T03:36:46.517Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/31 [2022-03-21T03:36:46.517Z] INFO: archiving workspace using pattern(s): [2022-03-21T03:36:47.457Z] Archives upload complete. [2022-03-21T03:36:47.457Z] INFO: archiving logs to Nexus