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 12:45:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:45:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:45:51 ========================================================= 12:45:51 EdgeX Global Pipelines Version Info 12:45:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:45:52 ------------------- 12:45:52 stable info: 12:45:52 ------------------- 12:45:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:45:52 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 12:45:52 Message: update stable to v1.0.234 12:45:53 ------------------- 12:45:53 experimental info: 12:45:53 ------------------- 12:45:53 Commited By: **** collab-it+edgex@linuxfoundation.org 12:45:53 Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 12:45:53 Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8b7bfd06f10d442433da09be4b1bd94ea6f5832d [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8b7bfd0 [Pipeline] echo 12:45:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:45:53 provisioning config files... 12:45:53 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5525188252033884701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:45:54 ---> docker-login.sh 12:45:54 nexus3.edgexfoundry.org:10001 12:45:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:45:54 Configure a credential helper to remove this warning. See 12:45:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:45:54 12:45:54 Login Succeeded 12:45:54 nexus3.edgexfoundry.org:10002 12:45:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:45:54 Configure a credential helper to remove this warning. See 12:45:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:45:54 12:45:54 Login Succeeded 12:45:54 nexus3.edgexfoundry.org:10003 12:45:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:45:55 Configure a credential helper to remove this warning. See 12:45:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:45:55 12:45:55 Login Succeeded 12:45:55 nexus3.edgexfoundry.org:10004 12:45:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:45:55 Configure a credential helper to remove this warning. See 12:45:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:45:55 12:45:55 Login Succeeded 12:45:55 docker.io 12:45:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:45:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:45:55 Configure a credential helper to remove this warning. See 12:45:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:45:55 12:45:55 Login Succeeded 12:45:55 ---> docker-login.sh ends [Pipeline] } 12:45:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:45:55 + git rev-list -1 --merges 8b7bfd06f10d442433da09be4b1bd94ea6f5832d~1..8b7bfd06f10d442433da09be4b1bd94ea6f5832d [Pipeline] echo 12:45:56 -----------> git rev-list -1 --merges 8b7bfd06f10d442433da09be4b1bd94ea6f5832d~1..8b7bfd06f10d442433da09be4b1bd94ea6f5832d 8b7bfd06f10d442433da09be4b1bd94ea6f5832d [false] [Pipeline] sh 12:45:56 + git log --format=format:%s -1 8b7bfd06f10d442433da09be4b1bd94ea6f5832d [Pipeline] echo 12:45:56 ========================================================= 12:45:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:45:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:45:56 + git log --format=format:%s -1 8b7bfd06f10d442433da09be4b1bd94ea6f5832d [Pipeline] echo 12:45:56 [semverPrep] GIT_COMMIT: 8b7bfd06f10d442433da09be4b1bd94ea6f5832d, Commit Message: refactor(snap): edgex-snap-hooks related upgrade (#397) [Pipeline] echo 12:45:56 [semverPrep] This is not a build commit. [Pipeline] sh 12:45:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:45:57 + grep -v github /etc/ssh/ssh_known_hosts 12:45:57 + [ -e /tmp/ssh_known_hosts ] 12:45:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:45:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:45:57 + sudo tee -a /etc/ssh/ssh_known_hosts 12:45:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:45:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:45:57 12:45:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:45:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:45:57 0.1.4: Pulling from edgex-devops/py-git-semver 12:45:57 42c077c10790: Pulling fs layer 12:45:57 f63e77b7563a: Pulling fs layer 12:45:57 bd5fdadae976: Pulling fs layer 12:45:57 205491f53016: Pulling fs layer 12:45:57 df18705c85c3: Pulling fs layer 12:45:57 df18705c85c3: Waiting 12:45:57 bdb3f477010e: Pulling fs layer 12:45:57 c8a8fc8e1c8f: Pulling fs layer 12:45:57 bdb3f477010e: Waiting 12:45:57 2c6e9b1d212d: Pulling fs layer 12:45:57 bdb8f0575790: Pulling fs layer 12:45:57 c8a8fc8e1c8f: Waiting 12:45:57 386e3cb2ff24: Pulling fs layer 12:45:57 2343380bae48: Pulling fs layer 12:45:57 386e3cb2ff24: Waiting 12:45:57 2343380bae48: Waiting 12:45:57 bdb8f0575790: Waiting 12:45:57 f63e77b7563a: Verifying Checksum 12:45:57 f63e77b7563a: Download complete 12:45:57 205491f53016: Verifying Checksum 12:45:57 205491f53016: Download complete 12:45:58 df18705c85c3: Verifying Checksum 12:45:58 df18705c85c3: Download complete 12:45:58 bdb3f477010e: Download complete 12:45:58 bd5fdadae976: Verifying Checksum 12:45:58 bd5fdadae976: Download complete 12:45:58 2c6e9b1d212d: Verifying Checksum 12:45:58 2c6e9b1d212d: Download complete 12:45:58 bdb8f0575790: Verifying Checksum 12:45:58 bdb8f0575790: Download complete 12:45:58 386e3cb2ff24: Verifying Checksum 12:45:58 386e3cb2ff24: Download complete 12:45:58 2343380bae48: Download complete 12:45:58 42c077c10790: Verifying Checksum 12:45:58 42c077c10790: Download complete 12:45:58 c8a8fc8e1c8f: Download complete 12:45:59 42c077c10790: Pull complete 12:45:59 f63e77b7563a: Pull complete 12:46:00 bd5fdadae976: Pull complete 12:46:00 205491f53016: Pull complete 12:46:00 df18705c85c3: Pull complete 12:46:00 bdb3f477010e: Pull complete 12:46:02 c8a8fc8e1c8f: Pull complete 12:46:02 2c6e9b1d212d: Pull complete 12:46:02 bdb8f0575790: Pull complete 12:46:02 386e3cb2ff24: Pull complete 12:46:02 2343380bae48: Pull complete 12:46:02 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 12:46:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:46:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:46:03 prd-ubuntu20.04-docker-8c-8g-16485 does not seem to be running inside a container 12:46:03 $ 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 12:46:04 $ docker top 30de35e6e52d932ba6794ab4963e4aaf690f03d9c24a6def4d4e1d81bc94cf54 -eo pid,comm 12:46:04 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). 12:46:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:46:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:46:04 [ssh-agent] Looking for ssh-agent implementation... 12:46:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:46:05 $ docker exec 30de35e6e52d932ba6794ab4963e4aaf690f03d9c24a6def4d4e1d81bc94cf54 ssh-agent 12:46:05 SSH_AUTH_SOCK=/tmp/ssh-JMCKk8CIEJNr/agent.34 12:46:05 SSH_AGENT_PID=40 12:46:05 Running ssh-add (command line suppressed) 12:46:05 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) 12:46:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:46:05 + git tag --points-at HEAD [Pipeline] } 12:46:05 $ docker exec --env ******** --env ******** 30de35e6e52d932ba6794ab4963e4aaf690f03d9c24a6def4d4e1d81bc94cf54 ssh-agent -k 12:46:05 unset SSH_AUTH_SOCK; 12:46:05 unset SSH_AGENT_PID; 12:46:05 echo Agent pid 40 killed; 12:46:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:46:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:46:05 [ssh-agent] Looking for ssh-agent implementation... 12:46:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:46:05 $ docker exec 30de35e6e52d932ba6794ab4963e4aaf690f03d9c24a6def4d4e1d81bc94cf54 ssh-agent 12:46:06 SSH_AUTH_SOCK=/tmp/ssh-9eqZziwWNMry/agent.73 12:46:06 SSH_AGENT_PID=79 12:46:06 Running ssh-add (command line suppressed) 12:46:06 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) 12:46:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:46:06 + git semver init 12:46:06 2022-06-30 12:46:06,660 [run_init] DEBUG init version:0.0.0 force:False 12:46:06 2022-06-30 12:46:06,660 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 12:46:06 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 12:46:06 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) 12:46:07 2022-06-30 12:46:07,380 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 12:46:07 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 12:46:07 2022-06-30 12:46:07,381 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 12:46:07 2022-06-30 12:46:07,381 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 12:46:07 2.2.1-dev.6 [Pipeline] } 12:46:07 $ docker exec --env ******** --env ******** 30de35e6e52d932ba6794ab4963e4aaf690f03d9c24a6def4d4e1d81bc94cf54 ssh-agent -k 12:46:07 unset SSH_AUTH_SOCK; 12:46:07 unset SSH_AGENT_PID; 12:46:07 echo Agent pid 79 killed; 12:46:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:46:08 + git semver [Pipeline] } 12:46:08 $ docker stop --time=1 30de35e6e52d932ba6794ab4963e4aaf690f03d9c24a6def4d4e1d81bc94cf54 12:46:09 $ docker rm -f 30de35e6e52d932ba6794ab4963e4aaf690f03d9c24a6def4d4e1d81bc94cf54 [Pipeline] // withDockerContainer [Pipeline] sh 12:46:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:46:10 Stashed 1 file(s) [Pipeline] echo 12:46:10 [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 12:46:10 provisioning config files... 12:46:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2831609874277700794tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:46:10 ---> docker-login.sh 12:46:10 nexus3.edgexfoundry.org:10001 12:46:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:46:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:46:10 Configure a credential helper to remove this warning. See 12:46:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:46:10 12:46:10 Login Succeeded 12:46:10 nexus3.edgexfoundry.org:10002 12:46:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:46:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:46:11 Configure a credential helper to remove this warning. See 12:46:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:46:11 12:46:11 Login Succeeded 12:46:11 nexus3.edgexfoundry.org:10003 12:46:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:46:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:46:11 Configure a credential helper to remove this warning. See 12:46:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:46:11 12:46:11 Login Succeeded 12:46:11 nexus3.edgexfoundry.org:10004 12:46:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:46:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:46:11 Configure a credential helper to remove this warning. See 12:46:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:46:11 12:46:11 Login Succeeded 12:46:11 docker.io 12:46:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:46:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:46:11 Configure a credential helper to remove this warning. See 12:46:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:46:11 12:46:11 Login Succeeded 12:46:11 ---> docker-login.sh ends [Pipeline] } 12:46:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:46:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:46:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:46:11 ========================================================= 12:46:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:46:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:46:12 + 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 . 12:46:12 Sending build context to Docker daemon 6.018MB 12:46:12 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:46:12 Step 2/12 : FROM ${BASE} AS builder 12:46:12 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:46:12 59bf1c3509f3: Pulling fs layer 12:46:12 666ba61612fd: Pulling fs layer 12:46:12 8ed8ca486205: Pulling fs layer 12:46:12 cc1cd167ecdc: Pulling fs layer 12:46:12 c516ae0d96e1: Pulling fs layer 12:46:12 684cea983483: Pulling fs layer 12:46:12 dd3240ac7de5: Pulling fs layer 12:46:12 b1e948a4e11c: Pulling fs layer 12:46:12 cc1cd167ecdc: Waiting 12:46:12 c516ae0d96e1: Waiting 12:46:12 684cea983483: Waiting 12:46:12 a8fd76ee1af6: Pulling fs layer 12:46:12 646ad004c059: Pulling fs layer 12:46:12 a8fd76ee1af6: Waiting 12:46:12 646ad004c059: Waiting 12:46:12 b1e948a4e11c: Waiting 12:46:12 8ed8ca486205: Verifying Checksum 12:46:12 8ed8ca486205: Download complete 12:46:12 666ba61612fd: Download complete 12:46:12 c516ae0d96e1: Verifying Checksum 12:46:12 c516ae0d96e1: Download complete 12:46:12 684cea983483: Download complete 12:46:12 dd3240ac7de5: Download complete 12:46:12 59bf1c3509f3: Verifying Checksum 12:46:12 b1e948a4e11c: Verifying Checksum 12:46:12 b1e948a4e11c: Download complete 12:46:12 59bf1c3509f3: Pull complete 12:46:12 666ba61612fd: Pull complete 12:46:12 8ed8ca486205: Pull complete 12:46:12 646ad004c059: Verifying Checksum 12:46:12 646ad004c059: Download complete 12:46:12 a8fd76ee1af6: Verifying Checksum 12:46:12 cc1cd167ecdc: Verifying Checksum 12:46:12 cc1cd167ecdc: Download complete 12:46:17 cc1cd167ecdc: Pull complete 12:46:17 c516ae0d96e1: Pull complete 12:46:17 684cea983483: Pull complete 12:46:17 dd3240ac7de5: Pull complete 12:46:17 b1e948a4e11c: Pull complete 12:46:18 a8fd76ee1af6: Pull complete 12:46:19 646ad004c059: Pull complete 12:46:19 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 12:46:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:46:19 ---> 8f69c11f6b0c 12:46:19 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:46:22 ---> Running in 59dc48165377 12:46:22 Removing intermediate container 59dc48165377 12:46:22 ---> 723f67fd2310 12:46:22 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:46:22 ---> Running in d83baa4c8b96 12:46:22 Removing intermediate container d83baa4c8b96 12:46:22 ---> 2412d050800c 12:46:22 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:46:22 ---> Running in 8f1d09711572 12:46:23 Removing intermediate container 8f1d09711572 12:46:23 ---> bb8b475ea2f3 12:46:23 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:46:23 ---> Running in 8201599a4556 12:46:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:46:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:46:24 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:46:24 (2/4) Installing libedit (20210910.3.1-r0) 12:46:24 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:46:24 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:46:24 Executing busybox-1.34.1-r3.trigger 12:46:24 OK: 224 MiB in 56 packages 12:46:25 Still waiting to schedule task 12:46:25 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:46:25 Removing intermediate container 8201599a4556 12:46:25 ---> 1760a6df619b 12:46:25 Step 7/12 : WORKDIR /device-mqtt-go 12:46:25 ---> Running in 3d1eeb0d719b 12:46:25 Removing intermediate container 3d1eeb0d719b 12:46:25 ---> 7b05246b572d 12:46:25 Step 8/12 : COPY go.mod vendor* ./ 12:46:25 ---> 90992f884c4f 12:46:25 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:46:25 ---> Running in 9127cb2deeaf 12:46:40 Removing intermediate container 9127cb2deeaf 12:46:40 ---> 38e66856c0f7 12:46:40 Step 10/12 : COPY . . 12:46:40 ---> 997aaf4bae56 12:46:40 Step 11/12 : ARG MAKE='make build' 12:46:41 ---> Running in b2ac8eab22fe 12:46:41 Removing intermediate container b2ac8eab22fe 12:46:41 ---> 1182782812bd 12:46:41 Step 12/12 : RUN $MAKE 12:46:41 ---> Running in e0a41c1de5c3 12:46:41 noop 12:46:41 Removing intermediate container e0a41c1de5c3 12:46:41 ---> 0ab33bc09bfb 12:46:41 Successfully built 0ab33bc09bfb 12:46:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:46:42 + docker inspect -f . ci-base-image-x86_64 12:46:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:46:42 prd-ubuntu20.04-docker-8c-8g-16485 does not seem to be running inside a container 12:46:42 $ 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 12:46:42 $ docker top 6a34c4a1241d09d67d2de41bb2d1797e5d514703217b844e6ae1f175f4733510 -eo pid,comm [Pipeline] { [Pipeline] sh 12:46:43 + go version 12:46:43 go version go1.17.7 linux/amd64 [Pipeline] } 12:46:43 $ docker stop --time=1 6a34c4a1241d09d67d2de41bb2d1797e5d514703217b844e6ae1f175f4733510 12:46:44 $ 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 12:46:44 + docker inspect -f . ci-base-image-x86_64 12:46:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:46:44 prd-ubuntu20.04-docker-8c-8g-16485 does not seem to be running inside a container 12:46:45 $ 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 12:46:45 $ docker top 0e7dd9cbf7d670ae486066cad81ea038628dc5b56584e2bc49887740a593d19c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:46:45 + make test 12:46:45 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:46:46 ? github.com/edgexfoundry/device-mqtt-go [no test files] 12:46:56 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 12:46:56 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 12:46:56 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 12:47:01 GCO_ENABLED=1 GO111MODULE=on go vet ./... 12:47:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:47:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:47:05 ./bin/test-attribution-txt.sh [Pipeline] echo 12:47:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:47:05 $ docker stop --time=1 0e7dd9cbf7d670ae486066cad81ea038628dc5b56584e2bc49887740a593d19c 12:47:07 $ docker rm -f 0e7dd9cbf7d670ae486066cad81ea038628dc5b56584e2bc49887740a593d19c [Pipeline] // withDockerContainer [Pipeline] sh 12:47:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:47:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:47:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:47:08 + ls -al . 12:47:08 total 180 12:47:08 drwxrwxr-x 10 jenkins jenkins 4096 Jun 30 12:47 . 12:47:08 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 12:45 .. 12:47:08 -rw-rw-r-- 1 jenkins jenkins 140 Jun 30 12:45 .dockerignore 12:47:08 drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 12:46 .git 12:47:08 drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 12:45 .github 12:47:08 -rw-rw-r-- 1 jenkins jenkins 329 Jun 30 12:45 .gitignore 12:47:08 -rw-rw-r-- 1 jenkins jenkins 41 Jun 30 12:45 .golangci.yml 12:47:08 drwxr-xr-x 3 jenkins jenkins 4096 Jun 30 12:46 .semver 12:47:08 -rw-rw-r-- 1 jenkins jenkins 8917 Jun 30 12:45 Attribution.txt 12:47:08 -rw-rw-r-- 1 jenkins jenkins 11365 Jun 30 12:45 CHANGELOG.md 12:47:08 -rw-rw-r-- 1 jenkins jenkins 1930 Jun 30 12:45 Dockerfile 12:47:08 -rw-rw-r-- 1 jenkins jenkins 677 Jun 30 12:45 GOVERNANCE.md 12:47:08 -rw-rw-r-- 1 jenkins jenkins 678 Jun 30 12:45 Jenkinsfile 12:47:08 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 30 12:45 LICENSE 12:47:08 -rw-rw-r-- 1 jenkins jenkins 1930 Jun 30 12:45 Makefile 12:47:08 -rw-rw-r-- 1 jenkins jenkins 620 Jun 30 12:45 OWNERS.md 12:47:08 -rw-rw-r-- 1 jenkins jenkins 2501 Jun 30 12:45 README.md 12:47:08 -rw-rw-r-- 1 jenkins jenkins 11 Jun 30 12:46 VERSION 12:47:08 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 12:45 bin 12:47:08 drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 12:45 cmd 12:47:08 -rw-r--r-- 1 jenkins jenkins 17887 Jun 30 12:46 coverage.out 12:47:08 -rw-rw-r-- 1 jenkins jenkins 3314 Jun 30 12:45 go.mod 12:47:08 -rw-rw-r-- 1 jenkins jenkins 36015 Jun 30 12:45 go.sum 12:47:08 drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 12:45 internal 12:47:08 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 12:45 mock 12:47:08 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 12:45 snap 12:47:08 -rw-rw-r-- 1 jenkins jenkins 227 Jun 30 12:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:08 + 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 . 12:47:08 Sending build context to Docker daemon 6.036MB 12:47:08 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 12:47:08 Step 2/24 : FROM ${BASE} AS builder 12:47:08 ---> 0ab33bc09bfb 12:47:08 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:47:08 ---> Running in 4a25a0ed13f6 12:47:09 Removing intermediate container 4a25a0ed13f6 12:47:09 ---> 4532b4b1fd38 12:47:09 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 12:47:09 ---> Running in 2c83fb7c418a 12:47:09 Removing intermediate container 2c83fb7c418a 12:47:09 ---> 024fe20506a3 12:47:09 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:47:09 ---> Running in 983637e1710f 12:47:09 Removing intermediate container 983637e1710f 12:47:09 ---> cc79214b739f 12:47:09 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:47:09 ---> Running in 34f6fcd765c9 12:47:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:47:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:47:11 OK: 224 MiB in 56 packages 12:47:11 Removing intermediate container 34f6fcd765c9 12:47:11 ---> df9359fddd62 12:47:11 Step 7/24 : WORKDIR /device-mqtt-go 12:47:11 ---> Running in ca9bad025b70 12:47:11 Removing intermediate container ca9bad025b70 12:47:11 ---> 23ea81b288c5 12:47:11 Step 8/24 : COPY go.mod vendor* ./ 12:47:12 ---> 202595dfc62b 12:47:12 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:47:12 ---> Running in 75f2bc1abbb4 12:47:12 Removing intermediate container 75f2bc1abbb4 12:47:12 ---> 9494e3cba6f4 12:47:12 Step 10/24 : COPY . . 12:47:13 ---> 1834083e488e 12:47:13 Step 11/24 : ARG MAKE='make build' 12:47:13 ---> Running in 2085bf2c2ae4 12:47:13 Removing intermediate container 2085bf2c2ae4 12:47:13 ---> 6c5fcd31a4af 12:47:13 Step 12/24 : RUN $MAKE 12:47:13 ---> Running in 4425adcf16e8 12:47:13 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 12:47:35 Removing intermediate container 4425adcf16e8 12:47:35 ---> 1bae7c1be067 12:47:35 Step 13/24 : FROM alpine:3.14 12:47:35 3.14: Pulling from library/alpine 12:47:35 8663204ce13b: Pulling fs layer 12:47:35 8663204ce13b: Verifying Checksum 12:47:35 8663204ce13b: Download complete 12:47:35 8663204ce13b: Pull complete 12:47:35 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:47:35 Status: Downloaded newer image for alpine:3.14 12:47:35 ---> e04c818066af 12:47:35 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 12:47:35 ---> Running in 03987fc7dac5 12:47:35 Removing intermediate container 03987fc7dac5 12:47:35 ---> 2626dc34fa3c 12:47:35 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 12:47:35 ---> Running in 667d3b04ff17 12:47:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:47:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:47:35 (1/6) Installing dumb-init (1.2.5-r1) 12:47:35 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:47:35 (3/6) Installing libsodium (1.0.18-r0) 12:47:35 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:47:35 (5/6) Installing libzmq (4.3.4-r0) 12:47:35 (6/6) Installing zeromq (4.3.4-r0) 12:47:35 Executing busybox-1.33.1-r7.trigger 12:47:35 OK: 8 MiB in 20 packages 12:47:35 Removing intermediate container 667d3b04ff17 12:47:35 ---> b591c74e506f 12:47:35 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 12:47:35 ---> 459d8ee96b80 12:47:35 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 12:47:35 ---> 7eb3012b3141 12:47:35 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 12:47:35 ---> 0d67b3488224 12:47:35 Step 19/24 : EXPOSE 59982 12:47:35 ---> Running in 46803693550c 12:47:35 Removing intermediate container 46803693550c 12:47:35 ---> 09d7a3528a4e 12:47:35 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 12:47:35 ---> Running in 754615b2178c 12:47:36 Removing intermediate container 754615b2178c 12:47:36 ---> a556435b7580 12:47:36 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:47:36 ---> Running in 1efe3a422448 12:47:36 Removing intermediate container 1efe3a422448 12:47:36 ---> 4d47d2a84ba2 12:47:36 Step 22/24 : LABEL arch=amd64 12:47:36 ---> Running in 24a553319fdb 12:47:36 Removing intermediate container 24a553319fdb 12:47:36 ---> 7ade7f5853f6 12:47:36 Step 23/24 : LABEL git_sha=8b7bfd06f10d442433da09be4b1bd94ea6f5832d 12:47:36 ---> Running in 9cc24df7fe8c 12:47:36 Removing intermediate container 9cc24df7fe8c 12:47:36 ---> 102d033612d1 12:47:36 Step 24/24 : LABEL version=2.2.1-dev.6 12:47:36 ---> Running in f97d9aa70714 12:47:36 Removing intermediate container f97d9aa70714 12:47:36 ---> 7028e227d943 12:47:36 [Warning] One or more build-args [ARCH] were not consumed 12:47:36 Successfully built 7028e227d943 12:47:36 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:47:36 provisioning config files... 12:47:36 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1444584312287980743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:47:37 ---> docker-login.sh 12:47:37 nexus3.edgexfoundry.org:10001 12:47:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:47:37 Configure a credential helper to remove this warning. See 12:47:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:47:37 12:47:37 Login Succeeded 12:47:37 nexus3.edgexfoundry.org:10002 12:47:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:47:37 Configure a credential helper to remove this warning. See 12:47:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:47:37 12:47:37 Login Succeeded 12:47:37 nexus3.edgexfoundry.org:10003 12:47:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:47:37 Configure a credential helper to remove this warning. See 12:47:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:47:37 12:47:37 Login Succeeded 12:47:37 nexus3.edgexfoundry.org:10004 12:47:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:47:37 Configure a credential helper to remove this warning. See 12:47:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:47:37 12:47:37 Login Succeeded 12:47:37 docker.io 12:47:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:47:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:47:37 Configure a credential helper to remove this warning. See 12:47:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:47:37 12:47:37 Login Succeeded 12:47:37 ---> docker-login.sh ends [Pipeline] } 12:47:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:47:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:47:37 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 12:47:37 8b7bfd06f10d442433da09be4b1bd94ea6f5832d 12:47:37 latest 12:47:37 2.2.1-dev.6 12:47:37 8b7bfd06f10d442433da09be4b1bd94ea6f5832d-2.2.1-dev.6 12:47:37 main 12:47:37 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:38 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:8b7bfd06f10d442433da09be4b1bd94ea6f5832d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:8b7bfd06f10d442433da09be4b1bd94ea6f5832d 12:47:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 12:47:38 2c85f433f2c8: Preparing 12:47:38 b3459909c90c: Preparing 12:47:38 c54305e58b19: Preparing 12:47:38 1d35d6620a2b: Preparing 12:47:38 b541d28bf3b4: Preparing 12:47:38 b541d28bf3b4: Layer already exists 12:47:38 b3459909c90c: Pushed 12:47:38 2c85f433f2c8: Pushed 12:47:38 1d35d6620a2b: Pushed 12:47:41 c54305e58b19: Pushed 12:47:41 8b7bfd06f10d442433da09be4b1bd94ea6f5832d: digest: sha256:92ea3ff7bd0b59db61a4b4d1e9f93d421d2ff930114701dbf56cffc5cb737bb8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:41 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:42 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 12:47:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 12:47:42 2c85f433f2c8: Preparing 12:47:42 b3459909c90c: Preparing 12:47:42 c54305e58b19: Preparing 12:47:42 1d35d6620a2b: Preparing 12:47:42 b541d28bf3b4: Preparing 12:47:42 1d35d6620a2b: Layer already exists 12:47:42 2c85f433f2c8: Layer already exists 12:47:42 b541d28bf3b4: Layer already exists 12:47:42 c54305e58b19: Layer already exists 12:47:42 b3459909c90c: Layer already exists 12:47:42 latest: digest: sha256:92ea3ff7bd0b59db61a4b4d1e9f93d421d2ff930114701dbf56cffc5cb737bb8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:42 + 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 12:47:42 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.6 12:47:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 12:47:42 2c85f433f2c8: Preparing 12:47:42 b3459909c90c: Preparing 12:47:42 c54305e58b19: Preparing 12:47:42 1d35d6620a2b: Preparing 12:47:42 b541d28bf3b4: Preparing 12:47:42 b541d28bf3b4: Layer already exists 12:47:42 c54305e58b19: Layer already exists 12:47:42 b3459909c90c: Layer already exists 12:47:42 1d35d6620a2b: Layer already exists 12:47:42 2c85f433f2c8: Layer already exists 12:47:42 2.2.1-dev.6: digest: sha256:92ea3ff7bd0b59db61a4b4d1e9f93d421d2ff930114701dbf56cffc5cb737bb8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:42 + 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 12:47:43 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:8b7bfd06f10d442433da09be4b1bd94ea6f5832d-2.2.1-dev.6 12:47:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 12:47:43 2c85f433f2c8: Preparing 12:47:43 b3459909c90c: Preparing 12:47:43 c54305e58b19: Preparing 12:47:43 1d35d6620a2b: Preparing 12:47:43 b541d28bf3b4: Preparing 12:47:43 1d35d6620a2b: Layer already exists 12:47:43 c54305e58b19: Layer already exists 12:47:43 b541d28bf3b4: Layer already exists 12:47:43 2c85f433f2c8: Layer already exists 12:47:43 b3459909c90c: Layer already exists 12:47:43 8b7bfd06f10d442433da09be4b1bd94ea6f5832d-2.2.1-dev.6: digest: sha256:92ea3ff7bd0b59db61a4b4d1e9f93d421d2ff930114701dbf56cffc5cb737bb8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:43 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:44 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 12:47:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 12:47:44 2c85f433f2c8: Preparing 12:47:44 b3459909c90c: Preparing 12:47:44 c54305e58b19: Preparing 12:47:44 1d35d6620a2b: Preparing 12:47:44 b541d28bf3b4: Preparing 12:47:44 2c85f433f2c8: Layer already exists 12:47:44 b541d28bf3b4: Layer already exists 12:47:44 c54305e58b19: Layer already exists 12:47:44 b3459909c90c: Layer already exists 12:47:44 1d35d6620a2b: Layer already exists 12:47:44 main: digest: sha256:92ea3ff7bd0b59db61a4b4d1e9f93d421d2ff930114701dbf56cffc5cb737bb8 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:47:44 ===================================================== [Pipeline] echo 12:47:44 taggedImages: 12:47:44 - nexus3.edgexfoundry.org:10004/device-mqtt:8b7bfd06f10d442433da09be4b1bd94ea6f5832d 12:47:44 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 12:47:44 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.6 12:47:44 - nexus3.edgexfoundry.org:10004/device-mqtt:8b7bfd06f10d442433da09be4b1bd94ea6f5832d-2.2.1-dev.6 12:47:44 - 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 12:47:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:47:44 12:47:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:47:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:47:44 latest: Pulling from edgex-lftools-log-publisher 12:47:44 5eb5b503b376: Pulling fs layer 12:47:44 5c69ac0246d0: Pulling fs layer 12:47:44 ec43610c2a17: Pulling fs layer 12:47:44 3a2ae6a8a46f: Pulling fs layer 12:47:44 33b1e0a273af: Pulling fs layer 12:47:44 5d3b04190fa2: Pulling fs layer 12:47:44 2f39f015ded8: Pulling fs layer 12:47:44 3a2ae6a8a46f: Waiting 12:47:44 33b1e0a273af: Waiting 12:47:44 5d3b04190fa2: Waiting 12:47:44 5c69ac0246d0: Verifying Checksum 12:47:44 5c69ac0246d0: Download complete 12:47:44 3a2ae6a8a46f: Verifying Checksum 12:47:44 ec43610c2a17: Verifying Checksum 12:47:44 ec43610c2a17: Download complete 12:47:44 33b1e0a273af: Verifying Checksum 12:47:44 33b1e0a273af: Download complete 12:47:44 5d3b04190fa2: Verifying Checksum 12:47:44 5d3b04190fa2: Download complete 12:47:45 5eb5b503b376: Verifying Checksum 12:47:45 5eb5b503b376: Download complete 12:47:45 2f39f015ded8: Download complete 12:47:46 5eb5b503b376: Pull complete 12:47:46 5c69ac0246d0: Pull complete 12:47:46 ec43610c2a17: Pull complete 12:47:46 3a2ae6a8a46f: Pull complete 12:47:47 33b1e0a273af: Pull complete 12:47:47 5d3b04190fa2: Pull complete 12:47:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16486 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 12:47:50 Running in /w/workspace/device-mqtt-go/53 [Pipeline] { [Pipeline] checkout 12:47:50 Selected Git installation does not exist. Using Default 12:47:50 The recommended git tool is: NONE 12:47:52 2f39f015ded8: Pull complete 12:47:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:47:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:47:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:47:52 prd-ubuntu20.04-docker-8c-8g-16485 does not seem to be running inside a container 12:47:52 $ 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 12:47:54 $ docker top edca4785e5b93e7f6289b74e46fddfd3ae0947453a2755959273bb786e50420c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:47:55 ---> job-cost.sh 12:47:55 lf-activate-venv: SKIPPING 12:47:55 INFO: No Stack... 12:47:55 INFO: Retrieving Pricing Info for: v3-standard-8 12:47:55 using credential edgex-jenkins-ssh 12:47:55 Cloning the remote Git repository 12:47:55 INFO: Archiving Costs [Pipeline] sh 12:47:56 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 12:47:56 + cut -d, -f6 [Pipeline] lock 12:47:56 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-53-stack-cost] 12:47:56 Resource [jenkins-edgexfoundry-device-mqtt-go-main-53-stack-cost] did not exist. Created. 12:47:56 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:47:56 + echo total: 0.2199999988079071 [Pipeline] stash 12:47:56 Stashed 1 file(s) [Pipeline] } 12:47:56 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-53-stack-cost] [Pipeline] // lock [Pipeline] } 12:47:56 $ docker stop --time=1 edca4785e5b93e7f6289b74e46fddfd3ae0947453a2755959273bb786e50420c 12:47:55 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 12:47:55 > git init /w/workspace/device-mqtt-go/53 # timeout=10 12:47:55 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 12:47:55 > git --version # timeout=10 12:47:55 > git --version # 'git version 2.25.1' 12:47:55 using GIT_SSH to set credentials SSH Credentials for GitHub 12:47:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:47:57 Avoid second fetch 12:47:57 Checking out Revision 8b7bfd06f10d442433da09be4b1bd94ea6f5832d (main) 12:47:57 $ docker rm -f edca4785e5b93e7f6289b74e46fddfd3ae0947453a2755959273bb786e50420c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:47:56 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 12:47:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:47:57 > git config core.sparsecheckout # timeout=10 12:47:57 > git checkout -f 8b7bfd06f10d442433da09be4b1bd94ea6f5832d # timeout=10 12:48:01 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 12:48:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:48:02 % Total % Received % Xferd Average Speed Time Time Time Current 12:48:02 Dload Upload Total Spent Left Speed 12:48:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 83353 0 --:--:-- --:--:-- --:--:-- 83924 [Pipeline] sh 12:48:03 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:48:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:48:03 + sudo tee /etc/docker/daemon.new 12:48:03 { 12:48:03 "registry-mirrors": [ 12:48:03 "https://nexus3.edgexfoundry.org:10001" 12:48:03 ], 12:48:03 "bip": "10.250.0.254/24", 12:48:03 "hosts": [ 12:48:03 "tcp://0.0.0.0:5555", 12:48:03 "unix:///var/run/docker.sock" 12:48:03 ], 12:48:03 "mtu": 1458, 12:48:03 "selinux-enabled": true, 12:48:03 "seccomp-profile": "/etc/docker/seccomp.json" 12:48:03 } [Pipeline] sh 12:48:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:48:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:48:22 provisioning config files... 12:48:22 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/53@tmp/config6933869128720757963tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:48:22 ---> docker-login.sh 12:48:22 nexus3.edgexfoundry.org:10001 12:48:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:48:23 Configure a credential helper to remove this warning. See 12:48:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:48:23 12:48:23 Login Succeeded 12:48:23 nexus3.edgexfoundry.org:10002 12:48:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:48:24 Configure a credential helper to remove this warning. See 12:48:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:48:24 12:48:24 Login Succeeded 12:48:24 nexus3.edgexfoundry.org:10003 12:48:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:48:24 Configure a credential helper to remove this warning. See 12:48:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:48:24 12:48:24 Login Succeeded 12:48:24 nexus3.edgexfoundry.org:10004 12:48:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:48:25 Configure a credential helper to remove this warning. See 12:48:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:48:25 12:48:25 Login Succeeded 12:48:25 docker.io 12:48:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:48:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:48:26 Configure a credential helper to remove this warning. See 12:48:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:48:26 12:48:26 Login Succeeded 12:48:26 ---> docker-login.sh ends [Pipeline] } 12:48:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:48:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:48:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:48:26 ========================================================= 12:48:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:48:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:48:27 + 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 . 12:48:27 Sending build context to Docker daemon 3.108MB 12:48:27 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:48:27 Step 2/12 : FROM ${BASE} AS builder 12:48:27 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:48:27 9b3977197b4f: Pulling fs layer 12:48:27 1a89e8eeedd5: Pulling fs layer 12:48:27 94645a83ff95: Pulling fs layer 12:48:27 e6fb740bc735: Pulling fs layer 12:48:27 3a77bd46dcc9: Pulling fs layer 12:48:27 355e64cbe906: Pulling fs layer 12:48:27 63ab81a10011: Pulling fs layer 12:48:27 555d1d1c4555: Pulling fs layer 12:48:27 7d9057610161: Pulling fs layer 12:48:27 e6fb740bc735: Waiting 12:48:27 3a77bd46dcc9: Waiting 12:48:27 355e64cbe906: Waiting 12:48:27 63ab81a10011: Waiting 12:48:27 555d1d1c4555: Waiting 12:48:27 7d9057610161: Waiting 12:48:27 94645a83ff95: Download complete 12:48:27 1a89e8eeedd5: Verifying Checksum 12:48:27 1a89e8eeedd5: Download complete 12:48:27 3a77bd46dcc9: Verifying Checksum 12:48:27 3a77bd46dcc9: Download complete 12:48:27 355e64cbe906: Download complete 12:48:27 9b3977197b4f: Verifying Checksum 12:48:27 9b3977197b4f: Download complete 12:48:27 63ab81a10011: Verifying Checksum 12:48:27 63ab81a10011: Download complete 12:48:28 9b3977197b4f: Pull complete 12:48:28 7d9057610161: Verifying Checksum 12:48:28 7d9057610161: Download complete 12:48:29 1a89e8eeedd5: Pull complete 12:48:29 94645a83ff95: Pull complete 12:48:29 555d1d1c4555: Verifying Checksum 12:48:29 555d1d1c4555: Download complete 12:48:30 e6fb740bc735: Verifying Checksum 12:48:30 e6fb740bc735: Download complete 12:48:42 e6fb740bc735: Pull complete 12:48:42 3a77bd46dcc9: Pull complete 12:48:43 355e64cbe906: Pull complete 12:48:43 63ab81a10011: Pull complete 12:48:50 555d1d1c4555: Pull complete 12:48:52 7d9057610161: Pull complete 12:48:52 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 12:48:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:48:52 ---> 819e984ddca1 12:48:52 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:48:53 ---> Running in 2a910709e62c 12:48:53 Removing intermediate container 2a910709e62c 12:48:53 ---> d7cb95f15e32 12:48:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:48:53 ---> Running in 415a6711bde0 12:48:54 Removing intermediate container 415a6711bde0 12:48:54 ---> 1e5d1dd7bad4 12:48:54 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:48:54 ---> Running in a0eb01814cb3 12:48:56 Removing intermediate container a0eb01814cb3 12:48:56 ---> 50c38796c79e 12:48:56 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:48:56 ---> Running in 6326fb70d2cb 12:48:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:48:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:48:58 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:48:58 (2/4) Installing libedit (20210910.3.1-r0) 12:48:58 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:48:58 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:48:59 Executing busybox-1.34.1-r3.trigger 12:48:59 OK: 224 MiB in 56 packages 12:49:00 Removing intermediate container 6326fb70d2cb 12:49:00 ---> 8991b3442358 12:49:00 Step 7/12 : WORKDIR /device-mqtt-go 12:49:00 ---> Running in 484059b6f42e 12:49:00 Removing intermediate container 484059b6f42e 12:49:00 ---> c3c1140ce30e 12:49:00 Step 8/12 : COPY go.mod vendor* ./ 12:49:01 ---> c99924f2861d 12:49:01 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:49:01 ---> Running in 084c0b6b7a40 12:49:48 Removing intermediate container 084c0b6b7a40 12:49:48 ---> 178770824407 12:49:48 Step 10/12 : COPY . . 12:49:48 ---> a4279f52be51 12:49:48 Step 11/12 : ARG MAKE='make build' 12:49:48 ---> Running in 6ad32465ae70 12:49:48 Removing intermediate container 6ad32465ae70 12:49:48 ---> 9bb6a4292eb2 12:49:48 Step 12/12 : RUN $MAKE 12:49:48 ---> Running in df91f38d0989 12:49:48 noop 12:49:48 Removing intermediate container df91f38d0989 12:49:48 ---> 7eb741ab99b8 12:49:48 Successfully built 7eb741ab99b8 12:49:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:49:49 + docker inspect -f . ci-base-image-arm64 12:49:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:49:49 prd-ubuntu20.04-docker-arm64-4c-16g-16486 does not seem to be running inside a container 12:49:49 $ 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 12:49:50 $ docker top 586d37e42d35089c2ab910c8b364b0789f3d848840ebbf29d62bd2b780c0e076 -eo pid,comm [Pipeline] { [Pipeline] sh 12:49:51 + go version 12:49:51 go version go1.17.7 linux/arm64 [Pipeline] } 12:49:51 $ docker stop --time=1 586d37e42d35089c2ab910c8b364b0789f3d848840ebbf29d62bd2b780c0e076 12:49:53 $ 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 12:49:53 + docker inspect -f . ci-base-image-arm64 12:49:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:49:54 prd-ubuntu20.04-docker-arm64-4c-16g-16486 does not seem to be running inside a container 12:49:54 $ 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 12:49:55 $ docker top e0300de854d488c03d4e843f6a195407b3cec9c692c1df18e8241fe22170caa7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:49:56 + make test 12:49:56 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:49:58 ? github.com/edgexfoundry/device-mqtt-go [no test files] 12:51:20 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 12:51:20 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.071s coverage: 21.8% of statements 12:51:20 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 12:51:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:51:20 GCO_ENABLED=1 GO111MODULE=on go vet ./... 12:51:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:51:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:51:47 ./bin/test-attribution-txt.sh [Pipeline] echo 12:51:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:51:47 $ docker stop --time=1 e0300de854d488c03d4e843f6a195407b3cec9c692c1df18e8241fe22170caa7 12:51:49 $ docker rm -f e0300de854d488c03d4e843f6a195407b3cec9c692c1df18e8241fe22170caa7 [Pipeline] // withDockerContainer [Pipeline] sh 12:51:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:51:50 Warning: overwriting stash ‘coverage-report’ 12:51:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:51:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:51:51 + ls -al . 12:51:51 total 176 12:51:51 drwxrwxr-x 9 jenkins jenkins 4096 Jun 30 12:51 . 12:51:51 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 12:47 .. 12:51:51 -rw-rw-r-- 1 jenkins jenkins 140 Jun 30 12:47 .dockerignore 12:51:51 drwxrwxr-x 8 jenkins jenkins 4096 Jun 30 12:48 .git 12:51:51 drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 12:47 .github 12:51:51 -rw-rw-r-- 1 jenkins jenkins 329 Jun 30 12:47 .gitignore 12:51:51 -rw-rw-r-- 1 jenkins jenkins 41 Jun 30 12:47 .golangci.yml 12:51:51 -rw-rw-r-- 1 jenkins jenkins 8917 Jun 30 12:47 Attribution.txt 12:51:51 -rw-rw-r-- 1 jenkins jenkins 11365 Jun 30 12:47 CHANGELOG.md 12:51:51 -rw-rw-r-- 1 jenkins jenkins 1930 Jun 30 12:47 Dockerfile 12:51:51 -rw-rw-r-- 1 jenkins jenkins 677 Jun 30 12:47 GOVERNANCE.md 12:51:51 -rw-rw-r-- 1 jenkins jenkins 678 Jun 30 12:47 Jenkinsfile 12:51:51 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 30 12:47 LICENSE 12:51:51 -rw-rw-r-- 1 jenkins jenkins 1930 Jun 30 12:47 Makefile 12:51:51 -rw-rw-r-- 1 jenkins jenkins 620 Jun 30 12:47 OWNERS.md 12:51:51 -rw-rw-r-- 1 jenkins jenkins 2501 Jun 30 12:47 README.md 12:51:51 -rw-rw-r-- 1 jenkins jenkins 11 Jun 30 12:46 VERSION 12:51:51 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 12:47 bin 12:51:51 drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 12:47 cmd 12:51:51 -rw-r--r-- 1 jenkins jenkins 17887 Jun 30 12:51 coverage.out 12:51:51 -rw-rw-r-- 1 jenkins jenkins 3314 Jun 30 12:47 go.mod 12:51:51 -rw-rw-r-- 1 jenkins jenkins 36015 Jun 30 12:47 go.sum 12:51:51 drwxrwxr-x 3 jenkins jenkins 4096 Jun 30 12:47 internal 12:51:51 drwxrwxr-x 2 jenkins jenkins 4096 Jun 30 12:47 mock 12:51:51 drwxrwxr-x 4 jenkins jenkins 4096 Jun 30 12:47 snap 12:51:51 -rw-rw-r-- 1 jenkins jenkins 227 Jun 30 12:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:51:51 + 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 . 12:51:52 Sending build context to Docker daemon 3.126MB 12:51:52 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 12:51:52 Step 2/24 : FROM ${BASE} AS builder 12:51:52 ---> 7eb741ab99b8 12:51:52 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:51:52 ---> Running in 9f7c13b13224 12:51:52 Removing intermediate container 9f7c13b13224 12:51:52 ---> f59e040bcb27 12:51:52 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 12:51:52 ---> Running in 389a273172cc 12:51:52 Removing intermediate container 389a273172cc 12:51:52 ---> d99ae3aa77b5 12:51:52 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:51:53 ---> Running in 720b27083f43 12:51:54 Removing intermediate container 720b27083f43 12:51:54 ---> 3f6f05e49bf2 12:51:54 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:51:54 ---> Running in 60ef7896e7cf 12:51:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:51:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:51:57 OK: 224 MiB in 56 packages 12:51:58 Removing intermediate container 60ef7896e7cf 12:51:58 ---> 74c21460cdb9 12:51:58 Step 7/24 : WORKDIR /device-mqtt-go 12:51:58 ---> Running in 83278ebd9f4e 12:51:58 Removing intermediate container 83278ebd9f4e 12:51:58 ---> 58de0e54a831 12:51:58 Step 8/24 : COPY go.mod vendor* ./ 12:51:59 ---> e69a15f90da9 12:51:59 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:51:59 ---> Running in 60fa04142fb8 12:52:01 Removing intermediate container 60fa04142fb8 12:52:01 ---> 96ed81cde66e 12:52:01 Step 10/24 : COPY . . 12:52:02 ---> 0188b0067056 12:52:02 Step 11/24 : ARG MAKE='make build' 12:52:02 ---> Running in f7bf0e2d5dca 12:52:02 Removing intermediate container f7bf0e2d5dca 12:52:02 ---> df0d8392b030 12:52:02 Step 12/24 : RUN $MAKE 12:52:02 ---> Running in 4d3388a8dc2c 12:52:03 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 12:54:11 Removing intermediate container 4d3388a8dc2c 12:54:11 ---> 0284dd2f2426 12:54:11 Step 13/24 : FROM alpine:3.14 12:54:11 3.14: Pulling from library/alpine 12:54:11 455c02918c45: Pulling fs layer 12:54:11 455c02918c45: Verifying Checksum 12:54:11 455c02918c45: Download complete 12:54:11 455c02918c45: Pull complete 12:54:11 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:54:11 Status: Downloaded newer image for alpine:3.14 12:54:11 ---> ac73e934f311 12:54:11 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 12:54:11 ---> Running in 8cf81a9ab32e 12:54:11 Removing intermediate container 8cf81a9ab32e 12:54:11 ---> 5bf7d7c9429e 12:54:11 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 12:54:11 ---> Running in 2366de2d25aa 12:54:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:54:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:54:11 (1/6) Installing dumb-init (1.2.5-r1) 12:54:11 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:54:11 (3/6) Installing libsodium (1.0.18-r0) 12:54:11 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:54:11 (5/6) Installing libzmq (4.3.4-r0) 12:54:11 (6/6) Installing zeromq (4.3.4-r0) 12:54:11 Executing busybox-1.33.1-r7.trigger 12:54:11 OK: 8 MiB in 20 packages 12:54:11 Removing intermediate container 2366de2d25aa 12:54:11 ---> 6bb6975cba3e 12:54:11 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 12:54:11 ---> 3a1056275cb2 12:54:11 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 12:54:11 ---> 72e369f30d59 12:54:11 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 12:54:11 ---> 663fe6a2490a 12:54:11 Step 19/24 : EXPOSE 59982 12:54:11 ---> Running in ed5c0da9c1c6 12:54:11 Removing intermediate container ed5c0da9c1c6 12:54:11 ---> 583a4a967e63 12:54:11 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 12:54:11 ---> Running in 845d4783fd76 12:54:11 Removing intermediate container 845d4783fd76 12:54:11 ---> 7310a9b31461 12:54:11 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:54:11 ---> Running in f8bbb251db47 12:54:12 Removing intermediate container f8bbb251db47 12:54:12 ---> 05f9dfff8736 12:54:12 Step 22/24 : LABEL arch=arm64 12:54:12 ---> Running in 062e727d9225 12:54:12 Removing intermediate container 062e727d9225 12:54:12 ---> a63dc767f607 12:54:12 Step 23/24 : LABEL git_sha=8b7bfd06f10d442433da09be4b1bd94ea6f5832d 12:54:12 ---> Running in 01cfed2448f4 12:54:13 Removing intermediate container 01cfed2448f4 12:54:13 ---> c4fc337812a4 12:54:13 Step 24/24 : LABEL version=2.2.1-dev.6 12:54:13 ---> Running in 347ef12bfaf8 12:54:13 Removing intermediate container 347ef12bfaf8 12:54:13 ---> 5f3445a86750 12:54:13 [Warning] One or more build-args [ARCH] were not consumed 12:54:13 Successfully built 5f3445a86750 12:54:13 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 12:54:13 provisioning config files... 12:54:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/53@tmp/config8549106860070723130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:54:13 ---> docker-login.sh 12:54:13 nexus3.edgexfoundry.org:10001 12:54:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:54:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:54:14 Configure a credential helper to remove this warning. See 12:54:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:54:14 12:54:14 Login Succeeded 12:54:14 nexus3.edgexfoundry.org:10002 12:54:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:54:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:54:14 Configure a credential helper to remove this warning. See 12:54:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:54:14 12:54:14 Login Succeeded 12:54:14 nexus3.edgexfoundry.org:10003 12:54:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:54:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:54:15 Configure a credential helper to remove this warning. See 12:54:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:54:15 12:54:15 Login Succeeded 12:54:15 nexus3.edgexfoundry.org:10004 12:54:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:54:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:54:15 Configure a credential helper to remove this warning. See 12:54:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:54:15 12:54:15 Login Succeeded 12:54:15 docker.io 12:54:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:54:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:54:16 Configure a credential helper to remove this warning. See 12:54:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:54:16 12:54:16 Login Succeeded 12:54:16 ---> docker-login.sh ends [Pipeline] } 12:54:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:54:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:54:16 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 12:54:16 8b7bfd06f10d442433da09be4b1bd94ea6f5832d 12:54:16 latest 12:54:16 2.2.1-dev.6 12:54:16 8b7bfd06f10d442433da09be4b1bd94ea6f5832d-2.2.1-dev.6 12:54:16 main 12:54:16 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:17 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8b7bfd06f10d442433da09be4b1bd94ea6f5832d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:17 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8b7bfd06f10d442433da09be4b1bd94ea6f5832d 12:54:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 12:54:17 c2e6c8b11b50: Preparing 12:54:17 b43690e361af: Preparing 12:54:17 184386b3ceda: Preparing 12:54:17 f2a10a053dcb: Preparing 12:54:17 f73e7dbfee58: Preparing 12:54:17 f73e7dbfee58: Layer already exists 12:54:17 b43690e361af: Pushed 12:54:17 c2e6c8b11b50: Pushed 12:54:18 f2a10a053dcb: Pushed 12:54:25 184386b3ceda: Pushed 12:54:25 8b7bfd06f10d442433da09be4b1bd94ea6f5832d: digest: sha256:7ea7dd26e6580591431bab1be7f43d883c5a675bbd9e7dc9f3fd925dc0e35716 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:25 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:25 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 12:54:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 12:54:25 c2e6c8b11b50: Preparing 12:54:25 b43690e361af: Preparing 12:54:25 184386b3ceda: Preparing 12:54:25 f2a10a053dcb: Preparing 12:54:25 f73e7dbfee58: Preparing 12:54:25 c2e6c8b11b50: Layer already exists 12:54:25 184386b3ceda: Layer already exists 12:54:25 f2a10a053dcb: Layer already exists 12:54:25 b43690e361af: Layer already exists 12:54:25 f73e7dbfee58: Layer already exists 12:54:25 latest: digest: sha256:7ea7dd26e6580591431bab1be7f43d883c5a675bbd9e7dc9f3fd925dc0e35716 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:26 + 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 12:54:26 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.6 12:54:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 12:54:26 c2e6c8b11b50: Preparing 12:54:26 b43690e361af: Preparing 12:54:26 184386b3ceda: Preparing 12:54:26 f2a10a053dcb: Preparing 12:54:26 f73e7dbfee58: Preparing 12:54:26 f73e7dbfee58: Layer already exists 12:54:26 b43690e361af: Layer already exists 12:54:26 184386b3ceda: Layer already exists 12:54:26 f2a10a053dcb: Layer already exists 12:54:26 c2e6c8b11b50: Layer already exists 12:54:26 2.2.1-dev.6: digest: sha256:7ea7dd26e6580591431bab1be7f43d883c5a675bbd9e7dc9f3fd925dc0e35716 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:27 + 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 12:54:27 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8b7bfd06f10d442433da09be4b1bd94ea6f5832d-2.2.1-dev.6 12:54:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 12:54:27 c2e6c8b11b50: Preparing 12:54:27 b43690e361af: Preparing 12:54:27 184386b3ceda: Preparing 12:54:27 f2a10a053dcb: Preparing 12:54:27 f73e7dbfee58: Preparing 12:54:27 f73e7dbfee58: Layer already exists 12:54:27 f2a10a053dcb: Layer already exists 12:54:27 184386b3ceda: Layer already exists 12:54:27 c2e6c8b11b50: Layer already exists 12:54:27 b43690e361af: Layer already exists 12:54:27 8b7bfd06f10d442433da09be4b1bd94ea6f5832d-2.2.1-dev.6: digest: sha256:7ea7dd26e6580591431bab1be7f43d883c5a675bbd9e7dc9f3fd925dc0e35716 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:28 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:28 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 12:54:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 12:54:28 c2e6c8b11b50: Preparing 12:54:28 b43690e361af: Preparing 12:54:28 184386b3ceda: Preparing 12:54:28 f2a10a053dcb: Preparing 12:54:28 f73e7dbfee58: Preparing 12:54:28 184386b3ceda: Layer already exists 12:54:28 c2e6c8b11b50: Layer already exists 12:54:28 f73e7dbfee58: Layer already exists 12:54:28 f2a10a053dcb: Layer already exists 12:54:28 b43690e361af: Layer already exists 12:54:29 main: digest: sha256:7ea7dd26e6580591431bab1be7f43d883c5a675bbd9e7dc9f3fd925dc0e35716 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 12:54:29 ===================================================== [Pipeline] echo 12:54:29 taggedImages: 12:54:29 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8b7bfd06f10d442433da09be4b1bd94ea6f5832d 12:54:29 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 12:54:29 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.6 12:54:29 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:8b7bfd06f10d442433da09be4b1bd94ea6f5832d-2.2.1-dev.6 12:54:29 - 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 12:54:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:54:29 12:54:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:54:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:54:30 arm64: Pulling from edgex-lftools-log-publisher 12:54:30 8998bd30e6a1: Pulling fs layer 12:54:30 04944245beec: Pulling fs layer 12:54:30 699f458cf7ca: Pulling fs layer 12:54:30 765212b225bb: Pulling fs layer 12:54:30 f23df028b6ca: Pulling fs layer 12:54:30 d65c8cfc05b1: Pulling fs layer 12:54:30 2437ff75d9bd: Pulling fs layer 12:54:30 765212b225bb: Waiting 12:54:30 f23df028b6ca: Waiting 12:54:30 d65c8cfc05b1: Waiting 12:54:30 2437ff75d9bd: Waiting 12:54:30 04944245beec: Verifying Checksum 12:54:30 04944245beec: Download complete 12:54:30 765212b225bb: Verifying Checksum 12:54:30 765212b225bb: Download complete 12:54:30 f23df028b6ca: Verifying Checksum 12:54:30 f23df028b6ca: Download complete 12:54:30 d65c8cfc05b1: Verifying Checksum 12:54:30 d65c8cfc05b1: Download complete 12:54:30 699f458cf7ca: Verifying Checksum 12:54:30 699f458cf7ca: Download complete 12:54:30 8998bd30e6a1: Verifying Checksum 12:54:30 8998bd30e6a1: Download complete 12:54:33 2437ff75d9bd: Verifying Checksum 12:54:33 2437ff75d9bd: Download complete 12:54:35 8998bd30e6a1: Pull complete 12:54:35 04944245beec: Pull complete 12:54:37 699f458cf7ca: Pull complete 12:54:37 765212b225bb: Pull complete 12:54:38 f23df028b6ca: Pull complete 12:54:38 d65c8cfc05b1: Pull complete 12:54:53 2437ff75d9bd: Pull complete 12:54:53 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:54:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:54:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:54:53 prd-ubuntu20.04-docker-arm64-4c-16g-16486 does not seem to be running inside a container 12:54:53 $ 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 12:54:56 $ docker top 0152a42f758c7374c73fd039dd1b9f08bc9613aa943bb0ed97962f03dfbc9f74 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:54:57 ---> job-cost.sh 12:54:57 lf-activate-venv: SKIPPING 12:54:57 INFO: No Stack... 12:54:57 INFO: Retrieving Pricing Info for: v3-standard-4 12:54:58 INFO: Archiving Costs [Pipeline] sh 12:54:59 + cat /w/workspace/device-mqtt-go/53/archives/cost.csv 12:54:59 + cut -d, -f6 [Pipeline] lock 12:54:59 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-53-stack-cost] 12:54:59 Resource [jenkins-edgexfoundry-device-mqtt-go-main-53-stack-cost] did not exist. Created. 12:54:59 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-53-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:54:59 /w/workspace/device-mqtt-go/53@tmp/durable-67612fdf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:55:00 + echo total: 0.10999999940395355 [Pipeline] stash 12:55:00 Warning: overwriting stash ‘stack-cost’ 12:55:00 Stashed 1 file(s) [Pipeline] } 12:55:00 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-53-stack-cost] [Pipeline] // lock [Pipeline] } 12:55:00 $ docker stop --time=1 0152a42f758c7374c73fd039dd1b9f08bc9613aa943bb0ed97962f03dfbc9f74 12:55:02 $ 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 12:55:02 provisioning config files... 12:55:02 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config6069928593513862256tmp [Pipeline] { [Pipeline] sh 12:55:02 + set +x 12:55:02 + curl -s https://codecov.io/bash 12:55:02 + bash -s -- 12:55:02 12:55:02 _____ _ 12:55:02 / ____| | | 12:55:02 | | ___ __| | ___ ___ _____ __ 12:55:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:55:02 | |___| (_) | (_| | __/ (_| (_) \ V / 12:55:02 \_____\___/ \__,_|\___|\___\___/ \_/ 12:55:02 Bash-1.0.6 12:55:02 12:55:02 12:55:02 ==> git version 2.25.1 found 12:55:02 ==> 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 12:55:02 Release-Date: 2020-01-08 12:55:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:55:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:55:02 ==> Jenkins CI detected. 12:55:02 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 12:55:02 project root: . 12:55:02 --> token set from env 12:55:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:55:02 ==> Running gcov in . (disable via -X gcov) 12:55:02 ==> Python coveragepy not found 12:55:02 ==> Searching for coverage reports in: 12:55:02 + . 12:55:02 -> Found 1 reports 12:55:02 ==> Detecting git/mercurial file structure 12:55:02 ==> Reading reports 12:55:02 + ./coverage.out bytes=17887 12:55:02 ==> Appending adjustments 12:55:02 https://docs.codecov.io/docs/fixing-reports 12:55:03 + Found adjustments 12:55:03 ==> Gzipping contents 12:55:03 4.0K /tmp/codecov.cZdqol.gz 12:55:03 ==> Uploading reports 12:55:03 url: https://codecov.io 12:55:03 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= 12:55:03 -> Pinging Codecov 12:55:03 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= 12:55:03 -> Uploading to 12:55:03 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 12:55:03 % Total % Received % Xferd Average Speed Time Time Time Current 12:55:03 Dload Upload Total Spent Left Speed 12:55:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3217 0 0 100 3217 0 13689 --:--:-- --:--:-- --:--:-- 13689 12:55:03 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/8b7bfd06f10d442433da09be4b1bd94ea6f5832d [Pipeline] } 12:55:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 12:55:03 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 12:55:03 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:55:04 12:55:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:55:04 1.410.4: Pulling from edgex-devops/edgex-snyk-go 12:55:04 df9b9388f04a: Pulling fs layer 12:55:04 52dc419b0ee2: Pulling fs layer 12:55:04 25bc292e5bac: Pulling fs layer 12:55:04 114826534d7a: Pulling fs layer 12:55:04 4657fd5d0bcf: Pulling fs layer 12:55:04 6ad1cebc031e: Pulling fs layer 12:55:04 8a3aa393b2d8: Pulling fs layer 12:55:04 6ad1cebc031e: Waiting 12:55:04 114826534d7a: Waiting 12:55:04 4657fd5d0bcf: Waiting 12:55:04 8a3aa393b2d8: Waiting 12:55:04 25bc292e5bac: Verifying Checksum 12:55:04 25bc292e5bac: Download complete 12:55:04 52dc419b0ee2: Download complete 12:55:04 4657fd5d0bcf: Download complete 12:55:04 df9b9388f04a: Download complete 12:55:04 df9b9388f04a: Pull complete 12:55:04 6ad1cebc031e: Verifying Checksum 12:55:04 6ad1cebc031e: Download complete 12:55:04 52dc419b0ee2: Pull complete 12:55:04 25bc292e5bac: Pull complete 12:55:05 114826534d7a: Verifying Checksum 12:55:05 114826534d7a: Download complete 12:55:05 8a3aa393b2d8: Verifying Checksum 12:55:05 8a3aa393b2d8: Download complete 12:55:08 114826534d7a: Pull complete 12:55:08 4657fd5d0bcf: Pull complete 12:55:09 6ad1cebc031e: Pull complete 12:55:12 8a3aa393b2d8: Pull complete 12:55:12 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 12:55:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 12:55:12 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:55:12 prd-ubuntu20.04-docker-8c-8g-16485 does not seem to be running inside a container 12:55:12 $ 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 12:55:14 $ docker top 2e80d5686785bc2e0fbb7364b9a30b80194ae9a872049abba177c2e7ae9b2b2d -eo pid,comm [Pipeline] { [Pipeline] echo 12:55:14 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 12:55:15 + set -o pipefail 12:55:15 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 12:55:20 12:55:20 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 12:55:20 12:55:20 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/bfe860d7-29a1-4daf-b4a8-903d0d09c475 12:55:20 12:55:20 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 12:55:20 12:55:20 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 12:55:20 12:55:20 12:55:20 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 12:55:20 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 12:55:20 $ docker stop --time=1 2e80d5686785bc2e0fbb7364b9a30b80194ae9a872049abba177c2e7ae9b2b2d 12:55:22 $ 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 12:55:23 + git log --format=format:%s -1 8b7bfd06f10d442433da09be4b1bd94ea6f5832d [Pipeline] sh 12:55:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:55:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:55:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:55:24 prd-ubuntu20.04-docker-8c-8g-16485 does not seem to be running inside a container 12:55:24 $ 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 12:55:24 $ docker top c25ee4f4dac5cdef234ea6a302c38b0d042c3eff2d673ae5edf9ad07c025cd55 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:55:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:55:24 [ssh-agent] Looking for ssh-agent implementation... 12:55:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:55:25 $ docker exec c25ee4f4dac5cdef234ea6a302c38b0d042c3eff2d673ae5edf9ad07c025cd55 ssh-agent 12:55:25 SSH_AUTH_SOCK=/tmp/ssh-LztEKuop1IeZ/agent.34 12:55:25 SSH_AGENT_PID=41 12:55:25 Running ssh-add (command line suppressed) 12:55:25 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) 12:55:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:55:25 + git semver tag 12:55:25 2022-06-30 12:55:25,756 [run_tag] DEBUG tag force:False 12:55:25 2022-06-30 12:55:25,756 [check_head_tag] DEBUG check head tag 12:55:25 2022-06-30 12:55:25,757 [execute] INFO git cat-file --batch-check 12:55:25 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=) 12:55:25 2022-06-30 12:55:25,761 [execute] INFO git cat-file --batch 12:55:25 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=) 12:55:25 2022-06-30 12:55:25,773 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 12:55:25 2022-06-30 12:55:25,774 [execute] INFO git tag -a v2.2.1-dev.6 -m v2.2.1-dev.6 12:55:25 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) 12:55:25 2022-06-30 12:55:25,778 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 12:55:25 2.2.1-dev.6 [Pipeline] } 12:55:25 $ docker exec --env ******** --env ******** c25ee4f4dac5cdef234ea6a302c38b0d042c3eff2d673ae5edf9ad07c025cd55 ssh-agent -k 12:55:25 unset SSH_AUTH_SOCK; 12:55:25 unset SSH_AGENT_PID; 12:55:25 echo Agent pid 41 killed; 12:55:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:55:26 + git semver [Pipeline] } 12:55:26 $ docker stop --time=1 c25ee4f4dac5cdef234ea6a302c38b0d042c3eff2d673ae5edf9ad07c025cd55 12:55:27 $ docker rm -f c25ee4f4dac5cdef234ea6a302c38b0d042c3eff2d673ae5edf9ad07c025cd55 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:55:28 12:55:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:55:28 0.23.1-centos7: Pulling from edgex-lftools 12:55:28 ab5ef0e58194: Pulling fs layer 12:55:28 9712f1f96733: Pulling fs layer 12:55:28 63f879dbbcfc: Pulling fs layer 12:55:28 0d9ebad4ef96: Pulling fs layer 12:55:28 e9a5061849ea: Pulling fs layer 12:55:28 d747dcd14b5f: Pulling fs layer 12:55:28 2de7ff778b66: Pulling fs layer 12:55:28 e9a5061849ea: Waiting 12:55:28 d747dcd14b5f: Waiting 12:55:28 2de7ff778b66: Waiting 12:55:28 0d9ebad4ef96: Waiting 12:55:28 9712f1f96733: Download complete 12:55:28 63f879dbbcfc: Verifying Checksum 12:55:28 63f879dbbcfc: Download complete 12:55:29 e9a5061849ea: Verifying Checksum 12:55:29 e9a5061849ea: Download complete 12:55:29 d747dcd14b5f: Verifying Checksum 12:55:29 d747dcd14b5f: Download complete 12:55:29 0d9ebad4ef96: Verifying Checksum 12:55:29 0d9ebad4ef96: Download complete 12:55:29 ab5ef0e58194: Verifying Checksum 12:55:29 ab5ef0e58194: Download complete 12:55:29 2de7ff778b66: Verifying Checksum 12:55:29 2de7ff778b66: Download complete 12:55:32 ab5ef0e58194: Pull complete 12:55:32 9712f1f96733: Pull complete 12:55:32 63f879dbbcfc: Pull complete 12:55:36 0d9ebad4ef96: Pull complete 12:55:36 e9a5061849ea: Pull complete 12:55:36 d747dcd14b5f: Pull complete 12:55:37 2de7ff778b66: Pull complete 12:55:37 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 12:55:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 12:55:37 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:55:37 prd-ubuntu20.04-docker-8c-8g-16485 does not seem to be running inside a container 12:55:37 $ 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 12:55:40 $ docker top 7b39cdcbd8d335d5bad8151499a199dbba5d9581beaa0dc07ffcdcd5ce130996 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 12:55:40 provisioning config files... 12:55:40 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1392003057029840996tmp 12:55:40 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8082030777534212998tmp 12:55:40 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1003593853331865435tmp [Pipeline] { [Pipeline] echo 12:55:40 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 12:55:40 ---> sigul-configuration.sh 12:55:40 gpg: directory `/root/.gnupg' created 12:55:40 gpg: new configuration file `/root/.gnupg/gpg.conf' created 12:55:40 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 12:55:40 gpg: keyring `/root/.gnupg/secring.gpg' created 12:55:40 gpg: keyring `/root/.gnupg/pubring.gpg' created 12:55:40 gpg: CAST5 encrypted data 12:55:40 gpg: encrypted with 1 passphrase 12:55:40 gpg: WARNING: message was not integrity protected [Pipeline] sh 12:55:41 + mkdir /home/jenkins 12:55:41 + mkdir /home/jenkins/sigul [Pipeline] sh 12:55:41 + 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 12:55:41 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 12:55:41 ---> sigul-install.sh 12:55:41 Sigul already installed; skipping installation. [Pipeline] sh 12:55:41 + git tag --list 12:55:41 0.7.1 12:55:41 v1.0.0 12:55:41 v1.1.0 12:55:41 v1.1.1 12:55:41 v1.2.2 12:55:41 v1.3.0 12:55:41 v1.3.1 12:55:41 v2.0.0 12:55:41 v2.1.0 12:55:41 v2.1.1 12:55:41 v2.1.1-dev.1 12:55:41 v2.1.1-dev.2 12:55:41 v2.2.0 12:55:41 v2.2.1-dev.1 12:55:41 v2.2.1-dev.2 12:55:41 v2.2.1-dev.3 12:55:41 v2.2.1-dev.4 12:55:41 v2.2.1-dev.5 12:55:41 v2.2.1-dev.6 [Pipeline] sh 12:55:42 + lftools sign git-tag v2.2.1-dev.6 12:55:42 Signing Git tag with Sigul... 12:55:42 Signing v2.2.1-dev.6 [Pipeline] echo 12:55:43 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 12:55:43 ---> sigul-configuration-cleanup.sh [Pipeline] } 12:55:43 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 12:55:43 $ docker stop --time=1 7b39cdcbd8d335d5bad8151499a199dbba5d9581beaa0dc07ffcdcd5ce130996 12:55:44 $ docker rm -f 7b39cdcbd8d335d5bad8151499a199dbba5d9581beaa0dc07ffcdcd5ce130996 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 12:55:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:55:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:55:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:55:45 prd-ubuntu20.04-docker-8c-8g-16485 does not seem to be running inside a container 12:55:45 $ 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 12:55:45 $ docker top 21f7446b4db5edc66d9d1ba88f0c4d67534be201820da37ca0b61fbc017d1d0b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:55:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:55:46 [ssh-agent] Looking for ssh-agent implementation... 12:55:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:55:46 $ docker exec 21f7446b4db5edc66d9d1ba88f0c4d67534be201820da37ca0b61fbc017d1d0b ssh-agent 12:55:46 SSH_AUTH_SOCK=/tmp/ssh-WlxpBfIijFf5/agent.33 12:55:46 SSH_AGENT_PID=39 12:55:46 Running ssh-add (command line suppressed) 12:55:46 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) 12:55:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:55:46 + git semver bump pre 12:55:47 2022-06-30 12:55:46,946 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 12:55:47 2022-06-30 12:55:46,946 [bump_version] DEBUG bumping version:2.2.1-dev.6 on axis:pre with prefix:dev 12:55:47 2022-06-30 12:55:46,946 [bump_version] DEBUG bumped version:2.2.1-dev.7 12:55:47 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 12:55:47 2022-06-30 12:55:46,946 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 12:55:47 2022-06-30 12:55:46,946 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 12:55:47 2022-06-30 12:55:46,948 [execute] INFO git cat-file --batch-check 12:55:47 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=) 12:55:47 2022-06-30 12:55:46,953 [execute] INFO git cat-file --batch 12:55:47 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=) 12:55:47 2022-06-30 12:55:46,958 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 12:55:47 2.2.1-dev.7 [Pipeline] } 12:55:47 $ docker exec --env ******** --env ******** 21f7446b4db5edc66d9d1ba88f0c4d67534be201820da37ca0b61fbc017d1d0b ssh-agent -k 12:55:47 unset SSH_AUTH_SOCK; 12:55:47 unset SSH_AGENT_PID; 12:55:47 echo Agent pid 39 killed; 12:55:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:55:47 + git semver [Pipeline] } 12:55:47 $ docker stop --time=1 21f7446b4db5edc66d9d1ba88f0c4d67534be201820da37ca0b61fbc017d1d0b 12:55:49 $ docker rm -f 21f7446b4db5edc66d9d1ba88f0c4d67534be201820da37ca0b61fbc017d1d0b [Pipeline] // withDockerContainer [Pipeline] sh 12:55:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:55:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:55:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:55:49 prd-ubuntu20.04-docker-8c-8g-16485 does not seem to be running inside a container 12:55:49 $ 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 12:55:50 $ docker top 50b92877667f3dc1415fa10790a8d030d1b41832f423c0f9e0139be2432cbdfe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:55:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:55:50 [ssh-agent] Looking for ssh-agent implementation... 12:55:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:55:50 $ docker exec 50b92877667f3dc1415fa10790a8d030d1b41832f423c0f9e0139be2432cbdfe ssh-agent 12:55:50 SSH_AUTH_SOCK=/tmp/ssh-7bgbRrF143eg/agent.32 12:55:50 SSH_AGENT_PID=39 12:55:50 Running ssh-add (command line suppressed) 12:55:50 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) 12:55:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:55:51 + git semver push 12:55:51 2022-06-30 12:55:51,372 [run_push] DEBUG push 12:55:51 2022-06-30 12:55:51,373 [execute] INFO git cat-file --batch-check 12:55:51 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=) 12:55:51 2022-06-30 12:55:51,376 [execute] INFO git rev-list 18e56f25eed6abd439dcd5a9b76e54f5b974d536 -- 12:55:51 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) 12:55:51 2022-06-30 12:55:51,382 [execute] INFO git fetch -v origin 12:55:51 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) 12:55:52 2022-06-30 12:55:51,850 [run_push] DEBUG no remote changes detected 12:55:52 2022-06-30 12:55:51,850 [execute] INFO git push origin semver 12:55:52 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) 12:55:52 2022-06-30 12:55:52,555 [run_push] DEBUG push all version tags 12:55:52 2022-06-30 12:55:52,555 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 12:55:52 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) 12:55:53 2022-06-30 12:55:53,281 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 12:55:53 2.2.1-dev.7 [Pipeline] } 12:55:53 $ docker exec --env ******** --env ******** 50b92877667f3dc1415fa10790a8d030d1b41832f423c0f9e0139be2432cbdfe ssh-agent -k 12:55:53 unset SSH_AUTH_SOCK; 12:55:53 unset SSH_AGENT_PID; 12:55:53 echo Agent pid 39 killed; 12:55:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:55:53 + git semver [Pipeline] } 12:55:54 $ docker stop --time=1 50b92877667f3dc1415fa10790a8d030d1b41832f423c0f9e0139be2432cbdfe 12:55:55 $ 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 12:55:56 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 12:55:56 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 12:55:56 total 16 12:55:56 drwxr-xr-x 3 root root 4096 Jun 30 12:47 . 12:55:56 drwxrwxr-x 11 jenkins jenkins 4096 Jun 30 12:55 .. 12:55:56 drwxr-xr-x 2 root root 4096 Jun 30 12:47 cost 12:55:56 -rw-r--r-- 1 root root 84 Jun 30 12:47 cost.csv 12:55:56 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 12:55:56 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 12:55:56 total 16 12:55:56 drwxr-xr-x 3 jenkins jenkins 4096 Jun 30 12:47 . 12:55:56 drwxrwxr-x 11 jenkins jenkins 4096 Jun 30 12:55 .. 12:55:56 drwxr-xr-x 2 jenkins jenkins 4096 Jun 30 12:47 cost 12:55:56 -rw-r--r-- 1 jenkins jenkins 84 Jun 30 12:47 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:55:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:55:57 ---> package-listing.sh 12:55:57 ++ facter osfamily 12:55:57 ++ tr '[:upper:]' '[:lower:]' 12:55:57 + OS_FAMILY=debian 12:55:57 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 12:55:57 + START_PACKAGES=/tmp/packages_start.txt 12:55:57 + END_PACKAGES=/tmp/packages_end.txt 12:55:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:55:57 + PACKAGES=/tmp/packages_start.txt 12:55:57 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 12:55:57 + PACKAGES=/tmp/packages_end.txt 12:55:57 + case "${OS_FAMILY}" in 12:55:57 + dpkg -l 12:55:57 + grep '^ii' 12:55:57 + '[' -f /tmp/packages_start.txt ']' 12:55:57 + '[' -f /tmp/packages_end.txt ']' 12:55:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:55:57 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 12:55:57 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 12:55:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 12:55:57 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 12:55:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:55:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:55:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:55:58 prd-ubuntu20.04-docker-8c-8g-16485 does not seem to be running inside a container 12:55:58 $ 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 12:55:58 $ docker top a30aaf511c026280b977b4bd16f1c043ced0084eb69f2d6e1d61eaebfeec2e4d -eo pid,comm [Pipeline] { [Pipeline] sh 12:55:59 + touch /tmp/pre-build-complete [Pipeline] sh 12:55:59 + mkdir -p /var/log/sysstat [Pipeline] sh 12:55:59 + ls /var/log/sa-host 12:55:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:55:59 provisioning config files... 12:55:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config752286402186779521tmp [Pipeline] { [Pipeline] echo 12:55:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:56:00 ---> create-netrc.sh [Pipeline] } 12:56:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:56:00 ---> python-tools-install.sh [Pipeline] echo 12:56:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:56:00 ---> sudo-logs.sh 12:56:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:56:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:56:01 ---> job-cost.sh 12:56:01 lf-activate-venv: SKIPPING 12:56:01 DEBUG: total: 0.2199999988079071 12:56:01 INFO: Retrieving Stack Cost... 12:56:01 INFO: Retrieving Pricing Info for: v3-standard-8 12:56:02 INFO: Archiving Costs [Pipeline] echo 12:56:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:56:02 ---> logs-deploy.sh 12:56:02 lf-activate-venv: SKIPPING 12:56:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/53 12:56:02 INFO: archiving workspace using pattern(s): 12:56:03 Archives upload complete. 12:56:03 INFO: archiving logs to Nexus