Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8b7bfd06f10d442433da09be4b1bd94ea6f5832d 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-ssh503954027215184267.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh12808020806614503965.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8135190532333374631.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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 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-ssh7229065103525180626.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2402427173926980045.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16485 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 8b7bfd06f10d442433da09be4b1bd94ea6f5832d (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 8b7bfd06f10d442433da09be4b1bd94ea6f5832d # timeout=10 Commit message: "refactor(snap): edgex-snap-hooks related upgrade (#397)" > git rev-list --no-walk 2c395e916656ff011f59f73b4cbc9d122ab02d46 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-30T12:45:51.857Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-30T12:45:51.899Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-30T12:45:51.912Z] ========================================================= [2022-06-30T12:45:51.912Z] EdgeX Global Pipelines Version Info [2022-06-30T12:45:51.912Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:45:52.673Z] ------------------- [2022-06-30T12:45:52.673Z] stable info: [2022-06-30T12:45:52.673Z] ------------------- [2022-06-30T12:45:52.673Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-30T12:45:52.673Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-30T12:45:52.673Z] Message: update stable to v1.0.234 [2022-06-30T12:45:53.245Z] ------------------- [2022-06-30T12:45:53.245Z] experimental info: [2022-06-30T12:45:53.245Z] ------------------- [2022-06-30T12:45:53.245Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-30T12:45:53.245Z] Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 [2022-06-30T12:45:53.245Z] Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-30T12:45:53.496Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo [2022-06-30T12:45:53.508Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo [2022-06-30T12:45:53.521Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-30T12:45:53.533Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-30T12:45:53.546Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-30T12:45:53.561Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-30T12:45:53.579Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-30T12:45:53.595Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-30T12:45:53.603Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-30T12:45:53.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-30T12:45:53.625Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-30T12:45:53.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo [2022-06-30T12:45:53.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-30T12:45:53.661Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-30T12:45:53.672Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-30T12:45:53.682Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-30T12:45:53.694Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-30T12:45:53.705Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-30T12:45:53.717Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-30T12:45:53.728Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-30T12:45:53.739Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-30T12:45:53.751Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-30T12:45:53.765Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-30T12:45:53.774Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-30T12:45:53.786Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-30T12:45:53.797Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-30T12:45:53.808Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-30T12:45:53.821Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-30T12:45:53.834Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-30T12:45:53.845Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-30T12:45:53.858Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b7bfd06f10d442433da09be4b1bd94ea6f5832d [Pipeline] echo [2022-06-30T12:45:53.872Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b7bfd0 [Pipeline] echo [2022-06-30T12:45:53.882Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-30T12:45:53.926Z] provisioning config files... [2022-06-30T12:45:53.945Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5525188252033884701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:45:54.289Z] ---> docker-login.sh [2022-06-30T12:45:54.289Z] nexus3.edgexfoundry.org:10001 [2022-06-30T12:45:54.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:45:54.553Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:45:54.553Z] Configure a credential helper to remove this warning. See [2022-06-30T12:45:54.553Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:45:54.553Z] [2022-06-30T12:45:54.553Z] Login Succeeded [2022-06-30T12:45:54.553Z] nexus3.edgexfoundry.org:10002 [2022-06-30T12:45:54.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:45:54.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:45:54.816Z] Configure a credential helper to remove this warning. See [2022-06-30T12:45:54.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:45:54.816Z] [2022-06-30T12:45:54.816Z] Login Succeeded [2022-06-30T12:45:54.816Z] nexus3.edgexfoundry.org:10003 [2022-06-30T12:45:54.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:45:55.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:45:55.078Z] Configure a credential helper to remove this warning. See [2022-06-30T12:45:55.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:45:55.078Z] [2022-06-30T12:45:55.078Z] Login Succeeded [2022-06-30T12:45:55.078Z] nexus3.edgexfoundry.org:10004 [2022-06-30T12:45:55.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:45:55.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:45:55.078Z] Configure a credential helper to remove this warning. See [2022-06-30T12:45:55.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:45:55.078Z] [2022-06-30T12:45:55.078Z] Login Succeeded [2022-06-30T12:45:55.078Z] docker.io [2022-06-30T12:45:55.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:45:55.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:45:55.601Z] Configure a credential helper to remove this warning. See [2022-06-30T12:45:55.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:45:55.601Z] [2022-06-30T12:45:55.601Z] Login Succeeded [2022-06-30T12:45:55.601Z] ---> docker-login.sh ends [Pipeline] } [2022-06-30T12:45:55.609Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-30T12:45:55.988Z] + git rev-list -1 --merges 8b7bfd06f10d442433da09be4b1bd94ea6f5832d~1..8b7bfd06f10d442433da09be4b1bd94ea6f5832d [Pipeline] echo [2022-06-30T12:45:56.020Z] -----------> git rev-list -1 --merges 8b7bfd06f10d442433da09be4b1bd94ea6f5832d~1..8b7bfd06f10d442433da09be4b1bd94ea6f5832d 8b7bfd06f10d442433da09be4b1bd94ea6f5832d [false] [Pipeline] sh [2022-06-30T12:45:56.315Z] + git log --format=format:%s -1 8b7bfd06f10d442433da09be4b1bd94ea6f5832d [Pipeline] echo [2022-06-30T12:45:56.333Z] ========================================================= [2022-06-30T12:45:56.333Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-30T12:45:56.333Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-30T12:45:56.681Z] + git log --format=format:%s -1 8b7bfd06f10d442433da09be4b1bd94ea6f5832d [Pipeline] echo [2022-06-30T12:45:56.694Z] [semverPrep] GIT_COMMIT: 8b7bfd06f10d442433da09be4b1bd94ea6f5832d, Commit Message: refactor(snap): edgex-snap-hooks related upgrade (#397) [Pipeline] echo [2022-06-30T12:45:56.704Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-30T12:45:57.075Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-30T12:45:57.075Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-30T12:45:57.075Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-30T12:45:57.075Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-30T12:45:57.075Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-30T12:45:57.075Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-30T12:45:57.075Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:45:57.490Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-30T12:45:57.490Z] [2022-06-30T12:45:57.490Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:45:57.800Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-30T12:45:57.800Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-30T12:45:57.800Z] 42c077c10790: Pulling fs layer [2022-06-30T12:45:57.800Z] f63e77b7563a: Pulling fs layer [2022-06-30T12:45:57.800Z] bd5fdadae976: Pulling fs layer [2022-06-30T12:45:57.800Z] 205491f53016: Pulling fs layer [2022-06-30T12:45:57.800Z] df18705c85c3: Pulling fs layer [2022-06-30T12:45:57.800Z] df18705c85c3: Waiting [2022-06-30T12:45:57.801Z] bdb3f477010e: Pulling fs layer [2022-06-30T12:45:57.801Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-30T12:45:57.801Z] bdb3f477010e: Waiting [2022-06-30T12:45:57.801Z] 2c6e9b1d212d: Pulling fs layer [2022-06-30T12:45:57.801Z] bdb8f0575790: Pulling fs layer [2022-06-30T12:45:57.801Z] c8a8fc8e1c8f: Waiting [2022-06-30T12:45:57.801Z] 386e3cb2ff24: Pulling fs layer [2022-06-30T12:45:57.801Z] 2343380bae48: Pulling fs layer [2022-06-30T12:45:57.801Z] 386e3cb2ff24: Waiting [2022-06-30T12:45:57.801Z] 2343380bae48: Waiting [2022-06-30T12:45:57.801Z] bdb8f0575790: Waiting [2022-06-30T12:45:57.801Z] f63e77b7563a: Verifying Checksum [2022-06-30T12:45:57.801Z] f63e77b7563a: Download complete [2022-06-30T12:45:57.801Z] 205491f53016: Verifying Checksum [2022-06-30T12:45:57.801Z] 205491f53016: Download complete [2022-06-30T12:45:58.061Z] df18705c85c3: Verifying Checksum [2022-06-30T12:45:58.061Z] df18705c85c3: Download complete [2022-06-30T12:45:58.061Z] bdb3f477010e: Download complete [2022-06-30T12:45:58.061Z] bd5fdadae976: Verifying Checksum [2022-06-30T12:45:58.061Z] bd5fdadae976: Download complete [2022-06-30T12:45:58.061Z] 2c6e9b1d212d: Verifying Checksum [2022-06-30T12:45:58.061Z] 2c6e9b1d212d: Download complete [2022-06-30T12:45:58.061Z] bdb8f0575790: Verifying Checksum [2022-06-30T12:45:58.061Z] bdb8f0575790: Download complete [2022-06-30T12:45:58.061Z] 386e3cb2ff24: Verifying Checksum [2022-06-30T12:45:58.061Z] 386e3cb2ff24: Download complete [2022-06-30T12:45:58.061Z] 2343380bae48: Download complete [2022-06-30T12:45:58.321Z] 42c077c10790: Verifying Checksum [2022-06-30T12:45:58.321Z] 42c077c10790: Download complete [2022-06-30T12:45:58.321Z] c8a8fc8e1c8f: Download complete [2022-06-30T12:45:59.711Z] 42c077c10790: Pull complete [2022-06-30T12:45:59.711Z] f63e77b7563a: Pull complete [2022-06-30T12:46:00.283Z] bd5fdadae976: Pull complete [2022-06-30T12:46:00.283Z] 205491f53016: Pull complete [2022-06-30T12:46:00.544Z] df18705c85c3: Pull complete [2022-06-30T12:46:00.544Z] bdb3f477010e: Pull complete [2022-06-30T12:46:02.453Z] c8a8fc8e1c8f: Pull complete [2022-06-30T12:46:02.453Z] 2c6e9b1d212d: Pull complete [2022-06-30T12:46:02.714Z] bdb8f0575790: Pull complete [2022-06-30T12:46:02.714Z] 386e3cb2ff24: Pull complete [2022-06-30T12:46:02.714Z] 2343380bae48: Pull complete [2022-06-30T12:46:02.714Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-30T12:46:02.975Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-30T12:46:02.975Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T12:46:03.077Z] prd-ubuntu20.04-docker-8c-8g-16485 does not seem to be running inside a container [2022-06-30T12:46:03.112Z] $ 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:0.1.4 cat [2022-06-30T12:46:04.748Z] $ docker top 30de35e6e52d932ba6794ab4963e4aaf690f03d9c24a6def4d4e1d81bc94cf54 -eo pid,comm [2022-06-30T12:46:04.821Z] 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-06-30T12:46:04.821Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-30T12:46:04.863Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-30T12:46:04.863Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-30T12:46:04.999Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-30T12:46:05.004Z] $ docker exec 30de35e6e52d932ba6794ab4963e4aaf690f03d9c24a6def4d4e1d81bc94cf54 ssh-agent [2022-06-30T12:46:05.138Z] SSH_AUTH_SOCK=/tmp/ssh-JMCKk8CIEJNr/agent.34 [2022-06-30T12:46:05.138Z] SSH_AGENT_PID=40 [2022-06-30T12:46:05.145Z] Running ssh-add (command line suppressed) [2022-06-30T12:46:05.270Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8268377866145197694.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8268377866145197694.key) [2022-06-30T12:46:05.294Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-30T12:46:05.586Z] + git tag --points-at HEAD [Pipeline] } [2022-06-30T12:46:05.600Z] $ docker exec --env ******** --env ******** 30de35e6e52d932ba6794ab4963e4aaf690f03d9c24a6def4d4e1d81bc94cf54 ssh-agent -k [2022-06-30T12:46:05.722Z] unset SSH_AUTH_SOCK; [2022-06-30T12:46:05.722Z] unset SSH_AGENT_PID; [2022-06-30T12:46:05.722Z] echo Agent pid 40 killed; [2022-06-30T12:46:05.736Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-30T12:46:05.760Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-30T12:46:05.760Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-30T12:46:05.890Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-30T12:46:05.894Z] $ docker exec 30de35e6e52d932ba6794ab4963e4aaf690f03d9c24a6def4d4e1d81bc94cf54 ssh-agent [2022-06-30T12:46:06.036Z] SSH_AUTH_SOCK=/tmp/ssh-9eqZziwWNMry/agent.73 [2022-06-30T12:46:06.036Z] SSH_AGENT_PID=79 [2022-06-30T12:46:06.042Z] Running ssh-add (command line suppressed) [2022-06-30T12:46:06.152Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7775642782742152489.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7775642782742152489.key) [2022-06-30T12:46:06.171Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-30T12:46:06.462Z] + git semver init [2022-06-30T12:46:06.723Z] 2022-06-30 12:46:06,660 [run_init] DEBUG init version:0.0.0 force:False [2022-06-30T12:46:06.723Z] 2022-06-30 12:46:06,660 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-06-30T12:46:06.723Z] 2022-06-30 12:46:06,661 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver [2022-06-30T12:46:06.723Z] 2022-06-30 12:46:06,661 [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-06-30T12:46:07.667Z] 2022-06-30 12:46:07,380 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude [2022-06-30T12:46:07.667Z] 2022-06-30 12:46:07,381 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False [2022-06-30T12:46:07.667Z] 2022-06-30 12:46:07,381 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-30T12:46:07.667Z] 2022-06-30 12:46:07,381 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-30T12:46:07.667Z] 2.2.1-dev.6 [Pipeline] } [2022-06-30T12:46:07.679Z] $ docker exec --env ******** --env ******** 30de35e6e52d932ba6794ab4963e4aaf690f03d9c24a6def4d4e1d81bc94cf54 ssh-agent -k [2022-06-30T12:46:07.801Z] unset SSH_AUTH_SOCK; [2022-06-30T12:46:07.801Z] unset SSH_AGENT_PID; [2022-06-30T12:46:07.802Z] echo Agent pid 79 killed; [2022-06-30T12:46:07.813Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-30T12:46:08.133Z] + git semver [Pipeline] } [2022-06-30T12:46:08.409Z] $ docker stop --time=1 30de35e6e52d932ba6794ab4963e4aaf690f03d9c24a6def4d4e1d81bc94cf54 [2022-06-30T12:46:09.769Z] $ docker rm -f 30de35e6e52d932ba6794ab4963e4aaf690f03d9c24a6def4d4e1d81bc94cf54 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-30T12:46:10.132Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-30T12:46:10.394Z] Stashed 1 file(s) [Pipeline] echo [2022-06-30T12:46:10.397Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.6 [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-06-30T12:46:10.546Z] provisioning config files... [2022-06-30T12:46:10.555Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2831609874277700794tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:46:10.855Z] ---> docker-login.sh [2022-06-30T12:46:10.855Z] nexus3.edgexfoundry.org:10001 [2022-06-30T12:46:10.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:46:10.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:46:10.855Z] Configure a credential helper to remove this warning. See [2022-06-30T12:46:10.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:46:10.855Z] [2022-06-30T12:46:10.855Z] Login Succeeded [2022-06-30T12:46:10.855Z] nexus3.edgexfoundry.org:10002 [2022-06-30T12:46:11.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:46:11.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:46:11.115Z] Configure a credential helper to remove this warning. See [2022-06-30T12:46:11.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:46:11.115Z] [2022-06-30T12:46:11.115Z] Login Succeeded [2022-06-30T12:46:11.115Z] nexus3.edgexfoundry.org:10003 [2022-06-30T12:46:11.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:46:11.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:46:11.115Z] Configure a credential helper to remove this warning. See [2022-06-30T12:46:11.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:46:11.115Z] [2022-06-30T12:46:11.115Z] Login Succeeded [2022-06-30T12:46:11.115Z] nexus3.edgexfoundry.org:10004 [2022-06-30T12:46:11.376Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:46:11.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:46:11.377Z] Configure a credential helper to remove this warning. See [2022-06-30T12:46:11.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:46:11.377Z] [2022-06-30T12:46:11.377Z] Login Succeeded [2022-06-30T12:46:11.377Z] docker.io [2022-06-30T12:46:11.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:46:11.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:46:11.639Z] Configure a credential helper to remove this warning. See [2022-06-30T12:46:11.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:46:11.639Z] [2022-06-30T12:46:11.639Z] Login Succeeded [2022-06-30T12:46:11.639Z] ---> docker-login.sh ends [Pipeline] } [2022-06-30T12:46:11.646Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-30T12:46:11.706Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-30T12:46:11.718Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-30T12:46:11.727Z] ========================================================= [2022-06-30T12:46:11.727Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-30T12:46:11.727Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:46:12.049Z] + 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-06-30T12:46:12.049Z] Sending build context to Docker daemon 6.018MB [2022-06-30T12:46:12.049Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-30T12:46:12.049Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-30T12:46:12.049Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-30T12:46:12.049Z] 59bf1c3509f3: Pulling fs layer [2022-06-30T12:46:12.049Z] 666ba61612fd: Pulling fs layer [2022-06-30T12:46:12.049Z] 8ed8ca486205: Pulling fs layer [2022-06-30T12:46:12.049Z] cc1cd167ecdc: Pulling fs layer [2022-06-30T12:46:12.049Z] c516ae0d96e1: Pulling fs layer [2022-06-30T12:46:12.049Z] 684cea983483: Pulling fs layer [2022-06-30T12:46:12.049Z] dd3240ac7de5: Pulling fs layer [2022-06-30T12:46:12.049Z] b1e948a4e11c: Pulling fs layer [2022-06-30T12:46:12.049Z] cc1cd167ecdc: Waiting [2022-06-30T12:46:12.049Z] c516ae0d96e1: Waiting [2022-06-30T12:46:12.049Z] 684cea983483: Waiting [2022-06-30T12:46:12.049Z] a8fd76ee1af6: Pulling fs layer [2022-06-30T12:46:12.049Z] 646ad004c059: Pulling fs layer [2022-06-30T12:46:12.049Z] a8fd76ee1af6: Waiting [2022-06-30T12:46:12.049Z] 646ad004c059: Waiting [2022-06-30T12:46:12.049Z] b1e948a4e11c: Waiting [2022-06-30T12:46:12.049Z] 8ed8ca486205: Verifying Checksum [2022-06-30T12:46:12.049Z] 8ed8ca486205: Download complete [2022-06-30T12:46:12.049Z] 666ba61612fd: Download complete [2022-06-30T12:46:12.049Z] c516ae0d96e1: Verifying Checksum [2022-06-30T12:46:12.049Z] c516ae0d96e1: Download complete [2022-06-30T12:46:12.311Z] 684cea983483: Download complete [2022-06-30T12:46:12.311Z] dd3240ac7de5: Download complete [2022-06-30T12:46:12.312Z] 59bf1c3509f3: Verifying Checksum [2022-06-30T12:46:12.312Z] b1e948a4e11c: Verifying Checksum [2022-06-30T12:46:12.312Z] b1e948a4e11c: Download complete [2022-06-30T12:46:12.312Z] 59bf1c3509f3: Pull complete [2022-06-30T12:46:12.573Z] 666ba61612fd: Pull complete [2022-06-30T12:46:12.573Z] 8ed8ca486205: Pull complete [2022-06-30T12:46:12.573Z] 646ad004c059: Verifying Checksum [2022-06-30T12:46:12.573Z] 646ad004c059: Download complete [2022-06-30T12:46:12.833Z] a8fd76ee1af6: Verifying Checksum [2022-06-30T12:46:12.833Z] cc1cd167ecdc: Verifying Checksum [2022-06-30T12:46:12.833Z] cc1cd167ecdc: Download complete [2022-06-30T12:46:17.029Z] cc1cd167ecdc: Pull complete [2022-06-30T12:46:17.029Z] c516ae0d96e1: Pull complete [2022-06-30T12:46:17.029Z] 684cea983483: Pull complete [2022-06-30T12:46:17.029Z] dd3240ac7de5: Pull complete [2022-06-30T12:46:17.029Z] b1e948a4e11c: Pull complete [2022-06-30T12:46:18.948Z] a8fd76ee1af6: Pull complete [2022-06-30T12:46:19.888Z] 646ad004c059: Pull complete [2022-06-30T12:46:19.888Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-30T12:46:19.888Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-30T12:46:19.888Z] ---> 8f69c11f6b0c [2022-06-30T12:46:19.888Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-30T12:46:22.434Z] ---> Running in 59dc48165377 [2022-06-30T12:46:22.434Z] Removing intermediate container 59dc48165377 [2022-06-30T12:46:22.434Z] ---> 723f67fd2310 [2022-06-30T12:46:22.434Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-30T12:46:22.434Z] ---> Running in d83baa4c8b96 [2022-06-30T12:46:22.434Z] Removing intermediate container d83baa4c8b96 [2022-06-30T12:46:22.434Z] ---> 2412d050800c [2022-06-30T12:46:22.434Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-30T12:46:22.695Z] ---> Running in 8f1d09711572 [2022-06-30T12:46:23.265Z] Removing intermediate container 8f1d09711572 [2022-06-30T12:46:23.265Z] ---> bb8b475ea2f3 [2022-06-30T12:46:23.265Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-30T12:46:23.265Z] ---> Running in 8201599a4556 [2022-06-30T12:46:23.525Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-30T12:46:24.467Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-30T12:46:24.728Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-30T12:46:24.728Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-30T12:46:24.728Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-30T12:46:24.989Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-30T12:46:24.989Z] Executing busybox-1.34.1-r3.trigger [2022-06-30T12:46:24.989Z] OK: 224 MiB in 56 packages [2022-06-30T12:46:25.503Z] Still waiting to schedule task [2022-06-30T12:46:25.504Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-30T12:46:25.560Z] Removing intermediate container 8201599a4556 [2022-06-30T12:46:25.560Z] ---> 1760a6df619b [2022-06-30T12:46:25.560Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-30T12:46:25.560Z] ---> Running in 3d1eeb0d719b [2022-06-30T12:46:25.560Z] Removing intermediate container 3d1eeb0d719b [2022-06-30T12:46:25.560Z] ---> 7b05246b572d [2022-06-30T12:46:25.560Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-30T12:46:25.820Z] ---> 90992f884c4f [2022-06-30T12:46:25.820Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-30T12:46:25.820Z] ---> Running in 9127cb2deeaf [2022-06-30T12:46:40.755Z] Removing intermediate container 9127cb2deeaf [2022-06-30T12:46:40.755Z] ---> 38e66856c0f7 [2022-06-30T12:46:40.755Z] Step 10/12 : COPY . . [2022-06-30T12:46:40.755Z] ---> 997aaf4bae56 [2022-06-30T12:46:40.755Z] Step 11/12 : ARG MAKE='make build' [2022-06-30T12:46:41.014Z] ---> Running in b2ac8eab22fe [2022-06-30T12:46:41.014Z] Removing intermediate container b2ac8eab22fe [2022-06-30T12:46:41.014Z] ---> 1182782812bd [2022-06-30T12:46:41.014Z] Step 12/12 : RUN $MAKE [2022-06-30T12:46:41.014Z] ---> Running in e0a41c1de5c3 [2022-06-30T12:46:41.273Z] noop [2022-06-30T12:46:41.843Z] Removing intermediate container e0a41c1de5c3 [2022-06-30T12:46:41.843Z] ---> 0ab33bc09bfb [2022-06-30T12:46:41.843Z] Successfully built 0ab33bc09bfb [2022-06-30T12:46:41.843Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:46:42.162Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-30T12:46:42.162Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T12:46:42.242Z] prd-ubuntu20.04-docker-8c-8g-16485 does not seem to be running inside a container [2022-06-30T12:46:42.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-30T12:46:42.665Z] $ docker top 6a34c4a1241d09d67d2de41bb2d1797e5d514703217b844e6ae1f175f4733510 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-30T12:46:43.022Z] + go version [2022-06-30T12:46:43.022Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-30T12:46:43.035Z] $ docker stop --time=1 6a34c4a1241d09d67d2de41bb2d1797e5d514703217b844e6ae1f175f4733510 [2022-06-30T12:46:44.348Z] $ docker rm -f 6a34c4a1241d09d67d2de41bb2d1797e5d514703217b844e6ae1f175f4733510 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:46:44.873Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-30T12:46:44.873Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T12:46:44.994Z] prd-ubuntu20.04-docker-8c-8g-16485 does not seem to be running inside a container [2022-06-30T12:46:45.026Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-30T12:46:45.429Z] $ docker top 0e7dd9cbf7d670ae486066cad81ea038628dc5b56584e2bc49887740a593d19c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-30T12:46:45.793Z] + make test [2022-06-30T12:46:45.793Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-30T12:46:46.051Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-30T12:46:56.031Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-30T12:46:56.031Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements [2022-06-30T12:46:56.031Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-30T12:47:01.306Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-30T12:47:05.506Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-30T12:47:05.506Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-30T12:47:05.506Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-30T12:47:05.517Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-30T12:47:05.532Z] $ docker stop --time=1 0e7dd9cbf7d670ae486066cad81ea038628dc5b56584e2bc49887740a593d19c [2022-06-30T12:47:07.380Z] $ docker rm -f 0e7dd9cbf7d670ae486066cad81ea038628dc5b56584e2bc49887740a593d19c [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-30T12:47:07.807Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-30T12:47:07.846Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-30T12:47:08.355Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-30T12:47:08.644Z] + ls -al . [2022-06-30T12:47:08.645Z] total 180 [2022-06-30T12:47:08.645Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 30 12:47 . [2022-06-30T12:47:08.645Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 12:45 .. [2022-06-30T12:47:08.645Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 30 12:45 .dockerignore [2022-06-30T12:47:08.645Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 12:46 .git [2022-06-30T12:47:08.645Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 12:45 .github [2022-06-30T12:47:08.645Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 30 12:45 .gitignore [2022-06-30T12:47:08.645Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 30 12:45 .golangci.yml [2022-06-30T12:47:08.645Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 30 12:46 .semver [2022-06-30T12:47:08.645Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jun 30 12:45 Attribution.txt [2022-06-30T12:47:08.645Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 30 12:45 CHANGELOG.md [2022-06-30T12:47:08.645Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 30 12:45 Dockerfile [2022-06-30T12:47:08.645Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 30 12:45 GOVERNANCE.md [2022-06-30T12:47:08.645Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 30 12:45 Jenkinsfile [2022-06-30T12:47:08.645Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 30 12:45 LICENSE [2022-06-30T12:47:08.645Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 30 12:45 Makefile [2022-06-30T12:47:08.645Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 30 12:45 OWNERS.md [2022-06-30T12:47:08.645Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 30 12:45 README.md [2022-06-30T12:47:08.645Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 30 12:46 VERSION [2022-06-30T12:47:08.645Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 12:45 bin [2022-06-30T12:47:08.645Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 12:45 cmd [2022-06-30T12:47:08.645Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 30 12:46 coverage.out [2022-06-30T12:47:08.645Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jun 30 12:45 go.mod [2022-06-30T12:47:08.645Z] -rw-rw-r-- 1 jenkins jenkins 36015 Jun 30 12:45 go.sum [2022-06-30T12:47:08.645Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 12:45 internal [2022-06-30T12:47:08.645Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 12:45 mock [2022-06-30T12:47:08.645Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 12:45 snap [2022-06-30T12:47:08.645Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 30 12:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:47:08.955Z] + 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=8b7bfd06f10d442433da09be4b1bd94ea6f5832d --label arch=amd64 --label version=2.2.1-dev.6 . [2022-06-30T12:47:08.955Z] Sending build context to Docker daemon 6.036MB [2022-06-30T12:47:08.955Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-30T12:47:08.955Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-30T12:47:08.955Z] ---> 0ab33bc09bfb [2022-06-30T12:47:08.955Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-30T12:47:08.955Z] ---> Running in 4a25a0ed13f6 [2022-06-30T12:47:09.215Z] Removing intermediate container 4a25a0ed13f6 [2022-06-30T12:47:09.215Z] ---> 4532b4b1fd38 [2022-06-30T12:47:09.215Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-30T12:47:09.215Z] ---> Running in 2c83fb7c418a [2022-06-30T12:47:09.215Z] Removing intermediate container 2c83fb7c418a [2022-06-30T12:47:09.215Z] ---> 024fe20506a3 [2022-06-30T12:47:09.215Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-30T12:47:09.215Z] ---> Running in 983637e1710f [2022-06-30T12:47:09.783Z] Removing intermediate container 983637e1710f [2022-06-30T12:47:09.783Z] ---> cc79214b739f [2022-06-30T12:47:09.783Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-30T12:47:09.783Z] ---> Running in 34f6fcd765c9 [2022-06-30T12:47:10.365Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-30T12:47:10.935Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-30T12:47:11.196Z] OK: 224 MiB in 56 packages [2022-06-30T12:47:11.766Z] Removing intermediate container 34f6fcd765c9 [2022-06-30T12:47:11.766Z] ---> df9359fddd62 [2022-06-30T12:47:11.766Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-30T12:47:11.766Z] ---> Running in ca9bad025b70 [2022-06-30T12:47:11.766Z] Removing intermediate container ca9bad025b70 [2022-06-30T12:47:11.766Z] ---> 23ea81b288c5 [2022-06-30T12:47:11.766Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-30T12:47:12.027Z] ---> 202595dfc62b [2022-06-30T12:47:12.027Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-30T12:47:12.287Z] ---> Running in 75f2bc1abbb4 [2022-06-30T12:47:12.863Z] Removing intermediate container 75f2bc1abbb4 [2022-06-30T12:47:12.863Z] ---> 9494e3cba6f4 [2022-06-30T12:47:12.863Z] Step 10/24 : COPY . . [2022-06-30T12:47:13.430Z] ---> 1834083e488e [2022-06-30T12:47:13.430Z] Step 11/24 : ARG MAKE='make build' [2022-06-30T12:47:13.430Z] ---> Running in 2085bf2c2ae4 [2022-06-30T12:47:13.430Z] Removing intermediate container 2085bf2c2ae4 [2022-06-30T12:47:13.430Z] ---> 6c5fcd31a4af [2022-06-30T12:47:13.430Z] Step 12/24 : RUN $MAKE [2022-06-30T12:47:13.430Z] ---> Running in 4425adcf16e8 [2022-06-30T12:47:13.690Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.1-dev.6" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-06-30T12:47:35.638Z] Removing intermediate container 4425adcf16e8 [2022-06-30T12:47:35.638Z] ---> 1bae7c1be067 [2022-06-30T12:47:35.638Z] Step 13/24 : FROM alpine:3.14 [2022-06-30T12:47:35.638Z] 3.14: Pulling from library/alpine [2022-06-30T12:47:35.638Z] 8663204ce13b: Pulling fs layer [2022-06-30T12:47:35.638Z] 8663204ce13b: Verifying Checksum [2022-06-30T12:47:35.638Z] 8663204ce13b: Download complete [2022-06-30T12:47:35.638Z] 8663204ce13b: Pull complete [2022-06-30T12:47:35.638Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-30T12:47:35.638Z] Status: Downloaded newer image for alpine:3.14 [2022-06-30T12:47:35.638Z] ---> e04c818066af [2022-06-30T12:47:35.638Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-30T12:47:35.638Z] ---> Running in 03987fc7dac5 [2022-06-30T12:47:35.638Z] Removing intermediate container 03987fc7dac5 [2022-06-30T12:47:35.638Z] ---> 2626dc34fa3c [2022-06-30T12:47:35.638Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-30T12:47:35.638Z] ---> Running in 667d3b04ff17 [2022-06-30T12:47:35.638Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-30T12:47:35.638Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-30T12:47:35.638Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-30T12:47:35.638Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-30T12:47:35.638Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-30T12:47:35.638Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-30T12:47:35.638Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-30T12:47:35.638Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-30T12:47:35.638Z] Executing busybox-1.33.1-r7.trigger [2022-06-30T12:47:35.638Z] OK: 8 MiB in 20 packages [2022-06-30T12:47:35.638Z] Removing intermediate container 667d3b04ff17 [2022-06-30T12:47:35.638Z] ---> b591c74e506f [2022-06-30T12:47:35.638Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-30T12:47:35.638Z] ---> 459d8ee96b80 [2022-06-30T12:47:35.638Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-30T12:47:35.638Z] ---> 7eb3012b3141 [2022-06-30T12:47:35.638Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-30T12:47:35.898Z] ---> 0d67b3488224 [2022-06-30T12:47:35.898Z] Step 19/24 : EXPOSE 59982 [2022-06-30T12:47:35.898Z] ---> Running in 46803693550c [2022-06-30T12:47:35.898Z] Removing intermediate container 46803693550c [2022-06-30T12:47:35.898Z] ---> 09d7a3528a4e [2022-06-30T12:47:35.898Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-30T12:47:35.898Z] ---> Running in 754615b2178c [2022-06-30T12:47:36.160Z] Removing intermediate container 754615b2178c [2022-06-30T12:47:36.160Z] ---> a556435b7580 [2022-06-30T12:47:36.160Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-30T12:47:36.160Z] ---> Running in 1efe3a422448 [2022-06-30T12:47:36.160Z] Removing intermediate container 1efe3a422448 [2022-06-30T12:47:36.160Z] ---> 4d47d2a84ba2 [2022-06-30T12:47:36.160Z] Step 22/24 : LABEL arch=amd64 [2022-06-30T12:47:36.423Z] ---> Running in 24a553319fdb [2022-06-30T12:47:36.423Z] Removing intermediate container 24a553319fdb [2022-06-30T12:47:36.423Z] ---> 7ade7f5853f6 [2022-06-30T12:47:36.423Z] Step 23/24 : LABEL git_sha=8b7bfd06f10d442433da09be4b1bd94ea6f5832d [2022-06-30T12:47:36.423Z] ---> Running in 9cc24df7fe8c [2022-06-30T12:47:36.686Z] Removing intermediate container 9cc24df7fe8c [2022-06-30T12:47:36.686Z] ---> 102d033612d1 [2022-06-30T12:47:36.686Z] Step 24/24 : LABEL version=2.2.1-dev.6 [2022-06-30T12:47:36.686Z] ---> Running in f97d9aa70714 [2022-06-30T12:47:36.686Z] Removing intermediate container f97d9aa70714 [2022-06-30T12:47:36.686Z] ---> 7028e227d943 [2022-06-30T12:47:36.686Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-30T12:47:36.686Z] Successfully built 7028e227d943 [2022-06-30T12:47:36.686Z] Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-30T12:47:36.796Z] provisioning config files... [2022-06-30T12:47:36.805Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1444584312287980743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:47:37.110Z] ---> docker-login.sh [2022-06-30T12:47:37.111Z] nexus3.edgexfoundry.org:10001 [2022-06-30T12:47:37.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:47:37.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:47:37.111Z] Configure a credential helper to remove this warning. See [2022-06-30T12:47:37.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:47:37.111Z] [2022-06-30T12:47:37.111Z] Login Succeeded [2022-06-30T12:47:37.111Z] nexus3.edgexfoundry.org:10002 [2022-06-30T12:47:37.111Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:47:37.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:47:37.372Z] Configure a credential helper to remove this warning. See [2022-06-30T12:47:37.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:47:37.372Z] [2022-06-30T12:47:37.372Z] Login Succeeded [2022-06-30T12:47:37.372Z] nexus3.edgexfoundry.org:10003 [2022-06-30T12:47:37.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:47:37.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:47:37.372Z] Configure a credential helper to remove this warning. See [2022-06-30T12:47:37.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:47:37.372Z] [2022-06-30T12:47:37.372Z] Login Succeeded [2022-06-30T12:47:37.372Z] nexus3.edgexfoundry.org:10004 [2022-06-30T12:47:37.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:47:37.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:47:37.633Z] Configure a credential helper to remove this warning. See [2022-06-30T12:47:37.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:47:37.633Z] [2022-06-30T12:47:37.633Z] Login Succeeded [2022-06-30T12:47:37.633Z] docker.io [2022-06-30T12:47:37.633Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:47:37.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:47:37.894Z] Configure a credential helper to remove this warning. See [2022-06-30T12:47:37.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:47:37.894Z] [2022-06-30T12:47:37.894Z] Login Succeeded [2022-06-30T12:47:37.894Z] ---> docker-login.sh ends [Pipeline] } [2022-06-30T12:47:37.903Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-30T12:47:37.940Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-30T12:47:37.964Z] [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: [2022-06-30T12:47:37.964Z] 8b7bfd06f10d442433da09be4b1bd94ea6f5832d [2022-06-30T12:47:37.964Z] latest [2022-06-30T12:47:37.964Z] 2.2.1-dev.6 [2022-06-30T12:47:37.964Z] 8b7bfd06f10d442433da09be4b1bd94ea6f5832d-2.2.1-dev.6 [2022-06-30T12:47:37.964Z] main [2022-06-30T12:47:37.964Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:47:38.286Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:8b7bfd06f10d442433da09be4b1bd94ea6f5832d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:47:38.610Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:8b7bfd06f10d442433da09be4b1bd94ea6f5832d [2022-06-30T12:47:38.610Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-06-30T12:47:38.610Z] 2c85f433f2c8: Preparing [2022-06-30T12:47:38.610Z] b3459909c90c: Preparing [2022-06-30T12:47:38.610Z] c54305e58b19: Preparing [2022-06-30T12:47:38.610Z] 1d35d6620a2b: Preparing [2022-06-30T12:47:38.610Z] b541d28bf3b4: Preparing [2022-06-30T12:47:38.610Z] b541d28bf3b4: Layer already exists [2022-06-30T12:47:38.610Z] b3459909c90c: Pushed [2022-06-30T12:47:38.610Z] 2c85f433f2c8: Pushed [2022-06-30T12:47:38.870Z] 1d35d6620a2b: Pushed [2022-06-30T12:47:41.411Z] c54305e58b19: Pushed [2022-06-30T12:47:41.411Z] 8b7bfd06f10d442433da09be4b1bd94ea6f5832d: digest: sha256:92ea3ff7bd0b59db61a4b4d1e9f93d421d2ff930114701dbf56cffc5cb737bb8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:47:41.730Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:47:42.042Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-06-30T12:47:42.042Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-06-30T12:47:42.042Z] 2c85f433f2c8: Preparing [2022-06-30T12:47:42.042Z] b3459909c90c: Preparing [2022-06-30T12:47:42.042Z] c54305e58b19: Preparing [2022-06-30T12:47:42.042Z] 1d35d6620a2b: Preparing [2022-06-30T12:47:42.042Z] b541d28bf3b4: Preparing [2022-06-30T12:47:42.042Z] 1d35d6620a2b: Layer already exists [2022-06-30T12:47:42.042Z] 2c85f433f2c8: Layer already exists [2022-06-30T12:47:42.042Z] b541d28bf3b4: Layer already exists [2022-06-30T12:47:42.042Z] c54305e58b19: Layer already exists [2022-06-30T12:47:42.042Z] b3459909c90c: Layer already exists [2022-06-30T12:47:42.042Z] latest: digest: sha256:92ea3ff7bd0b59db61a4b4d1e9f93d421d2ff930114701dbf56cffc5cb737bb8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:47:42.359Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:47:42.668Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.6 [2022-06-30T12:47:42.668Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-06-30T12:47:42.668Z] 2c85f433f2c8: Preparing [2022-06-30T12:47:42.668Z] b3459909c90c: Preparing [2022-06-30T12:47:42.668Z] c54305e58b19: Preparing [2022-06-30T12:47:42.668Z] 1d35d6620a2b: Preparing [2022-06-30T12:47:42.668Z] b541d28bf3b4: Preparing [2022-06-30T12:47:42.668Z] b541d28bf3b4: Layer already exists [2022-06-30T12:47:42.668Z] c54305e58b19: Layer already exists [2022-06-30T12:47:42.668Z] b3459909c90c: Layer already exists [2022-06-30T12:47:42.668Z] 1d35d6620a2b: Layer already exists [2022-06-30T12:47:42.668Z] 2c85f433f2c8: Layer already exists [2022-06-30T12:47:42.668Z] 2.2.1-dev.6: digest: sha256:92ea3ff7bd0b59db61a4b4d1e9f93d421d2ff930114701dbf56cffc5cb737bb8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:47:42.988Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:8b7bfd06f10d442433da09be4b1bd94ea6f5832d-2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:47:43.303Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:8b7bfd06f10d442433da09be4b1bd94ea6f5832d-2.2.1-dev.6 [2022-06-30T12:47:43.303Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-06-30T12:47:43.303Z] 2c85f433f2c8: Preparing [2022-06-30T12:47:43.303Z] b3459909c90c: Preparing [2022-06-30T12:47:43.303Z] c54305e58b19: Preparing [2022-06-30T12:47:43.303Z] 1d35d6620a2b: Preparing [2022-06-30T12:47:43.303Z] b541d28bf3b4: Preparing [2022-06-30T12:47:43.303Z] 1d35d6620a2b: Layer already exists [2022-06-30T12:47:43.303Z] c54305e58b19: Layer already exists [2022-06-30T12:47:43.303Z] b541d28bf3b4: Layer already exists [2022-06-30T12:47:43.303Z] 2c85f433f2c8: Layer already exists [2022-06-30T12:47:43.303Z] b3459909c90c: Layer already exists [2022-06-30T12:47:43.303Z] 8b7bfd06f10d442433da09be4b1bd94ea6f5832d-2.2.1-dev.6: digest: sha256:92ea3ff7bd0b59db61a4b4d1e9f93d421d2ff930114701dbf56cffc5cb737bb8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:47:43.659Z] + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:47:44.011Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main [2022-06-30T12:47:44.011Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] [2022-06-30T12:47:44.011Z] 2c85f433f2c8: Preparing [2022-06-30T12:47:44.011Z] b3459909c90c: Preparing [2022-06-30T12:47:44.011Z] c54305e58b19: Preparing [2022-06-30T12:47:44.011Z] 1d35d6620a2b: Preparing [2022-06-30T12:47:44.011Z] b541d28bf3b4: Preparing [2022-06-30T12:47:44.011Z] 2c85f433f2c8: Layer already exists [2022-06-30T12:47:44.011Z] b541d28bf3b4: Layer already exists [2022-06-30T12:47:44.011Z] c54305e58b19: Layer already exists [2022-06-30T12:47:44.011Z] b3459909c90c: Layer already exists [2022-06-30T12:47:44.011Z] 1d35d6620a2b: Layer already exists [2022-06-30T12:47:44.011Z] main: digest: sha256:92ea3ff7bd0b59db61a4b4d1e9f93d421d2ff930114701dbf56cffc5cb737bb8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-30T12:47:44.062Z] ===================================================== [Pipeline] echo [2022-06-30T12:47:44.075Z] taggedImages: [2022-06-30T12:47:44.075Z] - nexus3.edgexfoundry.org:10004/device-mqtt:8b7bfd06f10d442433da09be4b1bd94ea6f5832d [2022-06-30T12:47:44.075Z] - nexus3.edgexfoundry.org:10004/device-mqtt:latest [2022-06-30T12:47:44.075Z] - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.6 [2022-06-30T12:47:44.075Z] - nexus3.edgexfoundry.org:10004/device-mqtt:8b7bfd06f10d442433da09be4b1bd94ea6f5832d-2.2.1-dev.6 [2022-06-30T12:47:44.075Z] - 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] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:47:44.449Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-30T12:47:44.450Z] [2022-06-30T12:47:44.450Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:47:44.761Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-30T12:47:44.762Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-30T12:47:44.762Z] 5eb5b503b376: Pulling fs layer [2022-06-30T12:47:44.762Z] 5c69ac0246d0: Pulling fs layer [2022-06-30T12:47:44.762Z] ec43610c2a17: Pulling fs layer [2022-06-30T12:47:44.762Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-30T12:47:44.762Z] 33b1e0a273af: Pulling fs layer [2022-06-30T12:47:44.762Z] 5d3b04190fa2: Pulling fs layer [2022-06-30T12:47:44.762Z] 2f39f015ded8: Pulling fs layer [2022-06-30T12:47:44.762Z] 3a2ae6a8a46f: Waiting [2022-06-30T12:47:44.762Z] 33b1e0a273af: Waiting [2022-06-30T12:47:44.762Z] 5d3b04190fa2: Waiting [2022-06-30T12:47:44.762Z] 5c69ac0246d0: Verifying Checksum [2022-06-30T12:47:44.762Z] 5c69ac0246d0: Download complete [2022-06-30T12:47:44.762Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-30T12:47:44.762Z] ec43610c2a17: Verifying Checksum [2022-06-30T12:47:44.762Z] ec43610c2a17: Download complete [2022-06-30T12:47:44.762Z] 33b1e0a273af: Verifying Checksum [2022-06-30T12:47:44.762Z] 33b1e0a273af: Download complete [2022-06-30T12:47:44.762Z] 5d3b04190fa2: Verifying Checksum [2022-06-30T12:47:44.762Z] 5d3b04190fa2: Download complete [2022-06-30T12:47:45.020Z] 5eb5b503b376: Verifying Checksum [2022-06-30T12:47:45.020Z] 5eb5b503b376: Download complete [2022-06-30T12:47:45.587Z] 2f39f015ded8: Download complete [2022-06-30T12:47:46.157Z] 5eb5b503b376: Pull complete [2022-06-30T12:47:46.415Z] 5c69ac0246d0: Pull complete [2022-06-30T12:47:46.981Z] ec43610c2a17: Pull complete [2022-06-30T12:47:46.981Z] 3a2ae6a8a46f: Pull complete [2022-06-30T12:47:47.239Z] 33b1e0a273af: Pull complete [2022-06-30T12:47:47.239Z] 5d3b04190fa2: Pull complete [2022-06-30T12:47:50.717Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16486 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws [2022-06-30T12:47:50.730Z] Running in /w/workspace/device-mqtt-go/53 [Pipeline] { [Pipeline] checkout [2022-06-30T12:47:50.767Z] Selected Git installation does not exist. Using Default [2022-06-30T12:47:50.767Z] The recommended git tool is: NONE [2022-06-30T12:47:52.510Z] 2f39f015ded8: Pull complete [2022-06-30T12:47:52.510Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-30T12:47:52.510Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-30T12:47:52.510Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T12:47:52.598Z] prd-ubuntu20.04-docker-8c-8g-16485 does not seem to be running inside a container [2022-06-30T12:47:52.635Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-30T12:47:54.729Z] $ docker top edca4785e5b93e7f6289b74e46fddfd3ae0947453a2755959273bb786e50420c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:47:55.156Z] ---> job-cost.sh [2022-06-30T12:47:55.156Z] lf-activate-venv: SKIPPING [2022-06-30T12:47:55.156Z] INFO: No Stack... [2022-06-30T12:47:55.415Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-30T12:47:55.679Z] using credential edgex-jenkins-ssh [2022-06-30T12:47:55.697Z] Cloning the remote Git repository [2022-06-30T12:47:55.985Z] INFO: Archiving Costs [Pipeline] sh [2022-06-30T12:47:56.280Z] + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv [2022-06-30T12:47:56.280Z] + cut -d, -f6 [Pipeline] lock [2022-06-30T12:47:56.295Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-53-stack-cost] [2022-06-30T12:47:56.301Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-53-stack-cost] did not exist. Created. [2022-06-30T12:47:56.301Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-30T12:47:56.608Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-30T12:47:56.641Z] Stashed 1 file(s) [Pipeline] } [2022-06-30T12:47:56.650Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-53-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-30T12:47:56.671Z] $ docker stop --time=1 edca4785e5b93e7f6289b74e46fddfd3ae0947453a2755959273bb786e50420c [2022-06-30T12:47:55.753Z] Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-30T12:47:55.828Z] > git init /w/workspace/device-mqtt-go/53 # timeout=10 [2022-06-30T12:47:55.896Z] Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git [2022-06-30T12:47:55.896Z] > git --version # timeout=10 [2022-06-30T12:47:55.912Z] > git --version # 'git version 2.25.1' [2022-06-30T12:47:55.914Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-30T12:47:55.989Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-30T12:47:57.075Z] Avoid second fetch [2022-06-30T12:47:57.075Z] Checking out Revision 8b7bfd06f10d442433da09be4b1bd94ea6f5832d (main) [2022-06-30T12:47:57.848Z] $ docker rm -f edca4785e5b93e7f6289b74e46fddfd3ae0947453a2755959273bb786e50420c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-30T12:47:56.974Z] > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 [2022-06-30T12:47:56.992Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-30T12:47:57.105Z] > git config core.sparsecheckout # timeout=10 [2022-06-30T12:47:57.145Z] > git checkout -f 8b7bfd06f10d442433da09be4b1bd94ea6f5832d # timeout=10 [2022-06-30T12:48:01.481Z] Commit message: "refactor(snap): edgex-snap-hooks related upgrade (#397)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-30T12:48:02.460Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-30T12:48:02.460Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-30T12:48:02.460Z] Dload Upload Total Spent Left Speed [2022-06-30T12:48:02.460Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 83353 0 --:--:-- --:--:-- --:--:-- 83924 [Pipeline] sh [2022-06-30T12:48:03.128Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-30T12:48:03.468Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-30T12:48:03.468Z] + sudo tee /etc/docker/daemon.new [2022-06-30T12:48:03.468Z] { [2022-06-30T12:48:03.468Z] "registry-mirrors": [ [2022-06-30T12:48:03.468Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-30T12:48:03.468Z] ], [2022-06-30T12:48:03.468Z] "bip": "10.250.0.254/24", [2022-06-30T12:48:03.468Z] "hosts": [ [2022-06-30T12:48:03.468Z] "tcp://0.0.0.0:5555", [2022-06-30T12:48:03.468Z] "unix:///var/run/docker.sock" [2022-06-30T12:48:03.468Z] ], [2022-06-30T12:48:03.468Z] "mtu": 1458, [2022-06-30T12:48:03.468Z] "selinux-enabled": true, [2022-06-30T12:48:03.468Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-30T12:48:03.468Z] } [Pipeline] sh [2022-06-30T12:48:03.833Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-30T12:48:04.169Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-30T12:48:22.553Z] provisioning config files... [2022-06-30T12:48:22.579Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/53@tmp/config6933869128720757963tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:48:22.934Z] ---> docker-login.sh [2022-06-30T12:48:22.934Z] nexus3.edgexfoundry.org:10001 [2022-06-30T12:48:23.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:48:23.802Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:48:23.802Z] Configure a credential helper to remove this warning. See [2022-06-30T12:48:23.802Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:48:23.802Z] [2022-06-30T12:48:23.802Z] Login Succeeded [2022-06-30T12:48:23.802Z] nexus3.edgexfoundry.org:10002 [2022-06-30T12:48:24.077Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:48:24.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:48:24.351Z] Configure a credential helper to remove this warning. See [2022-06-30T12:48:24.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:48:24.351Z] [2022-06-30T12:48:24.351Z] Login Succeeded [2022-06-30T12:48:24.352Z] nexus3.edgexfoundry.org:10003 [2022-06-30T12:48:24.626Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:48:24.626Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:48:24.626Z] Configure a credential helper to remove this warning. See [2022-06-30T12:48:24.626Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:48:24.626Z] [2022-06-30T12:48:24.626Z] Login Succeeded [2022-06-30T12:48:24.626Z] nexus3.edgexfoundry.org:10004 [2022-06-30T12:48:25.226Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:48:25.226Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:48:25.226Z] Configure a credential helper to remove this warning. See [2022-06-30T12:48:25.226Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:48:25.226Z] [2022-06-30T12:48:25.226Z] Login Succeeded [2022-06-30T12:48:25.226Z] docker.io [2022-06-30T12:48:25.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:48:26.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:48:26.091Z] Configure a credential helper to remove this warning. See [2022-06-30T12:48:26.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:48:26.091Z] [2022-06-30T12:48:26.091Z] Login Succeeded [2022-06-30T12:48:26.091Z] ---> docker-login.sh ends [Pipeline] } [2022-06-30T12:48:26.109Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-30T12:48:26.639Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-30T12:48:26.651Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-30T12:48:26.660Z] ========================================================= [2022-06-30T12:48:26.660Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-30T12:48:26.660Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:48:27.027Z] + 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-06-30T12:48:27.301Z] Sending build context to Docker daemon 3.108MB [2022-06-30T12:48:27.301Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-30T12:48:27.301Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-30T12:48:27.580Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-30T12:48:27.580Z] 9b3977197b4f: Pulling fs layer [2022-06-30T12:48:27.580Z] 1a89e8eeedd5: Pulling fs layer [2022-06-30T12:48:27.580Z] 94645a83ff95: Pulling fs layer [2022-06-30T12:48:27.580Z] e6fb740bc735: Pulling fs layer [2022-06-30T12:48:27.580Z] 3a77bd46dcc9: Pulling fs layer [2022-06-30T12:48:27.580Z] 355e64cbe906: Pulling fs layer [2022-06-30T12:48:27.580Z] 63ab81a10011: Pulling fs layer [2022-06-30T12:48:27.580Z] 555d1d1c4555: Pulling fs layer [2022-06-30T12:48:27.580Z] 7d9057610161: Pulling fs layer [2022-06-30T12:48:27.580Z] e6fb740bc735: Waiting [2022-06-30T12:48:27.580Z] 3a77bd46dcc9: Waiting [2022-06-30T12:48:27.580Z] 355e64cbe906: Waiting [2022-06-30T12:48:27.580Z] 63ab81a10011: Waiting [2022-06-30T12:48:27.580Z] 555d1d1c4555: Waiting [2022-06-30T12:48:27.580Z] 7d9057610161: Waiting [2022-06-30T12:48:27.580Z] 94645a83ff95: Download complete [2022-06-30T12:48:27.580Z] 1a89e8eeedd5: Verifying Checksum [2022-06-30T12:48:27.580Z] 1a89e8eeedd5: Download complete [2022-06-30T12:48:27.580Z] 3a77bd46dcc9: Verifying Checksum [2022-06-30T12:48:27.580Z] 3a77bd46dcc9: Download complete [2022-06-30T12:48:27.580Z] 355e64cbe906: Download complete [2022-06-30T12:48:27.580Z] 9b3977197b4f: Verifying Checksum [2022-06-30T12:48:27.580Z] 9b3977197b4f: Download complete [2022-06-30T12:48:27.856Z] 63ab81a10011: Verifying Checksum [2022-06-30T12:48:27.856Z] 63ab81a10011: Download complete [2022-06-30T12:48:28.466Z] 9b3977197b4f: Pull complete [2022-06-30T12:48:28.747Z] 7d9057610161: Verifying Checksum [2022-06-30T12:48:28.747Z] 7d9057610161: Download complete [2022-06-30T12:48:29.351Z] 1a89e8eeedd5: Pull complete [2022-06-30T12:48:29.625Z] 94645a83ff95: Pull complete [2022-06-30T12:48:29.900Z] 555d1d1c4555: Verifying Checksum [2022-06-30T12:48:29.900Z] 555d1d1c4555: Download complete [2022-06-30T12:48:30.495Z] e6fb740bc735: Verifying Checksum [2022-06-30T12:48:30.495Z] e6fb740bc735: Download complete [2022-06-30T12:48:42.905Z] e6fb740bc735: Pull complete [2022-06-30T12:48:42.905Z] 3a77bd46dcc9: Pull complete [2022-06-30T12:48:43.179Z] 355e64cbe906: Pull complete [2022-06-30T12:48:43.452Z] 63ab81a10011: Pull complete [2022-06-30T12:48:50.168Z] 555d1d1c4555: Pull complete [2022-06-30T12:48:52.155Z] 7d9057610161: Pull complete [2022-06-30T12:48:52.155Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-30T12:48:52.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-30T12:48:52.155Z] ---> 819e984ddca1 [2022-06-30T12:48:52.155Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-30T12:48:53.587Z] ---> Running in 2a910709e62c [2022-06-30T12:48:53.864Z] Removing intermediate container 2a910709e62c [2022-06-30T12:48:53.864Z] ---> d7cb95f15e32 [2022-06-30T12:48:53.864Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-30T12:48:53.864Z] ---> Running in 415a6711bde0 [2022-06-30T12:48:54.140Z] Removing intermediate container 415a6711bde0 [2022-06-30T12:48:54.140Z] ---> 1e5d1dd7bad4 [2022-06-30T12:48:54.140Z] Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-30T12:48:54.140Z] ---> Running in a0eb01814cb3 [2022-06-30T12:48:56.129Z] Removing intermediate container a0eb01814cb3 [2022-06-30T12:48:56.129Z] ---> 50c38796c79e [2022-06-30T12:48:56.129Z] Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-30T12:48:56.129Z] ---> Running in 6326fb70d2cb [2022-06-30T12:48:57.114Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-30T12:48:58.096Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-30T12:48:58.692Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-30T12:48:58.692Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-30T12:48:58.964Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-30T12:48:58.964Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-30T12:48:59.238Z] Executing busybox-1.34.1-r3.trigger [2022-06-30T12:48:59.238Z] OK: 224 MiB in 56 packages [2022-06-30T12:49:00.224Z] Removing intermediate container 6326fb70d2cb [2022-06-30T12:49:00.224Z] ---> 8991b3442358 [2022-06-30T12:49:00.224Z] Step 7/12 : WORKDIR /device-mqtt-go [2022-06-30T12:49:00.224Z] ---> Running in 484059b6f42e [2022-06-30T12:49:00.497Z] Removing intermediate container 484059b6f42e [2022-06-30T12:49:00.497Z] ---> c3c1140ce30e [2022-06-30T12:49:00.497Z] Step 8/12 : COPY go.mod vendor* ./ [2022-06-30T12:49:01.098Z] ---> c99924f2861d [2022-06-30T12:49:01.098Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-30T12:49:01.098Z] ---> Running in 084c0b6b7a40 [2022-06-30T12:49:48.103Z] Removing intermediate container 084c0b6b7a40 [2022-06-30T12:49:48.103Z] ---> 178770824407 [2022-06-30T12:49:48.103Z] Step 10/12 : COPY . . [2022-06-30T12:49:48.103Z] ---> a4279f52be51 [2022-06-30T12:49:48.103Z] Step 11/12 : ARG MAKE='make build' [2022-06-30T12:49:48.103Z] ---> Running in 6ad32465ae70 [2022-06-30T12:49:48.103Z] Removing intermediate container 6ad32465ae70 [2022-06-30T12:49:48.103Z] ---> 9bb6a4292eb2 [2022-06-30T12:49:48.103Z] Step 12/12 : RUN $MAKE [2022-06-30T12:49:48.103Z] ---> Running in df91f38d0989 [2022-06-30T12:49:48.103Z] noop [2022-06-30T12:49:48.706Z] Removing intermediate container df91f38d0989 [2022-06-30T12:49:48.706Z] ---> 7eb741ab99b8 [2022-06-30T12:49:48.706Z] Successfully built 7eb741ab99b8 [2022-06-30T12:49:48.706Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:49:49.079Z] + docker inspect -f . ci-base-image-arm64 [2022-06-30T12:49:49.079Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T12:49:49.314Z] prd-ubuntu20.04-docker-arm64-4c-16g-16486 does not seem to be running inside a container [2022-06-30T12:49:49.408Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/53 -v /w/workspace/device-mqtt-go/53:/w/workspace/device-mqtt-go/53:rw,z -v /w/workspace/device-mqtt-go/53@tmp:/w/workspace/device-mqtt-go/53@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 ******** -e ******** ci-base-image-arm64 cat [2022-06-30T12:49:50.743Z] $ docker top 586d37e42d35089c2ab910c8b364b0789f3d848840ebbf29d62bd2b780c0e076 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-30T12:49:51.642Z] + go version [2022-06-30T12:49:51.642Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-30T12:49:51.672Z] $ docker stop --time=1 586d37e42d35089c2ab910c8b364b0789f3d848840ebbf29d62bd2b780c0e076 [2022-06-30T12:49:53.288Z] $ docker rm -f 586d37e42d35089c2ab910c8b364b0789f3d848840ebbf29d62bd2b780c0e076 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:49:53.896Z] + docker inspect -f . ci-base-image-arm64 [2022-06-30T12:49:53.897Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T12:49:54.137Z] prd-ubuntu20.04-docker-arm64-4c-16g-16486 does not seem to be running inside a container [2022-06-30T12:49:54.229Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/53 -v /w/workspace/device-mqtt-go/53:/w/workspace/device-mqtt-go/53:rw,z -v /w/workspace/device-mqtt-go/53@tmp:/w/workspace/device-mqtt-go/53@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 ******** -e ******** ci-base-image-arm64 cat [2022-06-30T12:49:55.490Z] $ docker top e0300de854d488c03d4e843f6a195407b3cec9c692c1df18e8241fe22170caa7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-30T12:49:56.433Z] + make test [2022-06-30T12:49:56.433Z] GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-30T12:49:58.416Z] ? github.com/edgexfoundry/device-mqtt-go [no test files] [2022-06-30T12:51:20.327Z] ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] [2022-06-30T12:51:20.327Z] ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.071s coverage: 21.8% of statements [2022-06-30T12:51:20.327Z] ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] [2022-06-30T12:51:20.327Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-30T12:51:20.327Z] GCO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-30T12:51:47.146Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-30T12:51:47.146Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-30T12:51:47.146Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-30T12:51:47.439Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-30T12:51:47.460Z] $ docker stop --time=1 e0300de854d488c03d4e843f6a195407b3cec9c692c1df18e8241fe22170caa7 [2022-06-30T12:51:49.242Z] $ docker rm -f e0300de854d488c03d4e843f6a195407b3cec9c692c1df18e8241fe22170caa7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-30T12:51:50.194Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-30T12:51:50.214Z] Warning: overwriting stash ‘coverage-report’ [2022-06-30T12:51:50.655Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-30T12:51:51.046Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-30T12:51:51.380Z] + ls -al . [2022-06-30T12:51:51.380Z] total 176 [2022-06-30T12:51:51.380Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 30 12:51 . [2022-06-30T12:51:51.380Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 12:47 .. [2022-06-30T12:51:51.380Z] -rw-rw-r-- 1 jenkins jenkins 140 Jun 30 12:47 .dockerignore [2022-06-30T12:51:51.380Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 12:48 .git [2022-06-30T12:51:51.380Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 12:47 .github [2022-06-30T12:51:51.380Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 30 12:47 .gitignore [2022-06-30T12:51:51.380Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 30 12:47 .golangci.yml [2022-06-30T12:51:51.380Z] -rw-rw-r-- 1 jenkins jenkins 8917 Jun 30 12:47 Attribution.txt [2022-06-30T12:51:51.380Z] -rw-rw-r-- 1 jenkins jenkins 11365 Jun 30 12:47 CHANGELOG.md [2022-06-30T12:51:51.380Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 30 12:47 Dockerfile [2022-06-30T12:51:51.380Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 30 12:47 GOVERNANCE.md [2022-06-30T12:51:51.380Z] -rw-rw-r-- 1 jenkins jenkins 678 Jun 30 12:47 Jenkinsfile [2022-06-30T12:51:51.380Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 30 12:47 LICENSE [2022-06-30T12:51:51.380Z] -rw-rw-r-- 1 jenkins jenkins 1930 Jun 30 12:47 Makefile [2022-06-30T12:51:51.380Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 30 12:47 OWNERS.md [2022-06-30T12:51:51.380Z] -rw-rw-r-- 1 jenkins jenkins 2501 Jun 30 12:47 README.md [2022-06-30T12:51:51.380Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 30 12:46 VERSION [2022-06-30T12:51:51.380Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 12:47 bin [2022-06-30T12:51:51.380Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 12:47 cmd [2022-06-30T12:51:51.380Z] -rw-r--r-- 1 jenkins jenkins 17887 Jun 30 12:51 coverage.out [2022-06-30T12:51:51.380Z] -rw-rw-r-- 1 jenkins jenkins 3314 Jun 30 12:47 go.mod [2022-06-30T12:51:51.380Z] -rw-rw-r-- 1 jenkins jenkins 36015 Jun 30 12:47 go.sum [2022-06-30T12:51:51.380Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 12:47 internal [2022-06-30T12:51:51.380Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 12:47 mock [2022-06-30T12:51:51.380Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 12:47 snap [2022-06-30T12:51:51.380Z] -rw-rw-r-- 1 jenkins jenkins 227 Jun 30 12:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:51:51.742Z] + 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=8b7bfd06f10d442433da09be4b1bd94ea6f5832d --label arch=arm64 --label version=2.2.1-dev.6 . [2022-06-30T12:51:52.021Z] Sending build context to Docker daemon 3.126MB [2022-06-30T12:51:52.021Z] Step 1/24 : ARG BASE=golang:1.17-alpine3.15 [2022-06-30T12:51:52.021Z] Step 2/24 : FROM ${BASE} AS builder [2022-06-30T12:51:52.021Z] ---> 7eb741ab99b8 [2022-06-30T12:51:52.021Z] Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-30T12:51:52.296Z] ---> Running in 9f7c13b13224 [2022-06-30T12:51:52.566Z] Removing intermediate container 9f7c13b13224 [2022-06-30T12:51:52.566Z] ---> f59e040bcb27 [2022-06-30T12:51:52.566Z] Step 4/24 : ARG ALPINE_PKG_EXTRA="" [2022-06-30T12:51:52.566Z] ---> Running in 389a273172cc [2022-06-30T12:51:52.841Z] Removing intermediate container 389a273172cc [2022-06-30T12:51:52.841Z] ---> d99ae3aa77b5 [2022-06-30T12:51:52.841Z] Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-30T12:51:53.130Z] ---> Running in 720b27083f43 [2022-06-30T12:51:54.566Z] Removing intermediate container 720b27083f43 [2022-06-30T12:51:54.566Z] ---> 3f6f05e49bf2 [2022-06-30T12:51:54.566Z] Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-30T12:51:54.843Z] ---> Running in 60ef7896e7cf [2022-06-30T12:51:55.823Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-30T12:51:56.866Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-30T12:51:57.478Z] OK: 224 MiB in 56 packages [2022-06-30T12:51:58.470Z] Removing intermediate container 60ef7896e7cf [2022-06-30T12:51:58.470Z] ---> 74c21460cdb9 [2022-06-30T12:51:58.470Z] Step 7/24 : WORKDIR /device-mqtt-go [2022-06-30T12:51:58.470Z] ---> Running in 83278ebd9f4e [2022-06-30T12:51:58.746Z] Removing intermediate container 83278ebd9f4e [2022-06-30T12:51:58.746Z] ---> 58de0e54a831 [2022-06-30T12:51:58.746Z] Step 8/24 : COPY go.mod vendor* ./ [2022-06-30T12:51:59.350Z] ---> e69a15f90da9 [2022-06-30T12:51:59.350Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-30T12:51:59.350Z] ---> Running in 60fa04142fb8 [2022-06-30T12:52:01.333Z] Removing intermediate container 60fa04142fb8 [2022-06-30T12:52:01.333Z] ---> 96ed81cde66e [2022-06-30T12:52:01.333Z] Step 10/24 : COPY . . [2022-06-30T12:52:02.313Z] ---> 0188b0067056 [2022-06-30T12:52:02.313Z] Step 11/24 : ARG MAKE='make build' [2022-06-30T12:52:02.313Z] ---> Running in f7bf0e2d5dca [2022-06-30T12:52:02.588Z] Removing intermediate container f7bf0e2d5dca [2022-06-30T12:52:02.588Z] ---> df0d8392b030 [2022-06-30T12:52:02.588Z] Step 12/24 : RUN $MAKE [2022-06-30T12:52:02.588Z] ---> Running in 4d3388a8dc2c [2022-06-30T12:52:03.570Z] GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.1-dev.6" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd [2022-06-30T12:54:11.091Z] Removing intermediate container 4d3388a8dc2c [2022-06-30T12:54:11.091Z] ---> 0284dd2f2426 [2022-06-30T12:54:11.091Z] Step 13/24 : FROM alpine:3.14 [2022-06-30T12:54:11.091Z] 3.14: Pulling from library/alpine [2022-06-30T12:54:11.091Z] 455c02918c45: Pulling fs layer [2022-06-30T12:54:11.091Z] 455c02918c45: Verifying Checksum [2022-06-30T12:54:11.091Z] 455c02918c45: Download complete [2022-06-30T12:54:11.091Z] 455c02918c45: Pull complete [2022-06-30T12:54:11.091Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-30T12:54:11.091Z] Status: Downloaded newer image for alpine:3.14 [2022-06-30T12:54:11.091Z] ---> ac73e934f311 [2022-06-30T12:54:11.091Z] Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' [2022-06-30T12:54:11.091Z] ---> Running in 8cf81a9ab32e [2022-06-30T12:54:11.091Z] Removing intermediate container 8cf81a9ab32e [2022-06-30T12:54:11.091Z] ---> 5bf7d7c9429e [2022-06-30T12:54:11.091Z] Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-30T12:54:11.091Z] ---> Running in 2366de2d25aa [2022-06-30T12:54:11.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-30T12:54:11.091Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-30T12:54:11.091Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-30T12:54:11.091Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-30T12:54:11.091Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-30T12:54:11.091Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-30T12:54:11.091Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-30T12:54:11.091Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-30T12:54:11.091Z] Executing busybox-1.33.1-r7.trigger [2022-06-30T12:54:11.091Z] OK: 8 MiB in 20 packages [2022-06-30T12:54:11.091Z] Removing intermediate container 2366de2d25aa [2022-06-30T12:54:11.091Z] ---> 6bb6975cba3e [2022-06-30T12:54:11.091Z] Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / [2022-06-30T12:54:11.091Z] ---> 3a1056275cb2 [2022-06-30T12:54:11.091Z] Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / [2022-06-30T12:54:11.091Z] ---> 72e369f30d59 [2022-06-30T12:54:11.091Z] Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [2022-06-30T12:54:11.091Z] ---> 663fe6a2490a [2022-06-30T12:54:11.091Z] Step 19/24 : EXPOSE 59982 [2022-06-30T12:54:11.091Z] ---> Running in ed5c0da9c1c6 [2022-06-30T12:54:11.688Z] Removing intermediate container ed5c0da9c1c6 [2022-06-30T12:54:11.688Z] ---> 583a4a967e63 [2022-06-30T12:54:11.688Z] Step 20/24 : ENTRYPOINT ["/device-mqtt"] [2022-06-30T12:54:11.688Z] ---> Running in 845d4783fd76 [2022-06-30T12:54:11.964Z] Removing intermediate container 845d4783fd76 [2022-06-30T12:54:11.964Z] ---> 7310a9b31461 [2022-06-30T12:54:11.964Z] Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-06-30T12:54:11.964Z] ---> Running in f8bbb251db47 [2022-06-30T12:54:12.243Z] Removing intermediate container f8bbb251db47 [2022-06-30T12:54:12.243Z] ---> 05f9dfff8736 [2022-06-30T12:54:12.243Z] Step 22/24 : LABEL arch=arm64 [2022-06-30T12:54:12.243Z] ---> Running in 062e727d9225 [2022-06-30T12:54:12.842Z] Removing intermediate container 062e727d9225 [2022-06-30T12:54:12.842Z] ---> a63dc767f607 [2022-06-30T12:54:12.842Z] Step 23/24 : LABEL git_sha=8b7bfd06f10d442433da09be4b1bd94ea6f5832d [2022-06-30T12:54:12.842Z] ---> Running in 01cfed2448f4 [2022-06-30T12:54:13.116Z] Removing intermediate container 01cfed2448f4 [2022-06-30T12:54:13.116Z] ---> c4fc337812a4 [2022-06-30T12:54:13.116Z] Step 24/24 : LABEL version=2.2.1-dev.6 [2022-06-30T12:54:13.116Z] ---> Running in 347ef12bfaf8 [2022-06-30T12:54:13.389Z] Removing intermediate container 347ef12bfaf8 [2022-06-30T12:54:13.389Z] ---> 5f3445a86750 [2022-06-30T12:54:13.389Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-30T12:54:13.389Z] Successfully built 5f3445a86750 [2022-06-30T12:54:13.389Z] Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-30T12:54:13.482Z] provisioning config files... [2022-06-30T12:54:13.500Z] copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/53@tmp/config8549106860070723130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:54:13.853Z] ---> docker-login.sh [2022-06-30T12:54:13.853Z] nexus3.edgexfoundry.org:10001 [2022-06-30T12:54:14.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:54:14.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:54:14.128Z] Configure a credential helper to remove this warning. See [2022-06-30T12:54:14.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:54:14.128Z] [2022-06-30T12:54:14.128Z] Login Succeeded [2022-06-30T12:54:14.128Z] nexus3.edgexfoundry.org:10002 [2022-06-30T12:54:14.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:54:14.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:54:14.730Z] Configure a credential helper to remove this warning. See [2022-06-30T12:54:14.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:54:14.730Z] [2022-06-30T12:54:14.730Z] Login Succeeded [2022-06-30T12:54:14.730Z] nexus3.edgexfoundry.org:10003 [2022-06-30T12:54:15.001Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:54:15.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:54:15.275Z] Configure a credential helper to remove this warning. See [2022-06-30T12:54:15.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:54:15.275Z] [2022-06-30T12:54:15.275Z] Login Succeeded [2022-06-30T12:54:15.275Z] nexus3.edgexfoundry.org:10004 [2022-06-30T12:54:15.548Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:54:15.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:54:15.820Z] Configure a credential helper to remove this warning. See [2022-06-30T12:54:15.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:54:15.820Z] [2022-06-30T12:54:15.820Z] Login Succeeded [2022-06-30T12:54:15.820Z] docker.io [2022-06-30T12:54:16.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-30T12:54:16.366Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-30T12:54:16.366Z] Configure a credential helper to remove this warning. See [2022-06-30T12:54:16.366Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-30T12:54:16.366Z] [2022-06-30T12:54:16.366Z] Login Succeeded [2022-06-30T12:54:16.637Z] ---> docker-login.sh ends [Pipeline] } [2022-06-30T12:54:16.654Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-30T12:54:16.692Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-30T12:54:16.714Z] [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: [2022-06-30T12:54:16.714Z] 8b7bfd06f10d442433da09be4b1bd94ea6f5832d [2022-06-30T12:54:16.714Z] latest [2022-06-30T12:54:16.714Z] 2.2.1-dev.6 [2022-06-30T12:54:16.714Z] 8b7bfd06f10d442433da09be4b1bd94ea6f5832d-2.2.1-dev.6 [2022-06-30T12:54:16.714Z] main [2022-06-30T12:54:16.714Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:54:17.074Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8b7bfd06f10d442433da09be4b1bd94ea6f5832d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:54:17.439Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8b7bfd06f10d442433da09be4b1bd94ea6f5832d [2022-06-30T12:54:17.439Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-06-30T12:54:17.439Z] c2e6c8b11b50: Preparing [2022-06-30T12:54:17.439Z] b43690e361af: Preparing [2022-06-30T12:54:17.439Z] 184386b3ceda: Preparing [2022-06-30T12:54:17.439Z] f2a10a053dcb: Preparing [2022-06-30T12:54:17.439Z] f73e7dbfee58: Preparing [2022-06-30T12:54:17.439Z] f73e7dbfee58: Layer already exists [2022-06-30T12:54:17.714Z] b43690e361af: Pushed [2022-06-30T12:54:17.714Z] c2e6c8b11b50: Pushed [2022-06-30T12:54:18.309Z] f2a10a053dcb: Pushed [2022-06-30T12:54:25.003Z] 184386b3ceda: Pushed [2022-06-30T12:54:25.003Z] 8b7bfd06f10d442433da09be4b1bd94ea6f5832d: digest: sha256:7ea7dd26e6580591431bab1be7f43d883c5a675bbd9e7dc9f3fd925dc0e35716 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:54:25.362Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:54:25.719Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-06-30T12:54:25.719Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-06-30T12:54:25.719Z] c2e6c8b11b50: Preparing [2022-06-30T12:54:25.719Z] b43690e361af: Preparing [2022-06-30T12:54:25.719Z] 184386b3ceda: Preparing [2022-06-30T12:54:25.719Z] f2a10a053dcb: Preparing [2022-06-30T12:54:25.719Z] f73e7dbfee58: Preparing [2022-06-30T12:54:25.719Z] c2e6c8b11b50: Layer already exists [2022-06-30T12:54:25.719Z] 184386b3ceda: Layer already exists [2022-06-30T12:54:25.719Z] f2a10a053dcb: Layer already exists [2022-06-30T12:54:25.719Z] b43690e361af: Layer already exists [2022-06-30T12:54:25.719Z] f73e7dbfee58: Layer already exists [2022-06-30T12:54:25.990Z] latest: digest: sha256:7ea7dd26e6580591431bab1be7f43d883c5a675bbd9e7dc9f3fd925dc0e35716 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:54:26.352Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:54:26.716Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.6 [2022-06-30T12:54:26.716Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-06-30T12:54:26.716Z] c2e6c8b11b50: Preparing [2022-06-30T12:54:26.716Z] b43690e361af: Preparing [2022-06-30T12:54:26.716Z] 184386b3ceda: Preparing [2022-06-30T12:54:26.716Z] f2a10a053dcb: Preparing [2022-06-30T12:54:26.716Z] f73e7dbfee58: Preparing [2022-06-30T12:54:26.716Z] f73e7dbfee58: Layer already exists [2022-06-30T12:54:26.716Z] b43690e361af: Layer already exists [2022-06-30T12:54:26.716Z] 184386b3ceda: Layer already exists [2022-06-30T12:54:26.716Z] f2a10a053dcb: Layer already exists [2022-06-30T12:54:26.716Z] c2e6c8b11b50: Layer already exists [2022-06-30T12:54:26.987Z] 2.2.1-dev.6: digest: sha256:7ea7dd26e6580591431bab1be7f43d883c5a675bbd9e7dc9f3fd925dc0e35716 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:54:27.342Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8b7bfd06f10d442433da09be4b1bd94ea6f5832d-2.2.1-dev.6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:54:27.697Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8b7bfd06f10d442433da09be4b1bd94ea6f5832d-2.2.1-dev.6 [2022-06-30T12:54:27.697Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-06-30T12:54:27.697Z] c2e6c8b11b50: Preparing [2022-06-30T12:54:27.697Z] b43690e361af: Preparing [2022-06-30T12:54:27.697Z] 184386b3ceda: Preparing [2022-06-30T12:54:27.697Z] f2a10a053dcb: Preparing [2022-06-30T12:54:27.697Z] f73e7dbfee58: Preparing [2022-06-30T12:54:27.697Z] f73e7dbfee58: Layer already exists [2022-06-30T12:54:27.697Z] f2a10a053dcb: Layer already exists [2022-06-30T12:54:27.697Z] 184386b3ceda: Layer already exists [2022-06-30T12:54:27.697Z] c2e6c8b11b50: Layer already exists [2022-06-30T12:54:27.697Z] b43690e361af: Layer already exists [2022-06-30T12:54:27.969Z] 8b7bfd06f10d442433da09be4b1bd94ea6f5832d-2.2.1-dev.6: digest: sha256:7ea7dd26e6580591431bab1be7f43d883c5a675bbd9e7dc9f3fd925dc0e35716 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:54:28.385Z] + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:54:28.758Z] + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [2022-06-30T12:54:28.758Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] [2022-06-30T12:54:28.758Z] c2e6c8b11b50: Preparing [2022-06-30T12:54:28.758Z] b43690e361af: Preparing [2022-06-30T12:54:28.758Z] 184386b3ceda: Preparing [2022-06-30T12:54:28.758Z] f2a10a053dcb: Preparing [2022-06-30T12:54:28.758Z] f73e7dbfee58: Preparing [2022-06-30T12:54:28.758Z] 184386b3ceda: Layer already exists [2022-06-30T12:54:28.758Z] c2e6c8b11b50: Layer already exists [2022-06-30T12:54:28.758Z] f73e7dbfee58: Layer already exists [2022-06-30T12:54:28.758Z] f2a10a053dcb: Layer already exists [2022-06-30T12:54:28.758Z] b43690e361af: Layer already exists [2022-06-30T12:54:29.034Z] main: digest: sha256:7ea7dd26e6580591431bab1be7f43d883c5a675bbd9e7dc9f3fd925dc0e35716 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-30T12:54:29.099Z] ===================================================== [Pipeline] echo [2022-06-30T12:54:29.109Z] taggedImages: [2022-06-30T12:54:29.109Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8b7bfd06f10d442433da09be4b1bd94ea6f5832d [2022-06-30T12:54:29.109Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [2022-06-30T12:54:29.109Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.6 [2022-06-30T12:54:29.109Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8b7bfd06f10d442433da09be4b1bd94ea6f5832d-2.2.1-dev.6 [2022-06-30T12:54:29.109Z] - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:54:29.495Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-30T12:54:29.495Z] [2022-06-30T12:54:29.495Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:54:29.839Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-30T12:54:30.119Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-30T12:54:30.119Z] 8998bd30e6a1: Pulling fs layer [2022-06-30T12:54:30.119Z] 04944245beec: Pulling fs layer [2022-06-30T12:54:30.119Z] 699f458cf7ca: Pulling fs layer [2022-06-30T12:54:30.119Z] 765212b225bb: Pulling fs layer [2022-06-30T12:54:30.119Z] f23df028b6ca: Pulling fs layer [2022-06-30T12:54:30.119Z] d65c8cfc05b1: Pulling fs layer [2022-06-30T12:54:30.119Z] 2437ff75d9bd: Pulling fs layer [2022-06-30T12:54:30.119Z] 765212b225bb: Waiting [2022-06-30T12:54:30.119Z] f23df028b6ca: Waiting [2022-06-30T12:54:30.119Z] d65c8cfc05b1: Waiting [2022-06-30T12:54:30.119Z] 2437ff75d9bd: Waiting [2022-06-30T12:54:30.119Z] 04944245beec: Verifying Checksum [2022-06-30T12:54:30.119Z] 04944245beec: Download complete [2022-06-30T12:54:30.119Z] 765212b225bb: Verifying Checksum [2022-06-30T12:54:30.119Z] 765212b225bb: Download complete [2022-06-30T12:54:30.119Z] f23df028b6ca: Verifying Checksum [2022-06-30T12:54:30.119Z] f23df028b6ca: Download complete [2022-06-30T12:54:30.119Z] d65c8cfc05b1: Verifying Checksum [2022-06-30T12:54:30.119Z] d65c8cfc05b1: Download complete [2022-06-30T12:54:30.403Z] 699f458cf7ca: Verifying Checksum [2022-06-30T12:54:30.403Z] 699f458cf7ca: Download complete [2022-06-30T12:54:30.677Z] 8998bd30e6a1: Verifying Checksum [2022-06-30T12:54:30.677Z] 8998bd30e6a1: Download complete [2022-06-30T12:54:33.313Z] 2437ff75d9bd: Verifying Checksum [2022-06-30T12:54:33.313Z] 2437ff75d9bd: Download complete [2022-06-30T12:54:35.282Z] 8998bd30e6a1: Pull complete [2022-06-30T12:54:35.556Z] 04944245beec: Pull complete [2022-06-30T12:54:37.530Z] 699f458cf7ca: Pull complete [2022-06-30T12:54:37.530Z] 765212b225bb: Pull complete [2022-06-30T12:54:38.129Z] f23df028b6ca: Pull complete [2022-06-30T12:54:38.405Z] d65c8cfc05b1: Pull complete [2022-06-30T12:54:53.490Z] 2437ff75d9bd: Pull complete [2022-06-30T12:54:53.490Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-30T12:54:53.490Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-30T12:54:53.490Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T12:54:53.731Z] prd-ubuntu20.04-docker-arm64-4c-16g-16486 does not seem to be running inside a container [2022-06-30T12:54:53.817Z] $ 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/53 -v /w/workspace/device-mqtt-go/53:/w/workspace/device-mqtt-go/53:rw,z -v /w/workspace/device-mqtt-go/53@tmp:/w/workspace/device-mqtt-go/53@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-30T12:54:56.360Z] $ docker top 0152a42f758c7374c73fd039dd1b9f08bc9613aa943bb0ed97962f03dfbc9f74 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:54:57.248Z] ---> job-cost.sh [2022-06-30T12:54:57.248Z] lf-activate-venv: SKIPPING [2022-06-30T12:54:57.248Z] INFO: No Stack... [2022-06-30T12:54:57.520Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-30T12:54:58.498Z] INFO: Archiving Costs [Pipeline] sh [2022-06-30T12:54:59.155Z] + cat /w/workspace/device-mqtt-go/53/archives/cost.csv [2022-06-30T12:54:59.155Z] + cut -d, -f6 [Pipeline] lock [2022-06-30T12:54:59.186Z] Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-53-stack-cost] [2022-06-30T12:54:59.193Z] Resource [jenkins-edgexfoundry-device-mqtt-go-main-53-stack-cost] did not exist. Created. [2022-06-30T12:54:59.193Z] Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-30T12:54:59.870Z] /w/workspace/device-mqtt-go/53@tmp/durable-67612fdf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-30T12:55:00.544Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-30T12:55:00.572Z] Warning: overwriting stash ‘stack-cost’ [2022-06-30T12:55:00.616Z] Stashed 1 file(s) [Pipeline] } [2022-06-30T12:55:00.626Z] Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-53-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-30T12:55:00.653Z] $ docker stop --time=1 0152a42f758c7374c73fd039dd1b9f08bc9613aa943bb0ed97962f03dfbc9f74 [2022-06-30T12:55:02.172Z] $ docker rm -f 0152a42f758c7374c73fd039dd1b9f08bc9613aa943bb0ed97962f03dfbc9f74 [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-06-30T12:55:02.631Z] provisioning config files... [2022-06-30T12:55:02.637Z] copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6069928593513862256tmp [Pipeline] { [Pipeline] sh [2022-06-30T12:55:02.930Z] + set +x [2022-06-30T12:55:02.930Z] + curl -s https://codecov.io/bash [2022-06-30T12:55:02.930Z] + bash -s -- [2022-06-30T12:55:02.930Z] [2022-06-30T12:55:02.930Z] _____ _ [2022-06-30T12:55:02.930Z] / ____| | | [2022-06-30T12:55:02.930Z] | | ___ __| | ___ ___ _____ __ [2022-06-30T12:55:02.930Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-30T12:55:02.930Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-30T12:55:02.930Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-30T12:55:02.930Z] Bash-1.0.6 [2022-06-30T12:55:02.930Z] [2022-06-30T12:55:02.930Z] [2022-06-30T12:55:02.930Z] ==> git version 2.25.1 found [2022-06-30T12:55:02.930Z] ==> 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-06-30T12:55:02.930Z] Release-Date: 2020-01-08 [2022-06-30T12:55:02.930Z] 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-06-30T12:55:02.930Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-30T12:55:02.930Z] ==> Jenkins CI detected. [2022-06-30T12:55:02.930Z] current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main [2022-06-30T12:55:02.930Z] project root: . [2022-06-30T12:55:02.930Z] --> token set from env [2022-06-30T12:55:02.930Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-30T12:55:02.930Z] ==> Running gcov in . (disable via -X gcov) [2022-06-30T12:55:02.930Z] ==> Python coveragepy not found [2022-06-30T12:55:02.930Z] ==> Searching for coverage reports in: [2022-06-30T12:55:02.930Z] + . [2022-06-30T12:55:02.930Z] -> Found 1 reports [2022-06-30T12:55:02.930Z] ==> Detecting git/mercurial file structure [2022-06-30T12:55:02.930Z] ==> Reading reports [2022-06-30T12:55:02.930Z] + ./coverage.out bytes=17887 [2022-06-30T12:55:02.930Z] ==> Appending adjustments [2022-06-30T12:55:02.930Z] https://docs.codecov.io/docs/fixing-reports [2022-06-30T12:55:03.190Z] + Found adjustments [2022-06-30T12:55:03.190Z] ==> Gzipping contents [2022-06-30T12:55:03.190Z] 4.0K /tmp/codecov.cZdqol.gz [2022-06-30T12:55:03.190Z] ==> Uploading reports [2022-06-30T12:55:03.190Z] url: https://codecov.io [2022-06-30T12:55:03.190Z] query: branch=main&commit=8b7bfd06f10d442433da09be4b1bd94ea6f5832d&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-30T12:55:03.191Z] -> Pinging Codecov [2022-06-30T12:55:03.191Z] 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=8b7bfd06f10d442433da09be4b1bd94ea6f5832d&build=53&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F53%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-30T12:55:03.450Z] -> Uploading to [2022-06-30T12:55:03.450Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-30/7D719EC7BBE17E464838252E33014C33/8b7bfd06f10d442433da09be4b1bd94ea6f5832d/dfeba990-a461-416c-9406-d1a70ac4883f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220630%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220630T125503Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0d9fa9e3f82ee6edf88c674969adcb91d669ad981b25f9159b1f95bf3d2a38dc [2022-06-30T12:55:03.450Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-30T12:55:03.450Z] Dload Upload Total Spent Left Speed [2022-06-30T12:55:03.711Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3217 0 0 100 3217 0 13689 --:--:-- --:--:-- --:--:-- 13689 [2022-06-30T12:55:03.711Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/8b7bfd06f10d442433da09be4b1bd94ea6f5832d [Pipeline] } [2022-06-30T12:55:03.719Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-30T12:55:03.883Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-30T12:55:03.895Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:55:04.193Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-30T12:55:04.193Z] [2022-06-30T12:55:04.193Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:55:04.497Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-30T12:55:04.497Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-30T12:55:04.497Z] df9b9388f04a: Pulling fs layer [2022-06-30T12:55:04.497Z] 52dc419b0ee2: Pulling fs layer [2022-06-30T12:55:04.497Z] 25bc292e5bac: Pulling fs layer [2022-06-30T12:55:04.497Z] 114826534d7a: Pulling fs layer [2022-06-30T12:55:04.497Z] 4657fd5d0bcf: Pulling fs layer [2022-06-30T12:55:04.497Z] 6ad1cebc031e: Pulling fs layer [2022-06-30T12:55:04.497Z] 8a3aa393b2d8: Pulling fs layer [2022-06-30T12:55:04.497Z] 6ad1cebc031e: Waiting [2022-06-30T12:55:04.497Z] 114826534d7a: Waiting [2022-06-30T12:55:04.497Z] 4657fd5d0bcf: Waiting [2022-06-30T12:55:04.497Z] 8a3aa393b2d8: Waiting [2022-06-30T12:55:04.497Z] 25bc292e5bac: Verifying Checksum [2022-06-30T12:55:04.497Z] 25bc292e5bac: Download complete [2022-06-30T12:55:04.497Z] 52dc419b0ee2: Download complete [2022-06-30T12:55:04.497Z] 4657fd5d0bcf: Download complete [2022-06-30T12:55:04.497Z] df9b9388f04a: Download complete [2022-06-30T12:55:04.757Z] df9b9388f04a: Pull complete [2022-06-30T12:55:04.757Z] 6ad1cebc031e: Verifying Checksum [2022-06-30T12:55:04.757Z] 6ad1cebc031e: Download complete [2022-06-30T12:55:04.757Z] 52dc419b0ee2: Pull complete [2022-06-30T12:55:04.757Z] 25bc292e5bac: Pull complete [2022-06-30T12:55:05.328Z] 114826534d7a: Verifying Checksum [2022-06-30T12:55:05.328Z] 114826534d7a: Download complete [2022-06-30T12:55:05.328Z] 8a3aa393b2d8: Verifying Checksum [2022-06-30T12:55:05.328Z] 8a3aa393b2d8: Download complete [2022-06-30T12:55:08.625Z] 114826534d7a: Pull complete [2022-06-30T12:55:08.886Z] 4657fd5d0bcf: Pull complete [2022-06-30T12:55:09.145Z] 6ad1cebc031e: Pull complete [2022-06-30T12:55:12.439Z] 8a3aa393b2d8: Pull complete [2022-06-30T12:55:12.439Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-30T12:55:12.439Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-30T12:55:12.439Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T12:55:12.540Z] prd-ubuntu20.04-docker-8c-8g-16485 does not seem to be running inside a container [2022-06-30T12:55:12.577Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-06-30T12:55:14.737Z] $ docker top 2e80d5686785bc2e0fbb7364b9a30b80194ae9a872049abba177c2e7ae9b2b2d -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-30T12:55:14.812Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh [2022-06-30T12:55:15.093Z] + set -o pipefail [2022-06-30T12:55:15.093Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' [2022-06-30T12:55:20.381Z] [2022-06-30T12:55:20.381Z] Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... [2022-06-30T12:55:20.381Z] [2022-06-30T12:55:20.381Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/bfe860d7-29a1-4daf-b4a8-903d0d09c475 [2022-06-30T12:55:20.381Z] [2022-06-30T12:55:20.381Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-06-30T12:55:20.381Z] [2022-06-30T12:55:20.381Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-30T12:55:20.381Z] [2022-06-30T12:55:20.381Z] [2022-06-30T12:55:20.381Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2022-06-30T12:55:20.381Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2022-06-30T12:55:20.394Z] $ docker stop --time=1 2e80d5686785bc2e0fbb7364b9a30b80194ae9a872049abba177c2e7ae9b2b2d [2022-06-30T12:55:22.714Z] $ docker rm -f 2e80d5686785bc2e0fbb7364b9a30b80194ae9a872049abba177c2e7ae9b2b2d [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-06-30T12:55:23.557Z] + git log --format=format:%s -1 8b7bfd06f10d442433da09be4b1bd94ea6f5832d [Pipeline] sh [2022-06-30T12:55:23.881Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-30T12:55:23.881Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:55:24.192Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-30T12:55:24.193Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T12:55:24.278Z] prd-ubuntu20.04-docker-8c-8g-16485 does not seem to be running inside a container [2022-06-30T12:55:24.312Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-30T12:55:24.763Z] $ docker top c25ee4f4dac5cdef234ea6a302c38b0d042c3eff2d673ae5edf9ad07c025cd55 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-30T12:55:24.873Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-30T12:55:24.874Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-30T12:55:25.008Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-30T12:55:25.011Z] $ docker exec c25ee4f4dac5cdef234ea6a302c38b0d042c3eff2d673ae5edf9ad07c025cd55 ssh-agent [2022-06-30T12:55:25.136Z] SSH_AUTH_SOCK=/tmp/ssh-LztEKuop1IeZ/agent.34 [2022-06-30T12:55:25.136Z] SSH_AGENT_PID=41 [2022-06-30T12:55:25.143Z] Running ssh-add (command line suppressed) [2022-06-30T12:55:25.264Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7782014588878626005.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7782014588878626005.key) [2022-06-30T12:55:25.278Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-30T12:55:25.567Z] + git semver tag [2022-06-30T12:55:25.827Z] 2022-06-30 12:55:25,756 [run_tag] DEBUG tag force:False [2022-06-30T12:55:25.827Z] 2022-06-30 12:55:25,756 [check_head_tag] DEBUG check head tag [2022-06-30T12:55:25.827Z] 2022-06-30 12:55:25,757 [execute] INFO git cat-file --batch-check [2022-06-30T12:55:25.827Z] 2022-06-30 12:55:25,757 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-06-30T12:55:25.827Z] 2022-06-30 12:55:25,761 [execute] INFO git cat-file --batch [2022-06-30T12:55:25.827Z] 2022-06-30 12:55:25,761 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) [2022-06-30T12:55:25.827Z] 2022-06-30 12:55:25,773 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-30T12:55:25.827Z] 2022-06-30 12:55:25,774 [execute] INFO git tag -a v2.2.1-dev.6 -m v2.2.1-dev.6 [2022-06-30T12:55:25.827Z] 2022-06-30 12:55:25,774 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.6', '-m', 'v2.2.1-dev.6'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) [2022-06-30T12:55:25.827Z] 2022-06-30 12:55:25,778 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-30T12:55:25.827Z] 2.2.1-dev.6 [Pipeline] } [2022-06-30T12:55:25.838Z] $ docker exec --env ******** --env ******** c25ee4f4dac5cdef234ea6a302c38b0d042c3eff2d673ae5edf9ad07c025cd55 ssh-agent -k [2022-06-30T12:55:25.945Z] unset SSH_AUTH_SOCK; [2022-06-30T12:55:25.946Z] unset SSH_AGENT_PID; [2022-06-30T12:55:25.946Z] echo Agent pid 41 killed; [2022-06-30T12:55:25.960Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-30T12:55:26.267Z] + git semver [Pipeline] } [2022-06-30T12:55:26.542Z] $ docker stop --time=1 c25ee4f4dac5cdef234ea6a302c38b0d042c3eff2d673ae5edf9ad07c025cd55 [2022-06-30T12:55:27.872Z] $ docker rm -f c25ee4f4dac5cdef234ea6a302c38b0d042c3eff2d673ae5edf9ad07c025cd55 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:55:28.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-30T12:55:28.282Z] [2022-06-30T12:55:28.282Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:55:28.589Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-30T12:55:28.590Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-30T12:55:28.590Z] ab5ef0e58194: Pulling fs layer [2022-06-30T12:55:28.590Z] 9712f1f96733: Pulling fs layer [2022-06-30T12:55:28.590Z] 63f879dbbcfc: Pulling fs layer [2022-06-30T12:55:28.590Z] 0d9ebad4ef96: Pulling fs layer [2022-06-30T12:55:28.590Z] e9a5061849ea: Pulling fs layer [2022-06-30T12:55:28.590Z] d747dcd14b5f: Pulling fs layer [2022-06-30T12:55:28.590Z] 2de7ff778b66: Pulling fs layer [2022-06-30T12:55:28.590Z] e9a5061849ea: Waiting [2022-06-30T12:55:28.590Z] d747dcd14b5f: Waiting [2022-06-30T12:55:28.590Z] 2de7ff778b66: Waiting [2022-06-30T12:55:28.590Z] 0d9ebad4ef96: Waiting [2022-06-30T12:55:28.590Z] 9712f1f96733: Download complete [2022-06-30T12:55:28.851Z] 63f879dbbcfc: Verifying Checksum [2022-06-30T12:55:28.851Z] 63f879dbbcfc: Download complete [2022-06-30T12:55:29.111Z] e9a5061849ea: Verifying Checksum [2022-06-30T12:55:29.111Z] e9a5061849ea: Download complete [2022-06-30T12:55:29.111Z] d747dcd14b5f: Verifying Checksum [2022-06-30T12:55:29.111Z] d747dcd14b5f: Download complete [2022-06-30T12:55:29.111Z] 0d9ebad4ef96: Verifying Checksum [2022-06-30T12:55:29.111Z] 0d9ebad4ef96: Download complete [2022-06-30T12:55:29.111Z] ab5ef0e58194: Verifying Checksum [2022-06-30T12:55:29.111Z] ab5ef0e58194: Download complete [2022-06-30T12:55:29.111Z] 2de7ff778b66: Verifying Checksum [2022-06-30T12:55:29.111Z] 2de7ff778b66: Download complete [2022-06-30T12:55:32.400Z] ab5ef0e58194: Pull complete [2022-06-30T12:55:32.400Z] 9712f1f96733: Pull complete [2022-06-30T12:55:32.659Z] 63f879dbbcfc: Pull complete [2022-06-30T12:55:36.859Z] 0d9ebad4ef96: Pull complete [2022-06-30T12:55:36.859Z] e9a5061849ea: Pull complete [2022-06-30T12:55:36.859Z] d747dcd14b5f: Pull complete [2022-06-30T12:55:37.796Z] 2de7ff778b66: Pull complete [2022-06-30T12:55:37.796Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-30T12:55:37.796Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-30T12:55:37.796Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T12:55:37.893Z] prd-ubuntu20.04-docker-8c-8g-16485 does not seem to be running inside a container [2022-06-30T12:55:37.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-06-30T12:55:40.328Z] $ docker top 7b39cdcbd8d335d5bad8151499a199dbba5d9581beaa0dc07ffcdcd5ce130996 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-30T12:55:40.416Z] provisioning config files... [2022-06-30T12:55:40.424Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1392003057029840996tmp [2022-06-30T12:55:40.436Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8082030777534212998tmp [2022-06-30T12:55:40.448Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1003593853331865435tmp [Pipeline] { [Pipeline] echo [2022-06-30T12:55:40.463Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:55:40.746Z] ---> sigul-configuration.sh [2022-06-30T12:55:40.746Z] gpg: directory `/root/.gnupg' created [2022-06-30T12:55:40.746Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-30T12:55:40.746Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-30T12:55:40.746Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-30T12:55:40.746Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-30T12:55:40.746Z] gpg: CAST5 encrypted data [2022-06-30T12:55:40.746Z] gpg: encrypted with 1 passphrase [2022-06-30T12:55:40.746Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-30T12:55:41.037Z] + mkdir /home/jenkins [2022-06-30T12:55:41.037Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-30T12:55:41.328Z] + 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-06-30T12:55:41.337Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:55:41.625Z] ---> sigul-install.sh [2022-06-30T12:55:41.625Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-30T12:55:41.917Z] + git tag --list [2022-06-30T12:55:41.917Z] 0.7.1 [2022-06-30T12:55:41.917Z] v1.0.0 [2022-06-30T12:55:41.917Z] v1.1.0 [2022-06-30T12:55:41.917Z] v1.1.1 [2022-06-30T12:55:41.917Z] v1.2.2 [2022-06-30T12:55:41.917Z] v1.3.0 [2022-06-30T12:55:41.917Z] v1.3.1 [2022-06-30T12:55:41.917Z] v2.0.0 [2022-06-30T12:55:41.917Z] v2.1.0 [2022-06-30T12:55:41.917Z] v2.1.1 [2022-06-30T12:55:41.917Z] v2.1.1-dev.1 [2022-06-30T12:55:41.917Z] v2.1.1-dev.2 [2022-06-30T12:55:41.917Z] v2.2.0 [2022-06-30T12:55:41.917Z] v2.2.1-dev.1 [2022-06-30T12:55:41.917Z] v2.2.1-dev.2 [2022-06-30T12:55:41.917Z] v2.2.1-dev.3 [2022-06-30T12:55:41.917Z] v2.2.1-dev.4 [2022-06-30T12:55:41.917Z] v2.2.1-dev.5 [2022-06-30T12:55:41.917Z] v2.2.1-dev.6 [Pipeline] sh [2022-06-30T12:55:42.212Z] + lftools sign git-tag v2.2.1-dev.6 [2022-06-30T12:55:42.783Z] Signing Git tag with Sigul... [2022-06-30T12:55:42.783Z] Signing v2.2.1-dev.6 [Pipeline] echo [2022-06-30T12:55:43.051Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:55:43.335Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-30T12:55:43.343Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-30T12:55:43.360Z] $ docker stop --time=1 7b39cdcbd8d335d5bad8151499a199dbba5d9581beaa0dc07ffcdcd5ce130996 [2022-06-30T12:55:44.669Z] $ docker rm -f 7b39cdcbd8d335d5bad8151499a199dbba5d9581beaa0dc07ffcdcd5ce130996 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-30T12:55:45.096Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-30T12:55:45.096Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:55:45.400Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-30T12:55:45.400Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T12:55:45.490Z] prd-ubuntu20.04-docker-8c-8g-16485 does not seem to be running inside a container [2022-06-30T12:55:45.526Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-30T12:55:45.916Z] $ docker top 21f7446b4db5edc66d9d1ba88f0c4d67534be201820da37ca0b61fbc017d1d0b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-30T12:55:46.025Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-30T12:55:46.025Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-30T12:55:46.163Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-30T12:55:46.166Z] $ docker exec 21f7446b4db5edc66d9d1ba88f0c4d67534be201820da37ca0b61fbc017d1d0b ssh-agent [2022-06-30T12:55:46.320Z] SSH_AUTH_SOCK=/tmp/ssh-WlxpBfIijFf5/agent.33 [2022-06-30T12:55:46.320Z] SSH_AGENT_PID=39 [2022-06-30T12:55:46.327Z] Running ssh-add (command line suppressed) [2022-06-30T12:55:46.445Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4091343900351794898.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_4091343900351794898.key) [2022-06-30T12:55:46.463Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-30T12:55:46.756Z] + git semver bump pre [2022-06-30T12:55:47.018Z] 2022-06-30 12:55:46,946 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-30T12:55:47.018Z] 2022-06-30 12:55:46,946 [bump_version] DEBUG bumping version:2.2.1-dev.6 on axis:pre with prefix:dev [2022-06-30T12:55:47.018Z] 2022-06-30 12:55:46,946 [bump_version] DEBUG bumped version:2.2.1-dev.7 [2022-06-30T12:55:47.018Z] 2022-06-30 12:55:46,946 [write_version] DEBUG write version:2.2.1-dev.7 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True [2022-06-30T12:55:47.018Z] 2022-06-30 12:55:46,946 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-30T12:55:47.018Z] 2022-06-30 12:55:46,946 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-30T12:55:47.018Z] 2022-06-30 12:55:46,948 [execute] INFO git cat-file --batch-check [2022-06-30T12:55:47.018Z] 2022-06-30 12:55:46,948 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-30T12:55:47.018Z] 2022-06-30 12:55:46,953 [execute] INFO git cat-file --batch [2022-06-30T12:55:47.018Z] 2022-06-30 12:55:46,953 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-30T12:55:47.018Z] 2022-06-30 12:55:46,958 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-30T12:55:47.018Z] 2.2.1-dev.7 [Pipeline] } [2022-06-30T12:55:47.030Z] $ docker exec --env ******** --env ******** 21f7446b4db5edc66d9d1ba88f0c4d67534be201820da37ca0b61fbc017d1d0b ssh-agent -k [2022-06-30T12:55:47.155Z] unset SSH_AUTH_SOCK; [2022-06-30T12:55:47.156Z] unset SSH_AGENT_PID; [2022-06-30T12:55:47.156Z] echo Agent pid 39 killed; [2022-06-30T12:55:47.169Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-30T12:55:47.479Z] + git semver [Pipeline] } [2022-06-30T12:55:47.756Z] $ docker stop --time=1 21f7446b4db5edc66d9d1ba88f0c4d67534be201820da37ca0b61fbc017d1d0b [2022-06-30T12:55:49.075Z] $ docker rm -f 21f7446b4db5edc66d9d1ba88f0c4d67534be201820da37ca0b61fbc017d1d0b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-30T12:55:49.499Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-30T12:55:49.499Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:55:49.814Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-30T12:55:49.815Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T12:55:49.908Z] prd-ubuntu20.04-docker-8c-8g-16485 does not seem to be running inside a container [2022-06-30T12:55:49.948Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-30T12:55:50.368Z] $ docker top 50b92877667f3dc1415fa10790a8d030d1b41832f423c0f9e0139be2432cbdfe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-30T12:55:50.473Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-30T12:55:50.473Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-30T12:55:50.619Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-30T12:55:50.622Z] $ docker exec 50b92877667f3dc1415fa10790a8d030d1b41832f423c0f9e0139be2432cbdfe ssh-agent [2022-06-30T12:55:50.746Z] SSH_AUTH_SOCK=/tmp/ssh-7bgbRrF143eg/agent.32 [2022-06-30T12:55:50.746Z] SSH_AGENT_PID=39 [2022-06-30T12:55:50.751Z] Running ssh-add (command line suppressed) [2022-06-30T12:55:50.870Z] Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5585049969185803915.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5585049969185803915.key) [2022-06-30T12:55:50.883Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-30T12:55:51.170Z] + git semver push [2022-06-30T12:55:51.431Z] 2022-06-30 12:55:51,372 [run_push] DEBUG push [2022-06-30T12:55:51.431Z] 2022-06-30 12:55:51,373 [execute] INFO git cat-file --batch-check [2022-06-30T12:55:51.431Z] 2022-06-30 12:55:51,373 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-30T12:55:51.431Z] 2022-06-30 12:55:51,376 [execute] INFO git rev-list 18e56f25eed6abd439dcd5a9b76e54f5b974d536 -- [2022-06-30T12:55:51.431Z] 2022-06-30 12:55:51,377 [execute] DEBUG Popen(['git', 'rev-list', '18e56f25eed6abd439dcd5a9b76e54f5b974d536', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-30T12:55:51.431Z] 2022-06-30 12:55:51,382 [execute] INFO git fetch -v origin [2022-06-30T12:55:51.431Z] 2022-06-30 12:55:51,383 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-06-30T12:55:52.004Z] 2022-06-30 12:55:51,850 [run_push] DEBUG no remote changes detected [2022-06-30T12:55:52.005Z] 2022-06-30 12:55:51,850 [execute] INFO git push origin semver [2022-06-30T12:55:52.005Z] 2022-06-30 12:55:51,851 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-30T12:55:52.578Z] 2022-06-30 12:55:52,555 [run_push] DEBUG push all version tags [2022-06-30T12:55:52.578Z] 2022-06-30 12:55:52,555 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-30T12:55:52.578Z] 2022-06-30 12:55:52,556 [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-06-30T12:55:53.524Z] 2022-06-30 12:55:53,281 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main [2022-06-30T12:55:53.524Z] 2.2.1-dev.7 [Pipeline] } [2022-06-30T12:55:53.538Z] $ docker exec --env ******** --env ******** 50b92877667f3dc1415fa10790a8d030d1b41832f423c0f9e0139be2432cbdfe ssh-agent -k [2022-06-30T12:55:53.673Z] unset SSH_AUTH_SOCK; [2022-06-30T12:55:53.674Z] unset SSH_AGENT_PID; [2022-06-30T12:55:53.674Z] echo Agent pid 39 killed; [2022-06-30T12:55:53.687Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-30T12:55:53.993Z] + git semver [Pipeline] } [2022-06-30T12:55:54.269Z] $ docker stop --time=1 50b92877667f3dc1415fa10790a8d030d1b41832f423c0f9e0139be2432cbdfe [2022-06-30T12:55:55.562Z] $ docker rm -f 50b92877667f3dc1415fa10790a8d030d1b41832f423c0f9e0139be2432cbdfe [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-06-30T12:55:56.148Z] + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] [2022-06-30T12:55:56.148Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-06-30T12:55:56.148Z] total 16 [2022-06-30T12:55:56.148Z] drwxr-xr-x 3 root root 4096 Jun 30 12:47 . [2022-06-30T12:55:56.148Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 30 12:55 .. [2022-06-30T12:55:56.148Z] drwxr-xr-x 2 root root 4096 Jun 30 12:47 cost [2022-06-30T12:55:56.148Z] -rw-r--r-- 1 root root 84 Jun 30 12:47 cost.csv [2022-06-30T12:55:56.148Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-06-30T12:55:56.148Z] + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives [2022-06-30T12:55:56.148Z] total 16 [2022-06-30T12:55:56.148Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 30 12:47 . [2022-06-30T12:55:56.148Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 30 12:55 .. [2022-06-30T12:55:56.148Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 30 12:47 cost [2022-06-30T12:55:56.148Z] -rw-r--r-- 1 jenkins jenkins 84 Jun 30 12:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:55:56.444Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:55:57.307Z] ---> package-listing.sh [2022-06-30T12:55:57.308Z] ++ facter osfamily [2022-06-30T12:55:57.308Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-30T12:55:57.568Z] + OS_FAMILY=debian [2022-06-30T12:55:57.568Z] + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main [2022-06-30T12:55:57.568Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-30T12:55:57.568Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-30T12:55:57.568Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-30T12:55:57.568Z] + PACKAGES=/tmp/packages_start.txt [2022-06-30T12:55:57.568Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-06-30T12:55:57.568Z] + PACKAGES=/tmp/packages_end.txt [2022-06-30T12:55:57.568Z] + case "${OS_FAMILY}" in [2022-06-30T12:55:57.568Z] + dpkg -l [2022-06-30T12:55:57.568Z] + grep '^ii' [2022-06-30T12:55:57.568Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-30T12:55:57.568Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-30T12:55:57.568Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-30T12:55:57.568Z] + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' [2022-06-30T12:55:57.568Z] + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [2022-06-30T12:55:57.568Z] + 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-06-30T12:55:57.580Z] 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-06-30T12:55:57.860Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-30T12:55:58.426Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-30T12:55:58.427Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-30T12:55:58.517Z] prd-ubuntu20.04-docker-8c-8g-16485 does not seem to be running inside a container [2022-06-30T12:55:58.552Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-30T12:55:58.818Z] $ docker top a30aaf511c026280b977b4bd16f1c043ced0084eb69f2d6e1d61eaebfeec2e4d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-30T12:55:59.179Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-30T12:55:59.467Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-30T12:55:59.755Z] + ls /var/log/sa-host [2022-06-30T12:55:59.755Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-30T12:55:59.878Z] provisioning config files... [2022-06-30T12:55:59.887Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config752286402186779521tmp [Pipeline] { [Pipeline] echo [2022-06-30T12:55:59.903Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:56:00.191Z] ---> create-netrc.sh [Pipeline] } [2022-06-30T12:56:00.198Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:56:00.587Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-30T12:56:00.596Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:56:00.882Z] ---> sudo-logs.sh [2022-06-30T12:56:00.882Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-30T12:56:00.908Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:56:01.197Z] ---> job-cost.sh [2022-06-30T12:56:01.197Z] lf-activate-venv: SKIPPING [2022-06-30T12:56:01.197Z] DEBUG: total: 0.2199999988079071 [2022-06-30T12:56:01.197Z] INFO: Retrieving Stack Cost... [2022-06-30T12:56:01.767Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-30T12:56:02.338Z] INFO: Archiving Costs [Pipeline] echo [2022-06-30T12:56:02.350Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-30T12:56:02.637Z] ---> logs-deploy.sh [2022-06-30T12:56:02.637Z] lf-activate-venv: SKIPPING [2022-06-30T12:56:02.637Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/53 [2022-06-30T12:56:02.637Z] INFO: archiving workspace using pattern(s): [2022-06-30T12:56:03.580Z] Archives upload complete. [2022-06-30T12:56:03.580Z] INFO: archiving logs to Nexus