Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9e5ff16ea29b888a79edc386c2a8af4882824547 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-ssh13647288258761145810.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh3312383122899542121.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh4096602274992332419.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh18040621903539561212.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-ssh12507481613726213253.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:false] ========================================================= [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: false 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 ‘prd-ubuntu20.04-docker-8c-8g-41791’ is offline Running on prd-ubuntu20.04-docker-8c-8g-41792 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 9e5ff16ea29b888a79edc386c2a8af4882824547 (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 9e5ff16ea29b888a79edc386c2a8af4882824547 # timeout=10 Commit message: "Merge pull request #379 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.37" > git rev-list --no-walk 8a3b8b69e8592b451639ad65dda00efb90da788d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-09T10:55:00.117Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-09T10:55:00.184Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-09T10:55:00.207Z] ========================================================= [2022-05-09T10:55:00.207Z] EdgeX Global Pipelines Version Info [2022-05-09T10:55:00.207Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-09T10:55:00.986Z] ------------------- [2022-05-09T10:55:00.986Z] stable info: [2022-05-09T10:55:00.986Z] ------------------- [2022-05-09T10:55:00.986Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-09T10:55:00.986Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-09T10:55:00.986Z] Message: update stable to v1.0.227 [2022-05-09T10:55:01.559Z] ------------------- [2022-05-09T10:55:01.559Z] experimental info: [2022-05-09T10:55:01.559Z] ------------------- [2022-05-09T10:55:01.559Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-09T10:55:01.559Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-09T10:55:01.559Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-09T10:55:01.707Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-05-09T10:55:01.722Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-05-09T10:55:01.739Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-09T10:55:01.752Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-09T10:55:01.766Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-09T10:55:01.778Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-09T10:55:01.793Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-09T10:55:01.808Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-09T10:55:01.823Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-09T10:55:01.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-09T10:55:01.845Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-09T10:55:01.857Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-05-09T10:55:01.867Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-09T10:55:01.883Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-09T10:55:01.900Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-09T10:55:01.915Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-09T10:55:01.923Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-09T10:55:01.939Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-09T10:55:01.951Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-09T10:55:01.962Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-09T10:55:01.971Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-09T10:55:01.980Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-09T10:55:01.989Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-09T10:55:01.998Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-09T10:55:02.007Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-09T10:55:02.021Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-09T10:55:02.033Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-09T10:55:02.041Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-09T10:55:02.051Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-09T10:55:02.060Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9e5ff16ea29b888a79edc386c2a8af4882824547 [Pipeline] echo [2022-05-09T10:55:02.068Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9e5ff16 [Pipeline] echo [2022-05-09T10:55:02.077Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T10:55:02.110Z] provisioning config files... [2022-05-09T10:55:02.126Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6428868985330961611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T10:55:02.437Z] ---> docker-login.sh [2022-05-09T10:55:02.437Z] nexus3.edgexfoundry.org:10001 [2022-05-09T10:55:02.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:55:02.699Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:55:02.699Z] Configure a credential helper to remove this warning. See [2022-05-09T10:55:02.699Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:55:02.699Z] [2022-05-09T10:55:02.699Z] Login Succeeded [2022-05-09T10:55:02.699Z] nexus3.edgexfoundry.org:10002 [2022-05-09T10:55:02.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:55:02.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:55:02.960Z] Configure a credential helper to remove this warning. See [2022-05-09T10:55:02.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:55:02.960Z] [2022-05-09T10:55:02.960Z] Login Succeeded [2022-05-09T10:55:02.960Z] nexus3.edgexfoundry.org:10003 [2022-05-09T10:55:02.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:55:03.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:55:03.220Z] Configure a credential helper to remove this warning. See [2022-05-09T10:55:03.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:55:03.220Z] [2022-05-09T10:55:03.220Z] Login Succeeded [2022-05-09T10:55:03.220Z] nexus3.edgexfoundry.org:10004 [2022-05-09T10:55:03.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:55:03.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:55:03.220Z] Configure a credential helper to remove this warning. See [2022-05-09T10:55:03.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:55:03.220Z] [2022-05-09T10:55:03.220Z] Login Succeeded [2022-05-09T10:55:03.220Z] docker.io [2022-05-09T10:55:03.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:55:03.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:55:03.744Z] Configure a credential helper to remove this warning. See [2022-05-09T10:55:03.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:55:03.744Z] [2022-05-09T10:55:03.744Z] Login Succeeded [2022-05-09T10:55:03.744Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T10:55:03.753Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-09T10:55:04.148Z] + git rev-list -1 --merges 9e5ff16ea29b888a79edc386c2a8af4882824547~1..9e5ff16ea29b888a79edc386c2a8af4882824547 [Pipeline] echo [2022-05-09T10:55:04.304Z] -----------> git rev-list -1 --merges 9e5ff16ea29b888a79edc386c2a8af4882824547~1..9e5ff16ea29b888a79edc386c2a8af4882824547 9e5ff16ea29b888a79edc386c2a8af4882824547 [2022-05-09T10:55:04.304Z] 9e5ff16ea29b888a79edc386c2a8af4882824547 [false] [Pipeline] sh [2022-05-09T10:55:04.599Z] + git log --format=format:%s -1 9e5ff16ea29b888a79edc386c2a8af4882824547 [Pipeline] echo [2022-05-09T10:55:04.616Z] ========================================================= [2022-05-09T10:55:04.616Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-09T10:55:04.616Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T10:55:04.947Z] + git log --format=format:%s -1 9e5ff16ea29b888a79edc386c2a8af4882824547 [Pipeline] echo [2022-05-09T10:55:04.962Z] [semverPrep] GIT_COMMIT: 9e5ff16ea29b888a79edc386c2a8af4882824547, Commit Message: Merge pull request #379 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.37 [Pipeline] echo [2022-05-09T10:55:04.973Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-09T10:55:05.362Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-09T10:55:05.362Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-09T10:55:05.362Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-09T10:55:05.362Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-09T10:55:05.362Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-09T10:55:05.362Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-09T10:55:05.362Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:55:05.711Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T10:55:05.711Z] [2022-05-09T10:55:05.711Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:55:06.025Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T10:55:06.025Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-09T10:55:06.025Z] 1fe172e4850f: Pulling fs layer [2022-05-09T10:55:06.025Z] caf521ccaac6: Pulling fs layer [2022-05-09T10:55:06.025Z] 3ead6fa29328: Pulling fs layer [2022-05-09T10:55:06.025Z] 5c2a1cbceb83: Pulling fs layer [2022-05-09T10:55:06.025Z] a8d5f1318db7: Pulling fs layer [2022-05-09T10:55:06.025Z] 5c2a1cbceb83: Waiting [2022-05-09T10:55:06.025Z] c427282e49a2: Pulling fs layer [2022-05-09T10:55:06.025Z] 1827001aaf11: Pulling fs layer [2022-05-09T10:55:06.025Z] 0714d37db230: Pulling fs layer [2022-05-09T10:55:06.025Z] ac28cf19c067: Pulling fs layer [2022-05-09T10:55:06.025Z] ca983d60f3e2: Pulling fs layer [2022-05-09T10:55:06.025Z] 9f894cec8388: Pulling fs layer [2022-05-09T10:55:06.025Z] c427282e49a2: Waiting [2022-05-09T10:55:06.025Z] 1827001aaf11: Waiting [2022-05-09T10:55:06.025Z] a8d5f1318db7: Waiting [2022-05-09T10:55:06.025Z] 0714d37db230: Waiting [2022-05-09T10:55:06.025Z] ac28cf19c067: Waiting [2022-05-09T10:55:06.025Z] 9f894cec8388: Waiting [2022-05-09T10:55:06.025Z] caf521ccaac6: Download complete [2022-05-09T10:55:06.025Z] 5c2a1cbceb83: Download complete [2022-05-09T10:55:06.292Z] a8d5f1318db7: Verifying Checksum [2022-05-09T10:55:06.292Z] a8d5f1318db7: Download complete [2022-05-09T10:55:06.292Z] c427282e49a2: Verifying Checksum [2022-05-09T10:55:06.292Z] c427282e49a2: Download complete [2022-05-09T10:55:06.292Z] 3ead6fa29328: Verifying Checksum [2022-05-09T10:55:06.292Z] 3ead6fa29328: Download complete [2022-05-09T10:55:06.292Z] 0714d37db230: Download complete [2022-05-09T10:55:06.292Z] ac28cf19c067: Verifying Checksum [2022-05-09T10:55:06.292Z] ac28cf19c067: Download complete [2022-05-09T10:55:06.292Z] ca983d60f3e2: Download complete [2022-05-09T10:55:06.292Z] 9f894cec8388: Download complete [2022-05-09T10:55:06.292Z] 1fe172e4850f: Verifying Checksum [2022-05-09T10:55:06.292Z] 1fe172e4850f: Download complete [2022-05-09T10:55:06.552Z] 1827001aaf11: Verifying Checksum [2022-05-09T10:55:06.552Z] 1827001aaf11: Download complete [2022-05-09T10:55:07.938Z] 1fe172e4850f: Pull complete [2022-05-09T10:55:07.938Z] caf521ccaac6: Pull complete [2022-05-09T10:55:08.510Z] 3ead6fa29328: Pull complete [2022-05-09T10:55:08.510Z] 5c2a1cbceb83: Pull complete [2022-05-09T10:55:08.772Z] a8d5f1318db7: Pull complete [2022-05-09T10:55:08.772Z] c427282e49a2: Pull complete [2022-05-09T10:55:10.686Z] 1827001aaf11: Pull complete [2022-05-09T10:55:10.947Z] 0714d37db230: Pull complete [2022-05-09T10:55:10.947Z] ac28cf19c067: Pull complete [2022-05-09T10:55:11.208Z] ca983d60f3e2: Pull complete [2022-05-09T10:55:11.208Z] 9f894cec8388: Pull complete [2022-05-09T10:55:11.208Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-09T10:55:11.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T10:55:11.208Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-09T10:55:11.291Z] prd-ubuntu20.04-docker-8c-8g-41792 does not seem to be running inside a container [2022-05-09T10:55:11.338Z] $ 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:10003/edgex-devops/py-git-semver:latest cat [2022-05-09T10:55:13.197Z] $ docker top 40e2d45fbb105ca55c959d771a55e78891815573b0dd1eaec03d94eb676c10af -eo pid,comm [2022-05-09T10:55:13.263Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-09T10:55:13.263Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-09T10:55:13.301Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T10:55:13.301Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T10:55:13.434Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T10:55:13.440Z] $ docker exec 40e2d45fbb105ca55c959d771a55e78891815573b0dd1eaec03d94eb676c10af ssh-agent [2022-05-09T10:55:13.570Z] SSH_AUTH_SOCK=/tmp/ssh-YRjCGufICeFu/agent.33 [2022-05-09T10:55:13.570Z] SSH_AGENT_PID=39 [2022-05-09T10:55:13.582Z] Running ssh-add (command line suppressed) [2022-05-09T10:55:13.727Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7840442063596840053.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7840442063596840053.key) [2022-05-09T10:55:13.742Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T10:55:14.035Z] + git tag --points-at HEAD [Pipeline] } [2022-05-09T10:55:14.059Z] $ docker exec --env ******** --env ******** 40e2d45fbb105ca55c959d771a55e78891815573b0dd1eaec03d94eb676c10af ssh-agent -k [2022-05-09T10:55:14.189Z] unset SSH_AUTH_SOCK; [2022-05-09T10:55:14.190Z] unset SSH_AGENT_PID; [2022-05-09T10:55:14.190Z] echo Agent pid 39 killed; [2022-05-09T10:55:14.200Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-09T10:55:14.227Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T10:55:14.227Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T10:55:14.373Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T10:55:14.379Z] $ docker exec 40e2d45fbb105ca55c959d771a55e78891815573b0dd1eaec03d94eb676c10af ssh-agent [2022-05-09T10:55:14.513Z] SSH_AUTH_SOCK=/tmp/ssh-tCbGg6PfAb9c/agent.73 [2022-05-09T10:55:14.513Z] SSH_AGENT_PID=79 [2022-05-09T10:55:14.520Z] Running ssh-add (command line suppressed) [2022-05-09T10:55:14.640Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9084080865192408400.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9084080865192408400.key) [2022-05-09T10:55:14.659Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T10:55:14.954Z] + git semver init [2022-05-09T10:55:15.218Z] 2022-05-09 10:55:15,153 [run_init] DEBUG init version:0.0.0 force:False [2022-05-09T10:55:15.218Z] 2022-05-09 10:55:15,154 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-05-09T10:55:15.218Z] 2022-05-09 10:55:15,154 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-05-09T10:55:15.218Z] 2022-05-09 10:55:15,155 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-09T10:55:16.160Z] 2022-05-09 10:55:16,062 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2022-05-09T10:55:16.160Z] 2022-05-09 10:55:16,063 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2022-05-09T10:55:16.160Z] 2022-05-09 10:55:16,063 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-09T10:55:16.160Z] 2022-05-09 10:55:16,063 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-09T10:55:16.160Z] 2.2.0-dev.20 [Pipeline] } [2022-05-09T10:55:16.174Z] $ docker exec --env ******** --env ******** 40e2d45fbb105ca55c959d771a55e78891815573b0dd1eaec03d94eb676c10af ssh-agent -k [2022-05-09T10:55:16.292Z] unset SSH_AUTH_SOCK; [2022-05-09T10:55:16.293Z] unset SSH_AGENT_PID; [2022-05-09T10:55:16.293Z] echo Agent pid 79 killed; [2022-05-09T10:55:16.305Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-09T10:55:16.622Z] + git semver [Pipeline] } [2022-05-09T10:55:16.900Z] $ docker stop --time=1 40e2d45fbb105ca55c959d771a55e78891815573b0dd1eaec03d94eb676c10af [2022-05-09T10:55:18.240Z] $ docker rm -f 40e2d45fbb105ca55c959d771a55e78891815573b0dd1eaec03d94eb676c10af [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T10:55:18.598Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-09T10:55:18.876Z] Stashed 1 file(s) [Pipeline] echo [2022-05-09T10:55:18.880Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.20 [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-05-09T10:55:19.031Z] provisioning config files... [2022-05-09T10:55:19.042Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8479121864458880573tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T10:55:19.344Z] ---> docker-login.sh [2022-05-09T10:55:19.345Z] nexus3.edgexfoundry.org:10001 [2022-05-09T10:55:19.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:55:19.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:55:19.345Z] Configure a credential helper to remove this warning. See [2022-05-09T10:55:19.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:55:19.345Z] [2022-05-09T10:55:19.345Z] Login Succeeded [2022-05-09T10:55:19.345Z] nexus3.edgexfoundry.org:10002 [2022-05-09T10:55:19.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:55:19.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:55:19.606Z] Configure a credential helper to remove this warning. See [2022-05-09T10:55:19.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:55:19.606Z] [2022-05-09T10:55:19.606Z] Login Succeeded [2022-05-09T10:55:19.606Z] nexus3.edgexfoundry.org:10003 [2022-05-09T10:55:19.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:55:19.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:55:19.606Z] Configure a credential helper to remove this warning. See [2022-05-09T10:55:19.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:55:19.606Z] [2022-05-09T10:55:19.606Z] Login Succeeded [2022-05-09T10:55:19.606Z] nexus3.edgexfoundry.org:10004 [2022-05-09T10:55:19.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:55:19.868Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:55:19.868Z] Configure a credential helper to remove this warning. See [2022-05-09T10:55:19.868Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:55:19.868Z] [2022-05-09T10:55:19.868Z] Login Succeeded [2022-05-09T10:55:19.868Z] docker.io [2022-05-09T10:55:19.868Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:55:20.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:55:20.133Z] Configure a credential helper to remove this warning. See [2022-05-09T10:55:20.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:55:20.133Z] [2022-05-09T10:55:20.133Z] Login Succeeded [2022-05-09T10:55:20.133Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T10:55:20.142Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-09T10:55:20.210Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T10:55:20.225Z] ========================================================= [2022-05-09T10:55:20.225Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-09T10:55:20.225Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:55:20.541Z] + 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-05-09T10:55:20.541Z] Sending build context to Docker daemon 5.852MB [2022-05-09T10:55:20.541Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T10:55:20.541Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-09T10:55:20.541Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-09T10:55:20.541Z] 59bf1c3509f3: Pulling fs layer [2022-05-09T10:55:20.541Z] 666ba61612fd: Pulling fs layer [2022-05-09T10:55:20.541Z] 8ed8ca486205: Pulling fs layer [2022-05-09T10:55:20.541Z] 4fe6c5a15a65: Pulling fs layer [2022-05-09T10:55:20.541Z] 22a0e8bec74d: Pulling fs layer [2022-05-09T10:55:20.541Z] ca2b28591e48: Pulling fs layer [2022-05-09T10:55:20.541Z] a51346096db8: Pulling fs layer [2022-05-09T10:55:20.541Z] daebc70d1ce1: Pulling fs layer [2022-05-09T10:55:20.541Z] 0e18a0eac166: Pulling fs layer [2022-05-09T10:55:20.541Z] 22a0e8bec74d: Waiting [2022-05-09T10:55:20.541Z] ca2b28591e48: Waiting [2022-05-09T10:55:20.541Z] a51346096db8: Waiting [2022-05-09T10:55:20.541Z] 4fe6c5a15a65: Waiting [2022-05-09T10:55:20.541Z] 0e18a0eac166: Waiting [2022-05-09T10:55:20.541Z] 8ed8ca486205: Verifying Checksum [2022-05-09T10:55:20.541Z] 8ed8ca486205: Download complete [2022-05-09T10:55:20.803Z] 666ba61612fd: Download complete [2022-05-09T10:55:20.803Z] 22a0e8bec74d: Download complete [2022-05-09T10:55:20.803Z] ca2b28591e48: Verifying Checksum [2022-05-09T10:55:20.803Z] ca2b28591e48: Download complete [2022-05-09T10:55:20.803Z] 59bf1c3509f3: Verifying Checksum [2022-05-09T10:55:20.803Z] 59bf1c3509f3: Download complete [2022-05-09T10:55:20.803Z] a51346096db8: Verifying Checksum [2022-05-09T10:55:20.803Z] a51346096db8: Download complete [2022-05-09T10:55:20.803Z] daebc70d1ce1: Verifying Checksum [2022-05-09T10:55:20.803Z] daebc70d1ce1: Download complete [2022-05-09T10:55:20.803Z] 59bf1c3509f3: Pull complete [2022-05-09T10:55:21.068Z] 666ba61612fd: Pull complete [2022-05-09T10:55:21.068Z] 8ed8ca486205: Pull complete [2022-05-09T10:55:21.329Z] 0e18a0eac166: Verifying Checksum [2022-05-09T10:55:21.329Z] 0e18a0eac166: Download complete [2022-05-09T10:55:21.587Z] 4fe6c5a15a65: Verifying Checksum [2022-05-09T10:55:21.587Z] 4fe6c5a15a65: Download complete [2022-05-09T10:55:25.778Z] 4fe6c5a15a65: Pull complete [2022-05-09T10:55:25.778Z] 22a0e8bec74d: Pull complete [2022-05-09T10:55:25.778Z] ca2b28591e48: Pull complete [2022-05-09T10:55:25.778Z] a51346096db8: Pull complete [2022-05-09T10:55:25.778Z] daebc70d1ce1: Pull complete [2022-05-09T10:55:27.692Z] 0e18a0eac166: Pull complete [2022-05-09T10:55:27.692Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-09T10:55:27.692Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-09T10:55:27.692Z] ---> f018257e8ee9 [2022-05-09T10:55:27.692Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-09T10:55:29.606Z] ---> Running in b5691ae5b50b [2022-05-09T10:55:29.606Z] Removing intermediate container b5691ae5b50b [2022-05-09T10:55:29.606Z] ---> b85d39045079 [2022-05-09T10:55:29.606Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-09T10:55:29.866Z] ---> Running in c41b267202f0 [2022-05-09T10:55:29.866Z] Removing intermediate container c41b267202f0 [2022-05-09T10:55:29.866Z] ---> 65e05d77b11e [2022-05-09T10:55:29.866Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T10:55:29.866Z] ---> Running in 555437f6be78 [2022-05-09T10:55:30.438Z] Removing intermediate container 555437f6be78 [2022-05-09T10:55:30.438Z] ---> e12137f4df09 [2022-05-09T10:55:30.438Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-09T10:55:30.438Z] ---> Running in e4e637f34511 [2022-05-09T10:55:31.009Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-09T10:55:31.582Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-09T10:55:31.843Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-09T10:55:32.106Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-09T10:55:32.106Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-09T10:55:32.106Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-09T10:55:32.366Z] Executing busybox-1.34.1-r3.trigger [2022-05-09T10:55:32.366Z] OK: 224 MiB in 56 packages [2022-05-09T10:55:32.635Z] Removing intermediate container e4e637f34511 [2022-05-09T10:55:32.635Z] ---> 04ebe636d335 [2022-05-09T10:55:32.635Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-05-09T10:55:32.894Z] ---> Running in 67816595ba9e [2022-05-09T10:55:32.894Z] Removing intermediate container 67816595ba9e [2022-05-09T10:55:32.894Z] ---> 19cdc5a988cf [2022-05-09T10:55:32.894Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-09T10:55:33.153Z] ---> c27fb6ca7877 [2022-05-09T10:55:33.153Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T10:55:33.153Z] ---> Running in ecda129211c0 [2022-05-09T10:55:33.978Z] Still waiting to schedule task [2022-05-09T10:55:33.978Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-41793’ is offline [2022-05-09T10:55:48.065Z] Removing intermediate container ecda129211c0 [2022-05-09T10:55:48.065Z] ---> a7de4032455f [2022-05-09T10:55:48.065Z] Step 10/12 : COPY . . [2022-05-09T10:55:48.065Z] ---> 443400a924b9 [2022-05-09T10:55:48.065Z] Step 11/12 : ARG MAKE='make build' [2022-05-09T10:55:48.065Z] ---> Running in 10657be60e29 [2022-05-09T10:55:48.065Z] Removing intermediate container 10657be60e29 [2022-05-09T10:55:48.065Z] ---> 59b611ea94c3 [2022-05-09T10:55:48.065Z] Step 12/12 : RUN $MAKE [2022-05-09T10:55:48.065Z] ---> Running in 3a2d17738402 [2022-05-09T10:55:48.065Z] noop [2022-05-09T10:55:48.065Z] Removing intermediate container 3a2d17738402 [2022-05-09T10:55:48.065Z] ---> 159d172d0633 [2022-05-09T10:55:48.065Z] Successfully built 159d172d0633 [2022-05-09T10:55:48.065Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:55:48.361Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-09T10:55:48.361Z] . [Pipeline] withDockerContainer [2022-05-09T10:55:48.443Z] prd-ubuntu20.04-docker-8c-8g-41792 does not seem to be running inside a container [2022-05-09T10:55:48.484Z] $ 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-05-09T10:55:48.881Z] $ docker top b1c4faaa2b4594e71886527bb146d8aa55e3777eb3925f84046a749d26923d5d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T10:55:49.240Z] + go version [2022-05-09T10:55:49.240Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-09T10:55:49.253Z] $ docker stop --time=1 b1c4faaa2b4594e71886527bb146d8aa55e3777eb3925f84046a749d26923d5d [2022-05-09T10:55:50.565Z] $ docker rm -f b1c4faaa2b4594e71886527bb146d8aa55e3777eb3925f84046a749d26923d5d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:55:51.028Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-09T10:55:51.028Z] . [Pipeline] withDockerContainer [2022-05-09T10:55:51.096Z] prd-ubuntu20.04-docker-8c-8g-41792 does not seem to be running inside a container [2022-05-09T10:55:51.134Z] $ 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-05-09T10:55:51.553Z] $ docker top b4e9123af3772951db8dce8a3c33ce37deac17f76b13756e877d3865df3efd22 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-09T10:55:51.931Z] + make test [2022-05-09T10:55:51.931Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-09T10:55:52.195Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-05-09T10:56:02.211Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-05-09T10:56:02.211Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 21.8% of statements [2022-05-09T10:56:02.211Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-05-09T10:56:07.503Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-09T10:56:10.791Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-09T10:56:10.791Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-09T10:56:10.791Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-09T10:56:11.064Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-09T10:56:11.083Z] $ docker stop --time=1 b4e9123af3772951db8dce8a3c33ce37deac17f76b13756e877d3865df3efd22 [2022-05-09T10:56:14.285Z] $ docker rm -f b4e9123af3772951db8dce8a3c33ce37deac17f76b13756e877d3865df3efd22 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T10:56:14.758Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-09T10:56:14.804Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-09T10:56:15.311Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-09T10:56:15.601Z] + ls -al . [2022-05-09T10:56:15.601Z] total 176 [2022-05-09T10:56:15.601Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 10:56 . [2022-05-09T10:56:15.601Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 10:54 .. [2022-05-09T10:56:15.601Z] -rw-rw-r-- 1 jenkins jenkins 140 May 9 10:54 .dockerignore [2022-05-09T10:56:15.601Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 10:55 .git [2022-05-09T10:56:15.601Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:54 .github [2022-05-09T10:56:15.601Z] -rw-rw-r-- 1 jenkins jenkins 329 May 9 10:54 .gitignore [2022-05-09T10:56:15.601Z] -rw-rw-r-- 1 jenkins jenkins 41 May 9 10:54 .golangci.yml [2022-05-09T10:56:15.601Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 10:55 .semver [2022-05-09T10:56:15.602Z] -rw-rw-r-- 1 jenkins jenkins 8656 May 9 10:54 Attribution.txt [2022-05-09T10:56:15.602Z] -rw-rw-r-- 1 jenkins jenkins 7447 May 9 10:54 CHANGELOG.md [2022-05-09T10:56:15.602Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 9 10:54 Dockerfile [2022-05-09T10:56:15.602Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 10:54 GOVERNANCE.md [2022-05-09T10:56:15.602Z] -rw-rw-r-- 1 jenkins jenkins 678 May 9 10:54 Jenkinsfile [2022-05-09T10:56:15.602Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 9 10:54 LICENSE [2022-05-09T10:56:15.602Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 9 10:54 Makefile [2022-05-09T10:56:15.602Z] -rw-rw-r-- 1 jenkins jenkins 620 May 9 10:54 OWNERS.md [2022-05-09T10:56:15.602Z] -rw-rw-r-- 1 jenkins jenkins 2501 May 9 10:54 README.md [2022-05-09T10:56:15.602Z] -rw-rw-r-- 1 jenkins jenkins 12 May 9 10:55 VERSION [2022-05-09T10:56:15.602Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:54 bin [2022-05-09T10:56:15.602Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:54 cmd [2022-05-09T10:56:15.602Z] -rw-r--r-- 1 jenkins jenkins 17887 May 9 10:56 coverage.out [2022-05-09T10:56:15.602Z] -rw-rw-r-- 1 jenkins jenkins 3309 May 9 10:54 go.mod [2022-05-09T10:56:15.602Z] -rw-rw-r-- 1 jenkins jenkins 35490 May 9 10:54 go.sum [2022-05-09T10:56:15.602Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:54 internal [2022-05-09T10:56:15.602Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:54 mock [2022-05-09T10:56:15.602Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 10:54 snap [2022-05-09T10:56:15.602Z] -rw-rw-r-- 1 jenkins jenkins 227 May 9 10:54 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:56:15.896Z] + 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=9e5ff16ea29b888a79edc386c2a8af4882824547 --label arch=amd64 --label version=2.2.0-dev.20 . [2022-05-09T10:56:15.896Z] Sending build context to Docker daemon 5.87MB [2022-05-09T10:56:15.896Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T10:56:15.896Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-09T10:56:15.896Z] ---> 159d172d0633 [2022-05-09T10:56:15.896Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-09T10:56:16.156Z] ---> Running in d1adaf579442 [2022-05-09T10:56:16.417Z] Removing intermediate container d1adaf579442 [2022-05-09T10:56:16.417Z] ---> f619afc958b2 [2022-05-09T10:56:16.417Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-05-09T10:56:16.678Z] ---> Running in 664ba4827ab4 [2022-05-09T10:56:16.939Z] Removing intermediate container 664ba4827ab4 [2022-05-09T10:56:16.939Z] ---> 687184ab8131 [2022-05-09T10:56:16.939Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T10:56:17.201Z] ---> Running in 0b4696cf8c77 [2022-05-09T10:56:18.586Z] Removing intermediate container 0b4696cf8c77 [2022-05-09T10:56:18.586Z] ---> 29d7e0e7de7c [2022-05-09T10:56:18.586Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-09T10:56:18.847Z] ---> Running in 5326187798cf [2022-05-09T10:56:19.106Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-09T10:56:20.048Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-09T10:56:20.308Z] OK: 224 MiB in 56 packages [2022-05-09T10:56:20.892Z] Removing intermediate container 5326187798cf [2022-05-09T10:56:20.892Z] ---> a812c5ccaec0 [2022-05-09T10:56:20.892Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-05-09T10:56:21.153Z] ---> Running in 4f275233c7c5 [2022-05-09T10:56:21.415Z] Removing intermediate container 4f275233c7c5 [2022-05-09T10:56:21.415Z] ---> 76f53fc178e2 [2022-05-09T10:56:21.415Z] Step 8/24 : COPY go.mod vendor* ./ [2022-05-09T10:56:21.986Z] ---> 918f72a3a909 [2022-05-09T10:56:21.986Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T10:56:22.246Z] ---> Running in 7e1b786eb672 [2022-05-09T10:56:23.185Z] Removing intermediate container 7e1b786eb672 [2022-05-09T10:56:23.185Z] ---> 7179c50007f5 [2022-05-09T10:56:23.185Z] Step 10/24 : COPY . . [2022-05-09T10:56:25.100Z] ---> 6177322c007a [2022-05-09T10:56:25.100Z] Step 11/24 : ARG MAKE='make build' [2022-05-09T10:56:26.041Z] ---> Running in 1c2711b69e34 [2022-05-09T10:56:34.177Z] Removing intermediate container 1c2711b69e34 [2022-05-09T10:56:34.177Z] ---> 1f5172f93993 [2022-05-09T10:56:34.177Z] Step 12/24 : RUN $MAKE [2022-05-09T10:56:34.438Z] ---> Running in 59e0712f4a01 [2022-05-09T10:56:34.698Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-05-09T10:56:56.642Z] Removing intermediate container 59e0712f4a01 [2022-05-09T10:56:56.642Z] ---> 42469335204f [2022-05-09T10:56:56.642Z] Step 13/24 : FROM alpine:3.14 [2022-05-09T10:56:56.642Z] 3.14: Pulling from library/alpine [2022-05-09T10:56:56.642Z] 8663204ce13b: Pulling fs layer [2022-05-09T10:56:56.642Z] 8663204ce13b: Download complete [2022-05-09T10:56:56.642Z] 8663204ce13b: Pull complete [2022-05-09T10:56:56.642Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-09T10:56:56.642Z] Status: Downloaded newer image for alpine:3.14 [2022-05-09T10:56:56.642Z] ---> e04c818066af [2022-05-09T10:56:56.642Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-05-09T10:56:56.642Z] ---> Running in d23eaeccdc3c [2022-05-09T10:56:56.642Z] Removing intermediate container d23eaeccdc3c [2022-05-09T10:56:56.642Z] ---> efddee8bfab4 [2022-05-09T10:56:56.642Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-09T10:56:56.642Z] ---> Running in 876117a95c43 [2022-05-09T10:56:56.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-09T10:56:56.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-09T10:56:56.642Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-09T10:56:56.642Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-09T10:56:56.642Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-09T10:56:56.642Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-09T10:56:56.642Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-09T10:56:56.642Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-09T10:56:56.642Z] Executing busybox-1.33.1-r7.trigger [2022-05-09T10:56:56.642Z] OK: 8 MiB in 20 packages [2022-05-09T10:56:56.642Z] Removing intermediate container 876117a95c43 [2022-05-09T10:56:56.642Z] ---> 896202f2ce32 [2022-05-09T10:56:56.642Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-05-09T10:56:57.214Z] ---> ff7500fa5250 [2022-05-09T10:56:57.214Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-05-09T10:56:57.474Z] ---> 79f9e26f5c76 [2022-05-09T10:56:57.474Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-05-09T10:56:57.474Z] ---> 344d13daf47b [2022-05-09T10:56:57.474Z] Step 19/24 : EXPOSE 59982 [2022-05-09T10:56:57.474Z] ---> Running in c4311ade7c4e [2022-05-09T10:56:57.734Z] Removing intermediate container c4311ade7c4e [2022-05-09T10:56:57.734Z] ---> 01400ba8e5de [2022-05-09T10:56:57.734Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-05-09T10:56:57.734Z] ---> Running in 4ecaa13eae52 [2022-05-09T10:56:57.734Z] Removing intermediate container 4ecaa13eae52 [2022-05-09T10:56:57.734Z] ---> ff348be2b8dd [2022-05-09T10:56:57.734Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-09T10:56:57.995Z] ---> Running in 9a8d1258d6c1 [2022-05-09T10:56:57.995Z] Removing intermediate container 9a8d1258d6c1 [2022-05-09T10:56:57.995Z] ---> 64ca764dc6cd [2022-05-09T10:56:57.995Z] Step 22/24 : LABEL arch=amd64 [2022-05-09T10:56:57.995Z] ---> Running in 27326593a685 [2022-05-09T10:56:58.256Z] Removing intermediate container 27326593a685 [2022-05-09T10:56:58.256Z] ---> a637ac1545e3 [2022-05-09T10:56:58.256Z] Step 23/24 : LABEL git_sha=9e5ff16ea29b888a79edc386c2a8af4882824547 [2022-05-09T10:56:58.256Z] ---> Running in 0f0895dc501a [2022-05-09T10:56:58.517Z] Removing intermediate container 0f0895dc501a [2022-05-09T10:56:58.517Z] ---> 4175df6c4563 [2022-05-09T10:56:58.517Z] Step 24/24 : LABEL version=2.2.0-dev.20 [2022-05-09T10:56:58.517Z] ---> Running in 5a69b12f5bd8 [2022-05-09T10:56:58.517Z] Removing intermediate container 5a69b12f5bd8 [2022-05-09T10:56:58.517Z] ---> 6a8ab91f8f54 [2022-05-09T10:56:58.517Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-09T10:56:58.517Z] Successfully built 6a8ab91f8f54 [2022-05-09T10:56:58.517Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T10:56:58.593Z] provisioning config files... [2022-05-09T10:56:58.604Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8628605116945648705tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T10:56:58.911Z] ---> docker-login.sh [2022-05-09T10:56:58.911Z] nexus3.edgexfoundry.org:10001 [2022-05-09T10:56:58.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:56:58.911Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:56:58.911Z] Configure a credential helper to remove this warning. See [2022-05-09T10:56:58.911Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:56:58.911Z] [2022-05-09T10:56:58.911Z] Login Succeeded [2022-05-09T10:56:58.911Z] nexus3.edgexfoundry.org:10002 [2022-05-09T10:56:58.911Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:56:59.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:56:59.171Z] Configure a credential helper to remove this warning. See [2022-05-09T10:56:59.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:56:59.171Z] [2022-05-09T10:56:59.171Z] Login Succeeded [2022-05-09T10:56:59.171Z] nexus3.edgexfoundry.org:10003 [2022-05-09T10:56:59.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:56:59.171Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:56:59.171Z] Configure a credential helper to remove this warning. See [2022-05-09T10:56:59.171Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:56:59.171Z] [2022-05-09T10:56:59.171Z] Login Succeeded [2022-05-09T10:56:59.171Z] nexus3.edgexfoundry.org:10004 [2022-05-09T10:56:59.171Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:56:59.433Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:56:59.433Z] Configure a credential helper to remove this warning. See [2022-05-09T10:56:59.433Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:56:59.433Z] [2022-05-09T10:56:59.433Z] Login Succeeded [2022-05-09T10:56:59.433Z] docker.io [2022-05-09T10:56:59.433Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:56:59.695Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:56:59.695Z] Configure a credential helper to remove this warning. See [2022-05-09T10:56:59.695Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:56:59.695Z] [2022-05-09T10:56:59.695Z] Login Succeeded [2022-05-09T10:56:59.695Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T10:56:59.704Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-09T10:56:59.732Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T10:56:59.755Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-05-09T10:56:59.755Z] 9e5ff16ea29b888a79edc386c2a8af4882824547 [2022-05-09T10:56:59.755Z] latest [2022-05-09T10:56:59.755Z] 2.2.0-dev.20 [2022-05-09T10:56:59.755Z] 9e5ff16ea29b888a79edc386c2a8af4882824547-2.2.0-dev.20 [2022-05-09T10:56:59.755Z] main [2022-05-09T10:56:59.755Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:57:00.079Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:9e5ff16ea29b888a79edc386c2a8af4882824547 [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:57:00.375Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:9e5ff16ea29b888a79edc386c2a8af4882824547 [2022-05-09T10:57:00.375Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-09T10:57:00.375Z] c19f00dcd9d3: Preparing [2022-05-09T10:57:00.375Z] c1963b7a5170: Preparing [2022-05-09T10:57:00.375Z] 2fa28349c45e: Preparing [2022-05-09T10:57:00.375Z] ac62b161033c: Preparing [2022-05-09T10:57:00.375Z] b541d28bf3b4: Preparing [2022-05-09T10:57:00.375Z] b541d28bf3b4: Layer already exists [2022-05-09T10:57:00.375Z] c19f00dcd9d3: Pushed [2022-05-09T10:57:00.375Z] c1963b7a5170: Pushed [2022-05-09T10:57:00.635Z] ac62b161033c: Pushed [2022-05-09T10:57:03.183Z] 2fa28349c45e: Pushed [2022-05-09T10:57:03.183Z] 9e5ff16ea29b888a79edc386c2a8af4882824547: digest: sha256:9a401e11e5b31ad32c9d401645bed8580385cd2708998c0cda4154377e697984 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:57:03.483Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:57:03.779Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-05-09T10:57:03.779Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-09T10:57:03.779Z] c19f00dcd9d3: Preparing [2022-05-09T10:57:03.779Z] c1963b7a5170: Preparing [2022-05-09T10:57:03.779Z] 2fa28349c45e: Preparing [2022-05-09T10:57:03.779Z] ac62b161033c: Preparing [2022-05-09T10:57:03.779Z] b541d28bf3b4: Preparing [2022-05-09T10:57:03.779Z] b541d28bf3b4: Layer already exists [2022-05-09T10:57:03.779Z] 2fa28349c45e: Layer already exists [2022-05-09T10:57:03.779Z] c1963b7a5170: Layer already exists [2022-05-09T10:57:03.779Z] ac62b161033c: Layer already exists [2022-05-09T10:57:03.779Z] c19f00dcd9d3: Layer already exists [2022-05-09T10:57:03.779Z] latest: digest: sha256:9a401e11e5b31ad32c9d401645bed8580385cd2708998c0cda4154377e697984 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:57:04.082Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.20 [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:57:04.382Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.20 [2022-05-09T10:57:04.382Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-09T10:57:04.382Z] c19f00dcd9d3: Preparing [2022-05-09T10:57:04.382Z] c1963b7a5170: Preparing [2022-05-09T10:57:04.382Z] 2fa28349c45e: Preparing [2022-05-09T10:57:04.382Z] ac62b161033c: Preparing [2022-05-09T10:57:04.382Z] b541d28bf3b4: Preparing [2022-05-09T10:57:04.382Z] c19f00dcd9d3: Layer already exists [2022-05-09T10:57:04.382Z] b541d28bf3b4: Layer already exists [2022-05-09T10:57:04.382Z] ac62b161033c: Layer already exists [2022-05-09T10:57:04.382Z] 2fa28349c45e: Layer already exists [2022-05-09T10:57:04.382Z] c1963b7a5170: Layer already exists [2022-05-09T10:57:04.382Z] 2.2.0-dev.20: digest: sha256:9a401e11e5b31ad32c9d401645bed8580385cd2708998c0cda4154377e697984 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:57:04.686Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:9e5ff16ea29b888a79edc386c2a8af4882824547-2.2.0-dev.20 [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:57:04.982Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:9e5ff16ea29b888a79edc386c2a8af4882824547-2.2.0-dev.20 [2022-05-09T10:57:04.982Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-09T10:57:04.982Z] c19f00dcd9d3: Preparing [2022-05-09T10:57:04.982Z] c1963b7a5170: Preparing [2022-05-09T10:57:04.982Z] 2fa28349c45e: Preparing [2022-05-09T10:57:04.982Z] ac62b161033c: Preparing [2022-05-09T10:57:04.982Z] b541d28bf3b4: Preparing [2022-05-09T10:57:04.982Z] c1963b7a5170: Layer already exists [2022-05-09T10:57:04.982Z] ac62b161033c: Layer already exists [2022-05-09T10:57:04.982Z] 2fa28349c45e: Layer already exists [2022-05-09T10:57:04.982Z] b541d28bf3b4: Layer already exists [2022-05-09T10:57:04.982Z] c19f00dcd9d3: Layer already exists [2022-05-09T10:57:04.982Z] 9e5ff16ea29b888a79edc386c2a8af4882824547-2.2.0-dev.20: digest: sha256:9a401e11e5b31ad32c9d401645bed8580385cd2708998c0cda4154377e697984 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:57:05.279Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:57:05.576Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-05-09T10:57:05.576Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-05-09T10:57:05.576Z] c19f00dcd9d3: Preparing [2022-05-09T10:57:05.576Z] c1963b7a5170: Preparing [2022-05-09T10:57:05.576Z] 2fa28349c45e: Preparing [2022-05-09T10:57:05.576Z] ac62b161033c: Preparing [2022-05-09T10:57:05.576Z] b541d28bf3b4: Preparing [2022-05-09T10:57:05.576Z] ac62b161033c: Layer already exists [2022-05-09T10:57:05.576Z] 2fa28349c45e: Layer already exists [2022-05-09T10:57:05.576Z] c19f00dcd9d3: Layer already exists [2022-05-09T10:57:05.576Z] b541d28bf3b4: Layer already exists [2022-05-09T10:57:05.576Z] c1963b7a5170: Layer already exists [2022-05-09T10:57:05.576Z] main: digest: sha256:9a401e11e5b31ad32c9d401645bed8580385cd2708998c0cda4154377e697984 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-09T10:57:05.616Z] ===================================================== [Pipeline] echo [2022-05-09T10:57:05.624Z] taggedImages: [2022-05-09T10:57:05.624Z] - nexus3.edgexfoundry.org:10004/device-mqtt:9e5ff16ea29b888a79edc386c2a8af4882824547 [2022-05-09T10:57:05.624Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-05-09T10:57:05.624Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.0-dev.20 [2022-05-09T10:57:05.624Z] - nexus3.edgexfoundry.org:10004/device-mqtt:9e5ff16ea29b888a79edc386c2a8af4882824547-2.2.0-dev.20 [2022-05-09T10:57:05.624Z] - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:57:06.001Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T10:57:06.001Z] [2022-05-09T10:57:06.001Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:57:06.405Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T10:57:06.405Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-09T10:57:06.405Z] 5eb5b503b376: Pulling fs layer [2022-05-09T10:57:06.405Z] 5c69ac0246d0: Pulling fs layer [2022-05-09T10:57:06.405Z] ec43610c2a17: Pulling fs layer [2022-05-09T10:57:06.405Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-09T10:57:06.405Z] 33b1e0a273af: Pulling fs layer [2022-05-09T10:57:06.405Z] 5d3b04190fa2: Pulling fs layer [2022-05-09T10:57:06.405Z] 2f39f015ded8: Pulling fs layer [2022-05-09T10:57:06.405Z] 33b1e0a273af: Waiting [2022-05-09T10:57:06.405Z] 5d3b04190fa2: Waiting [2022-05-09T10:57:06.405Z] 2f39f015ded8: Waiting [2022-05-09T10:57:06.405Z] 3a2ae6a8a46f: Waiting [2022-05-09T10:57:06.405Z] 5c69ac0246d0: Verifying Checksum [2022-05-09T10:57:06.405Z] 5c69ac0246d0: Download complete [2022-05-09T10:57:06.405Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-09T10:57:06.405Z] 3a2ae6a8a46f: Download complete [2022-05-09T10:57:06.405Z] 33b1e0a273af: Verifying Checksum [2022-05-09T10:57:06.405Z] 33b1e0a273af: Download complete [2022-05-09T10:57:06.405Z] 5d3b04190fa2: Verifying Checksum [2022-05-09T10:57:06.405Z] 5d3b04190fa2: Download complete [2022-05-09T10:57:06.405Z] ec43610c2a17: Verifying Checksum [2022-05-09T10:57:06.667Z] 5eb5b503b376: Verifying Checksum [2022-05-09T10:57:06.667Z] 5eb5b503b376: Download complete [2022-05-09T10:57:07.257Z] 2f39f015ded8: Download complete [2022-05-09T10:57:07.842Z] 5eb5b503b376: Pull complete [2022-05-09T10:57:08.102Z] 5c69ac0246d0: Pull complete [2022-05-09T10:57:08.362Z] ec43610c2a17: Pull complete [2022-05-09T10:57:08.622Z] 3a2ae6a8a46f: Pull complete [2022-05-09T10:57:08.622Z] 33b1e0a273af: Pull complete [2022-05-09T10:57:08.881Z] 5d3b04190fa2: Pull complete [2022-05-09T10:57:13.070Z] 2f39f015ded8: Pull complete [2022-05-09T10:57:13.070Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-09T10:57:13.070Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T10:57:13.070Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-09T10:57:13.142Z] prd-ubuntu20.04-docker-8c-8g-41792 does not seem to be running inside a container [2022-05-09T10:57:13.182Z] $ 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-05-09T10:57:17.455Z] $ docker top d550af1627d03ed46a8ca0b6423161ac212d1664138fcb4f21c243eb4aa38f0a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T10:57:17.843Z] ---> job-cost.sh [2022-05-09T10:57:17.843Z] lf-activate-venv: SKIPPING [2022-05-09T10:57:17.843Z] INFO: No Stack... [2022-05-09T10:57:18.106Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-09T10:57:18.680Z] INFO: Archiving Costs [Pipeline] sh [2022-05-09T10:57:18.974Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-05-09T10:57:18.974Z] + cut -d, -f6 [Pipeline] lock [2022-05-09T10:57:18.991Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-42-stack-cost] [2022-05-09T10:57:18.999Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-42-stack-cost] did not exist. Created. [2022-05-09T10:57:18.999Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-09T10:57:19.305Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-09T10:57:19.341Z] Stashed 1 file(s) [Pipeline] } [2022-05-09T10:57:19.348Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-42-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-09T10:57:19.369Z] $ docker stop --time=1 d550af1627d03ed46a8ca0b6423161ac212d1664138fcb4f21c243eb4aa38f0a [2022-05-09T10:57:20.590Z] $ docker rm -f d550af1627d03ed46a8ca0b6423161ac212d1664138fcb4f21c243eb4aa38f0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-09T10:57:47.623Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-41796 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-05-09T10:57:47.646Z] Running in /w/workspace/device-mqtt-go/42 [Pipeline] { [Pipeline] checkout [2022-05-09T10:57:48.124Z] Selected Git installation does not exist. Using Default [2022-05-09T10:57:48.124Z] The recommended git tool is: NONE [2022-05-09T10:57:55.216Z] using credential edgex-jenkins-ssh [2022-05-09T10:57:55.239Z] Cloning the remote Git repository [2022-05-09T10:57:55.307Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-05-09T10:57:55.407Z] > git init /w/workspace/device-mqtt-go/42 # timeout=10 [2022-05-09T10:57:55.598Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-05-09T10:57:55.599Z] > git --version # timeout=10 [2022-05-09T10:57:55.635Z] > git --version # 'git version 2.25.1' [2022-05-09T10:57:55.638Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-09T10:57:55.830Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-09T10:57:57.166Z] Avoid second fetch [2022-05-09T10:57:57.167Z] Checking out Revision 9e5ff16ea29b888a79edc386c2a8af4882824547 (main) [2022-05-09T10:57:57.109Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-05-09T10:57:57.137Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-09T10:57:57.199Z] > git config core.sparsecheckout # timeout=10 [2022-05-09T10:57:57.221Z] > git checkout -f 9e5ff16ea29b888a79edc386c2a8af4882824547 # timeout=10 [2022-05-09T10:58:01.809Z] Commit message: "Merge pull request #379 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.37" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T10:58:02.829Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-09T10:58:02.829Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-09T10:58:02.829Z] Dload Upload Total Spent Left Speed [2022-05-09T10:58:02.829Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 210k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2022-05-09T10:58:03.441Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-09T10:58:03.802Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-09T10:58:03.802Z] + sudo tee /etc/docker/daemon.new [2022-05-09T10:58:03.802Z] { [2022-05-09T10:58:03.802Z] "registry-mirrors": [ [2022-05-09T10:58:03.802Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-09T10:58:03.802Z] ], [2022-05-09T10:58:03.802Z] "bip": "10.250.0.254/24", [2022-05-09T10:58:03.802Z] "hosts": [ [2022-05-09T10:58:03.802Z] "tcp://0.0.0.0:5555", [2022-05-09T10:58:03.802Z] "unix:///var/run/docker.sock" [2022-05-09T10:58:03.802Z] ], [2022-05-09T10:58:03.802Z] "mtu": 1458, [2022-05-09T10:58:03.802Z] "selinux-enabled": true, [2022-05-09T10:58:03.802Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-09T10:58:03.802Z] } [Pipeline] sh [2022-05-09T10:58:04.162Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-09T10:58:04.520Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T10:58:22.910Z] provisioning config files... [2022-05-09T10:58:22.938Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/42@tmp/config3252940659292294132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T10:58:23.315Z] ---> docker-login.sh [2022-05-09T10:58:23.315Z] nexus3.edgexfoundry.org:10001 [2022-05-09T10:58:23.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:58:24.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:58:24.213Z] Configure a credential helper to remove this warning. See [2022-05-09T10:58:24.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:58:24.213Z] [2022-05-09T10:58:24.213Z] Login Succeeded [2022-05-09T10:58:24.213Z] nexus3.edgexfoundry.org:10002 [2022-05-09T10:58:24.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:58:24.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:58:24.821Z] Configure a credential helper to remove this warning. See [2022-05-09T10:58:24.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:58:24.821Z] [2022-05-09T10:58:24.821Z] Login Succeeded [2022-05-09T10:58:24.821Z] nexus3.edgexfoundry.org:10003 [2022-05-09T10:58:25.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:58:25.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:58:25.373Z] Configure a credential helper to remove this warning. See [2022-05-09T10:58:25.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:58:25.373Z] [2022-05-09T10:58:25.373Z] Login Succeeded [2022-05-09T10:58:25.373Z] nexus3.edgexfoundry.org:10004 [2022-05-09T10:58:25.647Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:58:25.926Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:58:25.926Z] Configure a credential helper to remove this warning. See [2022-05-09T10:58:25.926Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:58:25.926Z] [2022-05-09T10:58:25.926Z] Login Succeeded [2022-05-09T10:58:25.926Z] docker.io [2022-05-09T10:58:26.201Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T10:58:26.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T10:58:26.560Z] Configure a credential helper to remove this warning. See [2022-05-09T10:58:26.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T10:58:26.560Z] [2022-05-09T10:58:26.560Z] Login Succeeded [2022-05-09T10:58:26.560Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T10:58:26.587Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-09T10:58:27.298Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T10:58:27.310Z] ========================================================= [2022-05-09T10:58:27.310Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-09T10:58:27.310Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:58:27.666Z] + 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-05-09T10:58:27.938Z] Sending build context to Docker daemon 3.033MB [2022-05-09T10:58:28.214Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T10:58:28.214Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-09T10:58:28.214Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-09T10:58:28.214Z] 9b3977197b4f: Pulling fs layer [2022-05-09T10:58:28.214Z] 1a89e8eeedd5: Pulling fs layer [2022-05-09T10:58:28.214Z] 94645a83ff95: Pulling fs layer [2022-05-09T10:58:28.214Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-09T10:58:28.214Z] 0c92f367c5e7: Pulling fs layer [2022-05-09T10:58:28.214Z] 3096ccb668a1: Pulling fs layer [2022-05-09T10:58:28.214Z] e8cf19c19ddd: Pulling fs layer [2022-05-09T10:58:28.214Z] a4caa8a26152: Pulling fs layer [2022-05-09T10:58:28.214Z] 3f3a8bcf1eab: Waiting [2022-05-09T10:58:28.214Z] 0c92f367c5e7: Waiting [2022-05-09T10:58:28.214Z] a4caa8a26152: Waiting [2022-05-09T10:58:28.214Z] e8cf19c19ddd: Waiting [2022-05-09T10:58:28.214Z] 3096ccb668a1: Waiting [2022-05-09T10:58:28.214Z] 94645a83ff95: Download complete [2022-05-09T10:58:28.214Z] 1a89e8eeedd5: Download complete [2022-05-09T10:58:28.492Z] 0c92f367c5e7: Verifying Checksum [2022-05-09T10:58:28.492Z] 0c92f367c5e7: Download complete [2022-05-09T10:58:28.492Z] 3096ccb668a1: Verifying Checksum [2022-05-09T10:58:28.492Z] 3096ccb668a1: Download complete [2022-05-09T10:58:28.492Z] 9b3977197b4f: Verifying Checksum [2022-05-09T10:58:28.492Z] 9b3977197b4f: Download complete [2022-05-09T10:58:28.492Z] e8cf19c19ddd: Verifying Checksum [2022-05-09T10:58:28.492Z] e8cf19c19ddd: Download complete [2022-05-09T10:58:29.105Z] 9b3977197b4f: Pull complete [2022-05-09T10:58:29.712Z] 1a89e8eeedd5: Pull complete [2022-05-09T10:58:29.999Z] 94645a83ff95: Pull complete [2022-05-09T10:58:30.273Z] a4caa8a26152: Verifying Checksum [2022-05-09T10:58:30.273Z] a4caa8a26152: Download complete [2022-05-09T10:58:30.874Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-09T10:58:30.874Z] 3f3a8bcf1eab: Download complete [2022-05-09T10:58:43.281Z] 3f3a8bcf1eab: Pull complete [2022-05-09T10:58:43.281Z] 0c92f367c5e7: Pull complete [2022-05-09T10:58:43.281Z] 3096ccb668a1: Pull complete [2022-05-09T10:58:43.281Z] e8cf19c19ddd: Pull complete [2022-05-09T10:58:48.696Z] a4caa8a26152: Pull complete [2022-05-09T10:58:48.696Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-09T10:58:48.696Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-09T10:58:48.696Z] ---> 725f1c02e7f9 [2022-05-09T10:58:48.696Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-09T10:58:50.150Z] ---> Running in 48f4724fd1a1 [2022-05-09T10:58:50.150Z] Removing intermediate container 48f4724fd1a1 [2022-05-09T10:58:50.150Z] ---> 3fa779cb6807 [2022-05-09T10:58:50.150Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-09T10:58:50.431Z] ---> Running in 30146b4f8a01 [2022-05-09T10:58:50.706Z] Removing intermediate container 30146b4f8a01 [2022-05-09T10:58:50.707Z] ---> fbfb17453dae [2022-05-09T10:58:50.707Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T10:58:50.707Z] ---> Running in ceac2473fddf [2022-05-09T10:58:54.111Z] Removing intermediate container ceac2473fddf [2022-05-09T10:58:54.111Z] ---> fc2a20f95740 [2022-05-09T10:58:54.111Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-09T10:58:54.111Z] ---> Running in d30d0f61dd99 [2022-05-09T10:58:55.090Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-09T10:58:56.071Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-09T10:58:57.049Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-09T10:58:57.049Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-09T10:58:57.049Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-09T10:58:57.322Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-09T10:58:57.595Z] Executing busybox-1.34.1-r3.trigger [2022-05-09T10:58:57.595Z] OK: 224 MiB in 56 packages [2022-05-09T10:58:58.580Z] Removing intermediate container d30d0f61dd99 [2022-05-09T10:58:58.580Z] ---> 83bc08a2b17d [2022-05-09T10:58:58.580Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-05-09T10:58:58.580Z] ---> Running in 38552588c109 [2022-05-09T10:58:58.852Z] Removing intermediate container 38552588c109 [2022-05-09T10:58:58.853Z] ---> a0eeb20eace9 [2022-05-09T10:58:58.853Z] Step 8/12 : COPY go.mod vendor* ./ [2022-05-09T10:58:59.448Z] ---> 863559d1cd64 [2022-05-09T10:58:59.448Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T10:58:59.448Z] ---> Running in 9be245b1cacb [2022-05-09T10:59:46.437Z] Removing intermediate container 9be245b1cacb [2022-05-09T10:59:46.437Z] ---> d0cc33db9902 [2022-05-09T10:59:46.437Z] Step 10/12 : COPY . . [2022-05-09T10:59:46.437Z] ---> ac1f84d74261 [2022-05-09T10:59:46.437Z] Step 11/12 : ARG MAKE='make build' [2022-05-09T10:59:46.437Z] ---> Running in 0e966e30c0f9 [2022-05-09T10:59:46.437Z] Removing intermediate container 0e966e30c0f9 [2022-05-09T10:59:46.437Z] ---> 1ed60627984b [2022-05-09T10:59:46.437Z] Step 12/12 : RUN $MAKE [2022-05-09T10:59:46.437Z] ---> Running in 7177f43ffd26 [2022-05-09T10:59:47.035Z] noop [2022-05-09T10:59:48.034Z] Removing intermediate container 7177f43ffd26 [2022-05-09T10:59:48.034Z] ---> 0f27c4c76b55 [2022-05-09T10:59:48.034Z] Successfully built 0f27c4c76b55 [2022-05-09T10:59:48.034Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:59:48.390Z] + docker inspect -f . ci-base-image-arm64 [2022-05-09T10:59:48.390Z] . [Pipeline] withDockerContainer [2022-05-09T10:59:48.650Z] prd-ubuntu20.04-docker-arm64-4c-16g-41796 does not seem to be running inside a container [2022-05-09T10:59:48.737Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/42 -v /w/workspace/device-mqtt-go/42:/w/workspace/device-mqtt-go/42:rw,z -v /w/workspace/device-mqtt-go/42@tmp:/w/workspace/device-mqtt-go/42@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-05-09T10:59:50.023Z] $ docker top 408dc3f0ac6678b44d748842ea16b4310a6d6d9d3a09775fc0951afe10d2a4c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T10:59:50.957Z] + go version [2022-05-09T10:59:50.957Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-09T10:59:50.986Z] $ docker stop --time=1 408dc3f0ac6678b44d748842ea16b4310a6d6d9d3a09775fc0951afe10d2a4c2 [2022-05-09T10:59:52.630Z] $ docker rm -f 408dc3f0ac6678b44d748842ea16b4310a6d6d9d3a09775fc0951afe10d2a4c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T10:59:53.224Z] + docker inspect -f . ci-base-image-arm64 [2022-05-09T10:59:53.224Z] . [Pipeline] withDockerContainer [2022-05-09T10:59:53.434Z] prd-ubuntu20.04-docker-arm64-4c-16g-41796 does not seem to be running inside a container [2022-05-09T10:59:53.524Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/42 -v /w/workspace/device-mqtt-go/42:/w/workspace/device-mqtt-go/42:rw,z -v /w/workspace/device-mqtt-go/42@tmp:/w/workspace/device-mqtt-go/42@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-05-09T10:59:54.769Z] $ docker top 8089300374f4c56c840d9932df6e924b3286a846d92c516714dd6997ee743146 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-09T10:59:55.688Z] + make test [2022-05-09T10:59:55.688Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-09T10:59:57.674Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-05-09T11:01:34.654Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-05-09T11:01:34.654Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.076s coverage: 21.8% of statements [2022-05-09T11:01:34.654Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-05-09T11:01:34.654Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-09T11:01:34.654Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-09T11:01:56.887Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-09T11:01:56.887Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-09T11:01:56.887Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-09T11:01:58.904Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-09T11:01:58.921Z] $ docker stop --time=1 8089300374f4c56c840d9932df6e924b3286a846d92c516714dd6997ee743146 [2022-05-09T11:02:00.724Z] $ docker rm -f 8089300374f4c56c840d9932df6e924b3286a846d92c516714dd6997ee743146 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T11:02:01.727Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-09T11:02:01.748Z] Warning: overwriting stash ‘coverage-report’ [2022-05-09T11:02:02.264Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T11:02:02.666Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-09T11:02:03.015Z] + ls -al . [2022-05-09T11:02:03.016Z] total 172 [2022-05-09T11:02:03.016Z] drwxrwxr-x 9 jenkins jenkins 4096 May 9 11:01 . [2022-05-09T11:02:03.016Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 10:57 .. [2022-05-09T11:02:03.016Z] -rw-rw-r-- 1 jenkins jenkins 140 May 9 10:57 .dockerignore [2022-05-09T11:02:03.016Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 10:58 .git [2022-05-09T11:02:03.016Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:57 .github [2022-05-09T11:02:03.016Z] -rw-rw-r-- 1 jenkins jenkins 329 May 9 10:57 .gitignore [2022-05-09T11:02:03.016Z] -rw-rw-r-- 1 jenkins jenkins 41 May 9 10:57 .golangci.yml [2022-05-09T11:02:03.016Z] -rw-rw-r-- 1 jenkins jenkins 8656 May 9 10:57 Attribution.txt [2022-05-09T11:02:03.016Z] -rw-rw-r-- 1 jenkins jenkins 7447 May 9 10:57 CHANGELOG.md [2022-05-09T11:02:03.016Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 9 10:57 Dockerfile [2022-05-09T11:02:03.016Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 10:57 GOVERNANCE.md [2022-05-09T11:02:03.016Z] -rw-rw-r-- 1 jenkins jenkins 678 May 9 10:57 Jenkinsfile [2022-05-09T11:02:03.016Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 9 10:57 LICENSE [2022-05-09T11:02:03.016Z] -rw-rw-r-- 1 jenkins jenkins 1930 May 9 10:57 Makefile [2022-05-09T11:02:03.016Z] -rw-rw-r-- 1 jenkins jenkins 620 May 9 10:57 OWNERS.md [2022-05-09T11:02:03.016Z] -rw-rw-r-- 1 jenkins jenkins 2501 May 9 10:57 README.md [2022-05-09T11:02:03.016Z] -rw-rw-r-- 1 jenkins jenkins 12 May 9 10:55 VERSION [2022-05-09T11:02:03.016Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:57 bin [2022-05-09T11:02:03.016Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:57 cmd [2022-05-09T11:02:03.016Z] -rw-r--r-- 1 jenkins jenkins 17887 May 9 11:01 coverage.out [2022-05-09T11:02:03.016Z] -rw-rw-r-- 1 jenkins jenkins 3309 May 9 10:57 go.mod [2022-05-09T11:02:03.016Z] -rw-rw-r-- 1 jenkins jenkins 35490 May 9 10:57 go.sum [2022-05-09T11:02:03.016Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 10:57 internal [2022-05-09T11:02:03.016Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 10:57 mock [2022-05-09T11:02:03.016Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 10:57 snap [2022-05-09T11:02:03.016Z] -rw-rw-r-- 1 jenkins jenkins 227 May 9 10:57 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:02:03.368Z] + 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=9e5ff16ea29b888a79edc386c2a8af4882824547 --label arch=arm64 --label version=2.2.0-dev.20 . [2022-05-09T11:02:03.646Z] Sending build context to Docker daemon 3.051MB [2022-05-09T11:02:03.646Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T11:02:03.646Z] Step 2/24 : FROM ${BASE} AS builder [2022-05-09T11:02:03.646Z] ---> 0f27c4c76b55 [2022-05-09T11:02:03.646Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-09T11:02:03.924Z] ---> Running in 809c53e491b1 [2022-05-09T11:02:04.200Z] Removing intermediate container 809c53e491b1 [2022-05-09T11:02:04.200Z] ---> 4a08c114dc7c [2022-05-09T11:02:04.200Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-05-09T11:02:04.200Z] ---> Running in fb3068ec6448 [2022-05-09T11:02:04.491Z] Removing intermediate container fb3068ec6448 [2022-05-09T11:02:04.491Z] ---> 22b2a8089b4e [2022-05-09T11:02:04.491Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T11:02:04.491Z] ---> Running in 86bc13df12d4 [2022-05-09T11:02:06.466Z] Removing intermediate container 86bc13df12d4 [2022-05-09T11:02:06.466Z] ---> 196ffe94d475 [2022-05-09T11:02:06.466Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-09T11:02:06.466Z] ---> Running in 937f51f5b189 [2022-05-09T11:02:07.445Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-09T11:02:08.038Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-09T11:02:09.021Z] OK: 224 MiB in 56 packages [2022-05-09T11:02:10.007Z] Removing intermediate container 937f51f5b189 [2022-05-09T11:02:10.007Z] ---> cab982111bf2 [2022-05-09T11:02:10.007Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-05-09T11:02:10.007Z] ---> Running in 9c76ab7dbe86 [2022-05-09T11:02:10.283Z] Removing intermediate container 9c76ab7dbe86 [2022-05-09T11:02:10.283Z] ---> ecd8c67d6ba9 [2022-05-09T11:02:10.283Z] Step 8/24 : COPY go.mod vendor* ./ [2022-05-09T11:02:10.881Z] ---> 13ac64c4ad7a [2022-05-09T11:02:10.881Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T11:02:10.881Z] ---> Running in e63c750e47e2 [2022-05-09T11:02:12.855Z] Removing intermediate container e63c750e47e2 [2022-05-09T11:02:12.855Z] ---> 6612306ae939 [2022-05-09T11:02:12.855Z] Step 10/24 : COPY . . [2022-05-09T11:02:13.831Z] ---> 07ffb481832f [2022-05-09T11:02:13.831Z] Step 11/24 : ARG MAKE='make build' [2022-05-09T11:02:13.831Z] ---> Running in e89aeaddb8fe [2022-05-09T11:02:14.104Z] Removing intermediate container e89aeaddb8fe [2022-05-09T11:02:14.104Z] ---> 2ca8b5d9a687 [2022-05-09T11:02:14.104Z] Step 12/24 : RUN $MAKE [2022-05-09T11:02:14.104Z] ---> Running in 4bc70a32afd5 [2022-05-09T11:02:15.085Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-05-09T11:04:37.043Z] Removing intermediate container 4bc70a32afd5 [2022-05-09T11:04:37.043Z] ---> 9905798f01ba [2022-05-09T11:04:37.043Z] Step 13/24 : FROM alpine:3.14 [2022-05-09T11:04:37.043Z] 3.14: Pulling from library/alpine [2022-05-09T11:04:37.043Z] 455c02918c45: Pulling fs layer [2022-05-09T11:04:37.043Z] 455c02918c45: Download complete [2022-05-09T11:04:37.043Z] 455c02918c45: Pull complete [2022-05-09T11:04:37.043Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-09T11:04:37.043Z] Status: Downloaded newer image for alpine:3.14 [2022-05-09T11:04:37.043Z] ---> ac73e934f311 [2022-05-09T11:04:37.043Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-05-09T11:04:37.043Z] ---> Running in 77b296cbf36c [2022-05-09T11:04:37.043Z] Removing intermediate container 77b296cbf36c [2022-05-09T11:04:37.043Z] ---> c56ae03f0a14 [2022-05-09T11:04:37.043Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-09T11:04:37.043Z] ---> Running in d6a7a16a78c5 [2022-05-09T11:04:37.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-09T11:04:37.043Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-09T11:04:37.043Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-09T11:04:37.043Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-09T11:04:37.043Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-09T11:04:37.043Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-09T11:04:37.043Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-09T11:04:37.043Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-09T11:04:37.043Z] Executing busybox-1.33.1-r7.trigger [2022-05-09T11:04:37.043Z] OK: 8 MiB in 20 packages [2022-05-09T11:04:37.043Z] Removing intermediate container d6a7a16a78c5 [2022-05-09T11:04:37.043Z] ---> d7cb41ffee44 [2022-05-09T11:04:37.043Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-05-09T11:04:37.044Z] ---> 8b3d3f97b31c [2022-05-09T11:04:37.044Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-05-09T11:04:37.044Z] ---> 4f7f61445586 [2022-05-09T11:04:37.044Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-05-09T11:04:37.044Z] ---> 01e6e8866c28 [2022-05-09T11:04:37.044Z] Step 19/24 : EXPOSE 59982 [2022-05-09T11:04:37.044Z] ---> Running in 2ec58c587316 [2022-05-09T11:04:37.044Z] Removing intermediate container 2ec58c587316 [2022-05-09T11:04:37.044Z] ---> 032591c57a50 [2022-05-09T11:04:37.044Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-05-09T11:04:37.044Z] ---> Running in b4eb514d13ab [2022-05-09T11:04:37.044Z] Removing intermediate container b4eb514d13ab [2022-05-09T11:04:37.044Z] ---> 0e9504b57b63 [2022-05-09T11:04:37.044Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-09T11:04:37.044Z] ---> Running in 8e3d7340657c [2022-05-09T11:04:37.044Z] Removing intermediate container 8e3d7340657c [2022-05-09T11:04:37.044Z] ---> 4a844a109e47 [2022-05-09T11:04:37.044Z] Step 22/24 : LABEL arch=arm64 [2022-05-09T11:04:37.044Z] ---> Running in 4ab56065e18b [2022-05-09T11:04:37.044Z] Removing intermediate container 4ab56065e18b [2022-05-09T11:04:37.044Z] ---> afdd4329fda8 [2022-05-09T11:04:37.044Z] Step 23/24 : LABEL git_sha=9e5ff16ea29b888a79edc386c2a8af4882824547 [2022-05-09T11:04:37.044Z] ---> Running in 33d897d29ef8 [2022-05-09T11:04:37.318Z] Removing intermediate container 33d897d29ef8 [2022-05-09T11:04:37.318Z] ---> ef8f4566ff82 [2022-05-09T11:04:37.318Z] Step 24/24 : LABEL version=2.2.0-dev.20 [2022-05-09T11:04:37.318Z] ---> Running in 18fafc579491 [2022-05-09T11:04:37.591Z] Removing intermediate container 18fafc579491 [2022-05-09T11:04:37.591Z] ---> 63bdaae95bee [2022-05-09T11:04:37.591Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-09T11:04:37.591Z] Successfully built 63bdaae95bee [2022-05-09T11:04:37.591Z] 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-05-09T11:04:37.704Z] provisioning config files... [2022-05-09T11:04:37.723Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/42@tmp/config6374898128392379671tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:04:38.074Z] ---> docker-login.sh [2022-05-09T11:04:38.075Z] nexus3.edgexfoundry.org:10001 [2022-05-09T11:04:38.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:04:38.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:04:38.347Z] Configure a credential helper to remove this warning. See [2022-05-09T11:04:38.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:04:38.347Z] [2022-05-09T11:04:38.347Z] Login Succeeded [2022-05-09T11:04:38.347Z] nexus3.edgexfoundry.org:10002 [2022-05-09T11:04:38.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:04:38.941Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:04:38.941Z] Configure a credential helper to remove this warning. See [2022-05-09T11:04:38.941Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:04:38.941Z] [2022-05-09T11:04:38.941Z] Login Succeeded [2022-05-09T11:04:38.941Z] nexus3.edgexfoundry.org:10003 [2022-05-09T11:04:39.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:04:39.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:04:39.214Z] Configure a credential helper to remove this warning. See [2022-05-09T11:04:39.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:04:39.214Z] [2022-05-09T11:04:39.486Z] Login Succeeded [2022-05-09T11:04:39.486Z] nexus3.edgexfoundry.org:10004 [2022-05-09T11:04:39.759Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:04:39.759Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:04:39.759Z] Configure a credential helper to remove this warning. See [2022-05-09T11:04:39.759Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:04:39.759Z] [2022-05-09T11:04:39.759Z] Login Succeeded [2022-05-09T11:04:39.759Z] docker.io [2022-05-09T11:04:40.363Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T11:04:40.637Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T11:04:40.637Z] Configure a credential helper to remove this warning. See [2022-05-09T11:04:40.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T11:04:40.637Z] [2022-05-09T11:04:40.637Z] Login Succeeded [2022-05-09T11:04:40.637Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T11:04:40.656Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-09T11:04:40.693Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T11:04:40.716Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-05-09T11:04:40.717Z] 9e5ff16ea29b888a79edc386c2a8af4882824547 [2022-05-09T11:04:40.717Z] latest [2022-05-09T11:04:40.717Z] 2.2.0-dev.20 [2022-05-09T11:04:40.717Z] 9e5ff16ea29b888a79edc386c2a8af4882824547-2.2.0-dev.20 [2022-05-09T11:04:40.717Z] main [2022-05-09T11:04:40.717Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:04:41.083Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9e5ff16ea29b888a79edc386c2a8af4882824547 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:04:41.443Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9e5ff16ea29b888a79edc386c2a8af4882824547 [2022-05-09T11:04:41.443Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-09T11:04:41.443Z] 960fcb169a59: Preparing [2022-05-09T11:04:41.443Z] 9a7e4063f53a: Preparing [2022-05-09T11:04:41.443Z] de41ed06e64b: Preparing [2022-05-09T11:04:41.443Z] 234fbc4131d6: Preparing [2022-05-09T11:04:41.443Z] f73e7dbfee58: Preparing [2022-05-09T11:04:41.728Z] f73e7dbfee58: Layer already exists [2022-05-09T11:04:41.728Z] 9a7e4063f53a: Pushed [2022-05-09T11:04:41.728Z] 960fcb169a59: Pushed [2022-05-09T11:04:42.326Z] 234fbc4131d6: Pushed [2022-05-09T11:04:49.057Z] de41ed06e64b: Pushed [2022-05-09T11:04:49.057Z] 9e5ff16ea29b888a79edc386c2a8af4882824547: digest: sha256:54153fa7117d9f68120fd09e221c259311380148c9cda9d15c69539b03420ce3 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:04:49.413Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:04:49.762Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-05-09T11:04:49.762Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-09T11:04:49.762Z] 960fcb169a59: Preparing [2022-05-09T11:04:49.762Z] 9a7e4063f53a: Preparing [2022-05-09T11:04:49.762Z] de41ed06e64b: Preparing [2022-05-09T11:04:49.762Z] 234fbc4131d6: Preparing [2022-05-09T11:04:49.762Z] f73e7dbfee58: Preparing [2022-05-09T11:04:49.762Z] 960fcb169a59: Layer already exists [2022-05-09T11:04:49.762Z] 9a7e4063f53a: Layer already exists [2022-05-09T11:04:49.762Z] f73e7dbfee58: Layer already exists [2022-05-09T11:04:49.762Z] de41ed06e64b: Layer already exists [2022-05-09T11:04:49.762Z] 234fbc4131d6: Layer already exists [2022-05-09T11:04:50.037Z] latest: digest: sha256:54153fa7117d9f68120fd09e221c259311380148c9cda9d15c69539b03420ce3 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:04:50.396Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.20 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:04:50.748Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.20 [2022-05-09T11:04:50.748Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-09T11:04:50.748Z] 960fcb169a59: Preparing [2022-05-09T11:04:50.748Z] 9a7e4063f53a: Preparing [2022-05-09T11:04:50.748Z] de41ed06e64b: Preparing [2022-05-09T11:04:50.748Z] 234fbc4131d6: Preparing [2022-05-09T11:04:50.748Z] f73e7dbfee58: Preparing [2022-05-09T11:04:50.748Z] 234fbc4131d6: Layer already exists [2022-05-09T11:04:50.748Z] de41ed06e64b: Layer already exists [2022-05-09T11:04:50.748Z] 9a7e4063f53a: Layer already exists [2022-05-09T11:04:50.748Z] f73e7dbfee58: Layer already exists [2022-05-09T11:04:50.748Z] 960fcb169a59: Layer already exists [2022-05-09T11:04:51.023Z] 2.2.0-dev.20: digest: sha256:54153fa7117d9f68120fd09e221c259311380148c9cda9d15c69539b03420ce3 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:04:51.379Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9e5ff16ea29b888a79edc386c2a8af4882824547-2.2.0-dev.20 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:04:51.731Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9e5ff16ea29b888a79edc386c2a8af4882824547-2.2.0-dev.20 [2022-05-09T11:04:51.731Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-09T11:04:51.731Z] 960fcb169a59: Preparing [2022-05-09T11:04:51.731Z] 9a7e4063f53a: Preparing [2022-05-09T11:04:51.731Z] de41ed06e64b: Preparing [2022-05-09T11:04:51.731Z] 234fbc4131d6: Preparing [2022-05-09T11:04:51.731Z] f73e7dbfee58: Preparing [2022-05-09T11:04:51.731Z] 234fbc4131d6: Layer already exists [2022-05-09T11:04:51.731Z] f73e7dbfee58: Layer already exists [2022-05-09T11:04:51.731Z] 9a7e4063f53a: Layer already exists [2022-05-09T11:04:51.731Z] de41ed06e64b: Layer already exists [2022-05-09T11:04:51.731Z] 960fcb169a59: Layer already exists [2022-05-09T11:04:52.006Z] 9e5ff16ea29b888a79edc386c2a8af4882824547-2.2.0-dev.20: digest: sha256:54153fa7117d9f68120fd09e221c259311380148c9cda9d15c69539b03420ce3 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:04:52.366Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:04:52.714Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-05-09T11:04:52.714Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-05-09T11:04:52.714Z] 960fcb169a59: Preparing [2022-05-09T11:04:52.714Z] 9a7e4063f53a: Preparing [2022-05-09T11:04:52.714Z] de41ed06e64b: Preparing [2022-05-09T11:04:52.714Z] 234fbc4131d6: Preparing [2022-05-09T11:04:52.714Z] f73e7dbfee58: Preparing [2022-05-09T11:04:52.714Z] f73e7dbfee58: Layer already exists [2022-05-09T11:04:52.714Z] 9a7e4063f53a: Layer already exists [2022-05-09T11:04:52.714Z] 960fcb169a59: Layer already exists [2022-05-09T11:04:52.714Z] de41ed06e64b: Layer already exists [2022-05-09T11:04:52.714Z] 234fbc4131d6: Layer already exists [2022-05-09T11:04:52.989Z] main: digest: sha256:54153fa7117d9f68120fd09e221c259311380148c9cda9d15c69539b03420ce3 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-09T11:04:53.039Z] ===================================================== [Pipeline] echo [2022-05-09T11:04:53.050Z] taggedImages: [2022-05-09T11:04:53.050Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9e5ff16ea29b888a79edc386c2a8af4882824547 [2022-05-09T11:04:53.050Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-05-09T11:04:53.050Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.0-dev.20 [2022-05-09T11:04:53.050Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:9e5ff16ea29b888a79edc386c2a8af4882824547-2.2.0-dev.20 [2022-05-09T11:04:53.050Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:04:53.431Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T11:04:53.431Z] [2022-05-09T11:04:53.431Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:04:53.799Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T11:04:54.078Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-09T11:04:54.078Z] 8998bd30e6a1: Pulling fs layer [2022-05-09T11:04:54.078Z] 04944245beec: Pulling fs layer [2022-05-09T11:04:54.078Z] 699f458cf7ca: Pulling fs layer [2022-05-09T11:04:54.078Z] 765212b225bb: Pulling fs layer [2022-05-09T11:04:54.078Z] f23df028b6ca: Pulling fs layer [2022-05-09T11:04:54.078Z] d65c8cfc05b1: Pulling fs layer [2022-05-09T11:04:54.078Z] 2437ff75d9bd: Pulling fs layer [2022-05-09T11:04:54.078Z] f23df028b6ca: Waiting [2022-05-09T11:04:54.078Z] d65c8cfc05b1: Waiting [2022-05-09T11:04:54.078Z] 765212b225bb: Waiting [2022-05-09T11:04:54.078Z] 2437ff75d9bd: Waiting [2022-05-09T11:04:54.078Z] 04944245beec: Verifying Checksum [2022-05-09T11:04:54.078Z] 04944245beec: Download complete [2022-05-09T11:04:54.078Z] 765212b225bb: Verifying Checksum [2022-05-09T11:04:54.078Z] 765212b225bb: Download complete [2022-05-09T11:04:54.078Z] f23df028b6ca: Verifying Checksum [2022-05-09T11:04:54.078Z] f23df028b6ca: Download complete [2022-05-09T11:04:54.078Z] d65c8cfc05b1: Verifying Checksum [2022-05-09T11:04:54.078Z] d65c8cfc05b1: Download complete [2022-05-09T11:04:54.357Z] 699f458cf7ca: Verifying Checksum [2022-05-09T11:04:54.357Z] 699f458cf7ca: Download complete [2022-05-09T11:04:54.636Z] 8998bd30e6a1: Verifying Checksum [2022-05-09T11:04:54.636Z] 8998bd30e6a1: Download complete [2022-05-09T11:04:57.274Z] 2437ff75d9bd: Verifying Checksum [2022-05-09T11:04:57.274Z] 2437ff75d9bd: Download complete [2022-05-09T11:04:59.261Z] 8998bd30e6a1: Pull complete [2022-05-09T11:04:59.536Z] 04944245beec: Pull complete [2022-05-09T11:05:00.974Z] 699f458cf7ca: Pull complete [2022-05-09T11:05:01.250Z] 765212b225bb: Pull complete [2022-05-09T11:05:02.238Z] f23df028b6ca: Pull complete [2022-05-09T11:05:02.515Z] d65c8cfc05b1: Pull complete [2022-05-09T11:05:17.625Z] 2437ff75d9bd: Pull complete [2022-05-09T11:05:17.625Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-09T11:05:17.625Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T11:05:17.625Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-09T11:05:17.854Z] prd-ubuntu20.04-docker-arm64-4c-16g-41796 does not seem to be running inside a container [2022-05-09T11:05:17.946Z] $ 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/42 -v /w/workspace/device-mqtt-go/42:/w/workspace/device-mqtt-go/42:rw,z -v /w/workspace/device-mqtt-go/42@tmp:/w/workspace/device-mqtt-go/42@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-05-09T11:05:20.595Z] $ docker top c46ebf09f8e6d623a67d15893a709fbe0ee1da8edb082a84fe673d5c7baa3f3e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:05:21.497Z] ---> job-cost.sh [2022-05-09T11:05:21.497Z] lf-activate-venv: SKIPPING [2022-05-09T11:05:21.497Z] INFO: No Stack... [2022-05-09T11:05:22.090Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-09T11:05:22.682Z] INFO: Archiving Costs [Pipeline] sh [2022-05-09T11:05:23.346Z] + cat /w/workspace/device-mqtt-go/42/archives/cost.csv [2022-05-09T11:05:23.346Z] + cut -d, -f6 [Pipeline] lock [2022-05-09T11:05:23.413Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-42-stack-cost] [2022-05-09T11:05:23.419Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-42-stack-cost] did not exist. Created. [2022-05-09T11:05:23.419Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-42-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-09T11:05:24.093Z] /w/workspace/device-mqtt-go/42@tmp/durable-66a1d7b4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-09T11:05:24.771Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-09T11:05:24.792Z] Warning: overwriting stash ‘stack-cost’ [2022-05-09T11:05:24.852Z] Stashed 1 file(s) [Pipeline] } [2022-05-09T11:05:24.859Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-42-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-09T11:05:24.879Z] $ docker stop --time=1 c46ebf09f8e6d623a67d15893a709fbe0ee1da8edb082a84fe673d5c7baa3f3e [2022-05-09T11:05:26.373Z] $ docker rm -f c46ebf09f8e6d623a67d15893a709fbe0ee1da8edb082a84fe673d5c7baa3f3e [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-05-09T11:05:26.804Z] provisioning config files... [2022-05-09T11:05:26.813Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2495224043637692474tmp [Pipeline] { [Pipeline] sh [2022-05-09T11:05:27.110Z] + set +x [2022-05-09T11:05:27.110Z] + curl -s https://codecov.io/bash [2022-05-09T11:05:27.110Z] + bash -s -- [2022-05-09T11:05:27.110Z] [2022-05-09T11:05:27.110Z] _____ _ [2022-05-09T11:05:27.110Z] / ____| | | [2022-05-09T11:05:27.110Z] | | ___ __| | ___ ___ _____ __ [2022-05-09T11:05:27.110Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-09T11:05:27.110Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-09T11:05:27.110Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-09T11:05:27.110Z] Bash-1.0.6 [2022-05-09T11:05:27.110Z] [2022-05-09T11:05:27.110Z] [2022-05-09T11:05:27.110Z] ==> git version 2.25.1 found [2022-05-09T11:05:27.110Z] ==> 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-05-09T11:05:27.110Z] Release-Date: 2020-01-08 [2022-05-09T11:05:27.110Z] 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-05-09T11:05:27.110Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-09T11:05:27.110Z] ==> Jenkins CI detected. [2022-05-09T11:05:27.110Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-05-09T11:05:27.110Z] project root: . [2022-05-09T11:05:27.110Z] --> token set from env [2022-05-09T11:05:27.110Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-09T11:05:27.110Z] ==> Running gcov in . (disable via -X gcov) [2022-05-09T11:05:27.110Z] ==> Python coveragepy not found [2022-05-09T11:05:27.110Z] ==> Searching for coverage reports in: [2022-05-09T11:05:27.110Z] + . [2022-05-09T11:05:27.110Z] -> Found 1 reports [2022-05-09T11:05:27.110Z] ==> Detecting git/mercurial file structure [2022-05-09T11:05:27.110Z] ==> Reading reports [2022-05-09T11:05:27.110Z] + ./coverage.out bytes=17887 [2022-05-09T11:05:27.110Z] ==> Appending adjustments [2022-05-09T11:05:27.110Z] https://docs.codecov.io/docs/fixing-reports [2022-05-09T11:05:27.110Z] + Found adjustments [2022-05-09T11:05:27.370Z] ==> Gzipping contents [2022-05-09T11:05:27.370Z] 4.0K /tmp/codecov.0fczQq.gz [2022-05-09T11:05:27.370Z] ==> Uploading reports [2022-05-09T11:05:27.370Z] url: https://codecov.io [2022-05-09T11:05:27.370Z] query: branch=main&commit=9e5ff16ea29b888a79edc386c2a8af4882824547&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-09T11:05:27.370Z] -> Pinging Codecov [2022-05-09T11:05:27.370Z] 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=9e5ff16ea29b888a79edc386c2a8af4882824547&build=42&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F42%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-09T11:05:27.370Z] -> Uploading to [2022-05-09T11:05:27.370Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-09/7D719EC7BBE17E464838252E33014C33/9e5ff16ea29b888a79edc386c2a8af4882824547/433edb22-95db-4e98-be2e-ceffdeeecdfa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220509T110527Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=67b68c5c02e40a62bfeacb9223fc54fc4d310f17be6cb0068d1780e2c0742219 [2022-05-09T11:05:27.370Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-09T11:05:27.370Z] Dload Upload Total Spent Left Speed [2022-05-09T11:05:27.632Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3260 0 0 100 3260 0 14751 --:--:-- --:--:-- --:--:-- 14684 100 3260 0 0 100 3260 0 11811 --:--:-- --:--:-- --:--:-- 11768 [2022-05-09T11:05:27.632Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/9e5ff16ea29b888a79edc386c2a8af4882824547 [Pipeline] } [2022-05-09T11:05:27.640Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-09T11:05:27.760Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-09T11:05:27.770Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:05:28.059Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-09T11:05:28.059Z] [2022-05-09T11:05:28.059Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:05:28.356Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-09T11:05:28.356Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-09T11:05:28.356Z] 188c0c94c7c5: Pulling fs layer [2022-05-09T11:05:28.356Z] 0ef7d3d256c8: Pulling fs layer [2022-05-09T11:05:28.356Z] de9db76c5a1d: Pulling fs layer [2022-05-09T11:05:28.356Z] 0eba1c9be4d2: Pulling fs layer [2022-05-09T11:05:28.356Z] 0d57e429df01: Pulling fs layer [2022-05-09T11:05:28.356Z] 4e4be7b47b0d: Pulling fs layer [2022-05-09T11:05:28.356Z] e1f770b5df2f: Pulling fs layer [2022-05-09T11:05:28.356Z] 85a0685a4137: Pulling fs layer [2022-05-09T11:05:28.356Z] 0d57e429df01: Waiting [2022-05-09T11:05:28.356Z] 4e4be7b47b0d: Waiting [2022-05-09T11:05:28.356Z] e1f770b5df2f: Waiting [2022-05-09T11:05:28.356Z] 85a0685a4137: Waiting [2022-05-09T11:05:28.356Z] 0eba1c9be4d2: Waiting [2022-05-09T11:05:28.356Z] de9db76c5a1d: Verifying Checksum [2022-05-09T11:05:28.356Z] de9db76c5a1d: Download complete [2022-05-09T11:05:28.356Z] 0ef7d3d256c8: Download complete [2022-05-09T11:05:28.356Z] 0d57e429df01: Download complete [2022-05-09T11:05:28.356Z] 4e4be7b47b0d: Verifying Checksum [2022-05-09T11:05:28.356Z] 4e4be7b47b0d: Download complete [2022-05-09T11:05:28.356Z] 188c0c94c7c5: Download complete [2022-05-09T11:05:28.619Z] 188c0c94c7c5: Pull complete [2022-05-09T11:05:28.619Z] e1f770b5df2f: Verifying Checksum [2022-05-09T11:05:28.619Z] e1f770b5df2f: Download complete [2022-05-09T11:05:28.619Z] 0ef7d3d256c8: Pull complete [2022-05-09T11:05:28.882Z] de9db76c5a1d: Pull complete [2022-05-09T11:05:29.142Z] 0eba1c9be4d2: Verifying Checksum [2022-05-09T11:05:29.142Z] 0eba1c9be4d2: Download complete [2022-05-09T11:05:29.401Z] 85a0685a4137: Verifying Checksum [2022-05-09T11:05:29.401Z] 85a0685a4137: Download complete [2022-05-09T11:05:32.686Z] 0eba1c9be4d2: Pull complete [2022-05-09T11:05:32.686Z] 0d57e429df01: Pull complete [2022-05-09T11:05:32.686Z] 4e4be7b47b0d: Pull complete [2022-05-09T11:05:32.686Z] e1f770b5df2f: Pull complete [2022-05-09T11:05:36.879Z] 85a0685a4137: Pull complete [2022-05-09T11:05:36.879Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-09T11:05:36.879Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-09T11:05:36.879Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-09T11:05:36.953Z] prd-ubuntu20.04-docker-8c-8g-41792 does not seem to be running inside a container [2022-05-09T11:05:36.995Z] $ 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-05-09T11:05:39.442Z] $ docker top de6a0e45d7a2ac6df20d382da0804dd5e47732d6099a67ad106815780d90b1d6 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-09T11:05:39.518Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-09T11:05:39.798Z] + set -o pipefail [2022-05-09T11:05:39.799Z] + snyk monitor '--org=edgex-jenkins' [2022-05-09T11:05:45.088Z] [2022-05-09T11:05:45.088Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-05-09T11:05:45.088Z] [2022-05-09T11:05:45.088Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6acecf1b-85ea-4374-bf84-4fa5a6e664d0/history/f1be4462-1991-4136-b99a-10383e06d6c4 [2022-05-09T11:05:45.088Z] [2022-05-09T11:05:45.088Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-05-09T11:05:45.088Z] [2022-05-09T11:05:45.088Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-09T11:05:45.088Z] [2022-05-09T11:05:45.350Z] [Pipeline] } [2022-05-09T11:05:45.365Z] $ docker stop --time=1 de6a0e45d7a2ac6df20d382da0804dd5e47732d6099a67ad106815780d90b1d6 [2022-05-09T11:05:47.699Z] $ docker rm -f de6a0e45d7a2ac6df20d382da0804dd5e47732d6099a67ad106815780d90b1d6 [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-05-09T11:05:48.436Z] + git log --format=format:%s -1 9e5ff16ea29b888a79edc386c2a8af4882824547 [Pipeline] sh [2022-05-09T11:05:48.735Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-09T11:05:48.735Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:05:49.031Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T11:05:49.031Z] . [Pipeline] withDockerContainer [2022-05-09T11:05:49.101Z] prd-ubuntu20.04-docker-8c-8g-41792 does not seem to be running inside a container [2022-05-09T11:05:49.139Z] $ 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:10003/edgex-devops/py-git-semver:latest cat [2022-05-09T11:05:49.578Z] $ docker top ca0e20f6ada0b2f232536696c14a7ac9fd0aa9673ca4577ad9b0b2c8074d50dc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-09T11:05:49.674Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T11:05:49.674Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T11:05:49.821Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T11:05:49.826Z] $ docker exec ca0e20f6ada0b2f232536696c14a7ac9fd0aa9673ca4577ad9b0b2c8074d50dc ssh-agent [2022-05-09T11:05:49.962Z] SSH_AUTH_SOCK=/tmp/ssh-yZEsOZY8Uj0J/agent.32 [2022-05-09T11:05:49.962Z] SSH_AGENT_PID=39 [2022-05-09T11:05:49.971Z] Running ssh-add (command line suppressed) [2022-05-09T11:05:50.083Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6364917897106343275.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6364917897106343275.key) [2022-05-09T11:05:50.123Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T11:05:50.415Z] + git semver tag [2022-05-09T11:05:50.675Z] 2022-05-09 11:05:50,609 [run_tag] DEBUG tag force:False [2022-05-09T11:05:50.675Z] 2022-05-09 11:05:50,609 [check_head_tag] DEBUG check head tag [2022-05-09T11:05:50.675Z] 2022-05-09 11:05:50,611 [execute] INFO git cat-file --batch-check [2022-05-09T11:05:50.675Z] 2022-05-09 11:05:50,611 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-05-09T11:05:50.675Z] 2022-05-09 11:05:50,614 [execute] INFO git cat-file --batch [2022-05-09T11:05:50.675Z] 2022-05-09 11:05:50,615 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-05-09T11:05:50.675Z] 2022-05-09 11:05:50,631 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-09T11:05:50.675Z] 2022-05-09 11:05:50,632 [execute] INFO git tag -a v2.2.0-dev.20 -m v2.2.0-dev.20 [2022-05-09T11:05:50.675Z] 2022-05-09 11:05:50,632 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.20', '-m', 'v2.2.0-dev.20'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-09T11:05:50.675Z] 2022-05-09 11:05:50,638 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-09T11:05:50.675Z] 2.2.0-dev.20 [Pipeline] } [2022-05-09T11:05:50.688Z] $ docker exec --env ******** --env ******** ca0e20f6ada0b2f232536696c14a7ac9fd0aa9673ca4577ad9b0b2c8074d50dc ssh-agent -k [2022-05-09T11:05:50.817Z] unset SSH_AUTH_SOCK; [2022-05-09T11:05:50.818Z] unset SSH_AGENT_PID; [2022-05-09T11:05:50.818Z] echo Agent pid 39 killed; [2022-05-09T11:05:50.826Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-09T11:05:51.143Z] + git semver [Pipeline] } [2022-05-09T11:05:51.424Z] $ docker stop --time=1 ca0e20f6ada0b2f232536696c14a7ac9fd0aa9673ca4577ad9b0b2c8074d50dc [2022-05-09T11:05:52.729Z] $ docker rm -f ca0e20f6ada0b2f232536696c14a7ac9fd0aa9673ca4577ad9b0b2c8074d50dc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:05:53.130Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-09T11:05:53.130Z] [2022-05-09T11:05:53.130Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:05:53.426Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-09T11:05:53.426Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-09T11:05:53.426Z] ab5ef0e58194: Pulling fs layer [2022-05-09T11:05:53.426Z] 9712f1f96733: Pulling fs layer [2022-05-09T11:05:53.426Z] 63f879dbbcfc: Pulling fs layer [2022-05-09T11:05:53.426Z] 0d9ebad4ef96: Pulling fs layer [2022-05-09T11:05:53.426Z] e9a5061849ea: Pulling fs layer [2022-05-09T11:05:53.426Z] d747dcd14b5f: Pulling fs layer [2022-05-09T11:05:53.426Z] 2de7ff778b66: Pulling fs layer [2022-05-09T11:05:53.426Z] 0d9ebad4ef96: Waiting [2022-05-09T11:05:53.426Z] e9a5061849ea: Waiting [2022-05-09T11:05:53.426Z] 2de7ff778b66: Waiting [2022-05-09T11:05:53.426Z] d747dcd14b5f: Waiting [2022-05-09T11:05:53.426Z] 9712f1f96733: Download complete [2022-05-09T11:05:54.002Z] 63f879dbbcfc: Verifying Checksum [2022-05-09T11:05:54.002Z] 63f879dbbcfc: Download complete [2022-05-09T11:05:54.002Z] e9a5061849ea: Verifying Checksum [2022-05-09T11:05:54.002Z] ab5ef0e58194: Verifying Checksum [2022-05-09T11:05:54.002Z] ab5ef0e58194: Download complete [2022-05-09T11:05:54.002Z] d747dcd14b5f: Download complete [2022-05-09T11:05:54.002Z] 0d9ebad4ef96: Verifying Checksum [2022-05-09T11:05:54.002Z] 0d9ebad4ef96: Download complete [2022-05-09T11:05:54.261Z] 2de7ff778b66: Verifying Checksum [2022-05-09T11:05:54.261Z] 2de7ff778b66: Download complete [2022-05-09T11:05:56.794Z] ab5ef0e58194: Pull complete [2022-05-09T11:05:56.794Z] 9712f1f96733: Pull complete [2022-05-09T11:05:57.361Z] 63f879dbbcfc: Pull complete [2022-05-09T11:06:01.551Z] 0d9ebad4ef96: Pull complete [2022-05-09T11:06:01.551Z] e9a5061849ea: Pull complete [2022-05-09T11:06:01.551Z] d747dcd14b5f: Pull complete [2022-05-09T11:06:02.486Z] 2de7ff778b66: Pull complete [2022-05-09T11:06:02.486Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-09T11:06:02.486Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-09T11:06:02.486Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-09T11:06:02.553Z] prd-ubuntu20.04-docker-8c-8g-41792 does not seem to be running inside a container [2022-05-09T11:06:02.592Z] $ 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-05-09T11:06:05.106Z] $ docker top fdf823c76a8a3711b5dffa09a6cb23cd2052dcaa7ae3be8b52428f18b508db0c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-09T11:06:05.188Z] provisioning config files... [2022-05-09T11:06:05.197Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config122067487821184320tmp [2022-05-09T11:06:05.208Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config421338575801727559tmp [2022-05-09T11:06:05.217Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4217137212716332158tmp [Pipeline] { [Pipeline] echo [2022-05-09T11:06:05.235Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:06:05.520Z] ---> sigul-configuration.sh [2022-05-09T11:06:05.520Z] gpg: directory `/root/.gnupg' created [2022-05-09T11:06:05.520Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-09T11:06:05.520Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-09T11:06:05.520Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-09T11:06:05.520Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-09T11:06:05.520Z] gpg: CAST5 encrypted data [2022-05-09T11:06:05.520Z] gpg: encrypted with 1 passphrase [2022-05-09T11:06:05.520Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-09T11:06:05.811Z] + mkdir /home/jenkins [2022-05-09T11:06:05.811Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-09T11:06:06.101Z] + 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-05-09T11:06:06.111Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:06:06.398Z] ---> sigul-install.sh [2022-05-09T11:06:06.398Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-09T11:06:06.685Z] + git tag --list [2022-05-09T11:06:06.685Z] 0.7.1 [2022-05-09T11:06:06.685Z] v1.0.0 [2022-05-09T11:06:06.685Z] v1.1.0 [2022-05-09T11:06:06.685Z] v1.1.1 [2022-05-09T11:06:06.685Z] v1.2.2 [2022-05-09T11:06:06.685Z] v1.3.0 [2022-05-09T11:06:06.685Z] v1.3.1 [2022-05-09T11:06:06.685Z] v2.0.0 [2022-05-09T11:06:06.685Z] v2.0.1-dev.1 [2022-05-09T11:06:06.685Z] v2.0.1-dev.10 [2022-05-09T11:06:06.685Z] v2.0.1-dev.11 [2022-05-09T11:06:06.685Z] v2.0.1-dev.12 [2022-05-09T11:06:06.685Z] v2.0.1-dev.13 [2022-05-09T11:06:06.685Z] v2.0.1-dev.14 [2022-05-09T11:06:06.685Z] v2.0.1-dev.15 [2022-05-09T11:06:06.685Z] v2.0.1-dev.16 [2022-05-09T11:06:06.685Z] v2.0.1-dev.17 [2022-05-09T11:06:06.685Z] v2.0.1-dev.2 [2022-05-09T11:06:06.685Z] v2.0.1-dev.3 [2022-05-09T11:06:06.685Z] v2.0.1-dev.4 [2022-05-09T11:06:06.685Z] v2.0.1-dev.5 [2022-05-09T11:06:06.685Z] v2.0.1-dev.6 [2022-05-09T11:06:06.685Z] v2.0.1-dev.7 [2022-05-09T11:06:06.685Z] v2.0.1-dev.8 [2022-05-09T11:06:06.685Z] v2.0.1-dev.9 [2022-05-09T11:06:06.685Z] v2.1.0 [2022-05-09T11:06:06.685Z] v2.2.0-dev.1 [2022-05-09T11:06:06.685Z] v2.2.0-dev.10 [2022-05-09T11:06:06.685Z] v2.2.0-dev.11 [2022-05-09T11:06:06.685Z] v2.2.0-dev.12 [2022-05-09T11:06:06.685Z] v2.2.0-dev.13 [2022-05-09T11:06:06.685Z] v2.2.0-dev.14 [2022-05-09T11:06:06.685Z] v2.2.0-dev.15 [2022-05-09T11:06:06.685Z] v2.2.0-dev.16 [2022-05-09T11:06:06.685Z] v2.2.0-dev.17 [2022-05-09T11:06:06.685Z] v2.2.0-dev.18 [2022-05-09T11:06:06.685Z] v2.2.0-dev.19 [2022-05-09T11:06:06.685Z] v2.2.0-dev.2 [2022-05-09T11:06:06.685Z] v2.2.0-dev.20 [2022-05-09T11:06:06.685Z] v2.2.0-dev.3 [2022-05-09T11:06:06.685Z] v2.2.0-dev.4 [2022-05-09T11:06:06.685Z] v2.2.0-dev.5 [2022-05-09T11:06:06.685Z] v2.2.0-dev.6 [2022-05-09T11:06:06.685Z] v2.2.0-dev.7 [2022-05-09T11:06:06.685Z] v2.2.0-dev.8 [2022-05-09T11:06:06.685Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-09T11:06:06.975Z] + lftools sign git-tag v2.2.0-dev.20 [2022-05-09T11:06:07.547Z] Signing Git tag with Sigul... [2022-05-09T11:06:07.547Z] Signing v2.2.0-dev.20 [Pipeline] echo [2022-05-09T11:06:07.818Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:06:08.110Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-09T11:06:08.118Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-09T11:06:08.143Z] $ docker stop --time=1 fdf823c76a8a3711b5dffa09a6cb23cd2052dcaa7ae3be8b52428f18b508db0c [2022-05-09T11:06:09.477Z] $ docker rm -f fdf823c76a8a3711b5dffa09a6cb23cd2052dcaa7ae3be8b52428f18b508db0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-09T11:06:09.920Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-09T11:06:09.920Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:06:10.295Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T11:06:10.295Z] . [Pipeline] withDockerContainer [2022-05-09T11:06:10.363Z] prd-ubuntu20.04-docker-8c-8g-41792 does not seem to be running inside a container [2022-05-09T11:06:10.396Z] $ 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:10003/edgex-devops/py-git-semver:latest cat [2022-05-09T11:06:10.790Z] $ docker top ab4e08b98b2fc35770205423018fc0a20bff0a774dbde9d9ff2ef2b9a89a2c0a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-09T11:06:10.899Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T11:06:10.899Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T11:06:11.026Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T11:06:11.032Z] $ docker exec ab4e08b98b2fc35770205423018fc0a20bff0a774dbde9d9ff2ef2b9a89a2c0a ssh-agent [2022-05-09T11:06:11.142Z] SSH_AUTH_SOCK=/tmp/ssh-CjONHt5PriAI/agent.32 [2022-05-09T11:06:11.142Z] SSH_AGENT_PID=38 [2022-05-09T11:06:11.148Z] Running ssh-add (command line suppressed) [2022-05-09T11:06:11.255Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9172524813543044609.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_9172524813543044609.key) [2022-05-09T11:06:11.267Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T11:06:11.557Z] + git semver bump pre [2022-05-09T11:06:11.819Z] 2022-05-09 11:06:11,735 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-09T11:06:11.819Z] 2022-05-09 11:06:11,735 [bump_version] DEBUG bumping version:2.2.0-dev.20 on axis:pre with prefix:dev [2022-05-09T11:06:11.819Z] 2022-05-09 11:06:11,735 [bump_version] DEBUG bumped version:2.2.0-dev.21 [2022-05-09T11:06:11.819Z] 2022-05-09 11:06:11,735 [write_version] DEBUG write version:2.2.0-dev.21 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2022-05-09T11:06:11.819Z] 2022-05-09 11:06:11,735 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-09T11:06:11.819Z] 2022-05-09 11:06:11,735 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-09T11:06:11.819Z] 2022-05-09 11:06:11,737 [execute] INFO git cat-file --batch-check [2022-05-09T11:06:11.819Z] 2022-05-09 11:06:11,737 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-09T11:06:11.819Z] 2022-05-09 11:06:11,741 [execute] INFO git cat-file --batch [2022-05-09T11:06:11.819Z] 2022-05-09 11:06:11,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-09T11:06:11.819Z] 2022-05-09 11:06:11,747 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-09T11:06:11.819Z] 2.2.0-dev.21 [Pipeline] } [2022-05-09T11:06:11.833Z] $ docker exec --env ******** --env ******** ab4e08b98b2fc35770205423018fc0a20bff0a774dbde9d9ff2ef2b9a89a2c0a ssh-agent -k [2022-05-09T11:06:11.954Z] unset SSH_AUTH_SOCK; [2022-05-09T11:06:11.954Z] unset SSH_AGENT_PID; [2022-05-09T11:06:11.954Z] echo Agent pid 38 killed; [2022-05-09T11:06:11.966Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-09T11:06:12.266Z] + git semver [Pipeline] } [2022-05-09T11:06:12.544Z] $ docker stop --time=1 ab4e08b98b2fc35770205423018fc0a20bff0a774dbde9d9ff2ef2b9a89a2c0a [2022-05-09T11:06:13.850Z] $ docker rm -f ab4e08b98b2fc35770205423018fc0a20bff0a774dbde9d9ff2ef2b9a89a2c0a [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T11:06:14.202Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-09T11:06:14.202Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:06:14.500Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T11:06:14.500Z] . [Pipeline] withDockerContainer [2022-05-09T11:06:14.567Z] prd-ubuntu20.04-docker-8c-8g-41792 does not seem to be running inside a container [2022-05-09T11:06:14.608Z] $ 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:10003/edgex-devops/py-git-semver:latest cat [2022-05-09T11:06:14.983Z] $ docker top f99d2463c7bd8ef525ee6ff657b5fdbd3c1d8a1c747444637e9935f231c2b514 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-09T11:06:15.079Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T11:06:15.079Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T11:06:15.235Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T11:06:15.240Z] $ docker exec f99d2463c7bd8ef525ee6ff657b5fdbd3c1d8a1c747444637e9935f231c2b514 ssh-agent [2022-05-09T11:06:15.358Z] SSH_AUTH_SOCK=/tmp/ssh-rhHxLqus4dfu/agent.34 [2022-05-09T11:06:15.358Z] SSH_AGENT_PID=40 [2022-05-09T11:06:15.363Z] Running ssh-add (command line suppressed) [2022-05-09T11:06:15.496Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4432590742733377272.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4432590742733377272.key) [2022-05-09T11:06:15.508Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T11:06:15.796Z] + git semver push [2022-05-09T11:06:16.056Z] 2022-05-09 11:06:16,016 [run_push] DEBUG push [2022-05-09T11:06:16.056Z] 2022-05-09 11:06:16,016 [execute] INFO git push origin semver [2022-05-09T11:06:16.056Z] 2022-05-09 11:06:16,017 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-05-09T11:06:16.998Z] 2022-05-09 11:06:16,777 [run_push] DEBUG push all version tags [2022-05-09T11:06:16.998Z] 2022-05-09 11:06:16,778 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-09T11:06:16.998Z] 2022-05-09 11:06:16,778 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-09T11:06:17.939Z] 2022-05-09 11:06:17,616 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-05-09T11:06:17.939Z] 2.2.0-dev.21 [Pipeline] } [2022-05-09T11:06:17.951Z] $ docker exec --env ******** --env ******** f99d2463c7bd8ef525ee6ff657b5fdbd3c1d8a1c747444637e9935f231c2b514 ssh-agent -k [2022-05-09T11:06:18.065Z] unset SSH_AUTH_SOCK; [2022-05-09T11:06:18.066Z] unset SSH_AGENT_PID; [2022-05-09T11:06:18.066Z] echo Agent pid 40 killed; [2022-05-09T11:06:18.078Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-09T11:06:18.390Z] + git semver [Pipeline] } [2022-05-09T11:06:18.668Z] $ docker stop --time=1 f99d2463c7bd8ef525ee6ff657b5fdbd3c1d8a1c747444637e9935f231c2b514 [2022-05-09T11:06:19.972Z] $ docker rm -f f99d2463c7bd8ef525ee6ff657b5fdbd3c1d8a1c747444637e9935f231c2b514 [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-05-09T11:06:20.574Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2022-05-09T11:06:20.574Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-05-09T11:06:20.574Z] total 16 [2022-05-09T11:06:20.574Z] drwxr-xr-x 3 root root 4096 May 9 10:57 . [2022-05-09T11:06:20.574Z] drwxrwxr-x 11 jenkins jenkins 4096 May 9 11:06 .. [2022-05-09T11:06:20.574Z] drwxr-xr-x 2 root root 4096 May 9 10:57 cost [2022-05-09T11:06:20.574Z] -rw-r--r-- 1 root root 84 May 9 10:57 cost.csv [2022-05-09T11:06:20.574Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-05-09T11:06:20.574Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-05-09T11:06:20.574Z] total 16 [2022-05-09T11:06:20.574Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 10:57 . [2022-05-09T11:06:20.574Z] drwxrwxr-x 11 jenkins jenkins 4096 May 9 11:06 .. [2022-05-09T11:06:20.574Z] drwxr-xr-x 2 jenkins jenkins 4096 May 9 10:57 cost [2022-05-09T11:06:20.574Z] -rw-r--r-- 1 jenkins jenkins 84 May 9 10:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:06:20.869Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:06:21.738Z] ---> package-listing.sh [2022-05-09T11:06:21.738Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-09T11:06:21.738Z] ++ facter osfamily [2022-05-09T11:06:21.998Z] + OS_FAMILY=debian [2022-05-09T11:06:21.998Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-05-09T11:06:21.998Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-09T11:06:21.998Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-09T11:06:21.998Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-09T11:06:21.998Z] + PACKAGES=/tmp/packages_start.txt [2022-05-09T11:06:21.998Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-05-09T11:06:21.998Z] + PACKAGES=/tmp/packages_end.txt [2022-05-09T11:06:21.998Z] + case "${OS_FAMILY}" in [2022-05-09T11:06:21.998Z] + dpkg -l [2022-05-09T11:06:21.998Z] + grep '^ii' [2022-05-09T11:06:21.998Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-09T11:06:21.998Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-09T11:06:21.998Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-09T11:06:21.998Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-05-09T11:06:21.998Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-05-09T11:06:21.998Z] + 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-05-09T11:06:22.011Z] 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-05-09T11:06:22.291Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-09T11:06:22.851Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T11:06:22.851Z] . [Pipeline] withDockerContainer [2022-05-09T11:06:22.916Z] prd-ubuntu20.04-docker-8c-8g-41792 does not seem to be running inside a container [2022-05-09T11:06:22.953Z] $ 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-05-09T11:06:23.246Z] $ docker top 05c78625cd7c27e5b0c6b653d19d8856c20b4eb2884264532bd2d01217eac607 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T11:06:23.605Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-09T11:06:23.894Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-09T11:06:24.188Z] + ls /var/log/sa-host [2022-05-09T11:06:24.188Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T11:06:24.278Z] provisioning config files... [2022-05-09T11:06:24.288Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3207853195045560858tmp [Pipeline] { [Pipeline] echo [2022-05-09T11:06:24.305Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:06:24.589Z] ---> create-netrc.sh [Pipeline] } [2022-05-09T11:06:24.597Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:06:24.927Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-09T11:06:24.938Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:06:25.223Z] ---> sudo-logs.sh [2022-05-09T11:06:25.223Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-09T11:06:25.247Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:06:25.533Z] ---> job-cost.sh [2022-05-09T11:06:25.533Z] lf-activate-venv: SKIPPING [2022-05-09T11:06:25.533Z] DEBUG: total: 0.2199999988079071 [2022-05-09T11:06:25.533Z] INFO: Retrieving Stack Cost... [2022-05-09T11:06:26.103Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-09T11:06:26.673Z] INFO: Archiving Costs [Pipeline] echo [2022-05-09T11:06:26.686Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T11:06:26.972Z] ---> logs-deploy.sh [2022-05-09T11:06:26.972Z] lf-activate-venv: SKIPPING [2022-05-09T11:06:26.972Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/42 [2022-05-09T11:06:26.972Z] INFO: archiving workspace using pattern(s): [2022-05-09T11:06:27.912Z] Archives upload complete. [2022-05-09T11:06:27.912Z] INFO: archiving logs to Nexus