Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9225b543fa42775eff825b7d98be0ff13d95165d 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-ssh9202807060778845439.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-ssh10433364331443691531.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-ssh10027227940306233957.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-ssh8392058924307254540.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-ssh9296084622258289076.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8170 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 9225b543fa42775eff825b7d98be0ff13d95165d (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 9225b543fa42775eff825b7d98be0ff13d95165d # timeout=10 Commit message: "test(snap): Add Github action to test the snap (#343)" > git rev-list --no-walk bfd01e0ea2b12fdadde7fd1cc757a7c7bd181364 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-21T09:30:10.521Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-21T09:30:10.570Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-21T09:30:10.584Z] ========================================================= [2022-03-21T09:30:10.584Z] EdgeX Global Pipelines Version Info [2022-03-21T09:30:10.585Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-03-21T09:30:11.382Z] ------------------- [2022-03-21T09:30:11.382Z] stable info: [2022-03-21T09:30:11.382Z] ------------------- [2022-03-21T09:30:11.382Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-21T09:30:11.382Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-21T09:30:11.382Z] Message: update stable to v1.0.221 [2022-03-21T09:30:11.957Z] ------------------- [2022-03-21T09:30:11.957Z] experimental info: [2022-03-21T09:30:11.957Z] ------------------- [2022-03-21T09:30:11.957Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-21T09:30:11.957Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-21T09:30:11.957Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-21T09:30:12.084Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-03-21T09:30:12.096Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-03-21T09:30:12.109Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-21T09:30:12.120Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-21T09:30:12.132Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-21T09:30:12.146Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-21T09:30:12.164Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-21T09:30:12.176Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-03-21T09:30:12.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-21T09:30:12.202Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-21T09:30:12.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-21T09:30:12.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-03-21T09:30:12.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-21T09:30:12.259Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-21T09:30:12.276Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-21T09:30:12.295Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-03-21T09:30:12.313Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-21T09:30:12.332Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-21T09:30:12.349Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-21T09:30:12.364Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = true [Pipeline] echo [2022-03-21T09:30:12.383Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-03-21T09:30:12.403Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-03-21T09:30:12.418Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-21T09:30:12.432Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-21T09:30:12.447Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-21T09:30:12.463Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-21T09:30:12.478Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-03-21T09:30:12.489Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-03-21T09:30:12.503Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-03-21T09:30:12.521Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9225b543fa42775eff825b7d98be0ff13d95165d [Pipeline] echo [2022-03-21T09:30:12.538Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9225b54 [Pipeline] echo [2022-03-21T09:30:12.549Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-21T09:30:12.593Z] provisioning config files... [2022-03-21T09:30:12.607Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6084408902725245784tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-21T09:30:12.917Z] ---> docker-login.sh [2022-03-21T09:30:12.917Z] nexus3.edgexfoundry.org:10001 [2022-03-21T09:30:13.179Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:30:13.179Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:30:13.179Z] Configure a credential helper to remove this warning. See [2022-03-21T09:30:13.179Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:30:13.179Z] [2022-03-21T09:30:13.179Z] Login Succeeded [2022-03-21T09:30:13.179Z] nexus3.edgexfoundry.org:10002 [2022-03-21T09:30:13.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:30:13.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:30:13.441Z] Configure a credential helper to remove this warning. See [2022-03-21T09:30:13.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:30:13.441Z] [2022-03-21T09:30:13.441Z] Login Succeeded [2022-03-21T09:30:13.441Z] nexus3.edgexfoundry.org:10003 [2022-03-21T09:30:13.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:30:13.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:30:13.703Z] Configure a credential helper to remove this warning. See [2022-03-21T09:30:13.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:30:13.703Z] [2022-03-21T09:30:13.703Z] Login Succeeded [2022-03-21T09:30:13.703Z] nexus3.edgexfoundry.org:10004 [2022-03-21T09:30:13.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:30:13.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:30:13.703Z] Configure a credential helper to remove this warning. See [2022-03-21T09:30:13.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:30:13.703Z] [2022-03-21T09:30:13.703Z] Login Succeeded [2022-03-21T09:30:13.703Z] docker.io [2022-03-21T09:30:13.966Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:30:14.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:30:14.228Z] Configure a credential helper to remove this warning. See [2022-03-21T09:30:14.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:30:14.228Z] [2022-03-21T09:30:14.228Z] Login Succeeded [2022-03-21T09:30:14.228Z] ---> docker-login.sh ends [Pipeline] } [2022-03-21T09:30:14.237Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-21T09:30:14.635Z] + git rev-list -1 --merges 9225b543fa42775eff825b7d98be0ff13d95165d~1..9225b543fa42775eff825b7d98be0ff13d95165d [Pipeline] echo [2022-03-21T09:30:14.761Z] -----------> git rev-list -1 --merges 9225b543fa42775eff825b7d98be0ff13d95165d~1..9225b543fa42775eff825b7d98be0ff13d95165d 9225b543fa42775eff825b7d98be0ff13d95165d [false] [Pipeline] sh [2022-03-21T09:30:15.061Z] + git log --format=format:%s -1 9225b543fa42775eff825b7d98be0ff13d95165d [Pipeline] echo [2022-03-21T09:30:15.079Z] ========================================================= [2022-03-21T09:30:15.079Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-21T09:30:15.079Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-21T09:30:15.427Z] + git log --format=format:%s -1 9225b543fa42775eff825b7d98be0ff13d95165d [Pipeline] echo [2022-03-21T09:30:15.442Z] [semverPrep] GIT_COMMIT: 9225b543fa42775eff825b7d98be0ff13d95165d, Commit Message: test(snap): Add Github action to test the snap (#343) [Pipeline] echo [2022-03-21T09:30:15.453Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-21T09:30:15.877Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-21T09:30:15.877Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-21T09:30:15.877Z] + [ -e /tmp/ssh_known_hosts ] [2022-03-21T09:30:15.877Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-21T09:30:15.877Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-03-21T09:30:15.877Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-21T09:30:15.877Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:30:16.309Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-21T09:30:16.309Z] [2022-03-21T09:30:16.309Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:30:16.624Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-21T09:30:16.625Z] latest: Pulling from edgex-devops/git-semver [2022-03-21T09:30:16.625Z] a0d0a0d46f8b: Pulling fs layer [2022-03-21T09:30:16.625Z] 3e5f54012d9b: Pulling fs layer [2022-03-21T09:30:16.625Z] 4c7163046ea9: Pulling fs layer [2022-03-21T09:30:16.625Z] 0c2d73faf560: Pulling fs layer [2022-03-21T09:30:16.625Z] 0c2d73faf560: Waiting [2022-03-21T09:30:16.625Z] 3e5f54012d9b: Verifying Checksum [2022-03-21T09:30:16.625Z] 3e5f54012d9b: Download complete [2022-03-21T09:30:16.625Z] a0d0a0d46f8b: Verifying Checksum [2022-03-21T09:30:16.625Z] a0d0a0d46f8b: Download complete [2022-03-21T09:30:16.625Z] 0c2d73faf560: Verifying Checksum [2022-03-21T09:30:16.625Z] 0c2d73faf560: Download complete [2022-03-21T09:30:16.625Z] 4c7163046ea9: Download complete [2022-03-21T09:30:16.886Z] a0d0a0d46f8b: Pull complete [2022-03-21T09:30:16.886Z] 3e5f54012d9b: Pull complete [2022-03-21T09:30:17.145Z] 4c7163046ea9: Pull complete [2022-03-21T09:30:17.406Z] 0c2d73faf560: Pull complete [2022-03-21T09:30:17.406Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-21T09:30:17.406Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-21T09:30:17.406Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-21T09:30:17.489Z] prd-ubuntu20.04-docker-8c-8g-8170 does not seem to be running inside a container [2022-03-21T09:30:17.524Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-21T09:30:18.190Z] $ docker top ad3aa8f2df636a1d219d04b21d6555e48d433cf3335605e06f8ed603f5d999a4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-21T09:30:18.312Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-21T09:30:18.312Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-21T09:30:18.456Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-21T09:30:18.455Z] $ docker exec ad3aa8f2df636a1d219d04b21d6555e48d433cf3335605e06f8ed603f5d999a4 ssh-agent [2022-03-21T09:30:18.583Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfHObIa/agent.14 [2022-03-21T09:30:18.583Z] SSH_AGENT_PID=20 [2022-03-21T09:30:18.592Z] Running ssh-add (command line suppressed) [2022-03-21T09:30:18.715Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7114834509189500559.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7114834509189500559.key) [2022-03-21T09:30:18.736Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-21T09:30:19.034Z] + git tag --points-at HEAD [Pipeline] } [2022-03-21T09:30:19.046Z] $ docker exec --env ******** --env ******** ad3aa8f2df636a1d219d04b21d6555e48d433cf3335605e06f8ed603f5d999a4 ssh-agent -k [2022-03-21T09:30:19.162Z] unset SSH_AUTH_SOCK; [2022-03-21T09:30:19.163Z] unset SSH_AGENT_PID; [2022-03-21T09:30:19.164Z] echo Agent pid 20 killed; [2022-03-21T09:30:19.180Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-21T09:30:19.206Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-21T09:30:19.206Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-21T09:30:19.331Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-21T09:30:19.329Z] $ docker exec ad3aa8f2df636a1d219d04b21d6555e48d433cf3335605e06f8ed603f5d999a4 ssh-agent [2022-03-21T09:30:19.464Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoGIOpJ/agent.52 [2022-03-21T09:30:19.464Z] SSH_AGENT_PID=58 [2022-03-21T09:30:19.470Z] Running ssh-add (command line suppressed) [2022-03-21T09:30:19.605Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1209874286808818311.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1209874286808818311.key) [2022-03-21T09:30:19.626Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-21T09:30:19.924Z] + git semver init [2022-03-21T09:30:19.924Z] # -> Open(): unable to determine branch for HEAD [2022-03-21T09:30:19.924Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-03-21T09:30:19.924Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-03-21T09:30:19.924Z] # $SEMVER_REMOTE_NAME = origin [2022-03-21T09:30:19.924Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-21T09:30:19.924Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-21T09:30:19.924Z] # $SEMVER_BRANCH = main [2022-03-21T09:30:19.924Z] # $SEMVER_TEMP = /tmp/semver-701068659 [2022-03-21T09:30:19.924Z] # git clone --branch semver git@github.com:edgexfoundry/device-mqtt-go.git $SEMVER_TEMP [2022-03-21T09:30:20.872Z] # '/tmp/semver-701068659' -> '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver' [2022-03-21T09:30:20.872Z] # -> Force: false [2022-03-21T09:30:20.872Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2022-03-21T09:30:20.881Z] $ docker exec --env ******** --env ******** ad3aa8f2df636a1d219d04b21d6555e48d433cf3335605e06f8ed603f5d999a4 ssh-agent -k [2022-03-21T09:30:20.995Z] unset SSH_AUTH_SOCK; [2022-03-21T09:30:20.995Z] unset SSH_AGENT_PID; [2022-03-21T09:30:20.995Z] echo Agent pid 58 killed; [2022-03-21T09:30:21.012Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-21T09:30:21.318Z] + git semver [Pipeline] } [2022-03-21T09:30:21.330Z] $ docker stop --time=1 ad3aa8f2df636a1d219d04b21d6555e48d433cf3335605e06f8ed603f5d999a4 [2022-03-21T09:30:22.708Z] $ docker rm -f ad3aa8f2df636a1d219d04b21d6555e48d433cf3335605e06f8ed603f5d999a4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-21T09:30:23.073Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-21T09:30:23.330Z] Stashed 1 file(s) [Pipeline] echo [2022-03-21T09:30:23.334Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.11 [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-21T09:30:23.506Z] provisioning config files... [2022-03-21T09:30:23.518Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6350308410850308529tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-21T09:30:23.828Z] ---> docker-login.sh [2022-03-21T09:30:23.828Z] nexus3.edgexfoundry.org:10001 [2022-03-21T09:30:23.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:30:23.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:30:23.828Z] Configure a credential helper to remove this warning. See [2022-03-21T09:30:23.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:30:23.828Z] [2022-03-21T09:30:23.828Z] Login Succeeded [2022-03-21T09:30:23.828Z] nexus3.edgexfoundry.org:10002 [2022-03-21T09:30:23.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:30:24.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:30:24.088Z] Configure a credential helper to remove this warning. See [2022-03-21T09:30:24.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:30:24.088Z] [2022-03-21T09:30:24.088Z] Login Succeeded [2022-03-21T09:30:24.088Z] nexus3.edgexfoundry.org:10003 [2022-03-21T09:30:24.088Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:30:24.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:30:24.088Z] Configure a credential helper to remove this warning. See [2022-03-21T09:30:24.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:30:24.088Z] [2022-03-21T09:30:24.088Z] Login Succeeded [2022-03-21T09:30:24.088Z] nexus3.edgexfoundry.org:10004 [2022-03-21T09:30:24.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:30:24.349Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:30:24.349Z] Configure a credential helper to remove this warning. See [2022-03-21T09:30:24.349Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:30:24.349Z] [2022-03-21T09:30:24.349Z] Login Succeeded [2022-03-21T09:30:24.349Z] docker.io [2022-03-21T09:30:24.349Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:30:24.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:30:24.612Z] Configure a credential helper to remove this warning. See [2022-03-21T09:30:24.612Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:30:24.612Z] [2022-03-21T09:30:24.612Z] Login Succeeded [2022-03-21T09:30:24.612Z] ---> docker-login.sh ends [Pipeline] } [2022-03-21T09:30:24.621Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-21T09:30:24.717Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-21T09:30:24.730Z] ========================================================= [2022-03-21T09:30:24.730Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-21T09:30:24.730Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:30:25.050Z] + 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-21T09:30:25.050Z] Sending build context to Docker daemon 5.751MB [2022-03-21T09:30:25.050Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-21T09:30:25.050Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-21T09:30:25.050Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-21T09:30:25.050Z] 59bf1c3509f3: Pulling fs layer [2022-03-21T09:30:25.050Z] 666ba61612fd: Pulling fs layer [2022-03-21T09:30:25.050Z] 8ed8ca486205: Pulling fs layer [2022-03-21T09:30:25.050Z] 4fe6c5a15a65: Pulling fs layer [2022-03-21T09:30:25.050Z] 22a0e8bec74d: Pulling fs layer [2022-03-21T09:30:25.050Z] 640e595b4fbd: Pulling fs layer [2022-03-21T09:30:25.050Z] 763cafe07f6e: Pulling fs layer [2022-03-21T09:30:25.050Z] 0c0b528cf693: Pulling fs layer [2022-03-21T09:30:25.050Z] 10935f4eaf8b: Pulling fs layer [2022-03-21T09:30:25.050Z] 640e595b4fbd: Waiting [2022-03-21T09:30:25.050Z] 10935f4eaf8b: Waiting [2022-03-21T09:30:25.050Z] 763cafe07f6e: Waiting [2022-03-21T09:30:25.050Z] 0c0b528cf693: Waiting [2022-03-21T09:30:25.050Z] 4fe6c5a15a65: Waiting [2022-03-21T09:30:25.050Z] 8ed8ca486205: Download complete [2022-03-21T09:30:25.050Z] 666ba61612fd: Download complete [2022-03-21T09:30:25.311Z] 22a0e8bec74d: Verifying Checksum [2022-03-21T09:30:25.311Z] 22a0e8bec74d: Download complete [2022-03-21T09:30:25.311Z] 59bf1c3509f3: Verifying Checksum [2022-03-21T09:30:25.311Z] 59bf1c3509f3: Download complete [2022-03-21T09:30:25.311Z] 763cafe07f6e: Verifying Checksum [2022-03-21T09:30:25.311Z] 763cafe07f6e: Download complete [2022-03-21T09:30:25.311Z] 640e595b4fbd: Download complete [2022-03-21T09:30:25.311Z] 0c0b528cf693: Verifying Checksum [2022-03-21T09:30:25.311Z] 0c0b528cf693: Download complete [2022-03-21T09:30:25.311Z] 59bf1c3509f3: Pull complete [2022-03-21T09:30:25.576Z] 666ba61612fd: Pull complete [2022-03-21T09:30:25.576Z] 8ed8ca486205: Pull complete [2022-03-21T09:30:25.838Z] 10935f4eaf8b: Verifying Checksum [2022-03-21T09:30:26.105Z] 4fe6c5a15a65: Verifying Checksum [2022-03-21T09:30:26.105Z] 4fe6c5a15a65: Download complete [2022-03-21T09:30:30.307Z] 4fe6c5a15a65: Pull complete [2022-03-21T09:30:30.307Z] 22a0e8bec74d: Pull complete [2022-03-21T09:30:30.307Z] 640e595b4fbd: Pull complete [2022-03-21T09:30:30.307Z] 763cafe07f6e: Pull complete [2022-03-21T09:30:30.568Z] 0c0b528cf693: Pull complete [2022-03-21T09:30:33.107Z] 10935f4eaf8b: Pull complete [2022-03-21T09:30:33.107Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-21T09:30:33.107Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-21T09:30:33.107Z] ---> 99d49a6021b9 [2022-03-21T09:30:33.107Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-21T09:30:34.494Z] ---> Running in 5d43445209af [2022-03-21T09:30:34.494Z] Removing intermediate container 5d43445209af [2022-03-21T09:30:34.494Z] ---> 7ef00fc467f2 [2022-03-21T09:30:34.494Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-21T09:30:34.494Z] ---> Running in 29e2240f902d [2022-03-21T09:30:34.494Z] Removing intermediate container 29e2240f902d [2022-03-21T09:30:34.494Z] ---> c5e974c8f524 [2022-03-21T09:30:34.494Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-21T09:30:34.494Z] ---> Running in 6e7595da725a [2022-03-21T09:30:35.064Z] Removing intermediate container 6e7595da725a [2022-03-21T09:30:35.065Z] ---> 945714950945 [2022-03-21T09:30:35.065Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-21T09:30:35.065Z] ---> Running in d7f47792a1fe [2022-03-21T09:30:35.325Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-21T09:30:36.270Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-21T09:30:36.533Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-21T09:30:36.533Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-21T09:30:36.795Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-21T09:30:36.795Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-21T09:30:36.795Z] Executing busybox-1.34.1-r3.trigger [2022-03-21T09:30:36.795Z] OK: 224 MiB in 56 packages [2022-03-21T09:30:37.366Z] Removing intermediate container d7f47792a1fe [2022-03-21T09:30:37.366Z] ---> b3af80be8d3c [2022-03-21T09:30:37.366Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-03-21T09:30:37.366Z] ---> Running in f57cec47a716 [2022-03-21T09:30:37.366Z] Removing intermediate container f57cec47a716 [2022-03-21T09:30:37.366Z] ---> 86881750c018 [2022-03-21T09:30:37.366Z] Step 8/12 : COPY go.mod vendor* ./ [2022-03-21T09:30:37.625Z] ---> 814a8c26d174 [2022-03-21T09:30:37.625Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-21T09:30:37.625Z] ---> Running in 56f48753f3c6 [2022-03-21T09:30:38.451Z] Still waiting to schedule task [2022-03-21T09:30:38.451Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-03-21T09:30:59.599Z] Removing intermediate container 56f48753f3c6 [2022-03-21T09:30:59.599Z] ---> d727c5f81ed1 [2022-03-21T09:30:59.599Z] Step 10/12 : COPY . . [2022-03-21T09:30:59.599Z] ---> 596640fbc171 [2022-03-21T09:30:59.599Z] Step 11/12 : ARG MAKE='make build' [2022-03-21T09:30:59.599Z] ---> Running in d641bafb877e [2022-03-21T09:30:59.599Z] Removing intermediate container d641bafb877e [2022-03-21T09:30:59.599Z] ---> b02483308cf2 [2022-03-21T09:30:59.599Z] Step 12/12 : RUN $MAKE [2022-03-21T09:30:59.599Z] ---> Running in 81737fcdb2e7 [2022-03-21T09:30:59.599Z] noop [2022-03-21T09:30:59.599Z] Removing intermediate container 81737fcdb2e7 [2022-03-21T09:30:59.599Z] ---> a55e7550a652 [2022-03-21T09:30:59.599Z] Successfully built a55e7550a652 [2022-03-21T09:30:59.599Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:30:59.907Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-21T09:30:59.907Z] . [Pipeline] withDockerContainer [2022-03-21T09:30:59.979Z] prd-ubuntu20.04-docker-8c-8g-8170 does not seem to be running inside a container [2022-03-21T09:31:00.021Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-21T09:31:00.393Z] $ docker top 72d1639fbfd804e46d8d734d80b9dde620c69a12418574094fdac82184b11636 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-21T09:31:00.764Z] + go version [2022-03-21T09:31:00.764Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-21T09:31:00.784Z] $ docker stop --time=1 72d1639fbfd804e46d8d734d80b9dde620c69a12418574094fdac82184b11636 [2022-03-21T09:31:02.070Z] $ docker rm -f 72d1639fbfd804e46d8d734d80b9dde620c69a12418574094fdac82184b11636 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:31:02.488Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-21T09:31:02.488Z] . [Pipeline] withDockerContainer [2022-03-21T09:31:02.564Z] prd-ubuntu20.04-docker-8c-8g-8170 does not seem to be running inside a container [2022-03-21T09:31:02.599Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-21T09:31:02.959Z] $ docker top 015f6e5e52e963c2ab32c38772d68c85f0056bc49209e214770143b13cbe99ce -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-21T09:31:03.324Z] + make test [2022-03-21T09:31:03.324Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-21T09:31:03.584Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-03-21T09:31:10.164Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-03-21T09:31:10.427Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.5% of statements [2022-03-21T09:31:10.427Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-03-21T09:31:10.427Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-21T09:31:13.734Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-21T09:31:13.734Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-21T09:31:13.734Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-21T09:31:13.744Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-21T09:31:13.765Z] $ docker stop --time=1 015f6e5e52e963c2ab32c38772d68c85f0056bc49209e214770143b13cbe99ce [2022-03-21T09:31:15.334Z] $ docker rm -f 015f6e5e52e963c2ab32c38772d68c85f0056bc49209e214770143b13cbe99ce [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-21T09:31:15.725Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-21T09:31:15.770Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-03-21T09:31:16.841Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-21T09:31:17.133Z] + ls -al . [2022-03-21T09:31:17.133Z] total 184 [2022-03-21T09:31:17.133Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 09:31 . [2022-03-21T09:31:17.133Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 09:30 .. [2022-03-21T09:31:17.133Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 09:30 .dockerignore [2022-03-21T09:31:17.133Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 09:30 .git [2022-03-21T09:31:17.133Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 09:30 .github [2022-03-21T09:31:17.133Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 09:30 .gitignore [2022-03-21T09:31:17.133Z] drwx------ 3 jenkins jenkins 4096 Mar 21 09:30 .semver [2022-03-21T09:31:17.133Z] -rw-rw-r-- 1 jenkins jenkins 7384 Mar 21 09:30 Attribution.txt [2022-03-21T09:31:17.133Z] -rw-rw-r-- 1 jenkins jenkins 7447 Mar 21 09:30 CHANGELOG.md [2022-03-21T09:31:17.133Z] -rw-rw-r-- 1 jenkins jenkins 1930 Mar 21 09:30 Dockerfile [2022-03-21T09:31:17.133Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 09:30 GOVERNANCE.md [2022-03-21T09:31:17.133Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 09:30 Jenkinsfile [2022-03-21T09:31:17.133Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 09:30 LICENSE [2022-03-21T09:31:17.133Z] -rw-rw-r-- 1 jenkins jenkins 1030 Mar 21 09:30 Makefile [2022-03-21T09:31:17.133Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 09:30 OWNERS.md [2022-03-21T09:31:17.133Z] -rw-rw-r-- 1 jenkins jenkins 2643 Mar 21 09:30 README.md [2022-03-21T09:31:17.133Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 09:30 VERSION [2022-03-21T09:31:17.133Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 09:30 bin [2022-03-21T09:31:17.133Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 09:30 cmd [2022-03-21T09:31:17.133Z] -rw-r--r-- 1 jenkins jenkins 17452 Mar 21 09:31 coverage.out [2022-03-21T09:31:17.133Z] -rw-rw-r-- 1 jenkins jenkins 2884 Mar 21 09:30 go.mod [2022-03-21T09:31:17.133Z] -rw-rw-r-- 1 jenkins jenkins 50572 Mar 21 09:30 go.sum [2022-03-21T09:31:17.133Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 09:30 internal [2022-03-21T09:31:17.133Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 09:30 mock [2022-03-21T09:31:17.133Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 09:30 snap [2022-03-21T09:31:17.133Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 21 09:30 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:31:17.431Z] + 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=9225b543fa42775eff825b7d98be0ff13d95165d --label arch=amd64 --label version=2.2.0-dev.11 . [2022-03-21T09:31:17.431Z] Sending build context to Docker daemon 5.769MB [2022-03-21T09:31:17.431Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-03-21T09:31:17.431Z] Step 2/24 : FROM ${BASE} AS builder [2022-03-21T09:31:17.431Z] ---> a55e7550a652 [2022-03-21T09:31:17.431Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-21T09:31:17.431Z] ---> Running in 3e9609f6e698 [2022-03-21T09:31:17.691Z] Removing intermediate container 3e9609f6e698 [2022-03-21T09:31:17.691Z] ---> d90eb6658fd7 [2022-03-21T09:31:17.691Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-03-21T09:31:17.691Z] ---> Running in 4b79b20c7ef7 [2022-03-21T09:31:17.691Z] Removing intermediate container 4b79b20c7ef7 [2022-03-21T09:31:17.691Z] ---> 2c2ada56f4ff [2022-03-21T09:31:17.691Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-21T09:31:17.691Z] ---> Running in 8fd78da9427b [2022-03-21T09:31:18.263Z] Removing intermediate container 8fd78da9427b [2022-03-21T09:31:18.263Z] ---> d5f80306fec2 [2022-03-21T09:31:18.263Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-21T09:31:18.263Z] ---> Running in be986927e0b9 [2022-03-21T09:31:18.524Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-21T09:31:19.467Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-21T09:31:19.729Z] OK: 224 MiB in 56 packages [2022-03-21T09:31:19.992Z] Removing intermediate container be986927e0b9 [2022-03-21T09:31:19.992Z] ---> aa1a72518ab7 [2022-03-21T09:31:19.992Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-03-21T09:31:20.258Z] ---> Running in 9a5b11357d18 [2022-03-21T09:31:20.258Z] Removing intermediate container 9a5b11357d18 [2022-03-21T09:31:20.258Z] ---> 40091d1721dd [2022-03-21T09:31:20.258Z] Step 8/24 : COPY go.mod vendor* ./ [2022-03-21T09:31:20.258Z] ---> 6ee1219335e6 [2022-03-21T09:31:20.258Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-21T09:31:20.521Z] ---> Running in 848aded5da21 [2022-03-21T09:31:21.093Z] Removing intermediate container 848aded5da21 [2022-03-21T09:31:21.093Z] ---> 3731b12d6cc7 [2022-03-21T09:31:21.093Z] Step 10/24 : COPY . . [2022-03-21T09:31:21.353Z] ---> 4ca7cf26cc92 [2022-03-21T09:31:21.353Z] Step 11/24 : ARG MAKE='make build' [2022-03-21T09:31:21.353Z] ---> Running in 5f1fb79e586b [2022-03-21T09:31:21.613Z] Removing intermediate container 5f1fb79e586b [2022-03-21T09:31:21.613Z] ---> 77235abfcd7e [2022-03-21T09:31:21.613Z] Step 12/24 : RUN $MAKE [2022-03-21T09:31:21.613Z] ---> Running in 08df8b62027a [2022-03-21T09:31:21.874Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.11" -o cmd/device-mqtt ./cmd [2022-03-21T09:31:29.996Z] Removing intermediate container 08df8b62027a [2022-03-21T09:31:29.996Z] ---> e2967053ca33 [2022-03-21T09:31:29.996Z] Step 13/24 : FROM alpine:3.14 [2022-03-21T09:31:29.996Z] 3.14: Pulling from library/alpine [2022-03-21T09:31:29.996Z] 36ccefbf3d8a: Pulling fs layer [2022-03-21T09:31:30.260Z] 36ccefbf3d8a: Verifying Checksum [2022-03-21T09:31:30.260Z] 36ccefbf3d8a: Download complete [2022-03-21T09:31:30.519Z] 36ccefbf3d8a: Pull complete [2022-03-21T09:31:30.519Z] Digest: sha256:beca83085fd7f5b2a2cc457ddb2ed180c090c13ad7e806530e4ef578cb5cfe7b [2022-03-21T09:31:30.519Z] Status: Downloaded newer image for alpine:3.14 [2022-03-21T09:31:30.519Z] ---> a33ac4f1069a [2022-03-21T09:31:30.519Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-03-21T09:31:30.519Z] ---> Running in fddbbbeea84a [2022-03-21T09:31:30.519Z] Removing intermediate container fddbbbeea84a [2022-03-21T09:31:30.519Z] ---> 595de8cb5118 [2022-03-21T09:31:30.519Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-21T09:31:30.519Z] ---> Running in da3ec05a68b8 [2022-03-21T09:31:31.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-03-21T09:31:31.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-03-21T09:31:31.351Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-21T09:31:31.351Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-21T09:31:31.351Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-21T09:31:31.351Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-21T09:31:31.351Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-21T09:31:31.351Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-21T09:31:31.351Z] Executing busybox-1.33.1-r6.trigger [2022-03-21T09:31:31.351Z] OK: 8 MiB in 20 packages [2022-03-21T09:31:31.612Z] Removing intermediate container da3ec05a68b8 [2022-03-21T09:31:31.612Z] ---> 6cab8d07fca7 [2022-03-21T09:31:31.612Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-03-21T09:31:32.183Z] ---> 5e36a427e6a1 [2022-03-21T09:31:32.183Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-03-21T09:31:32.183Z] ---> ba2ada378197 [2022-03-21T09:31:32.183Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-03-21T09:31:32.445Z] ---> a585d89ab5db [2022-03-21T09:31:32.445Z] Step 19/24 : EXPOSE 59982 [2022-03-21T09:31:32.445Z] ---> Running in e8e9457bf9ec [2022-03-21T09:31:32.445Z] Removing intermediate container e8e9457bf9ec [2022-03-21T09:31:32.445Z] ---> 1bba3a0a22fd [2022-03-21T09:31:32.445Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-03-21T09:31:32.445Z] ---> Running in 610cde7ad296 [2022-03-21T09:31:32.710Z] Removing intermediate container 610cde7ad296 [2022-03-21T09:31:32.710Z] ---> 75f9e327e0d7 [2022-03-21T09:31:32.710Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-21T09:31:32.710Z] ---> Running in 0a9489a4c024 [2022-03-21T09:31:32.710Z] Removing intermediate container 0a9489a4c024 [2022-03-21T09:31:32.710Z] ---> 4d29ea53827a [2022-03-21T09:31:32.710Z] Step 22/24 : LABEL arch=amd64 [2022-03-21T09:31:32.710Z] ---> Running in 7b7d4461d612 [2022-03-21T09:31:32.710Z] Removing intermediate container 7b7d4461d612 [2022-03-21T09:31:32.710Z] ---> 7687c9949fd0 [2022-03-21T09:31:32.710Z] Step 23/24 : LABEL git_sha=9225b543fa42775eff825b7d98be0ff13d95165d [2022-03-21T09:31:32.971Z] ---> Running in 0ef6e3f45a77 [2022-03-21T09:31:32.971Z] Removing intermediate container 0ef6e3f45a77 [2022-03-21T09:31:32.971Z] ---> d1633fc9081f [2022-03-21T09:31:32.971Z] Step 24/24 : LABEL version=2.2.0-dev.11 [2022-03-21T09:31:32.971Z] ---> Running in e6cb73256cc5 [2022-03-21T09:31:32.971Z] Removing intermediate container e6cb73256cc5 [2022-03-21T09:31:32.971Z] ---> 025662f5ef1b [2022-03-21T09:31:32.971Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-21T09:31:32.971Z] Successfully built 025662f5ef1b [2022-03-21T09:31:32.971Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-21T09:31:33.076Z] provisioning config files... [2022-03-21T09:31:33.087Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2059601183883103779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-21T09:31:33.388Z] ---> docker-login.sh [2022-03-21T09:31:33.388Z] nexus3.edgexfoundry.org:10001 [2022-03-21T09:31:33.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:31:33.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:31:33.388Z] Configure a credential helper to remove this warning. See [2022-03-21T09:31:33.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:31:33.388Z] [2022-03-21T09:31:33.388Z] Login Succeeded [2022-03-21T09:31:33.388Z] nexus3.edgexfoundry.org:10002 [2022-03-21T09:31:33.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:31:33.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:31:33.388Z] Configure a credential helper to remove this warning. See [2022-03-21T09:31:33.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:31:33.388Z] [2022-03-21T09:31:33.388Z] Login Succeeded [2022-03-21T09:31:33.648Z] nexus3.edgexfoundry.org:10003 [2022-03-21T09:31:33.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:31:33.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:31:33.649Z] Configure a credential helper to remove this warning. See [2022-03-21T09:31:33.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:31:33.649Z] [2022-03-21T09:31:33.649Z] Login Succeeded [2022-03-21T09:31:33.649Z] nexus3.edgexfoundry.org:10004 [2022-03-21T09:31:33.649Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:31:33.649Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:31:33.649Z] Configure a credential helper to remove this warning. See [2022-03-21T09:31:33.649Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:31:33.649Z] [2022-03-21T09:31:33.649Z] Login Succeeded [2022-03-21T09:31:33.910Z] docker.io [2022-03-21T09:31:33.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:31:34.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:31:34.170Z] Configure a credential helper to remove this warning. See [2022-03-21T09:31:34.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:31:34.170Z] [2022-03-21T09:31:34.170Z] Login Succeeded [2022-03-21T09:31:34.170Z] ---> docker-login.sh ends [Pipeline] } [2022-03-21T09:31:34.179Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-21T09:31:34.212Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-21T09:31:34.234Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-03-21T09:31:34.234Z] 9225b543fa42775eff825b7d98be0ff13d95165d [2022-03-21T09:31:34.234Z] latest [2022-03-21T09:31:34.234Z] 2.2.0-dev.11 [2022-03-21T09:31:34.234Z] 9225b543fa42775eff825b7d98be0ff13d95165d-2.2.0-dev.11 [2022-03-21T09:31:34.234Z] main [2022-03-21T09:31:34.234Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:31:34.547Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:9225b543fa42775eff825b7d98be0ff13d95165d [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:31:34.844Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:9225b543fa42775eff825b7d98be0ff13d95165d [2022-03-21T09:31:34.844Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-03-21T09:31:34.844Z] 465a0aef9d97: Preparing [2022-03-21T09:31:34.844Z] 87823e9fe335: Preparing [2022-03-21T09:31:34.844Z] 5d1112e8ce0d: Preparing [2022-03-21T09:31:34.844Z] ab4046d2ade3: Preparing [2022-03-21T09:31:34.844Z] 2e38978dfe40: Preparing [2022-03-21T09:31:34.844Z] 2e38978dfe40: Layer already exists [2022-03-21T09:31:34.844Z] 87823e9fe335: Pushed [2022-03-21T09:31:34.844Z] 465a0aef9d97: Pushed [2022-03-21T09:31:35.105Z] ab4046d2ade3: Pushed [2022-03-21T09:31:36.497Z] 5d1112e8ce0d: Pushed [2022-03-21T09:31:36.497Z] 9225b543fa42775eff825b7d98be0ff13d95165d: digest: sha256:9fff5e85f6755c6043823785bc1888bd41ed02085b63c8969582491a2b7d6c92 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:31:36.797Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:31:37.093Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-03-21T09:31:37.093Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-03-21T09:31:37.093Z] 465a0aef9d97: Preparing [2022-03-21T09:31:37.093Z] 87823e9fe335: Preparing [2022-03-21T09:31:37.093Z] 5d1112e8ce0d: Preparing [2022-03-21T09:31:37.093Z] ab4046d2ade3: Preparing [2022-03-21T09:31:37.093Z] 2e38978dfe40: Preparing [2022-03-21T09:31:37.093Z] 5d1112e8ce0d: Layer already exists [2022-03-21T09:31:37.093Z] ab4046d2ade3: Layer already exists [2022-03-21T09:31:37.093Z] 2e38978dfe40: Layer already exists [2022-03-21T09:31:37.093Z] 465a0aef9d97: Layer already exists [2022-03-21T09:31:37.093Z] 87823e9fe335: Layer already exists [2022-03-21T09:31:37.093Z] latest: digest: sha256:9fff5e85f6755c6043823785bc1888bd41ed02085b63c8969582491a2b7d6c92 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:31:37.397Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:31:37.690Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.11 [2022-03-21T09:31:37.690Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-03-21T09:31:37.690Z] 465a0aef9d97: Preparing [2022-03-21T09:31:37.690Z] 87823e9fe335: Preparing [2022-03-21T09:31:37.690Z] 5d1112e8ce0d: Preparing [2022-03-21T09:31:37.690Z] ab4046d2ade3: Preparing [2022-03-21T09:31:37.690Z] 2e38978dfe40: Preparing [2022-03-21T09:31:37.690Z] 465a0aef9d97: Layer already exists [2022-03-21T09:31:37.690Z] 87823e9fe335: Layer already exists [2022-03-21T09:31:37.690Z] 2e38978dfe40: Layer already exists [2022-03-21T09:31:37.690Z] 5d1112e8ce0d: Layer already exists [2022-03-21T09:31:37.690Z] ab4046d2ade3: Layer already exists [2022-03-21T09:31:37.690Z] 2.2.0-dev.11: digest: sha256:9fff5e85f6755c6043823785bc1888bd41ed02085b63c8969582491a2b7d6c92 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:31:37.993Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:9225b543fa42775eff825b7d98be0ff13d95165d-2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:31:38.287Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:9225b543fa42775eff825b7d98be0ff13d95165d-2.2.0-dev.11 [2022-03-21T09:31:38.287Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-03-21T09:31:38.287Z] 465a0aef9d97: Preparing [2022-03-21T09:31:38.287Z] 87823e9fe335: Preparing [2022-03-21T09:31:38.287Z] 5d1112e8ce0d: Preparing [2022-03-21T09:31:38.287Z] ab4046d2ade3: Preparing [2022-03-21T09:31:38.287Z] 2e38978dfe40: Preparing [2022-03-21T09:31:38.287Z] ab4046d2ade3: Layer already exists [2022-03-21T09:31:38.287Z] 87823e9fe335: Layer already exists [2022-03-21T09:31:38.287Z] 2e38978dfe40: Layer already exists [2022-03-21T09:31:38.287Z] 5d1112e8ce0d: Layer already exists [2022-03-21T09:31:38.287Z] 465a0aef9d97: Layer already exists [2022-03-21T09:31:38.287Z] 9225b543fa42775eff825b7d98be0ff13d95165d-2.2.0-dev.11: digest: sha256:9fff5e85f6755c6043823785bc1888bd41ed02085b63c8969582491a2b7d6c92 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:31:38.588Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:31:38.884Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-03-21T09:31:38.884Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-03-21T09:31:38.884Z] 465a0aef9d97: Preparing [2022-03-21T09:31:38.884Z] 87823e9fe335: Preparing [2022-03-21T09:31:38.884Z] 5d1112e8ce0d: Preparing [2022-03-21T09:31:38.884Z] ab4046d2ade3: Preparing [2022-03-21T09:31:38.884Z] 2e38978dfe40: Preparing [2022-03-21T09:31:38.884Z] 465a0aef9d97: Layer already exists [2022-03-21T09:31:38.884Z] 2e38978dfe40: Layer already exists [2022-03-21T09:31:38.884Z] 87823e9fe335: Layer already exists [2022-03-21T09:31:38.884Z] 5d1112e8ce0d: Layer already exists [2022-03-21T09:31:38.884Z] ab4046d2ade3: Layer already exists [2022-03-21T09:31:38.884Z] main: digest: sha256:9fff5e85f6755c6043823785bc1888bd41ed02085b63c8969582491a2b7d6c92 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-21T09:31:38.928Z] ===================================================== [Pipeline] echo [2022-03-21T09:31:38.937Z] taggedImages: [2022-03-21T09:31:38.937Z] - nexus3.edgexfoundry.org:10004/device-mqtt:9225b543fa42775eff825b7d98be0ff13d95165d [2022-03-21T09:31:38.937Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-03-21T09:31:38.937Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.11 [2022-03-21T09:31:38.937Z] - nexus3.edgexfoundry.org:10004/device-mqtt:9225b543fa42775eff825b7d98be0ff13d95165d-2.2.0-dev.11 [2022-03-21T09:31:38.937Z] - 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-21T09:31:39.337Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-21T09:31:39.337Z] [2022-03-21T09:31:39.337Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:31:39.642Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-21T09:31:39.642Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-21T09:31:39.642Z] 5eb5b503b376: Pulling fs layer [2022-03-21T09:31:39.642Z] 5c69ac0246d0: Pulling fs layer [2022-03-21T09:31:39.642Z] ec43610c2a17: Pulling fs layer [2022-03-21T09:31:39.642Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-21T09:31:39.642Z] 33b1e0a273af: Pulling fs layer [2022-03-21T09:31:39.642Z] 5d3b04190fa2: Pulling fs layer [2022-03-21T09:31:39.642Z] 2f39f015ded8: Pulling fs layer [2022-03-21T09:31:39.642Z] 3a2ae6a8a46f: Waiting [2022-03-21T09:31:39.642Z] 33b1e0a273af: Waiting [2022-03-21T09:31:39.642Z] 2f39f015ded8: Waiting [2022-03-21T09:31:39.642Z] 5d3b04190fa2: Waiting [2022-03-21T09:31:39.642Z] 5c69ac0246d0: Download complete [2022-03-21T09:31:39.642Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-21T09:31:39.642Z] 3a2ae6a8a46f: Download complete [2022-03-21T09:31:39.642Z] 33b1e0a273af: Verifying Checksum [2022-03-21T09:31:39.642Z] 33b1e0a273af: Download complete [2022-03-21T09:31:39.642Z] 5d3b04190fa2: Verifying Checksum [2022-03-21T09:31:39.642Z] 5d3b04190fa2: Download complete [2022-03-21T09:31:39.902Z] ec43610c2a17: Verifying Checksum [2022-03-21T09:31:39.902Z] ec43610c2a17: Download complete [2022-03-21T09:31:39.902Z] 5eb5b503b376: Verifying Checksum [2022-03-21T09:31:39.902Z] 5eb5b503b376: Download complete [2022-03-21T09:31:40.472Z] 2f39f015ded8: Download complete [2022-03-21T09:31:41.041Z] 5eb5b503b376: Pull complete [2022-03-21T09:31:41.301Z] 5c69ac0246d0: Pull complete [2022-03-21T09:31:41.871Z] ec43610c2a17: Pull complete [2022-03-21T09:31:41.871Z] 3a2ae6a8a46f: Pull complete [2022-03-21T09:31:41.871Z] 33b1e0a273af: Pull complete [2022-03-21T09:31:42.132Z] 5d3b04190fa2: Pull complete [2022-03-21T09:31:46.332Z] 2f39f015ded8: Pull complete [2022-03-21T09:31:46.332Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-21T09:31:46.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-21T09:31:46.332Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-21T09:31:46.395Z] prd-ubuntu20.04-docker-8c-8g-8170 does not seem to be running inside a container [2022-03-21T09:31:46.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-21T09:31:48.070Z] $ docker top c486618a49d24941ae4d7ab71d477cb0df1a023300fc20f1e99b7cd1107203c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-21T09:31:48.515Z] ---> job-cost.sh [2022-03-21T09:31:48.515Z] lf-activate-venv: SKIPPING [2022-03-21T09:31:48.515Z] INFO: No Stack... [2022-03-21T09:31:48.775Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-21T09:31:49.347Z] INFO: Archiving Costs [Pipeline] sh [2022-03-21T09:31:49.645Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-03-21T09:31:49.645Z] + cut -d, -f6 [Pipeline] lock [2022-03-21T09:31:49.661Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-32-stack-cost] [2022-03-21T09:31:49.666Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-32-stack-cost] did not exist. Created. [2022-03-21T09:31:49.666Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-21T09:31:49.974Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-03-21T09:31:50.010Z] Stashed 1 file(s) [Pipeline] } [2022-03-21T09:31:50.020Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-32-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-21T09:31:50.044Z] $ docker stop --time=1 c486618a49d24941ae4d7ab71d477cb0df1a023300fc20f1e99b7cd1107203c2 [2022-03-21T09:31:51.223Z] $ docker rm -f c486618a49d24941ae4d7ab71d477cb0df1a023300fc20f1e99b7cd1107203c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-21T09:32:21.442Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8171 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-03-21T09:32:21.457Z] Running in /w/workspace/device-mqtt-go/32 [Pipeline] { [Pipeline] checkout [2022-03-21T09:32:21.733Z] Selected Git installation does not exist. Using Default [2022-03-21T09:32:21.734Z] The recommended git tool is: NONE [2022-03-21T09:32:29.400Z] using credential edgex-jenkins-ssh [2022-03-21T09:32:29.416Z] Cloning the remote Git repository [2022-03-21T09:32:29.497Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-03-21T09:32:29.591Z] > git init /w/workspace/device-mqtt-go/32 # timeout=10 [2022-03-21T09:32:29.680Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-03-21T09:32:29.681Z] > git --version # timeout=10 [2022-03-21T09:32:29.699Z] > git --version # 'git version 2.25.1' [2022-03-21T09:32:29.701Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-21T09:32:29.761Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-21T09:32:31.064Z] Avoid second fetch [2022-03-21T09:32:31.065Z] Checking out Revision 9225b543fa42775eff825b7d98be0ff13d95165d (main) [2022-03-21T09:32:30.919Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-03-21T09:32:31.029Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-21T09:32:31.130Z] > git config core.sparsecheckout # timeout=10 [2022-03-21T09:32:31.170Z] > git checkout -f 9225b543fa42775eff825b7d98be0ff13d95165d # timeout=10 [2022-03-21T09:32:35.898Z] Commit message: "test(snap): Add Github action to test the snap (#343)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-21T09:32:36.771Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-21T09:32:36.771Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-21T09:32:36.771Z] Dload Upload Total Spent Left Speed [2022-03-21T09:32:36.771Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 44190 0 --:--:-- --:--:-- --:--:-- 44190 [Pipeline] sh [2022-03-21T09:32:37.308Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-21T09:32:37.667Z] + sudo tee+ /etc/docker/daemon.new [2022-03-21T09:32:37.667Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-03-21T09:32:37.667Z] { [2022-03-21T09:32:37.667Z] "registry-mirrors": [ [2022-03-21T09:32:37.667Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-21T09:32:37.667Z] ], [2022-03-21T09:32:37.667Z] "bip": "10.250.0.254/24", [2022-03-21T09:32:37.667Z] "hosts": [ [2022-03-21T09:32:37.667Z] "tcp://0.0.0.0:5555", [2022-03-21T09:32:37.667Z] "unix:///var/run/docker.sock" [2022-03-21T09:32:37.667Z] ], [2022-03-21T09:32:37.667Z] "mtu": 1458, [2022-03-21T09:32:37.667Z] "selinux-enabled": true, [2022-03-21T09:32:37.667Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-21T09:32:37.667Z] } [Pipeline] sh [2022-03-21T09:32:38.020Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-21T09:32:38.365Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-21T09:32:56.721Z] provisioning config files... [2022-03-21T09:32:56.746Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/32@tmp/config3488642680792260791tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-21T09:32:57.114Z] ---> docker-login.sh [2022-03-21T09:32:57.114Z] nexus3.edgexfoundry.org:10001 [2022-03-21T09:32:57.714Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:32:57.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:32:57.990Z] Configure a credential helper to remove this warning. See [2022-03-21T09:32:57.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:32:57.990Z] [2022-03-21T09:32:57.990Z] Login Succeeded [2022-03-21T09:32:57.990Z] nexus3.edgexfoundry.org:10002 [2022-03-21T09:32:58.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:32:58.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:32:58.539Z] Configure a credential helper to remove this warning. See [2022-03-21T09:32:58.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:32:58.539Z] [2022-03-21T09:32:58.539Z] Login Succeeded [2022-03-21T09:32:58.539Z] nexus3.edgexfoundry.org:10003 [2022-03-21T09:32:58.813Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:32:58.813Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:32:58.813Z] Configure a credential helper to remove this warning. See [2022-03-21T09:32:58.813Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:32:58.813Z] [2022-03-21T09:32:58.813Z] Login Succeeded [2022-03-21T09:32:58.813Z] nexus3.edgexfoundry.org:10004 [2022-03-21T09:32:59.417Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:32:59.417Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:32:59.417Z] Configure a credential helper to remove this warning. See [2022-03-21T09:32:59.417Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:32:59.417Z] [2022-03-21T09:32:59.417Z] Login Succeeded [2022-03-21T09:32:59.417Z] docker.io [2022-03-21T09:32:59.691Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:33:00.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:33:00.289Z] Configure a credential helper to remove this warning. See [2022-03-21T09:33:00.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:33:00.289Z] [2022-03-21T09:33:00.289Z] Login Succeeded [2022-03-21T09:33:00.289Z] ---> docker-login.sh ends [Pipeline] } [2022-03-21T09:33:00.310Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-21T09:33:00.974Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-21T09:33:00.988Z] ========================================================= [2022-03-21T09:33:00.988Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-21T09:33:00.988Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:33:01.333Z] + 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-21T09:33:01.606Z] Sending build context to Docker daemon 2.991MB [2022-03-21T09:33:01.606Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-03-21T09:33:01.606Z] Step 2/12 : FROM ${BASE} AS builder [2022-03-21T09:33:01.879Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-21T09:33:01.879Z] 9b3977197b4f: Pulling fs layer [2022-03-21T09:33:01.879Z] 1a89e8eeedd5: Pulling fs layer [2022-03-21T09:33:01.879Z] 94645a83ff95: Pulling fs layer [2022-03-21T09:33:01.879Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-21T09:33:01.879Z] 0c92f367c5e7: Pulling fs layer [2022-03-21T09:33:01.879Z] f7c0051592d6: Pulling fs layer [2022-03-21T09:33:01.879Z] a227ed2f7395: Pulling fs layer [2022-03-21T09:33:01.879Z] 7b1c46037f91: Pulling fs layer [2022-03-21T09:33:01.879Z] f7c0051592d6: Waiting [2022-03-21T09:33:01.879Z] a227ed2f7395: Waiting [2022-03-21T09:33:01.879Z] 7b1c46037f91: Waiting [2022-03-21T09:33:01.879Z] 0c92f367c5e7: Waiting [2022-03-21T09:33:01.879Z] 3f3a8bcf1eab: Waiting [2022-03-21T09:33:01.879Z] 94645a83ff95: Verifying Checksum [2022-03-21T09:33:01.879Z] 94645a83ff95: Download complete [2022-03-21T09:33:01.879Z] 1a89e8eeedd5: Verifying Checksum [2022-03-21T09:33:01.879Z] 1a89e8eeedd5: Download complete [2022-03-21T09:33:01.879Z] 0c92f367c5e7: Download complete [2022-03-21T09:33:01.879Z] f7c0051592d6: Verifying Checksum [2022-03-21T09:33:01.879Z] f7c0051592d6: Download complete [2022-03-21T09:33:01.879Z] a227ed2f7395: Verifying Checksum [2022-03-21T09:33:01.879Z] a227ed2f7395: Download complete [2022-03-21T09:33:01.879Z] 9b3977197b4f: Verifying Checksum [2022-03-21T09:33:01.879Z] 9b3977197b4f: Download complete [2022-03-21T09:33:02.868Z] 9b3977197b4f: Pull complete [2022-03-21T09:33:03.479Z] 1a89e8eeedd5: Pull complete [2022-03-21T09:33:03.758Z] 94645a83ff95: Pull complete [2022-03-21T09:33:04.034Z] 7b1c46037f91: Verifying Checksum [2022-03-21T09:33:04.034Z] 7b1c46037f91: Download complete [2022-03-21T09:33:04.633Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-21T09:33:04.633Z] 3f3a8bcf1eab: Download complete [2022-03-21T09:33:17.086Z] 3f3a8bcf1eab: Pull complete [2022-03-21T09:33:17.086Z] 0c92f367c5e7: Pull complete [2022-03-21T09:33:17.086Z] f7c0051592d6: Pull complete [2022-03-21T09:33:17.363Z] a227ed2f7395: Pull complete [2022-03-21T09:33:24.095Z] 7b1c46037f91: Pull complete [2022-03-21T09:33:24.095Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-21T09:33:24.095Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-21T09:33:24.095Z] ---> f79e39bc4007 [2022-03-21T09:33:24.095Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-21T09:33:24.370Z] ---> Running in be9fac51082f [2022-03-21T09:33:24.650Z] Removing intermediate container be9fac51082f [2022-03-21T09:33:24.650Z] ---> eaa52c914ff7 [2022-03-21T09:33:24.650Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-03-21T09:33:24.928Z] ---> Running in 15e817175fa4 [2022-03-21T09:33:25.203Z] Removing intermediate container 15e817175fa4 [2022-03-21T09:33:25.203Z] ---> 44f09f077909 [2022-03-21T09:33:25.203Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-21T09:33:25.203Z] ---> Running in 30652ac480d9 [2022-03-21T09:33:27.188Z] Removing intermediate container 30652ac480d9 [2022-03-21T09:33:27.188Z] ---> 9228544d5679 [2022-03-21T09:33:27.188Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-21T09:33:27.188Z] ---> Running in 18585755618d [2022-03-21T09:33:27.787Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-21T09:33:28.764Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-21T09:33:29.743Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-03-21T09:33:29.743Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-03-21T09:33:29.743Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-03-21T09:33:30.016Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-03-21T09:33:30.016Z] Executing busybox-1.34.1-r3.trigger [2022-03-21T09:33:30.016Z] OK: 224 MiB in 56 packages [2022-03-21T09:33:30.998Z] Removing intermediate container 18585755618d [2022-03-21T09:33:30.998Z] ---> 4258a6898b8f [2022-03-21T09:33:30.998Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-03-21T09:33:30.998Z] ---> Running in 7b941c2db28f [2022-03-21T09:33:31.272Z] Removing intermediate container 7b941c2db28f [2022-03-21T09:33:31.272Z] ---> 1e0b71a87de1 [2022-03-21T09:33:31.272Z] Step 8/12 : COPY go.mod vendor* ./ [2022-03-21T09:33:31.873Z] ---> 8058f81a1a2e [2022-03-21T09:33:31.873Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-21T09:33:31.873Z] ---> Running in 144355257f0f [2022-03-21T09:34:53.698Z] Removing intermediate container 144355257f0f [2022-03-21T09:34:53.698Z] ---> eb19804b4071 [2022-03-21T09:34:53.698Z] Step 10/12 : COPY . . [2022-03-21T09:34:53.698Z] ---> 0498d244007f [2022-03-21T09:34:53.698Z] Step 11/12 : ARG MAKE='make build' [2022-03-21T09:34:53.698Z] ---> Running in 44a561e93bd1 [2022-03-21T09:34:53.698Z] Removing intermediate container 44a561e93bd1 [2022-03-21T09:34:53.698Z] ---> cb6adb096cee [2022-03-21T09:34:53.698Z] Step 12/12 : RUN $MAKE [2022-03-21T09:34:53.698Z] ---> Running in eb493c08024c [2022-03-21T09:34:53.698Z] noop [2022-03-21T09:34:53.698Z] Removing intermediate container eb493c08024c [2022-03-21T09:34:53.698Z] ---> ae0cf624525c [2022-03-21T09:34:53.698Z] Successfully built ae0cf624525c [2022-03-21T09:34:53.698Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:34:54.044Z] + docker inspect -f . ci-base-image-arm64 [2022-03-21T09:34:54.044Z] . [Pipeline] withDockerContainer [2022-03-21T09:34:54.296Z] prd-ubuntu20.04-docker-arm64-4c-16g-8171 does not seem to be running inside a container [2022-03-21T09:34:54.377Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/32 -v /w/workspace/device-mqtt-go/32:/w/workspace/device-mqtt-go/32:rw,z -v /w/workspace/device-mqtt-go/32@tmp:/w/workspace/device-mqtt-go/32@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-21T09:34:55.695Z] $ docker top cf5d43c27b7e04db704a215d97fdbaa03741558aa4abd3a978c639517334b366 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-21T09:34:56.627Z] + go version [2022-03-21T09:34:56.627Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-21T09:34:56.657Z] $ docker stop --time=1 cf5d43c27b7e04db704a215d97fdbaa03741558aa4abd3a978c639517334b366 [2022-03-21T09:34:58.294Z] $ docker rm -f cf5d43c27b7e04db704a215d97fdbaa03741558aa4abd3a978c639517334b366 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:34:58.910Z] + docker inspect -f . ci-base-image-arm64 [2022-03-21T09:34:58.910Z] . [Pipeline] withDockerContainer [2022-03-21T09:34:59.150Z] prd-ubuntu20.04-docker-arm64-4c-16g-8171 does not seem to be running inside a container [2022-03-21T09:34:59.238Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/32 -v /w/workspace/device-mqtt-go/32:/w/workspace/device-mqtt-go/32:rw,z -v /w/workspace/device-mqtt-go/32@tmp:/w/workspace/device-mqtt-go/32@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-21T09:35:00.522Z] $ docker top b53cc5666a65ab2402825c4f6d9f82ec283a34fb9f57e7ee153f8e65dc7213f1 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-21T09:35:01.459Z] + make test [2022-03-21T09:35:01.459Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-03-21T09:35:02.908Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-03-21T09:35:49.970Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-03-21T09:35:52.622Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.064s coverage: 22.5% of statements [2022-03-21T09:35:52.622Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-03-21T09:35:52.622Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-03-21T09:36:10.977Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-03-21T09:36:10.977Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-03-21T09:36:10.977Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-03-21T09:36:11.973Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-03-21T09:36:11.990Z] $ docker stop --time=1 b53cc5666a65ab2402825c4f6d9f82ec283a34fb9f57e7ee153f8e65dc7213f1 [2022-03-21T09:36:13.787Z] $ docker rm -f b53cc5666a65ab2402825c4f6d9f82ec283a34fb9f57e7ee153f8e65dc7213f1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-21T09:36:14.609Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-03-21T09:36:14.639Z] Warning: overwriting stash ‘coverage-report’ [2022-03-21T09:36:15.100Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-21T09:36:15.486Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-03-21T09:36:15.818Z] + ls -al . [2022-03-21T09:36:15.819Z] total 180 [2022-03-21T09:36:15.819Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 21 09:36 . [2022-03-21T09:36:15.819Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 09:32 .. [2022-03-21T09:36:15.819Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 09:32 .dockerignore [2022-03-21T09:36:15.819Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 09:32 .git [2022-03-21T09:36:15.819Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 09:32 .github [2022-03-21T09:36:15.819Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 21 09:32 .gitignore [2022-03-21T09:36:15.819Z] -rw-rw-r-- 1 jenkins jenkins 7384 Mar 21 09:32 Attribution.txt [2022-03-21T09:36:15.819Z] -rw-rw-r-- 1 jenkins jenkins 7447 Mar 21 09:32 CHANGELOG.md [2022-03-21T09:36:15.819Z] -rw-rw-r-- 1 jenkins jenkins 1930 Mar 21 09:32 Dockerfile [2022-03-21T09:36:15.819Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 09:32 GOVERNANCE.md [2022-03-21T09:36:15.819Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 09:32 Jenkinsfile [2022-03-21T09:36:15.819Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 21 09:32 LICENSE [2022-03-21T09:36:15.819Z] -rw-rw-r-- 1 jenkins jenkins 1030 Mar 21 09:32 Makefile [2022-03-21T09:36:15.819Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 21 09:32 OWNERS.md [2022-03-21T09:36:15.819Z] -rw-rw-r-- 1 jenkins jenkins 2643 Mar 21 09:32 README.md [2022-03-21T09:36:15.819Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 21 09:30 VERSION [2022-03-21T09:36:15.819Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 09:32 bin [2022-03-21T09:36:15.819Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 09:32 cmd [2022-03-21T09:36:15.819Z] -rw-r--r-- 1 jenkins jenkins 17452 Mar 21 09:35 coverage.out [2022-03-21T09:36:15.819Z] -rw-rw-r-- 1 jenkins jenkins 2884 Mar 21 09:32 go.mod [2022-03-21T09:36:15.819Z] -rw-rw-r-- 1 jenkins jenkins 50572 Mar 21 09:32 go.sum [2022-03-21T09:36:15.819Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 09:32 internal [2022-03-21T09:36:15.819Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 09:32 mock [2022-03-21T09:36:15.819Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 09:32 snap [2022-03-21T09:36:15.819Z] -rw-rw-r-- 1 jenkins jenkins 227 Mar 21 09:32 version.go [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:36:16.167Z] + 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=9225b543fa42775eff825b7d98be0ff13d95165d --label arch=arm64 --label version=2.2.0-dev.11 . [2022-03-21T09:36:16.441Z] Sending build context to Docker daemon 3.009MB [2022-03-21T09:36:16.441Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-03-21T09:36:16.441Z] Step 2/24 : FROM ${BASE} AS builder [2022-03-21T09:36:16.441Z] ---> ae0cf624525c [2022-03-21T09:36:16.441Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-03-21T09:36:16.716Z] ---> Running in 960c3730b4cf [2022-03-21T09:36:16.992Z] Removing intermediate container 960c3730b4cf [2022-03-21T09:36:16.993Z] ---> 85f85fc6ba59 [2022-03-21T09:36:16.993Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-03-21T09:36:16.993Z] ---> Running in 7e44c81655a2 [2022-03-21T09:36:17.267Z] Removing intermediate container 7e44c81655a2 [2022-03-21T09:36:17.267Z] ---> 86a81ef5f0b5 [2022-03-21T09:36:17.267Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-21T09:36:17.542Z] ---> Running in 76fda1e6b3fa [2022-03-21T09:36:18.989Z] Removing intermediate container 76fda1e6b3fa [2022-03-21T09:36:18.989Z] ---> 8b8ff9946a72 [2022-03-21T09:36:18.989Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-03-21T09:36:19.266Z] ---> Running in 46ec12ec6b38 [2022-03-21T09:36:20.249Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-21T09:36:21.226Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-21T09:36:21.822Z] OK: 224 MiB in 56 packages [2022-03-21T09:36:22.806Z] Removing intermediate container 46ec12ec6b38 [2022-03-21T09:36:22.806Z] ---> 3ecac2eadadc [2022-03-21T09:36:22.806Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-03-21T09:36:22.806Z] ---> Running in 17404d58339c [2022-03-21T09:36:23.079Z] Removing intermediate container 17404d58339c [2022-03-21T09:36:23.079Z] ---> 7dadf112f4a3 [2022-03-21T09:36:23.079Z] Step 8/24 : COPY go.mod vendor* ./ [2022-03-21T09:36:23.678Z] ---> 3c600a758529 [2022-03-21T09:36:23.678Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-21T09:36:23.678Z] ---> Running in 95f8d4805189 [2022-03-21T09:36:25.657Z] Removing intermediate container 95f8d4805189 [2022-03-21T09:36:25.657Z] ---> 94fa90383f3d [2022-03-21T09:36:25.657Z] Step 10/24 : COPY . . [2022-03-21T09:36:26.645Z] ---> 45fa47f93ca9 [2022-03-21T09:36:26.645Z] Step 11/24 : ARG MAKE='make build' [2022-03-21T09:36:26.645Z] ---> Running in ef3e73c87a95 [2022-03-21T09:36:26.918Z] Removing intermediate container ef3e73c87a95 [2022-03-21T09:36:26.918Z] ---> 2ee5cbe49761 [2022-03-21T09:36:26.918Z] Step 12/24 : RUN $MAKE [2022-03-21T09:36:26.918Z] ---> Running in 1da58eab1119 [2022-03-21T09:36:27.918Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.11" -o cmd/device-mqtt ./cmd [2022-03-21T09:37:14.943Z] Removing intermediate container 1da58eab1119 [2022-03-21T09:37:14.943Z] ---> 422c713b0bb8 [2022-03-21T09:37:14.943Z] Step 13/24 : FROM alpine:3.14 [2022-03-21T09:37:14.943Z] 3.14: Pulling from library/alpine [2022-03-21T09:37:14.943Z] 93a1719cf261: Pulling fs layer [2022-03-21T09:37:14.943Z] 93a1719cf261: Verifying Checksum [2022-03-21T09:37:14.943Z] 93a1719cf261: Download complete [2022-03-21T09:37:14.943Z] 93a1719cf261: Pull complete [2022-03-21T09:37:14.943Z] Digest: sha256:beca83085fd7f5b2a2cc457ddb2ed180c090c13ad7e806530e4ef578cb5cfe7b [2022-03-21T09:37:14.943Z] Status: Downloaded newer image for alpine:3.14 [2022-03-21T09:37:14.943Z] ---> 71a2028e5025 [2022-03-21T09:37:14.943Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-03-21T09:37:14.943Z] ---> Running in 89b1f23a7251 [2022-03-21T09:37:14.943Z] Removing intermediate container 89b1f23a7251 [2022-03-21T09:37:14.943Z] ---> 0d70d697a043 [2022-03-21T09:37:14.943Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-03-21T09:37:14.943Z] ---> Running in c754fc58b848 [2022-03-21T09:37:14.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-03-21T09:37:14.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-03-21T09:37:14.943Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-03-21T09:37:14.943Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-03-21T09:37:14.943Z] (3/6) Installing libsodium (1.0.18-r0) [2022-03-21T09:37:14.943Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-03-21T09:37:14.943Z] (5/6) Installing libzmq (4.3.4-r0) [2022-03-21T09:37:14.943Z] (6/6) Installing zeromq (4.3.4-r0) [2022-03-21T09:37:14.943Z] Executing busybox-1.33.1-r6.trigger [2022-03-21T09:37:14.943Z] OK: 8 MiB in 20 packages [2022-03-21T09:37:14.943Z] Removing intermediate container c754fc58b848 [2022-03-21T09:37:14.943Z] ---> 64306ae655ac [2022-03-21T09:37:14.943Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-03-21T09:37:14.943Z] ---> 23325bb5d564 [2022-03-21T09:37:14.943Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-03-21T09:37:14.943Z] ---> 14f03829538c [2022-03-21T09:37:14.943Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-03-21T09:37:14.943Z] ---> 8471d037a3c3 [2022-03-21T09:37:14.943Z] Step 19/24 : EXPOSE 59982 [2022-03-21T09:37:14.943Z] ---> Running in 8efa15e317d6 [2022-03-21T09:37:14.943Z] Removing intermediate container 8efa15e317d6 [2022-03-21T09:37:14.943Z] ---> eb14d4e71c29 [2022-03-21T09:37:14.943Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-03-21T09:37:15.219Z] ---> Running in e98facec63d2 [2022-03-21T09:37:15.493Z] Removing intermediate container e98facec63d2 [2022-03-21T09:37:15.493Z] ---> aeeae62fb717 [2022-03-21T09:37:15.493Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-03-21T09:37:15.493Z] ---> Running in acc596123c0c [2022-03-21T09:37:15.768Z] Removing intermediate container acc596123c0c [2022-03-21T09:37:15.768Z] ---> b9d50271af1e [2022-03-21T09:37:15.768Z] Step 22/24 : LABEL arch=arm64 [2022-03-21T09:37:16.046Z] ---> Running in 7344a72ef360 [2022-03-21T09:37:16.318Z] Removing intermediate container 7344a72ef360 [2022-03-21T09:37:16.318Z] ---> 6dfa5217c8f0 [2022-03-21T09:37:16.318Z] Step 23/24 : LABEL git_sha=9225b543fa42775eff825b7d98be0ff13d95165d [2022-03-21T09:37:16.318Z] ---> Running in c4d6a4e3d3cc [2022-03-21T09:37:16.593Z] Removing intermediate container c4d6a4e3d3cc [2022-03-21T09:37:16.593Z] ---> ac9a5c0679ad [2022-03-21T09:37:16.593Z] Step 24/24 : LABEL version=2.2.0-dev.11 [2022-03-21T09:37:16.593Z] ---> Running in b0ce4b7f9834 [2022-03-21T09:37:16.869Z] Removing intermediate container b0ce4b7f9834 [2022-03-21T09:37:16.869Z] ---> 91292e7f3762 [2022-03-21T09:37:16.869Z] [Warning] One or more build-args [ARCH] were not consumed [2022-03-21T09:37:17.143Z] Successfully built 91292e7f3762 [2022-03-21T09:37:17.143Z] 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-21T09:37:17.252Z] provisioning config files... [2022-03-21T09:37:17.271Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/32@tmp/config9131748301142149713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-21T09:37:17.635Z] ---> docker-login.sh [2022-03-21T09:37:17.636Z] nexus3.edgexfoundry.org:10001 [2022-03-21T09:37:17.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:37:17.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:37:17.911Z] Configure a credential helper to remove this warning. See [2022-03-21T09:37:17.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:37:17.911Z] [2022-03-21T09:37:17.911Z] Login Succeeded [2022-03-21T09:37:17.911Z] nexus3.edgexfoundry.org:10002 [2022-03-21T09:37:18.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:37:18.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:37:18.517Z] Configure a credential helper to remove this warning. See [2022-03-21T09:37:18.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:37:18.517Z] [2022-03-21T09:37:18.517Z] Login Succeeded [2022-03-21T09:37:18.517Z] nexus3.edgexfoundry.org:10003 [2022-03-21T09:37:18.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:37:19.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:37:19.067Z] Configure a credential helper to remove this warning. See [2022-03-21T09:37:19.067Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:37:19.067Z] [2022-03-21T09:37:19.067Z] Login Succeeded [2022-03-21T09:37:19.067Z] nexus3.edgexfoundry.org:10004 [2022-03-21T09:37:19.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:37:19.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:37:19.618Z] Configure a credential helper to remove this warning. See [2022-03-21T09:37:19.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:37:19.618Z] [2022-03-21T09:37:19.618Z] Login Succeeded [2022-03-21T09:37:19.618Z] docker.io [2022-03-21T09:37:19.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-21T09:37:20.166Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-21T09:37:20.166Z] Configure a credential helper to remove this warning. See [2022-03-21T09:37:20.166Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-21T09:37:20.166Z] [2022-03-21T09:37:20.166Z] Login Succeeded [2022-03-21T09:37:20.438Z] ---> docker-login.sh ends [Pipeline] } [2022-03-21T09:37:20.456Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-21T09:37:20.492Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-21T09:37:20.510Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-03-21T09:37:20.510Z] 9225b543fa42775eff825b7d98be0ff13d95165d [2022-03-21T09:37:20.510Z] latest [2022-03-21T09:37:20.510Z] 2.2.0-dev.11 [2022-03-21T09:37:20.510Z] 9225b543fa42775eff825b7d98be0ff13d95165d-2.2.0-dev.11 [2022-03-21T09:37:20.510Z] main [2022-03-21T09:37:20.510Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:37:20.855Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9225b543fa42775eff825b7d98be0ff13d95165d [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:37:21.211Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9225b543fa42775eff825b7d98be0ff13d95165d [2022-03-21T09:37:21.211Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-03-21T09:37:21.211Z] 8ac27928916d: Preparing [2022-03-21T09:37:21.211Z] ad66ecc8704f: Preparing [2022-03-21T09:37:21.211Z] 293382ddcf9b: Preparing [2022-03-21T09:37:21.211Z] 7dd715dca2bb: Preparing [2022-03-21T09:37:21.211Z] 49c7c6f6dc6c: Preparing [2022-03-21T09:37:21.211Z] 49c7c6f6dc6c: Layer already exists [2022-03-21T09:37:21.486Z] ad66ecc8704f: Pushed [2022-03-21T09:37:21.486Z] 8ac27928916d: Pushed [2022-03-21T09:37:22.088Z] 7dd715dca2bb: Pushed [2022-03-21T09:37:24.066Z] 293382ddcf9b: Pushed [2022-03-21T09:37:24.339Z] 9225b543fa42775eff825b7d98be0ff13d95165d: digest: sha256:dbab945f097727e599ca80e8fd0db96b0d4ea0220c2fbf68764b2bebe79bfd1c size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:37:24.689Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:37:25.034Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-03-21T09:37:25.035Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-03-21T09:37:25.035Z] 8ac27928916d: Preparing [2022-03-21T09:37:25.035Z] ad66ecc8704f: Preparing [2022-03-21T09:37:25.035Z] 293382ddcf9b: Preparing [2022-03-21T09:37:25.035Z] 7dd715dca2bb: Preparing [2022-03-21T09:37:25.035Z] 49c7c6f6dc6c: Preparing [2022-03-21T09:37:25.035Z] 293382ddcf9b: Layer already exists [2022-03-21T09:37:25.035Z] ad66ecc8704f: Layer already exists [2022-03-21T09:37:25.035Z] 7dd715dca2bb: Layer already exists [2022-03-21T09:37:25.035Z] 49c7c6f6dc6c: Layer already exists [2022-03-21T09:37:25.035Z] 8ac27928916d: Layer already exists [2022-03-21T09:37:25.309Z] latest: digest: sha256:dbab945f097727e599ca80e8fd0db96b0d4ea0220c2fbf68764b2bebe79bfd1c size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:37:25.656Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:37:26.001Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.11 [2022-03-21T09:37:26.001Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-03-21T09:37:26.001Z] 8ac27928916d: Preparing [2022-03-21T09:37:26.001Z] ad66ecc8704f: Preparing [2022-03-21T09:37:26.001Z] 293382ddcf9b: Preparing [2022-03-21T09:37:26.001Z] 7dd715dca2bb: Preparing [2022-03-21T09:37:26.001Z] 49c7c6f6dc6c: Preparing [2022-03-21T09:37:26.001Z] 8ac27928916d: Layer already exists [2022-03-21T09:37:26.001Z] 49c7c6f6dc6c: Layer already exists [2022-03-21T09:37:26.001Z] 293382ddcf9b: Layer already exists [2022-03-21T09:37:26.001Z] 7dd715dca2bb: Layer already exists [2022-03-21T09:37:26.001Z] ad66ecc8704f: Layer already exists [2022-03-21T09:37:26.274Z] 2.2.0-dev.11: digest: sha256:dbab945f097727e599ca80e8fd0db96b0d4ea0220c2fbf68764b2bebe79bfd1c size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:37:26.621Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9225b543fa42775eff825b7d98be0ff13d95165d-2.2.0-dev.11 [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:37:26.970Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9225b543fa42775eff825b7d98be0ff13d95165d-2.2.0-dev.11 [2022-03-21T09:37:26.970Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-03-21T09:37:26.970Z] 8ac27928916d: Preparing [2022-03-21T09:37:26.970Z] ad66ecc8704f: Preparing [2022-03-21T09:37:26.970Z] 293382ddcf9b: Preparing [2022-03-21T09:37:26.970Z] 7dd715dca2bb: Preparing [2022-03-21T09:37:26.970Z] 49c7c6f6dc6c: Preparing [2022-03-21T09:37:26.970Z] ad66ecc8704f: Layer already exists [2022-03-21T09:37:26.970Z] 293382ddcf9b: Layer already exists [2022-03-21T09:37:26.970Z] 7dd715dca2bb: Layer already exists [2022-03-21T09:37:26.970Z] 8ac27928916d: Layer already exists [2022-03-21T09:37:26.970Z] 49c7c6f6dc6c: Layer already exists [2022-03-21T09:37:27.248Z] 9225b543fa42775eff825b7d98be0ff13d95165d-2.2.0-dev.11: digest: sha256:dbab945f097727e599ca80e8fd0db96b0d4ea0220c2fbf68764b2bebe79bfd1c size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:37:27.611Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:37:27.978Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-03-21T09:37:27.978Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-03-21T09:37:27.978Z] 8ac27928916d: Preparing [2022-03-21T09:37:27.978Z] ad66ecc8704f: Preparing [2022-03-21T09:37:27.978Z] 293382ddcf9b: Preparing [2022-03-21T09:37:27.978Z] 7dd715dca2bb: Preparing [2022-03-21T09:37:27.978Z] 49c7c6f6dc6c: Preparing [2022-03-21T09:37:27.978Z] ad66ecc8704f: Layer already exists [2022-03-21T09:37:27.978Z] 8ac27928916d: Layer already exists [2022-03-21T09:37:27.978Z] 7dd715dca2bb: Layer already exists [2022-03-21T09:37:27.978Z] 293382ddcf9b: Layer already exists [2022-03-21T09:37:27.978Z] 49c7c6f6dc6c: Layer already exists [2022-03-21T09:37:28.250Z] main: digest: sha256:dbab945f097727e599ca80e8fd0db96b0d4ea0220c2fbf68764b2bebe79bfd1c size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-03-21T09:37:28.304Z] ===================================================== [Pipeline] echo [2022-03-21T09:37:28.312Z] taggedImages: [2022-03-21T09:37:28.312Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9225b543fa42775eff825b7d98be0ff13d95165d [2022-03-21T09:37:28.312Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-03-21T09:37:28.312Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.11 [2022-03-21T09:37:28.312Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9225b543fa42775eff825b7d98be0ff13d95165d-2.2.0-dev.11 [2022-03-21T09:37:28.312Z] - 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-21T09:37:28.696Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-21T09:37:28.696Z] [2022-03-21T09:37:28.696Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:37:29.048Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-21T09:37:29.325Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-21T09:37:29.325Z] 8998bd30e6a1: Pulling fs layer [2022-03-21T09:37:29.325Z] 04944245beec: Pulling fs layer [2022-03-21T09:37:29.325Z] 699f458cf7ca: Pulling fs layer [2022-03-21T09:37:29.325Z] 765212b225bb: Pulling fs layer [2022-03-21T09:37:29.325Z] f23df028b6ca: Pulling fs layer [2022-03-21T09:37:29.325Z] d65c8cfc05b1: Pulling fs layer [2022-03-21T09:37:29.325Z] 2437ff75d9bd: Pulling fs layer [2022-03-21T09:37:29.325Z] f23df028b6ca: Waiting [2022-03-21T09:37:29.325Z] d65c8cfc05b1: Waiting [2022-03-21T09:37:29.325Z] 2437ff75d9bd: Waiting [2022-03-21T09:37:29.325Z] 765212b225bb: Waiting [2022-03-21T09:37:29.325Z] 04944245beec: Verifying Checksum [2022-03-21T09:37:29.325Z] 04944245beec: Download complete [2022-03-21T09:37:29.325Z] 765212b225bb: Download complete [2022-03-21T09:37:29.325Z] f23df028b6ca: Verifying Checksum [2022-03-21T09:37:29.325Z] f23df028b6ca: Download complete [2022-03-21T09:37:29.325Z] d65c8cfc05b1: Download complete [2022-03-21T09:37:29.604Z] 699f458cf7ca: Verifying Checksum [2022-03-21T09:37:29.604Z] 699f458cf7ca: Download complete [2022-03-21T09:37:29.881Z] 8998bd30e6a1: Verifying Checksum [2022-03-21T09:37:29.881Z] 8998bd30e6a1: Download complete [2022-03-21T09:37:32.520Z] 2437ff75d9bd: Verifying Checksum [2022-03-21T09:37:32.520Z] 2437ff75d9bd: Download complete [2022-03-21T09:37:34.505Z] 8998bd30e6a1: Pull complete [2022-03-21T09:37:34.779Z] 04944245beec: Pull complete [2022-03-21T09:37:36.218Z] 699f458cf7ca: Pull complete [2022-03-21T09:37:36.491Z] 765212b225bb: Pull complete [2022-03-21T09:37:37.090Z] f23df028b6ca: Pull complete [2022-03-21T09:37:37.364Z] d65c8cfc05b1: Pull complete [2022-03-21T09:37:52.470Z] 2437ff75d9bd: Pull complete [2022-03-21T09:37:52.470Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-21T09:37:52.470Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-21T09:37:52.470Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-21T09:37:52.719Z] prd-ubuntu20.04-docker-arm64-4c-16g-8171 does not seem to be running inside a container [2022-03-21T09:37:52.812Z] $ 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/32 -v /w/workspace/device-mqtt-go/32:/w/workspace/device-mqtt-go/32:rw,z -v /w/workspace/device-mqtt-go/32@tmp:/w/workspace/device-mqtt-go/32@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-21T09:37:55.241Z] $ docker top 40a476deb28198fd211121d85a909040bc73c7e527bd11e4fe86283312d2e30a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-21T09:37:56.192Z] ---> job-cost.sh [2022-03-21T09:37:56.192Z] lf-activate-venv: SKIPPING [2022-03-21T09:37:56.192Z] INFO: No Stack... [2022-03-21T09:37:56.785Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-21T09:37:57.763Z] INFO: Archiving Costs [Pipeline] sh [2022-03-21T09:37:58.438Z] + cat /w/workspace/device-mqtt-go/32/archives/cost.csv [2022-03-21T09:37:58.438Z] + cut -d, -f6 [Pipeline] lock [2022-03-21T09:37:58.505Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-32-stack-cost] [2022-03-21T09:37:58.510Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-32-stack-cost] did not exist. Created. [2022-03-21T09:37:58.510Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-32-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-21T09:37:59.189Z] /w/workspace/device-mqtt-go/32@tmp/durable-c646f78e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-21T09:37:59.877Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-21T09:37:59.908Z] Warning: overwriting stash ‘stack-cost’ [2022-03-21T09:37:59.955Z] Stashed 1 file(s) [Pipeline] } [2022-03-21T09:37:59.963Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-32-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-21T09:37:59.989Z] $ docker stop --time=1 40a476deb28198fd211121d85a909040bc73c7e527bd11e4fe86283312d2e30a [2022-03-21T09:38:01.496Z] $ docker rm -f 40a476deb28198fd211121d85a909040bc73c7e527bd11e4fe86283312d2e30a [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-21T09:38:02.007Z] provisioning config files... [2022-03-21T09:38:02.017Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4994589934766110931tmp [Pipeline] { [Pipeline] sh [2022-03-21T09:38:02.307Z] + set +x [2022-03-21T09:38:02.307Z] + + bash -s -- [2022-03-21T09:38:02.307Z] curl -s https://codecov.io/bash [2022-03-21T09:38:02.307Z] [2022-03-21T09:38:02.307Z] _____ _ [2022-03-21T09:38:02.307Z] / ____| | | [2022-03-21T09:38:02.307Z] | | ___ __| | ___ ___ _____ __ [2022-03-21T09:38:02.307Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-03-21T09:38:02.307Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-03-21T09:38:02.307Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-03-21T09:38:02.307Z] Bash-1.0.6 [2022-03-21T09:38:02.307Z] [2022-03-21T09:38:02.307Z] [2022-03-21T09:38:02.307Z] ==> git version 2.25.1 found [2022-03-21T09:38:02.307Z] ==> 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-21T09:38:02.307Z] Release-Date: 2020-01-08 [2022-03-21T09:38:02.307Z] 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-21T09:38:02.307Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-03-21T09:38:02.307Z] ==> Jenkins CI detected. [2022-03-21T09:38:02.307Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-03-21T09:38:02.307Z] project root: . [2022-03-21T09:38:02.307Z] --> token set from env [2022-03-21T09:38:02.307Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-03-21T09:38:02.307Z] ==> Running gcov in . (disable via -X gcov) [2022-03-21T09:38:02.307Z] ==> Python coveragepy not found [2022-03-21T09:38:02.307Z] ==> Searching for coverage reports in: [2022-03-21T09:38:02.307Z] + . [2022-03-21T09:38:02.307Z] -> Found 1 reports [2022-03-21T09:38:02.307Z] ==> Detecting git/mercurial file structure [2022-03-21T09:38:02.307Z] ==> Reading reports [2022-03-21T09:38:02.307Z] + ./coverage.out bytes=17452 [2022-03-21T09:38:02.307Z] ==> Appending adjustments [2022-03-21T09:38:02.307Z] https://docs.codecov.io/docs/fixing-reports [2022-03-21T09:38:02.575Z] + Found adjustments [2022-03-21T09:38:02.575Z] ==> Gzipping contents [2022-03-21T09:38:02.575Z] 4.0K /tmp/codecov.Wgj1da.gz [2022-03-21T09:38:02.575Z] ==> Uploading reports [2022-03-21T09:38:02.575Z] url: https://codecov.io [2022-03-21T09:38:02.575Z] query: branch=main&commit=9225b543fa42775eff825b7d98be0ff13d95165d&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-21T09:38:02.575Z] -> Pinging Codecov [2022-03-21T09:38:02.575Z] 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=9225b543fa42775eff825b7d98be0ff13d95165d&build=32&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F32%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-03-21T09:38:02.845Z] -> Uploading to [2022-03-21T09:38:02.845Z] https://storage.googleapis.com/codecov/v4/raw/2022-03-21/7D719EC7BBE17E464838252E33014C33/9225b543fa42775eff825b7d98be0ff13d95165d/9fdc1506-d077-4d41-ba66-8ba7f3a9036d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220321T093802Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4a91ec22e117fe0041b35ca885b6276660ba3f4796598c40342556fd6a506734 [2022-03-21T09:38:02.845Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-21T09:38:02.845Z] Dload Upload Total Spent Left Speed [2022-03-21T09:38:03.148Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3210 0 0 100 3210 0 11758 --:--:-- --:--:-- --:--:-- 11758 [2022-03-21T09:38:03.148Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/9225b543fa42775eff825b7d98be0ff13d95165d [Pipeline] } [2022-03-21T09:38:03.185Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-03-21T09:38:03.458Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-03-21T09:38:03.472Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:38:03.797Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-21T09:38:03.797Z] [2022-03-21T09:38:03.797Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:38:04.105Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-21T09:38:04.105Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-03-21T09:38:04.105Z] 188c0c94c7c5: Pulling fs layer [2022-03-21T09:38:04.105Z] 0ef7d3d256c8: Pulling fs layer [2022-03-21T09:38:04.105Z] de9db76c5a1d: Pulling fs layer [2022-03-21T09:38:04.105Z] 0eba1c9be4d2: Pulling fs layer [2022-03-21T09:38:04.105Z] 0d57e429df01: Pulling fs layer [2022-03-21T09:38:04.105Z] 4e4be7b47b0d: Pulling fs layer [2022-03-21T09:38:04.105Z] e1f770b5df2f: Pulling fs layer [2022-03-21T09:38:04.105Z] 85a0685a4137: Pulling fs layer [2022-03-21T09:38:04.105Z] 4e4be7b47b0d: Waiting [2022-03-21T09:38:04.105Z] e1f770b5df2f: Waiting [2022-03-21T09:38:04.105Z] 85a0685a4137: Waiting [2022-03-21T09:38:04.105Z] 0eba1c9be4d2: Waiting [2022-03-21T09:38:04.105Z] 0d57e429df01: Waiting [2022-03-21T09:38:04.105Z] de9db76c5a1d: Download complete [2022-03-21T09:38:04.105Z] 0ef7d3d256c8: Verifying Checksum [2022-03-21T09:38:04.105Z] 0ef7d3d256c8: Download complete [2022-03-21T09:38:04.105Z] 0d57e429df01: Download complete [2022-03-21T09:38:04.105Z] 4e4be7b47b0d: Verifying Checksum [2022-03-21T09:38:04.105Z] 4e4be7b47b0d: Download complete [2022-03-21T09:38:04.105Z] 188c0c94c7c5: Download complete [2022-03-21T09:38:04.367Z] 188c0c94c7c5: Pull complete [2022-03-21T09:38:04.367Z] e1f770b5df2f: Verifying Checksum [2022-03-21T09:38:04.367Z] e1f770b5df2f: Download complete [2022-03-21T09:38:04.367Z] 0ef7d3d256c8: Pull complete [2022-03-21T09:38:04.367Z] de9db76c5a1d: Pull complete [2022-03-21T09:38:04.939Z] 0eba1c9be4d2: Download complete [2022-03-21T09:38:04.939Z] 85a0685a4137: Verifying Checksum [2022-03-21T09:38:04.939Z] 85a0685a4137: Download complete [2022-03-21T09:38:08.230Z] 0eba1c9be4d2: Pull complete [2022-03-21T09:38:08.230Z] 0d57e429df01: Pull complete [2022-03-21T09:38:08.230Z] 4e4be7b47b0d: Pull complete [2022-03-21T09:38:08.489Z] e1f770b5df2f: Pull complete [2022-03-21T09:38:11.782Z] 85a0685a4137: Pull complete [2022-03-21T09:38:11.782Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-03-21T09:38:11.782Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-03-21T09:38:11.782Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-03-21T09:38:11.856Z] prd-ubuntu20.04-docker-8c-8g-8170 does not seem to be running inside a container [2022-03-21T09:38:11.899Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-03-21T09:38:13.956Z] $ docker top a8668b1f4d9034ede632429b151d295a2984c86ec281c296d846b1909ea4e7f6 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-03-21T09:38:14.031Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-03-21T09:38:14.315Z] + set -o pipefail [2022-03-21T09:38:14.315Z] + snyk monitor '--org=edgex-jenkins' [2022-03-21T09:38:17.617Z] [2022-03-21T09:38:17.617Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-03-21T09:38:17.617Z] [2022-03-21T09:38:17.617Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/e98fd4b0-b623-403d-87a7-96c1013f0b3c [2022-03-21T09:38:17.617Z] [2022-03-21T09:38:17.617Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-03-21T09:38:17.617Z] [2022-03-21T09:38:17.617Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-03-21T09:38:17.617Z] [2022-03-21T09:38:17.879Z] [Pipeline] } [2022-03-21T09:38:17.895Z] $ docker stop --time=1 a8668b1f4d9034ede632429b151d295a2984c86ec281c296d846b1909ea4e7f6 [2022-03-21T09:38:19.556Z] $ docker rm -f a8668b1f4d9034ede632429b151d295a2984c86ec281c296d846b1909ea4e7f6 [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-21T09:38:20.211Z] + git log --format=format:%s -1 9225b543fa42775eff825b7d98be0ff13d95165d [Pipeline] sh [2022-03-21T09:38:20.507Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-21T09:38:20.507Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:38:20.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-21T09:38:20.812Z] . [Pipeline] withDockerContainer [2022-03-21T09:38:20.876Z] prd-ubuntu20.04-docker-8c-8g-8170 does not seem to be running inside a container [2022-03-21T09:38:20.911Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-21T09:38:21.292Z] $ docker top 5737fb05cfacd6d0ac5fe450ba9cab8fda9ac624c874047dfe6a967af29684a9 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-21T09:38:21.386Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-21T09:38:21.386Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-21T09:38:21.509Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-21T09:38:21.515Z] $ docker exec 5737fb05cfacd6d0ac5fe450ba9cab8fda9ac624c874047dfe6a967af29684a9 ssh-agent [2022-03-21T09:38:21.622Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPBfgOm/agent.14 [2022-03-21T09:38:21.622Z] SSH_AGENT_PID=20 [2022-03-21T09:38:21.628Z] Running ssh-add (command line suppressed) [2022-03-21T09:38:21.749Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2106004408509563303.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_2106004408509563303.key) [2022-03-21T09:38:21.761Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-21T09:38:22.051Z] + git semver tag [2022-03-21T09:38:22.051Z] # -> Open(): unable to determine branch for HEAD [2022-03-21T09:38:22.051Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-03-21T09:38:22.051Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-03-21T09:38:22.051Z] # $SEMVER_REMOTE_NAME = origin [2022-03-21T09:38:22.051Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-21T09:38:22.051Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-21T09:38:22.051Z] # $SEMVER_BRANCH = main [2022-03-21T09:38:22.051Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-03-21T09:38:22.051Z] # 9225b543fa42775eff825b7d98be0ff13d95165d HEAD [2022-03-21T09:38:22.051Z] # -> Force: false [2022-03-21T09:38:22.051Z] # 3e0e98343a4ad49ed0f74ea9c396b7162c9235e5 refs/tags/v2.2.0-dev.11 [Pipeline] } [2022-03-21T09:38:22.066Z] $ docker exec --env ******** --env ******** 5737fb05cfacd6d0ac5fe450ba9cab8fda9ac624c874047dfe6a967af29684a9 ssh-agent -k [2022-03-21T09:38:22.177Z] unset SSH_AUTH_SOCK; [2022-03-21T09:38:22.178Z] unset SSH_AGENT_PID; [2022-03-21T09:38:22.178Z] echo Agent pid 20 killed; [2022-03-21T09:38:22.186Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-21T09:38:22.499Z] + git semver [Pipeline] } [2022-03-21T09:38:22.516Z] $ docker stop --time=1 5737fb05cfacd6d0ac5fe450ba9cab8fda9ac624c874047dfe6a967af29684a9 [2022-03-21T09:38:23.829Z] $ docker rm -f 5737fb05cfacd6d0ac5fe450ba9cab8fda9ac624c874047dfe6a967af29684a9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:38:24.222Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-21T09:38:24.222Z] [2022-03-21T09:38:24.222Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:38:24.526Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-21T09:38:24.526Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-03-21T09:38:24.526Z] ab5ef0e58194: Pulling fs layer [2022-03-21T09:38:24.526Z] 9712f1f96733: Pulling fs layer [2022-03-21T09:38:24.526Z] 63f879dbbcfc: Pulling fs layer [2022-03-21T09:38:24.526Z] 0d9ebad4ef96: Pulling fs layer [2022-03-21T09:38:24.526Z] e9a5061849ea: Pulling fs layer [2022-03-21T09:38:24.526Z] d747dcd14b5f: Pulling fs layer [2022-03-21T09:38:24.526Z] 2de7ff778b66: Pulling fs layer [2022-03-21T09:38:24.526Z] 0d9ebad4ef96: Waiting [2022-03-21T09:38:24.526Z] d747dcd14b5f: Waiting [2022-03-21T09:38:24.526Z] 2de7ff778b66: Waiting [2022-03-21T09:38:24.526Z] e9a5061849ea: Waiting [2022-03-21T09:38:24.526Z] 9712f1f96733: Verifying Checksum [2022-03-21T09:38:24.526Z] 9712f1f96733: Download complete [2022-03-21T09:38:24.790Z] 63f879dbbcfc: Verifying Checksum [2022-03-21T09:38:24.790Z] 63f879dbbcfc: Download complete [2022-03-21T09:38:25.051Z] 0d9ebad4ef96: Verifying Checksum [2022-03-21T09:38:25.051Z] 0d9ebad4ef96: Download complete [2022-03-21T09:38:25.051Z] e9a5061849ea: Verifying Checksum [2022-03-21T09:38:25.051Z] e9a5061849ea: Download complete [2022-03-21T09:38:25.051Z] d747dcd14b5f: Verifying Checksum [2022-03-21T09:38:25.051Z] d747dcd14b5f: Download complete [2022-03-21T09:38:25.051Z] ab5ef0e58194: Download complete [2022-03-21T09:38:25.310Z] 2de7ff778b66: Verifying Checksum [2022-03-21T09:38:25.310Z] 2de7ff778b66: Download complete [2022-03-21T09:38:27.847Z] ab5ef0e58194: Pull complete [2022-03-21T09:38:27.847Z] 9712f1f96733: Pull complete [2022-03-21T09:38:28.785Z] 63f879dbbcfc: Pull complete [2022-03-21T09:38:32.984Z] 0d9ebad4ef96: Pull complete [2022-03-21T09:38:32.984Z] e9a5061849ea: Pull complete [2022-03-21T09:38:32.984Z] d747dcd14b5f: Pull complete [2022-03-21T09:38:33.925Z] 2de7ff778b66: Pull complete [2022-03-21T09:38:33.925Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-03-21T09:38:33.925Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-03-21T09:38:33.925Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-03-21T09:38:34.000Z] prd-ubuntu20.04-docker-8c-8g-8170 does not seem to be running inside a container [2022-03-21T09:38:34.045Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-03-21T09:38:36.000Z] $ docker top cb6784ca35a8d334644d9b4ce27a1489065d643d08455c54de4e935330f8a062 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-03-21T09:38:36.087Z] provisioning config files... [2022-03-21T09:38:36.095Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4683745921261050799tmp [2022-03-21T09:38:36.107Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6385339441386378643tmp [2022-03-21T09:38:36.118Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9170511005360587674tmp [Pipeline] { [Pipeline] echo [2022-03-21T09:38:36.134Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T09:38:36.425Z] ---> sigul-configuration.sh [2022-03-21T09:38:36.425Z] gpg: directory `/root/.gnupg' created [2022-03-21T09:38:36.425Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-03-21T09:38:36.425Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-03-21T09:38:36.425Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-03-21T09:38:36.425Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-03-21T09:38:36.425Z] gpg: CAST5 encrypted data [2022-03-21T09:38:36.425Z] gpg: encrypted with 1 passphrase [2022-03-21T09:38:36.425Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-03-21T09:38:36.716Z] + mkdir /home/jenkins [2022-03-21T09:38:36.716Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-03-21T09:38:37.012Z] + 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-21T09:38:37.023Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T09:38:37.312Z] ---> sigul-install.sh [2022-03-21T09:38:37.312Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-03-21T09:38:37.603Z] + git tag --list [2022-03-21T09:38:37.603Z] 0.7.1 [2022-03-21T09:38:37.603Z] v1.0.0 [2022-03-21T09:38:37.603Z] v1.1.0 [2022-03-21T09:38:37.603Z] v1.1.1 [2022-03-21T09:38:37.603Z] v1.2.2 [2022-03-21T09:38:37.603Z] v1.3.0 [2022-03-21T09:38:37.603Z] v1.3.1 [2022-03-21T09:38:37.603Z] v2.0.0 [2022-03-21T09:38:37.603Z] v2.0.1-dev.1 [2022-03-21T09:38:37.603Z] v2.0.1-dev.10 [2022-03-21T09:38:37.603Z] v2.0.1-dev.11 [2022-03-21T09:38:37.603Z] v2.0.1-dev.12 [2022-03-21T09:38:37.603Z] v2.0.1-dev.13 [2022-03-21T09:38:37.603Z] v2.0.1-dev.14 [2022-03-21T09:38:37.603Z] v2.0.1-dev.15 [2022-03-21T09:38:37.603Z] v2.0.1-dev.16 [2022-03-21T09:38:37.603Z] v2.0.1-dev.17 [2022-03-21T09:38:37.603Z] v2.0.1-dev.2 [2022-03-21T09:38:37.603Z] v2.0.1-dev.3 [2022-03-21T09:38:37.603Z] v2.0.1-dev.4 [2022-03-21T09:38:37.603Z] v2.0.1-dev.5 [2022-03-21T09:38:37.603Z] v2.0.1-dev.6 [2022-03-21T09:38:37.603Z] v2.0.1-dev.7 [2022-03-21T09:38:37.603Z] v2.0.1-dev.8 [2022-03-21T09:38:37.604Z] v2.0.1-dev.9 [2022-03-21T09:38:37.604Z] v2.1.0 [2022-03-21T09:38:37.604Z] v2.2.0-dev.1 [2022-03-21T09:38:37.604Z] v2.2.0-dev.10 [2022-03-21T09:38:37.604Z] v2.2.0-dev.11 [2022-03-21T09:38:37.604Z] v2.2.0-dev.2 [2022-03-21T09:38:37.604Z] v2.2.0-dev.3 [2022-03-21T09:38:37.604Z] v2.2.0-dev.4 [2022-03-21T09:38:37.604Z] v2.2.0-dev.5 [2022-03-21T09:38:37.604Z] v2.2.0-dev.6 [2022-03-21T09:38:37.604Z] v2.2.0-dev.7 [2022-03-21T09:38:37.604Z] v2.2.0-dev.8 [2022-03-21T09:38:37.604Z] v2.2.0-dev.9 [Pipeline] sh [2022-03-21T09:38:37.893Z] + lftools sign git-tag v2.2.0-dev.11 [2022-03-21T09:38:38.466Z] Signing Git tag with Sigul... [2022-03-21T09:38:38.466Z] Signing v2.2.0-dev.11 [Pipeline] echo [2022-03-21T09:38:38.736Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T09:38:39.020Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-03-21T09:38:39.028Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-03-21T09:38:39.051Z] $ docker stop --time=1 cb6784ca35a8d334644d9b4ce27a1489065d643d08455c54de4e935330f8a062 [2022-03-21T09:38:40.366Z] $ docker rm -f cb6784ca35a8d334644d9b4ce27a1489065d643d08455c54de4e935330f8a062 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-03-21T09:38:40.789Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-21T09:38:40.789Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:38:41.087Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-21T09:38:41.087Z] . [Pipeline] withDockerContainer [2022-03-21T09:38:41.155Z] prd-ubuntu20.04-docker-8c-8g-8170 does not seem to be running inside a container [2022-03-21T09:38:41.201Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-21T09:38:41.588Z] $ docker top f827fab8435fc58281738415f6800d29242c07e489fa628c4e891b12b640a84d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-21T09:38:41.701Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-21T09:38:41.701Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-21T09:38:41.830Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-21T09:38:41.837Z] $ docker exec f827fab8435fc58281738415f6800d29242c07e489fa628c4e891b12b640a84d ssh-agent [2022-03-21T09:38:41.961Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoBLldg/agent.14 [2022-03-21T09:38:41.961Z] SSH_AGENT_PID=20 [2022-03-21T09:38:41.967Z] Running ssh-add (command line suppressed) [2022-03-21T09:38:42.084Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1040916677602430499.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1040916677602430499.key) [2022-03-21T09:38:42.095Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-21T09:38:42.391Z] + git semver bump pre [2022-03-21T09:38:42.391Z] # -> Open(): unable to determine branch for HEAD [2022-03-21T09:38:42.391Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-03-21T09:38:42.391Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-03-21T09:38:42.391Z] # $SEMVER_REMOTE_NAME = origin [2022-03-21T09:38:42.391Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-21T09:38:42.391Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-21T09:38:42.391Z] # $SEMVER_BRANCH = main [2022-03-21T09:38:42.391Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-03-21T09:38:42.391Z] 2.2.0-dev.12 [Pipeline] } [2022-03-21T09:38:42.406Z] $ docker exec --env ******** --env ******** f827fab8435fc58281738415f6800d29242c07e489fa628c4e891b12b640a84d ssh-agent -k [2022-03-21T09:38:42.504Z] unset SSH_AUTH_SOCK; [2022-03-21T09:38:42.504Z] unset SSH_AGENT_PID; [2022-03-21T09:38:42.504Z] echo Agent pid 20 killed; [2022-03-21T09:38:42.514Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-21T09:38:42.813Z] + git semver [Pipeline] } [2022-03-21T09:38:42.832Z] $ docker stop --time=1 f827fab8435fc58281738415f6800d29242c07e489fa628c4e891b12b640a84d [2022-03-21T09:38:44.156Z] $ docker rm -f f827fab8435fc58281738415f6800d29242c07e489fa628c4e891b12b640a84d [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-21T09:38:44.517Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-03-21T09:38:44.517Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:38:44.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-21T09:38:44.812Z] . [Pipeline] withDockerContainer [2022-03-21T09:38:44.877Z] prd-ubuntu20.04-docker-8c-8g-8170 does not seem to be running inside a container [2022-03-21T09:38:44.918Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-03-21T09:38:45.293Z] $ docker top e796217a8e2bb35928ba3b1dcfaeddaa7036ca84c5865d8be2d4c9ae2746bae3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-21T09:38:45.385Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-21T09:38:45.385Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-21T09:38:45.521Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-21T09:38:45.528Z] $ docker exec e796217a8e2bb35928ba3b1dcfaeddaa7036ca84c5865d8be2d4c9ae2746bae3 ssh-agent [2022-03-21T09:38:45.637Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXALKhnh/agent.13 [2022-03-21T09:38:45.637Z] SSH_AGENT_PID=19 [2022-03-21T09:38:45.643Z] Running ssh-add (command line suppressed) [2022-03-21T09:38:45.758Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7726450127994303941.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7726450127994303941.key) [2022-03-21T09:38:45.769Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-21T09:38:46.059Z] + git semver push [2022-03-21T09:38:46.059Z] # -> Open(): unable to determine branch for HEAD [2022-03-21T09:38:46.059Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.git [2022-03-21T09:38:46.059Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-mqtt-go_main [2022-03-21T09:38:46.059Z] # $SEMVER_REMOTE_NAME = origin [2022-03-21T09:38:46.059Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-21T09:38:46.059Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-21T09:38:46.059Z] # $SEMVER_BRANCH = main [2022-03-21T09:38:46.059Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [Pipeline] } [2022-03-21T09:38:47.992Z] $ docker exec --env ******** --env ******** e796217a8e2bb35928ba3b1dcfaeddaa7036ca84c5865d8be2d4c9ae2746bae3 ssh-agent -k [2022-03-21T09:38:48.100Z] unset SSH_AUTH_SOCK; [2022-03-21T09:38:48.101Z] unset SSH_AGENT_PID; [2022-03-21T09:38:48.101Z] echo Agent pid 19 killed; [2022-03-21T09:38:48.108Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-21T09:38:48.421Z] + git semver [Pipeline] } [2022-03-21T09:38:48.439Z] $ docker stop --time=1 e796217a8e2bb35928ba3b1dcfaeddaa7036ca84c5865d8be2d4c9ae2746bae3 [2022-03-21T09:38:49.721Z] $ docker rm -f e796217a8e2bb35928ba3b1dcfaeddaa7036ca84c5865d8be2d4c9ae2746bae3 [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-21T09:38:50.352Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2022-03-21T09:38:50.352Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-03-21T09:38:50.352Z] total 16 [2022-03-21T09:38:50.352Z] drwxr-xr-x 3 root root 4096 Mar 21 09:31 . [2022-03-21T09:38:50.352Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 09:38 .. [2022-03-21T09:38:50.352Z] drwxr-xr-x 2 root root 4096 Mar 21 09:31 cost [2022-03-21T09:38:50.352Z] -rw-r--r-- 1 root root 84 Mar 21 09:31 cost.csv [2022-03-21T09:38:50.352Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-03-21T09:38:50.352Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-03-21T09:38:50.352Z] total 16 [2022-03-21T09:38:50.352Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 09:31 . [2022-03-21T09:38:50.352Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 09:38 .. [2022-03-21T09:38:50.352Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 09:31 cost [2022-03-21T09:38:50.352Z] -rw-r--r-- 1 jenkins jenkins 84 Mar 21 09:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-21T09:38:50.645Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T09:38:51.511Z] ---> package-listing.sh [2022-03-21T09:38:51.511Z] ++ facter osfamily [2022-03-21T09:38:51.511Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-21T09:38:51.770Z] + OS_FAMILY=debian [2022-03-21T09:38:51.770Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-03-21T09:38:51.770Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-21T09:38:51.770Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-21T09:38:51.770Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-21T09:38:51.770Z] + PACKAGES=/tmp/packages_start.txt [2022-03-21T09:38:51.770Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-03-21T09:38:51.770Z] + PACKAGES=/tmp/packages_end.txt [2022-03-21T09:38:51.770Z] + case "${OS_FAMILY}" in [2022-03-21T09:38:51.770Z] + dpkg -l [2022-03-21T09:38:51.770Z] + grep '^ii' [2022-03-21T09:38:51.770Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-21T09:38:51.770Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-21T09:38:51.770Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-21T09:38:51.770Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-03-21T09:38:51.770Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-03-21T09:38:51.770Z] + 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-21T09:38:51.783Z] 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-21T09:38:52.066Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-21T09:38:52.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-21T09:38:52.632Z] . [Pipeline] withDockerContainer [2022-03-21T09:38:52.766Z] prd-ubuntu20.04-docker-8c-8g-8170 does not seem to be running inside a container [2022-03-21T09:38:52.820Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-21T09:38:53.071Z] $ docker top d44c00d390572920c082bc82e1e427cfde6c34b298c1d5d532cc8921fa595481 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-21T09:38:53.426Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-21T09:38:53.717Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-21T09:38:54.009Z] + ls /var/log/sa-host [2022-03-21T09:38:54.009Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-21T09:38:54.220Z] provisioning config files... [2022-03-21T09:38:54.232Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5212389019902732931tmp [Pipeline] { [Pipeline] echo [2022-03-21T09:38:54.248Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T09:38:54.536Z] ---> create-netrc.sh [Pipeline] } [2022-03-21T09:38:54.545Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-21T09:38:54.891Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-21T09:38:54.902Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T09:38:55.189Z] ---> sudo-logs.sh [2022-03-21T09:38:55.189Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-03-21T09:38:55.215Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T09:38:55.504Z] ---> job-cost.sh [2022-03-21T09:38:55.504Z] lf-activate-venv: SKIPPING [2022-03-21T09:38:55.504Z] DEBUG: total: 0.2199999988079071 [2022-03-21T09:38:55.504Z] INFO: Retrieving Stack Cost... [2022-03-21T09:38:55.765Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-03-21T09:38:56.336Z] INFO: Archiving Costs [Pipeline] echo [2022-03-21T09:38:56.351Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-21T09:38:56.638Z] ---> logs-deploy.sh [2022-03-21T09:38:56.638Z] lf-activate-venv: SKIPPING [2022-03-21T09:38:56.638Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/32 [2022-03-21T09:38:56.638Z] INFO: archiving workspace using pattern(s): [2022-03-21T09:38:57.580Z] Archives upload complete. [2022-03-21T09:38:57.580Z] INFO: archiving logs to Nexus