Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from af7f42834155496da65d108934e36d5a2fb2bcc1 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-ssh249569601242232696.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-ssh5036730726682236226.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-ssh3521469287565487698.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-ssh7218250667920436184.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-ssh8073285072792074159.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 Running on prd-ubuntu20.04-docker-8c-8g-16045 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 af7f42834155496da65d108934e36d5a2fb2bcc1 (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 af7f42834155496da65d108934e36d5a2fb2bcc1 # timeout=10 Commit message: "Merge pull request #394 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.10" > git rev-list --no-walk 06aa87a3e3cc30bf26cbce60c6b0cb1c7a3df36b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:48:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:48:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:48:22 ========================================================= 02:48:22 EdgeX Global Pipelines Version Info 02:48:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:48:23 ------------------- 02:48:23 stable info: 02:48:23 ------------------- 02:48:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:48:23 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 02:48:23 Message: update stable to v1.0.234 02:48:23 ------------------- 02:48:23 experimental info: 02:48:23 ------------------- 02:48:23 Commited By: **** collab-it+edgex@linuxfoundation.org 02:48:23 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 02:48:23 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = af7f42834155496da65d108934e36d5a2fb2bcc1 [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = af7f428 [Pipeline] echo 02:48:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:48:24 provisioning config files... 02:48:24 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config4081296158595071802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:48:24 ---> docker-login.sh 02:48:24 nexus3.edgexfoundry.org:10001 02:48:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:25 Configure a credential helper to remove this warning. See 02:48:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:25 02:48:25 Login Succeeded 02:48:25 nexus3.edgexfoundry.org:10002 02:48:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:25 Configure a credential helper to remove this warning. See 02:48:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:25 02:48:25 Login Succeeded 02:48:25 nexus3.edgexfoundry.org:10003 02:48:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:25 Configure a credential helper to remove this warning. See 02:48:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:25 02:48:25 Login Succeeded 02:48:25 nexus3.edgexfoundry.org:10004 02:48:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:25 Configure a credential helper to remove this warning. See 02:48:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:25 02:48:25 Login Succeeded 02:48:25 docker.io 02:48:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:26 Configure a credential helper to remove this warning. See 02:48:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:26 02:48:26 Login Succeeded 02:48:26 ---> docker-login.sh ends [Pipeline] } 02:48:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:48:26 + git rev-list -1 --merges af7f42834155496da65d108934e36d5a2fb2bcc1~1..af7f42834155496da65d108934e36d5a2fb2bcc1 [Pipeline] echo 02:48:26 -----------> git rev-list -1 --merges af7f42834155496da65d108934e36d5a2fb2bcc1~1..af7f42834155496da65d108934e36d5a2fb2bcc1 af7f42834155496da65d108934e36d5a2fb2bcc1 02:48:26 af7f42834155496da65d108934e36d5a2fb2bcc1 [false] [Pipeline] sh 02:48:26 + git log --format=format:%s -1 af7f42834155496da65d108934e36d5a2fb2bcc1 [Pipeline] echo 02:48:26 ========================================================= 02:48:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:48:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:48:27 + git log --format=format:%s -1 af7f42834155496da65d108934e36d5a2fb2bcc1 [Pipeline] echo 02:48:27 [semverPrep] GIT_COMMIT: af7f42834155496da65d108934e36d5a2fb2bcc1, Commit Message: Merge pull request #394 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.10 [Pipeline] echo 02:48:27 [semverPrep] This is not a build commit. [Pipeline] sh 02:48:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:48:27 + grep -v github /etc/ssh/ssh_known_hosts 02:48:27 + [ -e /tmp/ssh_known_hosts ] 02:48:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:48:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:48:27 + sudo tee -a /etc/ssh/ssh_known_hosts 02:48:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:48:28 02:48:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:48:28 0.1.4: Pulling from edgex-devops/py-git-semver 02:48:28 42c077c10790: Pulling fs layer 02:48:28 f63e77b7563a: Pulling fs layer 02:48:28 bd5fdadae976: Pulling fs layer 02:48:28 205491f53016: Pulling fs layer 02:48:28 df18705c85c3: Pulling fs layer 02:48:28 bdb3f477010e: Pulling fs layer 02:48:28 c8a8fc8e1c8f: Pulling fs layer 02:48:28 2c6e9b1d212d: Pulling fs layer 02:48:28 bdb8f0575790: Pulling fs layer 02:48:28 205491f53016: Waiting 02:48:28 df18705c85c3: Waiting 02:48:28 386e3cb2ff24: Pulling fs layer 02:48:28 bdb3f477010e: Waiting 02:48:28 c8a8fc8e1c8f: Waiting 02:48:28 bdb8f0575790: Waiting 02:48:28 2c6e9b1d212d: Waiting 02:48:28 2343380bae48: Pulling fs layer 02:48:28 386e3cb2ff24: Waiting 02:48:28 2343380bae48: Waiting 02:48:28 f63e77b7563a: Verifying Checksum 02:48:28 f63e77b7563a: Download complete 02:48:28 205491f53016: Download complete 02:48:28 df18705c85c3: Verifying Checksum 02:48:28 df18705c85c3: Download complete 02:48:28 bdb3f477010e: Verifying Checksum 02:48:28 bdb3f477010e: Download complete 02:48:28 bd5fdadae976: Verifying Checksum 02:48:28 bd5fdadae976: Download complete 02:48:28 2c6e9b1d212d: Download complete 02:48:28 bdb8f0575790: Verifying Checksum 02:48:28 bdb8f0575790: Download complete 02:48:28 386e3cb2ff24: Download complete 02:48:28 2343380bae48: Verifying Checksum 02:48:28 2343380bae48: Download complete 02:48:28 42c077c10790: Download complete 02:48:28 c8a8fc8e1c8f: Verifying Checksum 02:48:28 c8a8fc8e1c8f: Download complete 02:48:29 42c077c10790: Pull complete 02:48:30 f63e77b7563a: Pull complete 02:48:30 bd5fdadae976: Pull complete 02:48:30 205491f53016: Pull complete 02:48:30 df18705c85c3: Pull complete 02:48:30 bdb3f477010e: Pull complete 02:48:33 c8a8fc8e1c8f: Pull complete 02:48:33 2c6e9b1d212d: Pull complete 02:48:33 bdb8f0575790: Pull complete 02:48:33 386e3cb2ff24: Pull complete 02:48:33 2343380bae48: Pull complete 02:48:33 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 02:48:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:48:33 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:48:33 prd-ubuntu20.04-docker-8c-8g-16045 does not seem to be running inside a container 02:48:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:48:35 $ docker top ecd64f1a57494639589547a01a18870d3f6d28ff124b73a8363c03eac64c3072 -eo pid,comm 02:48:35 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). 02:48:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:48:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:48:35 [ssh-agent] Looking for ssh-agent implementation... 02:48:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:48:35 $ docker exec ecd64f1a57494639589547a01a18870d3f6d28ff124b73a8363c03eac64c3072 ssh-agent 02:48:35 SSH_AUTH_SOCK=/tmp/ssh-2XTCHVFieGsk/agent.33 02:48:35 SSH_AGENT_PID=39 02:48:35 Running ssh-add (command line suppressed) 02:48:35 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_510448832840589699.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_510448832840589699.key) 02:48:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:48:35 + git tag --points-at HEAD [Pipeline] } 02:48:35 $ docker exec --env ******** --env ******** ecd64f1a57494639589547a01a18870d3f6d28ff124b73a8363c03eac64c3072 ssh-agent -k 02:48:36 unset SSH_AUTH_SOCK; 02:48:36 unset SSH_AGENT_PID; 02:48:36 echo Agent pid 39 killed; 02:48:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:48:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:48:36 [ssh-agent] Looking for ssh-agent implementation... 02:48:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:48:36 $ docker exec ecd64f1a57494639589547a01a18870d3f6d28ff124b73a8363c03eac64c3072 ssh-agent 02:48:36 SSH_AUTH_SOCK=/tmp/ssh-pgIhUw1Bl0uH/agent.73 02:48:36 SSH_AGENT_PID=79 02:48:36 Running ssh-add (command line suppressed) 02:48:36 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1501429463062202439.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1501429463062202439.key) 02:48:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:48:36 + git semver init 02:48:37 2022-06-27 02:48:37,009 [run_init] DEBUG init version:0.0.0 force:False 02:48:37 2022-06-27 02:48:37,010 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:48:37 2022-06-27 02:48:37,010 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 02:48:37 2022-06-27 02:48:37,011 [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) 02:48:37 2022-06-27 02:48:37,722 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 02:48:37 2022-06-27 02:48:37,722 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 02:48:37 2022-06-27 02:48:37,722 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:48:37 2022-06-27 02:48:37,722 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:48:37 2.2.1-dev.4 [Pipeline] } 02:48:38 $ docker exec --env ******** --env ******** ecd64f1a57494639589547a01a18870d3f6d28ff124b73a8363c03eac64c3072 ssh-agent -k 02:48:38 unset SSH_AUTH_SOCK; 02:48:38 unset SSH_AGENT_PID; 02:48:38 echo Agent pid 79 killed; 02:48:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:48:38 + git semver [Pipeline] } 02:48:38 $ docker stop --time=1 ecd64f1a57494639589547a01a18870d3f6d28ff124b73a8363c03eac64c3072 02:48:40 $ docker rm -f ecd64f1a57494639589547a01a18870d3f6d28ff124b73a8363c03eac64c3072 [Pipeline] // withDockerContainer [Pipeline] sh 02:48:40 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:48:40 Stashed 1 file(s) [Pipeline] echo 02:48:40 [edgeXSemver]: initialized semver on version 2.2.1-dev.4 [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 02:48:40 provisioning config files... 02:48:40 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config808084701754147927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:48:41 ---> docker-login.sh 02:48:41 nexus3.edgexfoundry.org:10001 02:48:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:41 Configure a credential helper to remove this warning. See 02:48:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:41 02:48:41 Login Succeeded 02:48:41 nexus3.edgexfoundry.org:10002 02:48:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:41 Configure a credential helper to remove this warning. See 02:48:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:41 02:48:41 Login Succeeded 02:48:41 nexus3.edgexfoundry.org:10003 02:48:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:41 Configure a credential helper to remove this warning. See 02:48:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:41 02:48:41 Login Succeeded 02:48:41 nexus3.edgexfoundry.org:10004 02:48:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:41 Configure a credential helper to remove this warning. See 02:48:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:41 02:48:41 Login Succeeded 02:48:41 docker.io 02:48:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:48:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:48:41 Configure a credential helper to remove this warning. See 02:48:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:48:41 02:48:41 Login Succeeded 02:48:41 ---> docker-login.sh ends [Pipeline] } 02:48:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:48:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:48:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:48:42 ========================================================= 02:48:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:48:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:42 + 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 . 02:48:42 Sending build context to Docker daemon 5.992MB 02:48:42 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 02:48:42 Step 2/12 : FROM ${BASE} AS builder 02:48:42 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:48:42 59bf1c3509f3: Pulling fs layer 02:48:42 666ba61612fd: Pulling fs layer 02:48:42 8ed8ca486205: Pulling fs layer 02:48:42 cc1cd167ecdc: Pulling fs layer 02:48:42 c516ae0d96e1: Pulling fs layer 02:48:42 684cea983483: Pulling fs layer 02:48:42 dd3240ac7de5: Pulling fs layer 02:48:42 b1e948a4e11c: Pulling fs layer 02:48:42 a8fd76ee1af6: Pulling fs layer 02:48:42 646ad004c059: Pulling fs layer 02:48:42 cc1cd167ecdc: Waiting 02:48:42 a8fd76ee1af6: Waiting 02:48:42 dd3240ac7de5: Waiting 02:48:42 646ad004c059: Waiting 02:48:42 684cea983483: Waiting 02:48:42 c516ae0d96e1: Waiting 02:48:42 8ed8ca486205: Verifying Checksum 02:48:42 8ed8ca486205: Download complete 02:48:42 666ba61612fd: Verifying Checksum 02:48:42 666ba61612fd: Download complete 02:48:42 c516ae0d96e1: Verifying Checksum 02:48:42 c516ae0d96e1: Download complete 02:48:42 684cea983483: Verifying Checksum 02:48:42 684cea983483: Download complete 02:48:42 59bf1c3509f3: Verifying Checksum 02:48:42 59bf1c3509f3: Download complete 02:48:42 dd3240ac7de5: Download complete 02:48:42 b1e948a4e11c: Verifying Checksum 02:48:42 b1e948a4e11c: Download complete 02:48:42 59bf1c3509f3: Pull complete 02:48:42 666ba61612fd: Pull complete 02:48:42 8ed8ca486205: Pull complete 02:48:43 646ad004c059: Verifying Checksum 02:48:43 646ad004c059: Download complete 02:48:43 a8fd76ee1af6: Verifying Checksum 02:48:43 a8fd76ee1af6: Download complete 02:48:43 cc1cd167ecdc: Verifying Checksum 02:48:43 cc1cd167ecdc: Download complete 02:48:47 cc1cd167ecdc: Pull complete 02:48:47 c516ae0d96e1: Pull complete 02:48:47 684cea983483: Pull complete 02:48:47 dd3240ac7de5: Pull complete 02:48:47 b1e948a4e11c: Pull complete 02:48:49 a8fd76ee1af6: Pull complete 02:48:50 646ad004c059: Pull complete 02:48:50 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 02:48:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:48:50 ---> 8f69c11f6b0c 02:48:50 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:48:53 ---> Running in ec47923fe120 02:48:53 Removing intermediate container ec47923fe120 02:48:53 ---> b328df5ff1f9 02:48:53 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:48:53 ---> Running in 9207ca27ab38 02:48:53 Removing intermediate container 9207ca27ab38 02:48:53 ---> 4c99989451d5 02:48:53 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:53 ---> Running in 568d6a7ef457 02:48:53 Removing intermediate container 568d6a7ef457 02:48:53 ---> a1c18ebbca1a 02:48:53 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:48:53 ---> Running in ec7f0bdd7d19 02:48:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:48:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:48:55 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:48:55 (2/4) Installing libedit (20210910.3.1-r0) 02:48:55 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:48:55 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:48:55 Executing busybox-1.34.1-r3.trigger 02:48:55 OK: 224 MiB in 56 packages 02:48:55 Still waiting to schedule task 02:48:55 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 02:48:56 Removing intermediate container ec7f0bdd7d19 02:48:56 ---> 6fea919b4d16 02:48:56 Step 7/12 : WORKDIR /device-mqtt-go 02:48:56 ---> Running in e4f38d324155 02:48:56 Removing intermediate container e4f38d324155 02:48:56 ---> e07290c34f5f 02:48:56 Step 8/12 : COPY go.mod vendor* ./ 02:48:56 ---> 40c4b065e440 02:48:56 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:48:57 ---> Running in bc8abb3b9fc7 02:49:15 Removing intermediate container bc8abb3b9fc7 02:49:15 ---> 8daab479edc2 02:49:15 Step 10/12 : COPY . . 02:49:15 ---> 2a357bab948e 02:49:15 Step 11/12 : ARG MAKE='make build' 02:49:15 ---> Running in 45e5da44d0bc 02:49:15 Removing intermediate container 45e5da44d0bc 02:49:15 ---> 61963600a9e0 02:49:15 Step 12/12 : RUN $MAKE 02:49:15 ---> Running in 088e085171ca 02:49:15 noop 02:49:16 Removing intermediate container 088e085171ca 02:49:16 ---> e395469cc218 02:49:16 Successfully built e395469cc218 02:49:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:16 + docker inspect -f . ci-base-image-x86_64 02:49:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:49:16 prd-ubuntu20.04-docker-8c-8g-16045 does not seem to be running inside a container 02:49:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:49:17 $ docker top da34ed74aa1091b74f94ec7ffea2c6aa5b96ef3cdd1889f985b83376a72b2c9b -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:17 + go version 02:49:17 go version go1.17.7 linux/amd64 [Pipeline] } 02:49:17 $ docker stop --time=1 da34ed74aa1091b74f94ec7ffea2c6aa5b96ef3cdd1889f985b83376a72b2c9b 02:49:18 $ docker rm -f da34ed74aa1091b74f94ec7ffea2c6aa5b96ef3cdd1889f985b83376a72b2c9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:19 + docker inspect -f . ci-base-image-x86_64 02:49:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:49:19 prd-ubuntu20.04-docker-8c-8g-16045 does not seem to be running inside a container 02:49:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:49:19 $ docker top 6d1e73f5fefb1fe455cf03e49656ce540b7fba25608fb93bef76181c2a043f15 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:49:20 + make test 02:49:20 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:49:20 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:49:32 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:49:32 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements 02:49:32 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:49:39 GCO_ENABLED=1 GO111MODULE=on go vet ./... 02:49:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:49:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:49:42 ./bin/test-attribution-txt.sh [Pipeline] echo 02:49:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:49:43 $ docker stop --time=1 6d1e73f5fefb1fe455cf03e49656ce540b7fba25608fb93bef76181c2a043f15 02:49:45 $ docker rm -f 6d1e73f5fefb1fe455cf03e49656ce540b7fba25608fb93bef76181c2a043f15 [Pipeline] // withDockerContainer [Pipeline] sh 02:49:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:49:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:49:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:49:46 + ls -al . 02:49:46 total 180 02:49:46 drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 02:49 . 02:49:46 drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 02:48 .. 02:49:46 -rw-rw-r-- 1 jenkins jenkins 140 Jun 27 02:48 .dockerignore 02:49:46 drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 02:48 .git 02:49:46 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:48 .github 02:49:46 -rw-rw-r-- 1 jenkins jenkins 329 Jun 27 02:48 .gitignore 02:49:46 -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 02:48 .golangci.yml 02:49:46 drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 02:48 .semver 02:49:46 -rw-rw-r-- 1 jenkins jenkins 8917 Jun 27 02:48 Attribution.txt 02:49:46 -rw-rw-r-- 1 jenkins jenkins 11365 Jun 27 02:48 CHANGELOG.md 02:49:46 -rw-rw-r-- 1 jenkins jenkins 1930 Jun 27 02:48 Dockerfile 02:49:46 -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 02:48 GOVERNANCE.md 02:49:46 -rw-rw-r-- 1 jenkins jenkins 678 Jun 27 02:48 Jenkinsfile 02:49:46 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 02:48 LICENSE 02:49:46 -rw-rw-r-- 1 jenkins jenkins 1930 Jun 27 02:48 Makefile 02:49:46 -rw-rw-r-- 1 jenkins jenkins 620 Jun 27 02:48 OWNERS.md 02:49:46 -rw-rw-r-- 1 jenkins jenkins 2501 Jun 27 02:48 README.md 02:49:46 -rw-rw-r-- 1 jenkins jenkins 11 Jun 27 02:48 VERSION 02:49:46 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 02:48 bin 02:49:46 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:48 cmd 02:49:46 -rw-r--r-- 1 jenkins jenkins 17887 Jun 27 02:49 coverage.out 02:49:46 -rw-rw-r-- 1 jenkins jenkins 3314 Jun 27 02:48 go.mod 02:49:46 -rw-rw-r-- 1 jenkins jenkins 36015 Jun 27 02:48 go.sum 02:49:46 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:48 internal 02:49:46 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 02:48 mock 02:49:46 drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 02:48 snap 02:49:46 -rw-rw-r-- 1 jenkins jenkins 227 Jun 27 02:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:49:46 + 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=af7f42834155496da65d108934e36d5a2fb2bcc1 --label arch=amd64 --label version=2.2.1-dev.4 . 02:49:46 Sending build context to Docker daemon 6.011MB 02:49:46 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 02:49:46 Step 2/24 : FROM ${BASE} AS builder 02:49:46 ---> e395469cc218 02:49:46 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:49:46 ---> Running in e94ce87af04e 02:49:46 Removing intermediate container e94ce87af04e 02:49:46 ---> 64b6099d8a41 02:49:46 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 02:49:46 ---> Running in 0a0d0d00518f 02:49:46 Removing intermediate container 0a0d0d00518f 02:49:46 ---> 3a987af9155f 02:49:46 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:49:47 ---> Running in d45942ecb4cc 02:49:47 Removing intermediate container d45942ecb4cc 02:49:47 ---> 59265f7fb266 02:49:47 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:49:47 ---> Running in a8001443dc92 02:49:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:49:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:49:49 OK: 224 MiB in 56 packages 02:49:49 Removing intermediate container a8001443dc92 02:49:49 ---> 2b044c28f9c8 02:49:49 Step 7/24 : WORKDIR /device-mqtt-go 02:49:49 ---> Running in 230d68110c76 02:49:49 Removing intermediate container 230d68110c76 02:49:49 ---> 102a8b93b013 02:49:49 Step 8/24 : COPY go.mod vendor* ./ 02:49:49 ---> 95ccd6c12528 02:49:49 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:49:49 ---> Running in f3a76e3e9312 02:49:50 Removing intermediate container f3a76e3e9312 02:49:50 ---> 5d8d17b8840a 02:49:50 Step 10/24 : COPY . . 02:49:50 ---> d23dfc542456 02:49:50 Step 11/24 : ARG MAKE='make build' 02:49:50 ---> Running in af9ada9899f2 02:49:51 Removing intermediate container af9ada9899f2 02:49:51 ---> cb5dee22b43b 02:49:51 Step 12/24 : RUN $MAKE 02:49:51 ---> Running in d387502e6375 02:49:51 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.1-dev.4" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 02:50:13 Removing intermediate container d387502e6375 02:50:13 ---> de182292f015 02:50:13 Step 13/24 : FROM alpine:3.14 02:50:13 3.14: Pulling from library/alpine 02:50:13 8663204ce13b: Pulling fs layer 02:50:13 8663204ce13b: Verifying Checksum 02:50:13 8663204ce13b: Download complete 02:50:14 8663204ce13b: Pull complete 02:50:14 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:50:14 Status: Downloaded newer image for alpine:3.14 02:50:14 ---> e04c818066af 02:50:14 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:50:14 ---> Running in edd0296e0a76 02:50:14 Removing intermediate container edd0296e0a76 02:50:14 ---> 7b665b41b2e8 02:50:14 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 02:50:14 ---> Running in 4270f745392e 02:50:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 02:50:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 02:50:15 (1/6) Installing dumb-init (1.2.5-r1) 02:50:15 (2/6) Installing libgcc (10.3.1_git20210424-r2) 02:50:15 (3/6) Installing libsodium (1.0.18-r0) 02:50:15 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 02:50:15 (5/6) Installing libzmq (4.3.4-r0) 02:50:15 (6/6) Installing zeromq (4.3.4-r0) 02:50:15 Executing busybox-1.33.1-r7.trigger 02:50:15 OK: 8 MiB in 20 packages 02:50:15 Removing intermediate container 4270f745392e 02:50:15 ---> a543821d70af 02:50:15 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:50:16 ---> 368c4a8aff42 02:50:16 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:50:16 ---> 828fcb28d507 02:50:16 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:50:16 ---> 36285669386b 02:50:16 Step 19/24 : EXPOSE 59982 02:50:16 ---> Running in 7edd8d0a0877 02:50:16 Removing intermediate container 7edd8d0a0877 02:50:16 ---> c84fefa79de9 02:50:16 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:50:16 ---> Running in c1e614e3a2a8 02:50:16 Removing intermediate container c1e614e3a2a8 02:50:16 ---> fa1dbafb8063 02:50:16 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:50:16 ---> Running in d6dcdeecf270 02:50:16 Removing intermediate container d6dcdeecf270 02:50:16 ---> 788e093458ad 02:50:16 Step 22/24 : LABEL arch=amd64 02:50:16 ---> Running in b84296b4813f 02:50:17 Removing intermediate container b84296b4813f 02:50:17 ---> c264e350bc33 02:50:17 Step 23/24 : LABEL git_sha=af7f42834155496da65d108934e36d5a2fb2bcc1 02:50:17 ---> Running in 5bdba6e2c213 02:50:17 Removing intermediate container 5bdba6e2c213 02:50:17 ---> f2d35365f241 02:50:17 Step 24/24 : LABEL version=2.2.1-dev.4 02:50:17 ---> Running in 503160aefe9f 02:50:17 Removing intermediate container 503160aefe9f 02:50:17 ---> 303229184701 02:50:17 [Warning] One or more build-args [ARCH] were not consumed 02:50:17 Successfully built 303229184701 02:50:17 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:50:17 provisioning config files... 02:50:17 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1999774950274583427tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:50:17 ---> docker-login.sh 02:50:17 nexus3.edgexfoundry.org:10001 02:50:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:17 Configure a credential helper to remove this warning. See 02:50:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:17 02:50:17 Login Succeeded 02:50:17 nexus3.edgexfoundry.org:10002 02:50:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:18 Configure a credential helper to remove this warning. See 02:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:18 02:50:18 Login Succeeded 02:50:18 nexus3.edgexfoundry.org:10003 02:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:18 Configure a credential helper to remove this warning. See 02:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:18 02:50:18 Login Succeeded 02:50:18 nexus3.edgexfoundry.org:10004 02:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:18 Configure a credential helper to remove this warning. See 02:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:18 02:50:18 Login Succeeded 02:50:18 docker.io 02:50:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:50:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:50:18 Configure a credential helper to remove this warning. See 02:50:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:50:18 02:50:18 Login Succeeded 02:50:18 ---> docker-login.sh ends [Pipeline] } 02:50:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:50:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:50:18 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 02:50:18 af7f42834155496da65d108934e36d5a2fb2bcc1 02:50:18 latest 02:50:18 2.2.1-dev.4 02:50:18 af7f42834155496da65d108934e36d5a2fb2bcc1-2.2.1-dev.4 02:50:18 main 02:50:18 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:18 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:af7f42834155496da65d108934e36d5a2fb2bcc1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:19 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:af7f42834155496da65d108934e36d5a2fb2bcc1 02:50:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:50:19 429a7c4901d0: Preparing 02:50:19 a9ce2d88edbc: Preparing 02:50:19 30563753bb3a: Preparing 02:50:19 5e628e845e51: Preparing 02:50:19 b541d28bf3b4: Preparing 02:50:19 b541d28bf3b4: Layer already exists 02:50:19 a9ce2d88edbc: Pushed 02:50:19 429a7c4901d0: Pushed 02:50:19 5e628e845e51: Pushed 02:50:22 30563753bb3a: Pushed 02:50:22 af7f42834155496da65d108934e36d5a2fb2bcc1: digest: sha256:d1717c5ad1720225c34323921cffdcbbc8ba84c1b6ac222f5b25b46f1c0894be size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:22 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:22 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:50:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:50:22 429a7c4901d0: Preparing 02:50:22 a9ce2d88edbc: Preparing 02:50:22 30563753bb3a: Preparing 02:50:22 5e628e845e51: Preparing 02:50:22 b541d28bf3b4: Preparing 02:50:22 a9ce2d88edbc: Layer already exists 02:50:22 30563753bb3a: Layer already exists 02:50:22 5e628e845e51: Layer already exists 02:50:22 b541d28bf3b4: Layer already exists 02:50:22 429a7c4901d0: Layer already exists 02:50:22 latest: digest: sha256:d1717c5ad1720225c34323921cffdcbbc8ba84c1b6ac222f5b25b46f1c0894be size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:23 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:23 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.4 02:50:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:50:23 429a7c4901d0: Preparing 02:50:23 a9ce2d88edbc: Preparing 02:50:23 30563753bb3a: Preparing 02:50:23 5e628e845e51: Preparing 02:50:23 b541d28bf3b4: Preparing 02:50:23 30563753bb3a: Layer already exists 02:50:23 5e628e845e51: Layer already exists 02:50:23 b541d28bf3b4: Layer already exists 02:50:23 a9ce2d88edbc: Layer already exists 02:50:23 429a7c4901d0: Layer already exists 02:50:23 2.2.1-dev.4: digest: sha256:d1717c5ad1720225c34323921cffdcbbc8ba84c1b6ac222f5b25b46f1c0894be size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:23 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:af7f42834155496da65d108934e36d5a2fb2bcc1-2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:24 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:af7f42834155496da65d108934e36d5a2fb2bcc1-2.2.1-dev.4 02:50:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:50:24 429a7c4901d0: Preparing 02:50:24 a9ce2d88edbc: Preparing 02:50:24 30563753bb3a: Preparing 02:50:24 5e628e845e51: Preparing 02:50:24 b541d28bf3b4: Preparing 02:50:24 a9ce2d88edbc: Layer already exists 02:50:24 429a7c4901d0: Layer already exists 02:50:24 30563753bb3a: Layer already exists 02:50:24 b541d28bf3b4: Layer already exists 02:50:24 5e628e845e51: Layer already exists 02:50:24 af7f42834155496da65d108934e36d5a2fb2bcc1-2.2.1-dev.4: digest: sha256:d1717c5ad1720225c34323921cffdcbbc8ba84c1b6ac222f5b25b46f1c0894be size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:24 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:24 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 02:50:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 02:50:24 429a7c4901d0: Preparing 02:50:24 a9ce2d88edbc: Preparing 02:50:24 30563753bb3a: Preparing 02:50:24 5e628e845e51: Preparing 02:50:24 b541d28bf3b4: Preparing 02:50:24 b541d28bf3b4: Layer already exists 02:50:24 30563753bb3a: Layer already exists 02:50:24 5e628e845e51: Layer already exists 02:50:24 a9ce2d88edbc: Layer already exists 02:50:24 429a7c4901d0: Layer already exists 02:50:24 main: digest: sha256:d1717c5ad1720225c34323921cffdcbbc8ba84c1b6ac222f5b25b46f1c0894be size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:50:24 ===================================================== [Pipeline] echo 02:50:24 taggedImages: 02:50:24 - nexus3.edgexfoundry.org:10004/device-mqtt:af7f42834155496da65d108934e36d5a2fb2bcc1 02:50:24 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 02:50:24 - nexus3.edgexfoundry.org:10004/device-mqtt:2.2.1-dev.4 02:50:24 - nexus3.edgexfoundry.org:10004/device-mqtt:af7f42834155496da65d108934e36d5a2fb2bcc1-2.2.1-dev.4 02:50:24 - 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 02:50:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:50:25 02:50:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:50:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:50:25 latest: Pulling from edgex-lftools-log-publisher 02:50:25 5eb5b503b376: Pulling fs layer 02:50:25 5c69ac0246d0: Pulling fs layer 02:50:25 ec43610c2a17: Pulling fs layer 02:50:25 3a2ae6a8a46f: Pulling fs layer 02:50:25 33b1e0a273af: Pulling fs layer 02:50:25 5d3b04190fa2: Pulling fs layer 02:50:25 2f39f015ded8: Pulling fs layer 02:50:25 2f39f015ded8: Waiting 02:50:25 5d3b04190fa2: Waiting 02:50:25 3a2ae6a8a46f: Waiting 02:50:25 33b1e0a273af: Waiting 02:50:25 5c69ac0246d0: Download complete 02:50:25 3a2ae6a8a46f: Verifying Checksum 02:50:25 3a2ae6a8a46f: Download complete 02:50:25 33b1e0a273af: Verifying Checksum 02:50:25 33b1e0a273af: Download complete 02:50:25 5d3b04190fa2: Verifying Checksum 02:50:25 5d3b04190fa2: Download complete 02:50:25 ec43610c2a17: Verifying Checksum 02:50:25 ec43610c2a17: Download complete 02:50:25 5eb5b503b376: Verifying Checksum 02:50:25 5eb5b503b376: Download complete 02:50:26 2f39f015ded8: Download complete 02:50:27 5eb5b503b376: Pull complete 02:50:27 5c69ac0246d0: Pull complete 02:50:27 ec43610c2a17: Pull complete 02:50:28 3a2ae6a8a46f: Pull complete 02:50:28 33b1e0a273af: Pull complete 02:50:28 5d3b04190fa2: Pull complete 02:50:33 2f39f015ded8: Pull complete 02:50:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:50:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:50:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:50:33 prd-ubuntu20.04-docker-8c-8g-16045 does not seem to be running inside a container 02:50:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:50:36 $ docker top db35f2e7193ba04b4e9c3e7435123b261377f76514b096fb21df6763255de69e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:50:37 ---> job-cost.sh 02:50:37 lf-activate-venv: SKIPPING 02:50:37 INFO: No Stack... 02:50:37 INFO: Retrieving Pricing Info for: v3-standard-8 02:50:37 INFO: Archiving Costs [Pipeline] sh 02:50:38 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 02:50:38 + cut -d, -f6 [Pipeline] lock 02:50:38 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-51-stack-cost] 02:50:38 Resource [jenkins-edgexfoundry-device-mqtt-go-main-51-stack-cost] did not exist. Created. 02:50:38 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:50:38 + echo total: 0.2199999988079071 [Pipeline] stash 02:50:38 Stashed 1 file(s) [Pipeline] } 02:50:38 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-51-stack-cost] [Pipeline] // lock [Pipeline] } 02:50:38 $ docker stop --time=1 db35f2e7193ba04b4e9c3e7435123b261377f76514b096fb21df6763255de69e 02:50:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16049 in /w/workspace/edgexfoundry_device-mqtt-go_main 02:50:39 $ docker rm -f db35f2e7193ba04b4e9c3e7435123b261377f76514b096fb21df6763255de69e [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws 02:50:39 Running in /w/workspace/device-mqtt-go/51 [Pipeline] { [Pipeline] checkout [Pipeline] } [Pipeline] // withEnv [Pipeline] } 02:50:39 Selected Git installation does not exist. Using Default 02:50:39 The recommended git tool is: NONE [Pipeline] // stage [Pipeline] } 02:50:46 using credential edgex-jenkins-ssh 02:50:46 Cloning the remote Git repository 02:50:46 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:50:46 > git init /w/workspace/device-mqtt-go/51 # timeout=10 02:50:46 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:50:46 > git --version # timeout=10 02:50:46 > git --version # 'git version 2.25.1' 02:50:46 using GIT_SSH to set credentials SSH Credentials for GitHub 02:50:47 Avoid second fetch 02:50:47 Checking out Revision af7f42834155496da65d108934e36d5a2fb2bcc1 (main) 02:50:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:50:47 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:50:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:50:47 > git config core.sparsecheckout # timeout=10 02:50:47 > git checkout -f af7f42834155496da65d108934e36d5a2fb2bcc1 # timeout=10 02:50:52 Commit message: "Merge pull request #394 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.1-dev.10" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:50:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:50:52 % Total % Received % Xferd Average Speed Time Time Time Current 02:50:52 Dload Upload Total Spent Left Speed 02:50:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 02:50:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:50:53 + sudo tee /etc/docker/daemon.new 02:50:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:50:53 { 02:50:53 "registry-mirrors": [ 02:50:53 "https://nexus3.edgexfoundry.org:10001" 02:50:53 ], 02:50:53 "bip": "10.250.0.254/24", 02:50:53 "hosts": [ 02:50:53 "tcp://0.0.0.0:5555", 02:50:53 "unix:///var/run/docker.sock" 02:50:53 ], 02:50:53 "mtu": 1458, 02:50:53 "selinux-enabled": true, 02:50:53 "seccomp-profile": "/etc/docker/seccomp.json" 02:50:53 } [Pipeline] sh 02:50:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:50:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:51:13 provisioning config files... 02:51:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/51@tmp/config6471174602143764917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:51:13 ---> docker-login.sh 02:51:13 nexus3.edgexfoundry.org:10001 02:51:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:14 Configure a credential helper to remove this warning. See 02:51:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:14 02:51:14 Login Succeeded 02:51:14 nexus3.edgexfoundry.org:10002 02:51:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:14 Configure a credential helper to remove this warning. See 02:51:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:14 02:51:14 Login Succeeded 02:51:14 nexus3.edgexfoundry.org:10003 02:51:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:15 Configure a credential helper to remove this warning. See 02:51:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:15 02:51:15 Login Succeeded 02:51:15 nexus3.edgexfoundry.org:10004 02:51:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:16 Configure a credential helper to remove this warning. See 02:51:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:16 02:51:16 Login Succeeded 02:51:16 docker.io 02:51:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:51:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:51:16 Configure a credential helper to remove this warning. See 02:51:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:51:16 02:51:16 Login Succeeded 02:51:16 ---> docker-login.sh ends [Pipeline] } 02:51:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:51:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:51:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:51:17 ========================================================= 02:51:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 02:51:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:17 + 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 . 02:51:18 Sending build context to Docker daemon 3.092MB 02:51:18 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 02:51:18 Step 2/12 : FROM ${BASE} AS builder 02:51:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:51:18 9b3977197b4f: Pulling fs layer 02:51:18 1a89e8eeedd5: Pulling fs layer 02:51:18 94645a83ff95: Pulling fs layer 02:51:18 e6fb740bc735: Pulling fs layer 02:51:18 3a77bd46dcc9: Pulling fs layer 02:51:18 355e64cbe906: Pulling fs layer 02:51:18 63ab81a10011: Pulling fs layer 02:51:18 555d1d1c4555: Pulling fs layer 02:51:18 7d9057610161: Pulling fs layer 02:51:18 e6fb740bc735: Waiting 02:51:18 3a77bd46dcc9: Waiting 02:51:18 355e64cbe906: Waiting 02:51:18 63ab81a10011: Waiting 02:51:18 555d1d1c4555: Waiting 02:51:18 7d9057610161: Waiting 02:51:18 94645a83ff95: Download complete 02:51:18 1a89e8eeedd5: Verifying Checksum 02:51:18 1a89e8eeedd5: Download complete 02:51:18 3a77bd46dcc9: Verifying Checksum 02:51:18 3a77bd46dcc9: Download complete 02:51:18 355e64cbe906: Verifying Checksum 02:51:18 355e64cbe906: Download complete 02:51:18 9b3977197b4f: Download complete 02:51:18 63ab81a10011: Verifying Checksum 02:51:18 63ab81a10011: Download complete 02:51:19 7d9057610161: Verifying Checksum 02:51:19 7d9057610161: Download complete 02:51:19 9b3977197b4f: Pull complete 02:51:20 1a89e8eeedd5: Pull complete 02:51:20 94645a83ff95: Pull complete 02:51:20 555d1d1c4555: Verifying Checksum 02:51:20 555d1d1c4555: Download complete 02:51:21 e6fb740bc735: Verifying Checksum 02:51:21 e6fb740bc735: Download complete 02:51:33 e6fb740bc735: Pull complete 02:51:33 3a77bd46dcc9: Pull complete 02:51:33 355e64cbe906: Pull complete 02:51:34 63ab81a10011: Pull complete 02:51:41 555d1d1c4555: Pull complete 02:51:42 7d9057610161: Pull complete 02:51:42 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 02:51:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:51:42 ---> 819e984ddca1 02:51:42 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:51:43 ---> Running in c989f1f76add 02:51:43 Removing intermediate container c989f1f76add 02:51:43 ---> a3c3177e5f70 02:51:43 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 02:51:43 ---> Running in a2e84b9874ce 02:51:44 Removing intermediate container a2e84b9874ce 02:51:44 ---> b5f787dfd8c5 02:51:44 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:51:44 ---> Running in ad80eda058fa 02:51:45 Removing intermediate container ad80eda058fa 02:51:45 ---> 5361354652d2 02:51:45 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:51:45 ---> Running in 77ac503bde4a 02:51:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:51:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:51:48 (1/4) Installing openssh-keygen (8.8_p1-r1) 02:51:48 (2/4) Installing libedit (20210910.3.1-r0) 02:51:49 (3/4) Installing openssh-client-common (8.8_p1-r1) 02:51:49 (4/4) Installing openssh-client-default (8.8_p1-r1) 02:51:49 Executing busybox-1.34.1-r3.trigger 02:51:49 OK: 224 MiB in 56 packages 02:51:50 Removing intermediate container 77ac503bde4a 02:51:50 ---> 08eb327cb4dd 02:51:50 Step 7/12 : WORKDIR /device-mqtt-go 02:51:50 ---> Running in 6e02d1bf1b26 02:51:51 Removing intermediate container 6e02d1bf1b26 02:51:51 ---> 414e1c8cd578 02:51:51 Step 8/12 : COPY go.mod vendor* ./ 02:51:51 ---> e86931e43a35 02:51:51 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:51:51 ---> Running in 3ef03a01fd13 02:52:38 Removing intermediate container 3ef03a01fd13 02:52:38 ---> cedb71ded46f 02:52:38 Step 10/12 : COPY . . 02:52:38 ---> 1a1833d0e405 02:52:38 Step 11/12 : ARG MAKE='make build' 02:52:38 ---> Running in 29e73f596231 02:52:38 Removing intermediate container 29e73f596231 02:52:38 ---> 41209925e9fe 02:52:38 Step 12/12 : RUN $MAKE 02:52:38 ---> Running in 44838fcb144b 02:52:39 noop 02:52:39 Removing intermediate container 44838fcb144b 02:52:39 ---> 2409e571148d 02:52:39 Successfully built 2409e571148d 02:52:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:40 + docker inspect -f . ci-base-image-arm64 02:52:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:40 prd-ubuntu20.04-docker-arm64-4c-16g-16049 does not seem to be running inside a container 02:52:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/51 -v /w/workspace/device-mqtt-go/51:/w/workspace/device-mqtt-go/51:rw,z -v /w/workspace/device-mqtt-go/51@tmp:/w/workspace/device-mqtt-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:52:41 $ docker top 63c6b2a0c4336935bbdfa8b5f72e7d679178ea2a24747a7f3fedf0b43116fb49 -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:42 + go version 02:52:42 go version go1.17.7 linux/arm64 [Pipeline] } 02:52:42 $ docker stop --time=1 63c6b2a0c4336935bbdfa8b5f72e7d679178ea2a24747a7f3fedf0b43116fb49 02:52:44 $ docker rm -f 63c6b2a0c4336935bbdfa8b5f72e7d679178ea2a24747a7f3fedf0b43116fb49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:45 + docker inspect -f . ci-base-image-arm64 02:52:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:45 prd-ubuntu20.04-docker-arm64-4c-16g-16049 does not seem to be running inside a container 02:52:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/51 -v /w/workspace/device-mqtt-go/51:/w/workspace/device-mqtt-go/51:rw,z -v /w/workspace/device-mqtt-go/51@tmp:/w/workspace/device-mqtt-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:52:46 $ docker top e36309bc378f570cd245baa9385faa1c7720a36ed5b569c027450079a76b6d85 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:52:47 + make test 02:52:47 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 02:52:49 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:54:25 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:54:25 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.077s coverage: 21.8% of statements 02:54:25 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:54:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:54:25 GCO_ENABLED=1 GO111MODULE=on go vet ./... 02:54:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:54:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:54:44 ./bin/test-attribution-txt.sh [Pipeline] echo 02:54:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:54:44 $ docker stop --time=1 e36309bc378f570cd245baa9385faa1c7720a36ed5b569c027450079a76b6d85 02:54:46 $ docker rm -f e36309bc378f570cd245baa9385faa1c7720a36ed5b569c027450079a76b6d85 [Pipeline] // withDockerContainer [Pipeline] sh 02:54:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:54:47 Warning: overwriting stash ‘coverage-report’ 02:54:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:54:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:54:49 + ls -al . 02:54:49 total 176 02:54:49 drwxrwxr-x 9 jenkins jenkins 4096 Jun 27 02:54 . 02:54:49 drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 02:50 .. 02:54:49 -rw-rw-r-- 1 jenkins jenkins 140 Jun 27 02:50 .dockerignore 02:54:49 drwxrwxr-x 8 jenkins jenkins 4096 Jun 27 02:50 .git 02:54:49 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:50 .github 02:54:49 -rw-rw-r-- 1 jenkins jenkins 329 Jun 27 02:50 .gitignore 02:54:49 -rw-rw-r-- 1 jenkins jenkins 41 Jun 27 02:50 .golangci.yml 02:54:49 -rw-rw-r-- 1 jenkins jenkins 8917 Jun 27 02:50 Attribution.txt 02:54:49 -rw-rw-r-- 1 jenkins jenkins 11365 Jun 27 02:50 CHANGELOG.md 02:54:49 -rw-rw-r-- 1 jenkins jenkins 1930 Jun 27 02:50 Dockerfile 02:54:49 -rw-rw-r-- 1 jenkins jenkins 677 Jun 27 02:50 GOVERNANCE.md 02:54:49 -rw-rw-r-- 1 jenkins jenkins 678 Jun 27 02:50 Jenkinsfile 02:54:49 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 27 02:50 LICENSE 02:54:49 -rw-rw-r-- 1 jenkins jenkins 1930 Jun 27 02:50 Makefile 02:54:49 -rw-rw-r-- 1 jenkins jenkins 620 Jun 27 02:50 OWNERS.md 02:54:49 -rw-rw-r-- 1 jenkins jenkins 2501 Jun 27 02:50 README.md 02:54:49 -rw-rw-r-- 1 jenkins jenkins 11 Jun 27 02:48 VERSION 02:54:49 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 02:50 bin 02:54:49 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:50 cmd 02:54:49 -rw-r--r-- 1 jenkins jenkins 17887 Jun 27 02:54 coverage.out 02:54:49 -rw-rw-r-- 1 jenkins jenkins 3314 Jun 27 02:50 go.mod 02:54:49 -rw-rw-r-- 1 jenkins jenkins 36015 Jun 27 02:50 go.sum 02:54:49 drwxrwxr-x 3 jenkins jenkins 4096 Jun 27 02:50 internal 02:54:49 drwxrwxr-x 2 jenkins jenkins 4096 Jun 27 02:50 mock 02:54:49 drwxrwxr-x 4 jenkins jenkins 4096 Jun 27 02:50 snap 02:54:49 -rw-rw-r-- 1 jenkins jenkins 227 Jun 27 02:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:54:49 + 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=af7f42834155496da65d108934e36d5a2fb2bcc1 --label arch=arm64 --label version=2.2.1-dev.4 . 02:54:49 Sending build context to Docker daemon 3.111MB 02:54:50 Step 1/24 : ARG BASE=golang:1.17-alpine3.15 02:54:50 Step 2/24 : FROM ${BASE} AS builder 02:54:50 ---> 2409e571148d 02:54:50 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 02:54:50 ---> Running in ce13cfbf745b 02:54:50 Removing intermediate container ce13cfbf745b 02:54:50 ---> a111c5029302 02:54:50 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 02:54:50 ---> Running in b3e87afa3851 02:54:50 Removing intermediate container b3e87afa3851 02:54:50 ---> ea2202ed23f9 02:54:50 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:54:50 ---> Running in 68c291aaffcf 02:54:52 Removing intermediate container 68c291aaffcf 02:54:52 ---> ac26dc476e52 02:54:52 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:54:52 ---> Running in d897d3457483 02:54:53 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:54:54 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:54:55 OK: 224 MiB in 56 packages 02:54:55 Removing intermediate container d897d3457483 02:54:55 ---> c9c79e30ac5e 02:54:55 Step 7/24 : WORKDIR /device-mqtt-go 02:54:56 ---> Running in 8158e34bf755 02:54:56 Removing intermediate container 8158e34bf755 02:54:56 ---> 02858cd12149 02:54:56 Step 8/24 : COPY go.mod vendor* ./ 02:54:57 ---> 230ad9a38568 02:54:57 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:54:57 ---> Running in 643547f6b93a 02:54:59 Removing intermediate container 643547f6b93a 02:54:59 ---> 2f85a9136f75 02:54:59 Step 10/24 : COPY . . 02:55:00 ---> d223d45d86e6 02:55:00 Step 11/24 : ARG MAKE='make build' 02:55:00 ---> Running in f500465d486c 02:55:00 Removing intermediate container f500465d486c 02:55:00 ---> 62bbeefb1d1f 02:55:00 Step 12/24 : RUN $MAKE 02:55:00 ---> Running in e8be77cacdc4 02:55:01 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=2.2.1-dev.4" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 02:57:23 Removing intermediate container e8be77cacdc4 02:57:23 ---> cf1444795580 02:57:23 Step 13/24 : FROM alpine:3.14 02:57:23 3.14: Pulling from library/alpine 02:57:23 455c02918c45: Pulling fs layer 02:57:23 455c02918c45: Verifying Checksum 02:57:23 455c02918c45: Download complete 02:57:23 455c02918c45: Pull complete 02:57:23 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:57:23 Status: Downloaded newer image for alpine:3.14 02:57:23 ---> ac73e934f311 02:57:23 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:57:23 ---> Running in 4bc91a57c5c2 02:57:23 Removing intermediate container 4bc91a57c5c2 02:57:23 ---> fbf51f4aa764 02:57:23 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 02:57:23 ---> Running in 5f17bfcc85e5 02:57:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:57:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:57:23 (1/6) Installing dumb-init (1.2.5-r1) 02:57:23 (2/6) Installing libgcc (10.3.1_git20210424-r2) 02:57:23 (3/6) Installing libsodium (1.0.18-r0) 02:57:23 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 02:57:23 (5/6) Installing libzmq (4.3.4-r0) 02:57:23 (6/6) Installing zeromq (4.3.4-r0) 02:57:23 Executing busybox-1.33.1-r7.trigger 02:57:23 OK: 8 MiB in 20 packages 02:57:23 Removing intermediate container 5f17bfcc85e5 02:57:23 ---> 380976f560c0 02:57:23 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:57:23 ---> 3411a4535faa 02:57:23 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:57:23 ---> 4b277ded7f0b 02:57:23 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:57:23 ---> ca82beae004d 02:57:23 Step 19/24 : EXPOSE 59982 02:57:23 ---> Running in 0ef651c07d77 02:57:23 Removing intermediate container 0ef651c07d77 02:57:23 ---> 0a55685df77e 02:57:23 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:57:23 ---> Running in 38aba7a4a66f 02:57:23 Removing intermediate container 38aba7a4a66f 02:57:23 ---> f3cd54d0ee48 02:57:23 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:57:23 ---> Running in d6b19de4818c 02:57:23 Removing intermediate container d6b19de4818c 02:57:23 ---> fbd7d6efb76d 02:57:23 Step 22/24 : LABEL arch=arm64 02:57:23 ---> Running in c0b89c4c39e9 02:57:23 Removing intermediate container c0b89c4c39e9 02:57:23 ---> 81fd5c474424 02:57:23 Step 23/24 : LABEL git_sha=af7f42834155496da65d108934e36d5a2fb2bcc1 02:57:23 ---> Running in 448544d50cba 02:57:23 Removing intermediate container 448544d50cba 02:57:23 ---> f12a6d4613e5 02:57:23 Step 24/24 : LABEL version=2.2.1-dev.4 02:57:24 ---> Running in fbdc93680239 02:57:24 Removing intermediate container fbdc93680239 02:57:24 ---> b3c92e9d0adc 02:57:24 [Warning] One or more build-args [ARCH] were not consumed 02:57:24 Successfully built b3c92e9d0adc 02:57:24 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 02:57:24 provisioning config files... 02:57:24 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/51@tmp/config2266419763551504773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:57:24 ---> docker-login.sh 02:57:24 nexus3.edgexfoundry.org:10001 02:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:57:25 Configure a credential helper to remove this warning. See 02:57:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:57:25 02:57:25 Login Succeeded 02:57:25 nexus3.edgexfoundry.org:10002 02:57:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:57:25 Configure a credential helper to remove this warning. See 02:57:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:57:25 02:57:25 Login Succeeded 02:57:25 nexus3.edgexfoundry.org:10003 02:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:57:26 Configure a credential helper to remove this warning. See 02:57:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:57:26 02:57:26 Login Succeeded 02:57:26 nexus3.edgexfoundry.org:10004 02:57:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:57:26 Configure a credential helper to remove this warning. See 02:57:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:57:26 02:57:26 Login Succeeded 02:57:26 docker.io 02:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:57:27 Configure a credential helper to remove this warning. See 02:57:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:57:27 02:57:27 Login Succeeded 02:57:27 ---> docker-login.sh ends [Pipeline] } 02:57:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:57:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:57:27 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 02:57:27 af7f42834155496da65d108934e36d5a2fb2bcc1 02:57:27 latest 02:57:27 2.2.1-dev.4 02:57:27 af7f42834155496da65d108934e36d5a2fb2bcc1-2.2.1-dev.4 02:57:27 main 02:57:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:28 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:af7f42834155496da65d108934e36d5a2fb2bcc1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:28 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:af7f42834155496da65d108934e36d5a2fb2bcc1 02:57:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:57:28 4a4cc3e70c8c: Preparing 02:57:28 7f550ca96b42: Preparing 02:57:28 d90cea6bd595: Preparing 02:57:28 c559185ccb3f: Preparing 02:57:28 f73e7dbfee58: Preparing 02:57:28 f73e7dbfee58: Layer already exists 02:57:28 4a4cc3e70c8c: Pushed 02:57:28 7f550ca96b42: Pushed 02:57:29 c559185ccb3f: Pushed 02:57:36 d90cea6bd595: Pushed 02:57:36 af7f42834155496da65d108934e36d5a2fb2bcc1: digest: sha256:8b41a45dfd5135ddb07c6b01449326ee6161e104d7558ff051597a124c8b94ab size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:36 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:36 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:57:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:57:36 4a4cc3e70c8c: Preparing 02:57:36 7f550ca96b42: Preparing 02:57:36 d90cea6bd595: Preparing 02:57:36 c559185ccb3f: Preparing 02:57:36 f73e7dbfee58: Preparing 02:57:36 f73e7dbfee58: Layer already exists 02:57:36 4a4cc3e70c8c: Layer already exists 02:57:36 c559185ccb3f: Layer already exists 02:57:36 7f550ca96b42: Layer already exists 02:57:36 d90cea6bd595: Layer already exists 02:57:37 latest: digest: sha256:8b41a45dfd5135ddb07c6b01449326ee6161e104d7558ff051597a124c8b94ab size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:37 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.4 02:57:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:57:37 4a4cc3e70c8c: Preparing 02:57:37 7f550ca96b42: Preparing 02:57:37 d90cea6bd595: Preparing 02:57:37 c559185ccb3f: Preparing 02:57:37 f73e7dbfee58: Preparing 02:57:37 c559185ccb3f: Layer already exists 02:57:37 f73e7dbfee58: Layer already exists 02:57:37 7f550ca96b42: Layer already exists 02:57:37 4a4cc3e70c8c: Layer already exists 02:57:37 d90cea6bd595: Layer already exists 02:57:38 2.2.1-dev.4: digest: sha256:8b41a45dfd5135ddb07c6b01449326ee6161e104d7558ff051597a124c8b94ab size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:38 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:af7f42834155496da65d108934e36d5a2fb2bcc1-2.2.1-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:38 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:af7f42834155496da65d108934e36d5a2fb2bcc1-2.2.1-dev.4 02:57:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:57:38 4a4cc3e70c8c: Preparing 02:57:38 7f550ca96b42: Preparing 02:57:38 d90cea6bd595: Preparing 02:57:38 c559185ccb3f: Preparing 02:57:38 f73e7dbfee58: Preparing 02:57:38 d90cea6bd595: Layer already exists 02:57:38 f73e7dbfee58: Layer already exists 02:57:38 7f550ca96b42: Layer already exists 02:57:38 4a4cc3e70c8c: Layer already exists 02:57:38 c559185ccb3f: Layer already exists 02:57:39 af7f42834155496da65d108934e36d5a2fb2bcc1-2.2.1-dev.4: digest: sha256:8b41a45dfd5135ddb07c6b01449326ee6161e104d7558ff051597a124c8b94ab size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:39 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:39 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 02:57:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:57:39 4a4cc3e70c8c: Preparing 02:57:39 7f550ca96b42: Preparing 02:57:39 d90cea6bd595: Preparing 02:57:39 c559185ccb3f: Preparing 02:57:39 f73e7dbfee58: Preparing 02:57:39 c559185ccb3f: Layer already exists 02:57:39 4a4cc3e70c8c: Layer already exists 02:57:39 f73e7dbfee58: Layer already exists 02:57:39 7f550ca96b42: Layer already exists 02:57:39 d90cea6bd595: Layer already exists 02:57:40 main: digest: sha256:8b41a45dfd5135ddb07c6b01449326ee6161e104d7558ff051597a124c8b94ab size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:57:40 ===================================================== [Pipeline] echo 02:57:40 taggedImages: 02:57:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:af7f42834155496da65d108934e36d5a2fb2bcc1 02:57:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:57:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:2.2.1-dev.4 02:57:40 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:af7f42834155496da65d108934e36d5a2fb2bcc1-2.2.1-dev.4 02:57:40 - 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 02:57:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:57:40 02:57:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:57:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:57:41 arm64: Pulling from edgex-lftools-log-publisher 02:57:41 8998bd30e6a1: Pulling fs layer 02:57:41 04944245beec: Pulling fs layer 02:57:41 699f458cf7ca: Pulling fs layer 02:57:41 765212b225bb: Pulling fs layer 02:57:41 f23df028b6ca: Pulling fs layer 02:57:41 d65c8cfc05b1: Pulling fs layer 02:57:41 2437ff75d9bd: Pulling fs layer 02:57:41 765212b225bb: Waiting 02:57:41 2437ff75d9bd: Waiting 02:57:41 d65c8cfc05b1: Waiting 02:57:41 f23df028b6ca: Waiting 02:57:41 04944245beec: Verifying Checksum 02:57:41 04944245beec: Download complete 02:57:41 765212b225bb: Verifying Checksum 02:57:41 765212b225bb: Download complete 02:57:41 f23df028b6ca: Verifying Checksum 02:57:41 d65c8cfc05b1: Verifying Checksum 02:57:41 d65c8cfc05b1: Download complete 02:57:41 699f458cf7ca: Verifying Checksum 02:57:41 699f458cf7ca: Download complete 02:57:41 8998bd30e6a1: Verifying Checksum 02:57:41 8998bd30e6a1: Download complete 02:57:44 2437ff75d9bd: Verifying Checksum 02:57:44 2437ff75d9bd: Download complete 02:57:46 8998bd30e6a1: Pull complete 02:57:46 04944245beec: Pull complete 02:57:48 699f458cf7ca: Pull complete 02:57:48 765212b225bb: Pull complete 02:57:49 f23df028b6ca: Pull complete 02:57:50 d65c8cfc05b1: Pull complete 02:58:05 2437ff75d9bd: Pull complete 02:58:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:58:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:58:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:58:05 prd-ubuntu20.04-docker-arm64-4c-16g-16049 does not seem to be running inside a container 02:58:05 $ 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/51 -v /w/workspace/device-mqtt-go/51:/w/workspace/device-mqtt-go/51:rw,z -v /w/workspace/device-mqtt-go/51@tmp:/w/workspace/device-mqtt-go/51@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:58:08 $ docker top 1b64a4079c0bef32a7191f5bce5ec4c32c2358a4b8239084790ccc58449547ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:58:09 ---> job-cost.sh 02:58:09 lf-activate-venv: SKIPPING 02:58:09 INFO: No Stack... 02:58:09 INFO: Retrieving Pricing Info for: v3-standard-4 02:58:10 INFO: Archiving Costs [Pipeline] sh 02:58:11 + cut -d, -f6 02:58:11 + cat /w/workspace/device-mqtt-go/51/archives/cost.csv [Pipeline] lock 02:58:11 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-51-stack-cost] 02:58:11 Resource [jenkins-edgexfoundry-device-mqtt-go-main-51-stack-cost] did not exist. Created. 02:58:11 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-51-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:58:12 /w/workspace/device-mqtt-go/51@tmp/durable-8f6c85b7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:58:12 + echo total: 0.10999999940395355 [Pipeline] stash 02:58:12 Warning: overwriting stash ‘stack-cost’ 02:58:12 Stashed 1 file(s) [Pipeline] } 02:58:12 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-51-stack-cost] [Pipeline] // lock [Pipeline] } 02:58:12 $ docker stop --time=1 1b64a4079c0bef32a7191f5bce5ec4c32c2358a4b8239084790ccc58449547ce 02:58:14 $ docker rm -f 1b64a4079c0bef32a7191f5bce5ec4c32c2358a4b8239084790ccc58449547ce [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 02:58:14 provisioning config files... 02:58:14 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config7054948443784195154tmp [Pipeline] { [Pipeline] sh 02:58:15 + set +x 02:58:15 + curl -s https://codecov.io/bash 02:58:15 + bash -s -- 02:58:15 02:58:15 _____ _ 02:58:15 / ____| | | 02:58:15 | | ___ __| | ___ ___ _____ __ 02:58:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:58:15 | |___| (_) | (_| | __/ (_| (_) \ V / 02:58:15 \_____\___/ \__,_|\___|\___\___/ \_/ 02:58:15 Bash-1.0.6 02:58:15 02:58:15 02:58:15 ==> git version 2.25.1 found 02:58:15 ==> 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 02:58:15 Release-Date: 2020-01-08 02:58:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:58:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:58:15 ==> Jenkins CI detected. 02:58:15 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 02:58:15 project root: . 02:58:15 --> token set from env 02:58:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:58:15 ==> Running gcov in . (disable via -X gcov) 02:58:15 ==> Python coveragepy not found 02:58:15 ==> Searching for coverage reports in: 02:58:15 + . 02:58:15 -> Found 1 reports 02:58:15 ==> Detecting git/mercurial file structure 02:58:15 ==> Reading reports 02:58:15 + ./coverage.out bytes=17887 02:58:15 ==> Appending adjustments 02:58:15 https://docs.codecov.io/docs/fixing-reports 02:58:15 + Found adjustments 02:58:15 ==> Gzipping contents 02:58:15 4.0K /tmp/codecov.iPfPBy.gz 02:58:15 ==> Uploading reports 02:58:15 url: https://codecov.io 02:58:15 query: branch=main&commit=af7f42834155496da65d108934e36d5a2fb2bcc1&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:58:15 -> Pinging Codecov 02:58:15 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=af7f42834155496da65d108934e36d5a2fb2bcc1&build=51&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F51%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:58:15 -> Uploading to 02:58:15 https://storage.googleapis.com/codecov/v4/raw/2022-06-27/7D719EC7BBE17E464838252E33014C33/af7f42834155496da65d108934e36d5a2fb2bcc1/9cedb085-3530-4b12-bc70-d52f096f9c09.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220627%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220627T025815Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0203537fd42750082c1aeac0ae3c95da8e1e2477c37034f298cf846c2e4bd4fe 02:58:15 % Total % Received % Xferd Average Speed Time Time Time Current 02:58:15 Dload Upload Total Spent Left Speed 02:58:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3261 0 0 100 3261 0 14822 --:--:-- --:--:-- --:--:-- 14890 02:58:16 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/af7f42834155496da65d108934e36d5a2fb2bcc1 [Pipeline] } 02:58:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:58:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:58:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:58:16 02:58:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:58:16 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:58:16 df9b9388f04a: Pulling fs layer 02:58:16 52dc419b0ee2: Pulling fs layer 02:58:16 25bc292e5bac: Pulling fs layer 02:58:16 114826534d7a: Pulling fs layer 02:58:16 4657fd5d0bcf: Pulling fs layer 02:58:16 6ad1cebc031e: Pulling fs layer 02:58:16 8a3aa393b2d8: Pulling fs layer 02:58:16 6ad1cebc031e: Waiting 02:58:16 8a3aa393b2d8: Waiting 02:58:16 4657fd5d0bcf: Waiting 02:58:16 114826534d7a: Waiting 02:58:16 25bc292e5bac: Verifying Checksum 02:58:16 25bc292e5bac: Download complete 02:58:16 52dc419b0ee2: Download complete 02:58:16 4657fd5d0bcf: Verifying Checksum 02:58:16 4657fd5d0bcf: Download complete 02:58:16 df9b9388f04a: Verifying Checksum 02:58:16 df9b9388f04a: Download complete 02:58:17 6ad1cebc031e: Verifying Checksum 02:58:17 6ad1cebc031e: Download complete 02:58:17 df9b9388f04a: Pull complete 02:58:17 52dc419b0ee2: Pull complete 02:58:17 25bc292e5bac: Pull complete 02:58:17 114826534d7a: Verifying Checksum 02:58:17 114826534d7a: Download complete 02:58:17 8a3aa393b2d8: Verifying Checksum 02:58:22 114826534d7a: Pull complete 02:58:22 4657fd5d0bcf: Pull complete 02:58:22 6ad1cebc031e: Pull complete 02:58:25 8a3aa393b2d8: Pull complete 02:58:25 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:58:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:58:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:58:25 prd-ubuntu20.04-docker-8c-8g-16045 does not seem to be running inside a container 02:58:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:58:28 $ docker top 01d176476effa4ed9aadfb023314fe50402513cb08abc5b0316a92784604b3d6 -eo pid,comm [Pipeline] { [Pipeline] echo 02:58:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 02:58:28 + set -o pipefail 02:58:28 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 02:58:33 02:58:33 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 02:58:33 02:58:33 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/fec2b13f-3757-4319-8350-22d612c9edc9 02:58:33 02:58:33 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 02:58:33 02:58:33 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:58:33 02:58:33 02:58:33 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 02:58:33 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:58:33 $ docker stop --time=1 01d176476effa4ed9aadfb023314fe50402513cb08abc5b0316a92784604b3d6 02:58:36 $ docker rm -f 01d176476effa4ed9aadfb023314fe50402513cb08abc5b0316a92784604b3d6 [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 02:58:36 + git log --format=format:%s -1 af7f42834155496da65d108934e36d5a2fb2bcc1 [Pipeline] sh 02:58:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:58:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:58:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:58:37 prd-ubuntu20.04-docker-8c-8g-16045 does not seem to be running inside a container 02:58:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:58:38 $ docker top 33702c7af249e39ca0ee9a2c828004ea17daab3b81e6ff800da0403d5ceba8e0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:58:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:58:38 [ssh-agent] Looking for ssh-agent implementation... 02:58:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:58:38 $ docker exec 33702c7af249e39ca0ee9a2c828004ea17daab3b81e6ff800da0403d5ceba8e0 ssh-agent 02:58:38 SSH_AUTH_SOCK=/tmp/ssh-pgUFcXBRoWNI/agent.33 02:58:38 SSH_AGENT_PID=40 02:58:38 Running ssh-add (command line suppressed) 02:58:38 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5864506492816211773.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5864506492816211773.key) 02:58:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:58:38 + git semver tag 02:58:39 2022-06-27 02:58:39,172 [run_tag] DEBUG tag force:False 02:58:39 2022-06-27 02:58:39,172 [check_head_tag] DEBUG check head tag 02:58:39 2022-06-27 02:58:39,173 [execute] INFO git cat-file --batch-check 02:58:39 2022-06-27 02:58:39,173 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:58:39 2022-06-27 02:58:39,178 [execute] INFO git cat-file --batch 02:58:39 2022-06-27 02:58:39,179 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:58:39 2022-06-27 02:58:39,189 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:58:39 2022-06-27 02:58:39,189 [execute] INFO git tag -a v2.2.1-dev.4 -m v2.2.1-dev.4 02:58:39 2022-06-27 02:58:39,190 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.4', '-m', 'v2.2.1-dev.4'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:58:39 2022-06-27 02:58:39,195 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:58:39 2.2.1-dev.4 [Pipeline] } 02:58:39 $ docker exec --env ******** --env ******** 33702c7af249e39ca0ee9a2c828004ea17daab3b81e6ff800da0403d5ceba8e0 ssh-agent -k 02:58:39 unset SSH_AUTH_SOCK; 02:58:39 unset SSH_AGENT_PID; 02:58:39 echo Agent pid 40 killed; 02:58:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:58:39 + git semver [Pipeline] } 02:58:40 $ docker stop --time=1 33702c7af249e39ca0ee9a2c828004ea17daab3b81e6ff800da0403d5ceba8e0 02:58:41 $ docker rm -f 33702c7af249e39ca0ee9a2c828004ea17daab3b81e6ff800da0403d5ceba8e0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:58:41 02:58:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:58:42 0.23.1-centos7: Pulling from edgex-lftools 02:58:42 ab5ef0e58194: Pulling fs layer 02:58:42 9712f1f96733: Pulling fs layer 02:58:42 63f879dbbcfc: Pulling fs layer 02:58:42 0d9ebad4ef96: Pulling fs layer 02:58:42 e9a5061849ea: Pulling fs layer 02:58:42 d747dcd14b5f: Pulling fs layer 02:58:42 2de7ff778b66: Pulling fs layer 02:58:42 0d9ebad4ef96: Waiting 02:58:42 d747dcd14b5f: Waiting 02:58:42 2de7ff778b66: Waiting 02:58:42 e9a5061849ea: Waiting 02:58:42 9712f1f96733: Verifying Checksum 02:58:42 9712f1f96733: Download complete 02:58:42 63f879dbbcfc: Verifying Checksum 02:58:42 63f879dbbcfc: Download complete 02:58:42 e9a5061849ea: Verifying Checksum 02:58:42 e9a5061849ea: Download complete 02:58:42 ab5ef0e58194: Download complete 02:58:42 0d9ebad4ef96: Verifying Checksum 02:58:42 0d9ebad4ef96: Download complete 02:58:42 2de7ff778b66: Verifying Checksum 02:58:42 2de7ff778b66: Download complete 02:58:46 ab5ef0e58194: Pull complete 02:58:46 9712f1f96733: Pull complete 02:58:46 63f879dbbcfc: Pull complete 02:58:50 0d9ebad4ef96: Pull complete 02:58:50 e9a5061849ea: Pull complete 02:58:50 d747dcd14b5f: Pull complete 02:58:51 2de7ff778b66: Pull complete 02:58:51 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:58:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:58:51 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:58:51 prd-ubuntu20.04-docker-8c-8g-16045 does not seem to be running inside a container 02:58:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:58:54 $ docker top 66061580f6e600ebd15052d390a2b92295b0ef5275bacb23486db0735e016403 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:58:54 provisioning config files... 02:58:54 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config2416656234740705214tmp 02:58:54 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config5637186265378183030tmp 02:58:54 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config188384025444825491tmp [Pipeline] { [Pipeline] echo 02:58:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:58:54 ---> sigul-configuration.sh 02:58:54 gpg: directory `/root/.gnupg' created 02:58:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:58:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:58:54 gpg: keyring `/root/.gnupg/secring.gpg' created 02:58:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:58:54 gpg: CAST5 encrypted data 02:58:54 gpg: encrypted with 1 passphrase 02:58:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:58:54 + mkdir /home/jenkins 02:58:54 + mkdir /home/jenkins/sigul [Pipeline] sh 02:58:55 + 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 02:58:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:58:55 ---> sigul-install.sh 02:58:55 Sigul already installed; skipping installation. [Pipeline] sh 02:58:55 + git tag --list 02:58:55 0.7.1 02:58:55 v1.0.0 02:58:55 v1.1.0 02:58:55 v1.1.1 02:58:55 v1.2.2 02:58:55 v1.3.0 02:58:55 v1.3.1 02:58:55 v2.0.0 02:58:55 v2.1.0 02:58:55 v2.1.1 02:58:55 v2.1.1-dev.1 02:58:55 v2.1.1-dev.2 02:58:55 v2.2.0 02:58:55 v2.2.1-dev.1 02:58:55 v2.2.1-dev.2 02:58:55 v2.2.1-dev.3 02:58:55 v2.2.1-dev.4 [Pipeline] sh 02:58:55 + lftools sign git-tag v2.2.1-dev.4 02:58:56 Signing Git tag with Sigul... 02:58:56 Signing v2.2.1-dev.4 [Pipeline] echo 02:58:57 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:58:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:58:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:58:57 $ docker stop --time=1 66061580f6e600ebd15052d390a2b92295b0ef5275bacb23486db0735e016403 02:58:58 $ docker rm -f 66061580f6e600ebd15052d390a2b92295b0ef5275bacb23486db0735e016403 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:58:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:58:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:58:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:58:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:58:59 prd-ubuntu20.04-docker-8c-8g-16045 does not seem to be running inside a container 02:58:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:59:00 $ docker top dea8d29ed04d30f92f2590fb6c8005d954a28a8b6d68e5c47bf5a15213432d79 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:59:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:59:00 [ssh-agent] Looking for ssh-agent implementation... 02:59:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:59:00 $ docker exec dea8d29ed04d30f92f2590fb6c8005d954a28a8b6d68e5c47bf5a15213432d79 ssh-agent 02:59:00 SSH_AUTH_SOCK=/tmp/ssh-VbnpwogLC2cc/agent.33 02:59:00 SSH_AGENT_PID=39 02:59:00 Running ssh-add (command line suppressed) 02:59:00 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6386588848365482918.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6386588848365482918.key) 02:59:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:59:00 + git semver bump pre 02:59:01 2022-06-27 02:59:01,043 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:59:01 2022-06-27 02:59:01,044 [bump_version] DEBUG bumping version:2.2.1-dev.4 on axis:pre with prefix:dev 02:59:01 2022-06-27 02:59:01,044 [bump_version] DEBUG bumped version:2.2.1-dev.5 02:59:01 2022-06-27 02:59:01,044 [write_version] DEBUG write version:2.2.1-dev.5 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 02:59:01 2022-06-27 02:59:01,044 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:59:01 2022-06-27 02:59:01,044 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:59:01 2022-06-27 02:59:01,046 [execute] INFO git cat-file --batch-check 02:59:01 2022-06-27 02:59:01,046 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:59:01 2022-06-27 02:59:01,049 [execute] INFO git cat-file --batch 02:59:01 2022-06-27 02:59:01,049 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:59:01 2022-06-27 02:59:01,055 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:59:01 2.2.1-dev.5 [Pipeline] } 02:59:01 $ docker exec --env ******** --env ******** dea8d29ed04d30f92f2590fb6c8005d954a28a8b6d68e5c47bf5a15213432d79 ssh-agent -k 02:59:01 unset SSH_AUTH_SOCK; 02:59:01 unset SSH_AGENT_PID; 02:59:01 echo Agent pid 39 killed; 02:59:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:59:01 + git semver [Pipeline] } 02:59:01 $ docker stop --time=1 dea8d29ed04d30f92f2590fb6c8005d954a28a8b6d68e5c47bf5a15213432d79 02:59:03 $ docker rm -f dea8d29ed04d30f92f2590fb6c8005d954a28a8b6d68e5c47bf5a15213432d79 [Pipeline] // withDockerContainer [Pipeline] sh 02:59:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:59:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:59:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:59:03 prd-ubuntu20.04-docker-8c-8g-16045 does not seem to be running inside a container 02:59: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:59:04 $ docker top 28bb57a79a845a85545c20c8e3ef999fb119ded3ac8b0db4882b809d884a9446 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:59:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:59:04 [ssh-agent] Looking for ssh-agent implementation... 02:59:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:59:04 $ docker exec 28bb57a79a845a85545c20c8e3ef999fb119ded3ac8b0db4882b809d884a9446 ssh-agent 02:59:04 SSH_AUTH_SOCK=/tmp/ssh-kYJR8yN50MTS/agent.34 02:59:04 SSH_AGENT_PID=40 02:59:04 Running ssh-add (command line suppressed) 02:59:04 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5939411054163989108.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_5939411054163989108.key) 02:59:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:59:05 + git semver push 02:59:05 2022-06-27 02:59:05,322 [run_push] DEBUG push 02:59:05 2022-06-27 02:59:05,322 [execute] INFO git cat-file --batch-check 02:59:05 2022-06-27 02:59:05,322 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:59:05 2022-06-27 02:59:05,324 [execute] INFO git rev-list 10a2032a5d7fd01907340f0893c56982e8ab73f5 -- 02:59:05 2022-06-27 02:59:05,325 [execute] DEBUG Popen(['git', 'rev-list', '10a2032a5d7fd01907340f0893c56982e8ab73f5', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:59:05 2022-06-27 02:59:05,331 [execute] INFO git fetch -v origin 02:59:05 2022-06-27 02:59:05,331 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:59:05 2022-06-27 02:59:05,870 [run_push] DEBUG no remote changes detected 02:59:05 2022-06-27 02:59:05,871 [execute] INFO git push origin semver 02:59:05 2022-06-27 02:59:05,871 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:59:06 2022-06-27 02:59:06,692 [run_push] DEBUG push all version tags 02:59:06 2022-06-27 02:59:06,692 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:59:06 2022-06-27 02:59:06,693 [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) 02:59:07 2022-06-27 02:59:07,448 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:59:07 2.2.1-dev.5 [Pipeline] } 02:59:07 $ docker exec --env ******** --env ******** 28bb57a79a845a85545c20c8e3ef999fb119ded3ac8b0db4882b809d884a9446 ssh-agent -k 02:59:07 unset SSH_AUTH_SOCK; 02:59:07 unset SSH_AGENT_PID; 02:59:07 echo Agent pid 40 killed; 02:59:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:59:07 + git semver [Pipeline] } 02:59:08 $ docker stop --time=1 28bb57a79a845a85545c20c8e3ef999fb119ded3ac8b0db4882b809d884a9446 02:59:09 $ docker rm -f 28bb57a79a845a85545c20c8e3ef999fb119ded3ac8b0db4882b809d884a9446 [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 02:59:10 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 02:59:10 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:59:10 total 16 02:59:10 drwxr-xr-x 3 root root 4096 Jun 27 02:50 . 02:59:10 drwxrwxr-x 11 jenkins jenkins 4096 Jun 27 02:58 .. 02:59:10 drwxr-xr-x 2 root root 4096 Jun 27 02:50 cost 02:59:10 -rw-r--r-- 1 root root 84 Jun 27 02:50 cost.csv 02:59:10 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:59:10 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:59:10 total 16 02:59:10 drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 02:50 . 02:59:10 drwxrwxr-x 11 jenkins jenkins 4096 Jun 27 02:58 .. 02:59:10 drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 02:50 cost 02:59:10 -rw-r--r-- 1 jenkins jenkins 84 Jun 27 02:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:59:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:59:11 ---> package-listing.sh 02:59:11 ++ facter osfamily 02:59:11 ++ tr '[:upper:]' '[:lower:]' 02:59:11 + OS_FAMILY=debian 02:59:11 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 02:59:11 + START_PACKAGES=/tmp/packages_start.txt 02:59:11 + END_PACKAGES=/tmp/packages_end.txt 02:59:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:59:11 + PACKAGES=/tmp/packages_start.txt 02:59:11 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:59:11 + PACKAGES=/tmp/packages_end.txt 02:59:11 + case "${OS_FAMILY}" in 02:59:11 + dpkg -l 02:59:11 + grep '^ii' 02:59:11 + '[' -f /tmp/packages_start.txt ']' 02:59:11 + '[' -f /tmp/packages_end.txt ']' 02:59:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:59:11 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:59:11 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 02:59:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 02:59:11 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 02:59:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:59:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:59:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:59:12 prd-ubuntu20.04-docker-8c-8g-16045 does not seem to be running inside a container 02:59:12 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:59:12 $ docker top 30011093a1f20ee6d3a21d67589a7cfcc504efdc68f97bd2ba8577c3843dd0b9 -eo pid,comm [Pipeline] { [Pipeline] sh 02:59:13 + touch /tmp/pre-build-complete [Pipeline] sh 02:59:13 + mkdir -p /var/log/sysstat [Pipeline] sh 02:59:13 + ls /var/log/sa-host 02:59:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:59:13 provisioning config files... 02:59:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config782949493890399735tmp [Pipeline] { [Pipeline] echo 02:59:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:59:14 ---> create-netrc.sh [Pipeline] } 02:59:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:59:14 ---> python-tools-install.sh [Pipeline] echo 02:59:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:59:14 ---> sudo-logs.sh 02:59:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:59:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:59:15 ---> job-cost.sh 02:59:15 lf-activate-venv: SKIPPING 02:59:15 DEBUG: total: 0.2199999988079071 02:59:15 INFO: Retrieving Stack Cost... 02:59:16 INFO: Retrieving Pricing Info for: v3-standard-8 02:59:16 INFO: Archiving Costs [Pipeline] echo 02:59:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:59:16 ---> logs-deploy.sh 02:59:16 lf-activate-venv: SKIPPING 02:59:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/51 02:59:16 INFO: archiving workspace using pattern(s): 02:59:17 Archives upload complete. 02:59:17 INFO: archiving logs to Nexus 02:59:18 ---> uname -a: 02:59:18 Linux prd-ubuntu20-04-docker-8c-8g-16045 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 02:59:18 02:59:18 02:59:18 ---> lscpu: 02:59:18 Architecture: x86_64 02:59:18 CPU op-mode(s): 32-bit, 64-bit 02:59:18 Byte Order: Little Endian 02:59:18 Address sizes: 40 bits physical, 48 bits virtual 02:59:18 CPU(s): 8 02:59:18 On-line CPU(s) list: 0-7 02:59:18 Thread(s) per core: 1 02:59:18 Core(s) per socket: 1 02:59:18 Socket(s): 8 02:59:18 NUMA node(s): 1 02:59:18 Vendor ID: AuthenticAMD 02:59:18 CPU family: 23 02:59:18 Model: 49 02:59:18 Model name: AMD EPYC-Rome Processor 02:59:18 Stepping: 0 02:59:18 CPU MHz: 2799.998 02:59:18 BogoMIPS: 5599.99 02:59:18 Virtualization: AMD-V 02:59:18 Hypervisor vendor: KVM 02:59:18 Virtualization type: full 02:59:18 L1d cache: 256 KiB 02:59:18 L1i cache: 256 KiB 02:59:18 L2 cache: 4 MiB 02:59:18 L3 cache: 128 MiB 02:59:18 NUMA node0 CPU(s): 0-7 02:59:18 Vulnerability Itlb multihit: Not affected 02:59:18 Vulnerability L1tf: Not affected 02:59:18 Vulnerability Mds: Not affected 02:59:18 Vulnerability Meltdown: Not affected 02:59:18 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:59:18 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:59:18 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:59:18 Vulnerability Srbds: Not affected 02:59:18 Vulnerability Tsx async abort: Not affected 02:59:18 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 02:59:18 02:59:18