Pull request #414 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0+e3b17c36aac665b2f67a5aeebf35b3bad318417a (fc4288d64862b6355e0d04b91d240226abc89044) 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-ssh14068071724206629988.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh498139200793999207.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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/PR-414/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/PR-414/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16781146627721168159.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh10386733231421791009.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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/PR-414/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/PR-414/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4909504947919020545.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-673 in /w/workspace/gexfoundry_device-mqtt-go_PR-414 [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/gexfoundry_device-mqtt-go_PR-414 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e3b17c36aac665b2f67a5aeebf35b3bad318417a into PR head commit 1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 Merge succeeded, producing 1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 Checking out Revision 1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 (PR-414) > git config core.sparsecheckout # timeout=10 > git checkout -f 1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge e3b17c36aac665b2f67a5aeebf35b3bad318417a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. > git rev-list --no-walk b5d3fda0339980389ae8f7aec506bc64b1848aa7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:47:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:47:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:47:25 ========================================================= 22:47:25 EdgeX Global Pipelines Version Info 22:47:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:47:26 ------------------- 22:47:26 stable info: 22:47:26 ------------------- 22:47:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:47:26 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:47:26 Message: update stable to v1.0.239 22:47:27 ------------------- 22:47:27 experimental info: 22:47:27 ------------------- 22:47:27 Commited By: **** collab-it+edgex@linuxfoundation.org 22:47:27 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:47:27 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-414 [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-414 [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-414 [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1f8bdc7 [Pipeline] echo 22:47:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:47:27 provisioning config files... 22:47:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config13354634858184129130tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:47:28 ---> docker-login.sh 22:47:28 nexus3.edgexfoundry.org:10001 22:47:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:28 Configure a credential helper to remove this warning. See 22:47:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:28 22:47:28 Login Succeeded 22:47:28 nexus3.edgexfoundry.org:10002 22:47:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:28 Configure a credential helper to remove this warning. See 22:47:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:28 22:47:28 Login Succeeded 22:47:28 nexus3.edgexfoundry.org:10003 22:47:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:28 Configure a credential helper to remove this warning. See 22:47:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:28 22:47:28 Login Succeeded 22:47:28 nexus3.edgexfoundry.org:10004 22:47:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:28 Configure a credential helper to remove this warning. See 22:47:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:28 22:47:28 Login Succeeded 22:47:28 docker.io 22:47:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:29 Configure a credential helper to remove this warning. See 22:47:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:29 22:47:29 Login Succeeded 22:47:29 ---> docker-login.sh ends [Pipeline] } 22:47:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:47:29 + git rev-list -1 --merges 1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0~1..1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 [Pipeline] echo 22:47:29 -----------> git rev-list -1 --merges 1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0~1..1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 [false] [Pipeline] sh 22:47:29 + git log --format=format:%s -1 1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 [Pipeline] echo 22:47:29 ========================================================= 22:47:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:47:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:47:30 + git log --format=format:%s -1 1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 [Pipeline] echo 22:47:30 [semverPrep] GIT_COMMIT: 1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo 22:47:30 [semverPrep] This is not a build commit. [Pipeline] sh 22:47:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:47:30 + grep -v github /etc/ssh/ssh_known_hosts 22:47:30 + [ -e /tmp/ssh_known_hosts ] 22:47:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:47:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:47:30 + sudo tee -a /etc/ssh/ssh_known_hosts 22:47:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:47:30 22:47:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:47:31 0.1.4: Pulling from edgex-devops/py-git-semver 22:47:31 b85a868b505f: Pulling fs layer 22:47:31 e2be974225ed: Pulling fs layer 22:47:31 339a4e72a1f5: Pulling fs layer 22:47:31 988bab9f4d93: Pulling fs layer 22:47:31 1469e6f7b9e6: Pulling fs layer 22:47:31 eaf3925da568: Pulling fs layer 22:47:31 bab4dde63d76: Pulling fs layer 22:47:31 bde34c3a00c8: Pulling fs layer 22:47:31 b352a97aabf1: Pulling fs layer 22:47:31 4872d77fe225: Pulling fs layer 22:47:31 988bab9f4d93: Waiting 22:47:31 5851b861e8e6: Pulling fs layer 22:47:31 1469e6f7b9e6: Waiting 22:47:31 4872d77fe225: Waiting 22:47:31 eaf3925da568: Waiting 22:47:31 bab4dde63d76: Waiting 22:47:31 bde34c3a00c8: Waiting 22:47:31 5851b861e8e6: Waiting 22:47:31 b352a97aabf1: Waiting 22:47:31 e2be974225ed: Verifying Checksum 22:47:31 e2be974225ed: Download complete 22:47:31 988bab9f4d93: Verifying Checksum 22:47:31 988bab9f4d93: Download complete 22:47:31 1469e6f7b9e6: Verifying Checksum 22:47:31 1469e6f7b9e6: Download complete 22:47:31 eaf3925da568: Verifying Checksum 22:47:31 eaf3925da568: Download complete 22:47:31 339a4e72a1f5: Verifying Checksum 22:47:31 339a4e72a1f5: Download complete 22:47:31 bde34c3a00c8: Download complete 22:47:31 b352a97aabf1: Download complete 22:47:31 4872d77fe225: Download complete 22:47:31 5851b861e8e6: Verifying Checksum 22:47:31 5851b861e8e6: Download complete 22:47:31 b85a868b505f: Verifying Checksum 22:47:31 b85a868b505f: Download complete 22:47:31 bab4dde63d76: Verifying Checksum 22:47:31 bab4dde63d76: Download complete 22:47:32 b85a868b505f: Pull complete 22:47:32 e2be974225ed: Pull complete 22:47:33 339a4e72a1f5: Pull complete 22:47:33 988bab9f4d93: Pull complete 22:47:33 1469e6f7b9e6: Pull complete 22:47:33 eaf3925da568: Pull complete 22:47:35 bab4dde63d76: Pull complete 22:47:35 bde34c3a00c8: Pull complete 22:47:35 b352a97aabf1: Pull complete 22:47:35 4872d77fe225: Pull complete 22:47:35 5851b861e8e6: Pull complete 22:47:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:47:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:47:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:47:35 prd-ubuntu20.04-docker-8c-8g-673 does not seem to be running inside a container 22:47:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:47:38 $ docker top 624ef8b83fc7489d4d76ee0bc450d766fef6bfd3e2a340ec33eb2703d6fe8ad4 -eo pid,comm 22:47:38 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). 22:47:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:47:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:47:38 [ssh-agent] Looking for ssh-agent implementation... 22:47:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:47:38 $ docker exec 624ef8b83fc7489d4d76ee0bc450d766fef6bfd3e2a340ec33eb2703d6fe8ad4 ssh-agent 22:47:38 SSH_AUTH_SOCK=/tmp/ssh-VPatbTM8bG3J/agent.32 22:47:38 SSH_AGENT_PID=38 22:47:38 Running ssh-add (command line suppressed) 22:47:38 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_5573098739481163017.key (/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_5573098739481163017.key) 22:47:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:47:39 + git tag --points-at HEAD [Pipeline] } 22:47:39 $ docker exec --env ******** --env ******** 624ef8b83fc7489d4d76ee0bc450d766fef6bfd3e2a340ec33eb2703d6fe8ad4 ssh-agent -k 22:47:39 unset SSH_AUTH_SOCK; 22:47:39 unset SSH_AGENT_PID; 22:47:39 echo Agent pid 38 killed; 22:47:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:47:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:47:39 [ssh-agent] Looking for ssh-agent implementation... 22:47:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:47:39 $ docker exec 624ef8b83fc7489d4d76ee0bc450d766fef6bfd3e2a340ec33eb2703d6fe8ad4 ssh-agent 22:47:39 SSH_AUTH_SOCK=/tmp/ssh-zrMI0xgzymJQ/agent.70 22:47:39 SSH_AGENT_PID=76 22:47:39 Running ssh-add (command line suppressed) 22:47:39 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_162612010465859913.key (/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_162612010465859913.key) 22:47:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:47:39 + git semver init 22:47:40 2022-09-22 22:47:40,060 [run_init] DEBUG init version:0.0.0 force:False 22:47:40 2022-09-22 22:47:40,060 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver 22:47:40 2022-09-22 22:47:40,061 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver 22:47:40 2022-09-22 22:47:40,061 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414, universal_newlines=False, shell=None, istream=None) 22:47:41 2022-09-22 22:47:40,926 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.git/info/exclude 22:47:41 2022-09-22 22:47:40,927 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 with force:False 22:47:41 2022-09-22 22:47:40,927 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 22:47:41 2022-09-22 22:47:40,931 [execute] INFO git cat-file --batch-check 22:47:41 2022-09-22 22:47:40,932 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) 22:47:41 2022-09-22 22:47:40,937 [execute] INFO git cat-file --batch 22:47:41 2022-09-22 22:47:40,938 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) 22:47:41 2022-09-22 22:47:40,942 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 22:47:41 0.0.0 [Pipeline] } 22:47:41 $ docker exec --env ******** --env ******** 624ef8b83fc7489d4d76ee0bc450d766fef6bfd3e2a340ec33eb2703d6fe8ad4 ssh-agent -k 22:47:41 unset SSH_AUTH_SOCK; 22:47:41 unset SSH_AGENT_PID; 22:47:41 echo Agent pid 76 killed; 22:47:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:47:41 + git semver [Pipeline] } 22:47:41 $ docker stop --time=1 624ef8b83fc7489d4d76ee0bc450d766fef6bfd3e2a340ec33eb2703d6fe8ad4 22:47:43 $ docker rm -f 624ef8b83fc7489d4d76ee0bc450d766fef6bfd3e2a340ec33eb2703d6fe8ad4 [Pipeline] // withDockerContainer [Pipeline] sh 22:47:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:47:43 Stashed 1 file(s) [Pipeline] echo 22:47:43 [edgeXSemver]: initialized semver on version 0.0.0 [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 22:47:43 provisioning config files... 22:47:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config11614909200875210430tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:47:44 ---> docker-login.sh 22:47:44 nexus3.edgexfoundry.org:10001 22:47:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:44 Configure a credential helper to remove this warning. See 22:47:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:44 22:47:44 Login Succeeded 22:47:44 nexus3.edgexfoundry.org:10002 22:47:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:44 Configure a credential helper to remove this warning. See 22:47:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:44 22:47:44 Login Succeeded 22:47:44 nexus3.edgexfoundry.org:10003 22:47:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:44 Configure a credential helper to remove this warning. See 22:47:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:44 22:47:44 Login Succeeded 22:47:44 nexus3.edgexfoundry.org:10004 22:47:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:44 Configure a credential helper to remove this warning. See 22:47:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:44 22:47:44 Login Succeeded 22:47:44 docker.io 22:47:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:47:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:47:44 Configure a credential helper to remove this warning. See 22:47:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:47:44 22:47:44 Login Succeeded 22:47:44 ---> docker-login.sh ends [Pipeline] } 22:47:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:47:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:47:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:47:44 ========================================================= 22:47:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:47:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:47:45 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:47:45 Sending build context to Docker daemon 6.146MB 22:47:45 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:47:45 Step 2/13 : FROM ${BASE} AS builder 22:47:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:47:45 2408cc74d12b: Pulling fs layer 22:47:45 ea60b727a1ce: Pulling fs layer 22:47:45 30c4a7721957: Pulling fs layer 22:47:45 370296b7ddb6: Pulling fs layer 22:47:45 7c6cee850709: Pulling fs layer 22:47:45 39a5fcdaea64: Pulling fs layer 22:47:45 d94ebbe4e438: Pulling fs layer 22:47:45 bcfd1f05c69d: Pulling fs layer 22:47:45 59ccb84bbe0f: Pulling fs layer 22:47:45 39a5fcdaea64: Waiting 22:47:45 d94ebbe4e438: Waiting 22:47:45 370296b7ddb6: Waiting 22:47:45 59ccb84bbe0f: Waiting 22:47:45 bcfd1f05c69d: Waiting 22:47:45 30c4a7721957: Verifying Checksum 22:47:45 30c4a7721957: Download complete 22:47:45 ea60b727a1ce: Verifying Checksum 22:47:45 ea60b727a1ce: Download complete 22:47:45 7c6cee850709: Download complete 22:47:45 39a5fcdaea64: Verifying Checksum 22:47:45 39a5fcdaea64: Download complete 22:47:45 2408cc74d12b: Verifying Checksum 22:47:45 2408cc74d12b: Download complete 22:47:45 d94ebbe4e438: Verifying Checksum 22:47:45 d94ebbe4e438: Download complete 22:47:45 2408cc74d12b: Pull complete 22:47:45 ea60b727a1ce: Pull complete 22:47:45 59ccb84bbe0f: Verifying Checksum 22:47:45 59ccb84bbe0f: Download complete 22:47:45 30c4a7721957: Pull complete 22:47:46 370296b7ddb6: Verifying Checksum 22:47:46 370296b7ddb6: Download complete 22:47:46 bcfd1f05c69d: Download complete 22:47:49 370296b7ddb6: Pull complete 22:47:49 7c6cee850709: Pull complete 22:47:49 39a5fcdaea64: Pull complete 22:47:49 d94ebbe4e438: Pull complete 22:47:51 bcfd1f05c69d: Pull complete 22:47:52 59ccb84bbe0f: Pull complete 22:47:52 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 22:47:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:47:52 ---> a4fb48ad2a94 22:47:52 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:47:57 ---> Running in 25fc4c0f1dfd 22:47:57 Removing intermediate container 25fc4c0f1dfd 22:47:57 ---> 7cfc7febd3b7 22:47:57 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:47:57 ---> Running in 03a45a9d9474 22:47:57 Removing intermediate container 03a45a9d9474 22:47:57 ---> 7ae769f3a189 22:47:57 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:47:57 ---> Running in 86cb97a0535f 22:47:57 Removing intermediate container 86cb97a0535f 22:47:57 ---> f138afc27d84 22:47:57 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:47:57 ---> Running in c4ce5adc78f9 22:47:57 Removing intermediate container c4ce5adc78f9 22:47:57 ---> 801122263d39 22:47:57 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:47:57 ---> Running in a22436188136 22:47:57 Removing intermediate container a22436188136 22:47:57 ---> 3d972208b660 22:47:57 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:47:57 ---> Running in 01919d1fc6f9 22:47:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:47:58 Still waiting to schedule task 22:47:58 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 22:47:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:47:59 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:47:59 (2/4) Installing libedit (20210910.3.1-r0) 22:47:59 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:47:59 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:47:59 Executing busybox-1.35.0-r13.trigger 22:47:59 OK: 216 MiB in 55 packages 22:48:00 Removing intermediate container 01919d1fc6f9 22:48:00 ---> 1e1db3d29b89 22:48:00 Step 9/13 : WORKDIR /device-mqtt-go 22:48:00 ---> Running in 5eb14219f0b6 22:48:00 Removing intermediate container 5eb14219f0b6 22:48:00 ---> 641f05f315f6 22:48:00 Step 10/13 : COPY go.mod vendor* ./ 22:48:00 ---> 9c3d8b9e1b8f 22:48:00 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:48:00 ---> Running in b1f0f17aaf49 22:48:22 Removing intermediate container b1f0f17aaf49 22:48:22 ---> a4a30d5b56b9 22:48:22 Step 12/13 : COPY . . 22:48:22 ---> d4c6261b1525 22:48:22 Step 13/13 : RUN $MAKE 22:48:22 ---> Running in ee65e55c8129 22:48:22 noop 22:48:22 Removing intermediate container ee65e55c8129 22:48:22 ---> 6256df18b836 22:48:22 Successfully built 6256df18b836 22:48:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:22 + docker inspect -f . ci-base-image-x86_64 22:48:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:48:22 prd-ubuntu20.04-docker-8c-8g-673 does not seem to be running inside a container 22:48:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:48:23 $ docker top 8b2daa9490f26a6a67f6531f456785d119d48c6849aef736e0e2be634ed8cf20 -eo pid,comm [Pipeline] { [Pipeline] sh 22:48:23 + go version 22:48:23 go version go1.18.3 linux/amd64 [Pipeline] } 22:48:23 $ docker stop --time=1 8b2daa9490f26a6a67f6531f456785d119d48c6849aef736e0e2be634ed8cf20 22:48:24 $ docker rm -f 8b2daa9490f26a6a67f6531f456785d119d48c6849aef736e0e2be634ed8cf20 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:25 + docker inspect -f . ci-base-image-x86_64 22:48:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:48:25 prd-ubuntu20.04-docker-8c-8g-673 does not seem to be running inside a container 22:48:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 22:48:25 $ docker top 47dca90da96151cdd3d8ef3536d3dd6776e38e48a9811d231cf2136839bfbe7d -eo pid,comm [Pipeline] { [Pipeline] sh 22:48:25 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-414 [Pipeline] fileExists [Pipeline] sh 22:48:26 + make test 22:48:26 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:48:26 ? github.com/edgexfoundry/device-mqtt-go [no test files] 22:48:36 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 22:48:36 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 22:48:36 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 22:48:44 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 22:48:44 GCO_ENABLED=1 GO111MODULE=on go vet ./... 22:48:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:48:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:48:46 ./bin/test-attribution-txt.sh [Pipeline] echo 22:48:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:48:46 $ docker stop --time=1 47dca90da96151cdd3d8ef3536d3dd6776e38e48a9811d231cf2136839bfbe7d 22:48:48 $ docker rm -f 47dca90da96151cdd3d8ef3536d3dd6776e38e48a9811d231cf2136839bfbe7d [Pipeline] // withDockerContainer [Pipeline] sh 22:48:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:48:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:48:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:48:49 + ls -al . 22:48:49 total 184 22:48:49 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 22:48 . 22:48:49 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:47 .. 22:48:49 -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 22:47 .dockerignore 22:48:49 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 22:48 .git 22:48:49 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:47 .github 22:48:49 -rw-rw-r-- 1 jenkins jenkins 329 Sep 22 22:47 .gitignore 22:48:49 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 22:47 .golangci.yml 22:48:49 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 22:47 .semver 22:48:49 -rw-rw-r-- 1 jenkins jenkins 9293 Sep 22 22:47 Attribution.txt 22:48:49 -rw-rw-r-- 1 jenkins jenkins 11365 Sep 22 22:47 CHANGELOG.md 22:48:49 -rw-rw-r-- 1 jenkins jenkins 1988 Sep 22 22:47 Dockerfile 22:48:49 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 22:47 GOVERNANCE.md 22:48:49 -rw-rw-r-- 1 jenkins jenkins 678 Sep 22 22:47 Jenkinsfile 22:48:49 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 22:47 LICENSE 22:48:49 -rw-rw-r-- 1 jenkins jenkins 2126 Sep 22 22:47 Makefile 22:48:49 -rw-rw-r-- 1 jenkins jenkins 620 Sep 22 22:47 OWNERS.md 22:48:49 -rw-rw-r-- 1 jenkins jenkins 3165 Sep 22 22:47 README.md 22:48:49 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 22:47 VERSION 22:48:49 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:47 bin 22:48:49 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:47 cmd 22:48:49 -rw-r--r-- 1 jenkins jenkins 17887 Sep 22 22:48 coverage.out 22:48:49 -rw-rw-r-- 1 jenkins jenkins 3523 Sep 22 22:47 go.mod 22:48:49 -rw-rw-r-- 1 jenkins jenkins 37945 Sep 22 22:47 go.sum 22:48:49 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:47 internal 22:48:49 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:47 mock 22:48:49 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:47 snap 22:48:49 -rw-rw-r-- 1 jenkins jenkins 227 Sep 22 22:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:48:50 + 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=1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 --label arch=amd64 --label version=0.0.0 . 22:48:50 Sending build context to Docker daemon 6.164MB 22:48:50 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:48:50 Step 2/25 : FROM ${BASE} AS builder 22:48:50 ---> 6256df18b836 22:48:50 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:48:50 ---> Running in 91e19bb99c07 22:48:50 Removing intermediate container 91e19bb99c07 22:48:50 ---> 4a4f354937a2 22:48:50 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:48:50 ---> Running in 84ce3bdc7d06 22:48:50 Removing intermediate container 84ce3bdc7d06 22:48:50 ---> f9a1a587ca36 22:48:50 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:48:50 ---> Running in d45af9cbd21a 22:48:50 Removing intermediate container d45af9cbd21a 22:48:50 ---> 97b29a9912e6 22:48:50 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:48:50 ---> Running in 6cbdbed16e80 22:48:50 Removing intermediate container 6cbdbed16e80 22:48:50 ---> 5a6cc8c03a04 22:48:50 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:48:50 ---> Running in 08b1cb64a673 22:48:51 Removing intermediate container 08b1cb64a673 22:48:51 ---> b0de8cf21572 22:48:51 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:48:51 ---> Running in ac57577e141e 22:48:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:48:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:48:52 OK: 216 MiB in 55 packages 22:48:53 Removing intermediate container ac57577e141e 22:48:53 ---> b8813ef32312 22:48:53 Step 9/25 : WORKDIR /device-mqtt-go 22:48:53 ---> Running in c2a3e17faf4f 22:48:53 Removing intermediate container c2a3e17faf4f 22:48:53 ---> e137b1fca5ca 22:48:53 Step 10/25 : COPY go.mod vendor* ./ 22:48:53 ---> 689a20fbc4f0 22:48:53 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:48:53 ---> Running in a37f6bd32675 22:48:53 Removing intermediate container a37f6bd32675 22:48:53 ---> d6a44bedbeeb 22:48:53 Step 12/25 : COPY . . 22:48:54 ---> 9c4c972905bb 22:48:54 Step 13/25 : RUN $MAKE 22:48:54 ---> Running in 47eb1c31925b 22:48:54 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 22:49:16 Removing intermediate container 47eb1c31925b 22:49:16 ---> c1f0e7a305f6 22:49:16 Step 14/25 : FROM alpine:3.16 22:49:16 3.16: Pulling from library/alpine 22:49:16 213ec9aee27d: Pulling fs layer 22:49:16 213ec9aee27d: Download complete 22:49:16 213ec9aee27d: Pull complete 22:49:16 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:49:16 Status: Downloaded newer image for alpine:3.16 22:49:16 ---> 9c6f07244728 22:49:16 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 22:49:16 ---> Running in de908e9f813b 22:49:16 Removing intermediate container de908e9f813b 22:49:16 ---> d924037f803a 22:49:16 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 22:49:16 ---> Running in 1ac97a27000f 22:49:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:49:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:49:17 (1/6) Installing dumb-init (1.2.5-r1) 22:49:17 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:49:17 (3/6) Installing libsodium (1.0.18-r0) 22:49:17 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:49:17 (5/6) Installing libzmq (4.3.4-r0) 22:49:17 (6/6) Installing zeromq (4.3.4-r0) 22:49:17 Executing busybox-1.35.0-r17.trigger 22:49:17 OK: 8 MiB in 20 packages 22:49:17 Removing intermediate container 1ac97a27000f 22:49:17 ---> e8265a421b8b 22:49:17 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 22:49:18 ---> 83cb76e11a9a 22:49:18 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 22:49:18 ---> b12aee71df84 22:49:18 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 22:49:18 ---> ff897dff080a 22:49:18 Step 20/25 : EXPOSE 59982 22:49:18 ---> Running in d083b26cded4 22:49:19 Removing intermediate container d083b26cded4 22:49:19 ---> bc067952f9b5 22:49:19 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 22:49:19 ---> Running in 40553abf4265 22:49:19 Removing intermediate container 40553abf4265 22:49:19 ---> d1dad901d7a5 22:49:19 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:49:19 ---> Running in d2c3d05ec46d 22:49:19 Removing intermediate container d2c3d05ec46d 22:49:19 ---> 634d62225c82 22:49:19 Step 23/25 : LABEL arch=amd64 22:49:19 ---> Running in cad45aad0a6d 22:49:19 Removing intermediate container cad45aad0a6d 22:49:19 ---> 08128fbfcd30 22:49:19 Step 24/25 : LABEL git_sha=1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 22:49:19 ---> Running in 7290f2985b9d 22:49:19 Removing intermediate container 7290f2985b9d 22:49:19 ---> 83a84a45f739 22:49:19 Step 25/25 : LABEL version=0.0.0 22:49:19 ---> Running in cc2d62bf9d10 22:49:19 Removing intermediate container cc2d62bf9d10 22:49:19 ---> c223a42b57b6 22:49:19 [Warning] One or more build-args [ARCH] were not consumed 22:49:19 Successfully built c223a42b57b6 22:49:19 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [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 22:49:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:49:19 22:49:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:49:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:49:20 latest: Pulling from edgex-lftools-log-publisher 22:49:20 5eb5b503b376: Pulling fs layer 22:49:20 5c69ac0246d0: Pulling fs layer 22:49:20 ec43610c2a17: Pulling fs layer 22:49:20 3a2ae6a8a46f: Pulling fs layer 22:49:20 33b1e0a273af: Pulling fs layer 22:49:20 5d3b04190fa2: Pulling fs layer 22:49:20 2f39f015ded8: Pulling fs layer 22:49:20 3a2ae6a8a46f: Waiting 22:49:20 33b1e0a273af: Waiting 22:49:20 5d3b04190fa2: Waiting 22:49:20 2f39f015ded8: Waiting 22:49:20 5c69ac0246d0: Download complete 22:49:20 3a2ae6a8a46f: Verifying Checksum 22:49:20 3a2ae6a8a46f: Download complete 22:49:20 33b1e0a273af: Verifying Checksum 22:49:20 33b1e0a273af: Download complete 22:49:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-674 in /w/workspace/gexfoundry_device-mqtt-go_PR-414 [Pipeline] { [Pipeline] ws 22:49:20 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 22:49:20 Selected Git installation does not exist. Using Default 22:49:20 The recommended git tool is: NONE 22:49:20 ec43610c2a17: Verifying Checksum 22:49:20 ec43610c2a17: Download complete 22:49:20 5d3b04190fa2: Download complete 22:49:20 5eb5b503b376: Verifying Checksum 22:49:20 5eb5b503b376: Download complete 22:49:21 2f39f015ded8: Verifying Checksum 22:49:21 2f39f015ded8: Download complete 22:49:22 5eb5b503b376: Pull complete 22:49:22 5c69ac0246d0: Pull complete 22:49:22 ec43610c2a17: Pull complete 22:49:22 3a2ae6a8a46f: Pull complete 22:49:22 33b1e0a273af: Pull complete 22:49:22 5d3b04190fa2: Pull complete 22:49:25 using credential edgex-jenkins-ssh 22:49:25 Cloning the remote Git repository 22:49:25 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 22:49:25 > git init /w/workspace/device-mqtt-go/2 # timeout=10 22:49:25 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 22:49:25 > git --version # timeout=10 22:49:25 > git --version # 'git version 2.25.1' 22:49:25 using GIT_SSH to set credentials SSH Credentials for GitHub 22:49:25 Verifying host key using known hosts file 22:49:25 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 22:49:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:49:26 2f39f015ded8: Pull complete 22:49:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:49:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:49:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:49:27 prd-ubuntu20.04-docker-8c-8g-673 does not seem to be running inside a container 22:49:27 $ 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/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:49:26 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 22:49:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:49:27 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 22:49:27 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 22:49:27 using GIT_SSH to set credentials SSH Credentials for GitHub 22:49:27 Verifying host key using known hosts file 22:49:27 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 22:49:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/414/head:refs/remotes/origin/PR-414 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:49:28 Merging remotes/origin/main commit e3b17c36aac665b2f67a5aeebf35b3bad318417a into PR head commit 1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 22:49:28 Merge succeeded, producing 1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 22:49:28 Checking out Revision 1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 (PR-414) 22:49:28 > git config core.sparsecheckout # timeout=10 22:49:28 > git checkout -f 1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 # timeout=10 22:49:28 > git remote # timeout=10 22:49:28 > git config --get remote.origin.url # timeout=10 22:49:28 using GIT_SSH to set credentials SSH Credentials for GitHub 22:49:28 Verifying host key using known hosts file 22:49:28 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 22:49:28 > git merge e3b17c36aac665b2f67a5aeebf35b3bad318417a # timeout=10 22:49:28 > git rev-parse HEAD^{commit} # timeout=10 22:49:28 > git config core.sparsecheckout # timeout=10 22:49:28 > git checkout -f 1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 # timeout=10 22:49:30 $ docker top 6857612a5fd48e136f5f13e121349825edd0efcda2352b70412b4bc510c4e721 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:49:31 ---> job-cost.sh 22:49:31 lf-activate-venv: SKIPPING 22:49:31 INFO: No Stack... 22:49:31 INFO: Retrieving Pricing Info for: v3-standard-8 22:49:31 INFO: Archiving Costs [Pipeline] sh 22:49:32 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/cost.csv 22:49:32 + cut -d, -f6 [Pipeline] lock 22:49:32 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-414-2-stack-cost] 22:49:32 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-2-stack-cost] did not exist. Created. 22:49:32 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-414-2-stack-cost] [Pipeline] { [Pipeline] unstash 22:49:32 Commit message: "build: Add option to build Service with NATS Capability" [Pipeline] sh 22:49:32 + echo total: 0.2199999988079071 [Pipeline] stash 22:49:32 Stashed 1 file(s) [Pipeline] } 22:49:32 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:49:32 $ docker stop --time=1 6857612a5fd48e136f5f13e121349825edd0efcda2352b70412b4bc510c4e721 22:49:32 22:49:32 GitHub has been notified of this commit’s build result 22:49:32 22:49:33 $ docker rm -f 6857612a5fd48e136f5f13e121349825edd0efcda2352b70412b4bc510c4e721 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:49:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:49:34 % Total % Received % Xferd Average Speed Time Time Time Current 22:49:34 Dload Upload Total Spent Left Speed 22:49:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90661 0 --:--:-- --:--:-- --:--:-- 91318 [Pipeline] sh 22:49:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:49:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:49:35 + sudo tee /etc/docker/daemon.new 22:49:35 { 22:49:35 "registry-mirrors": [ 22:49:35 "https://nexus3.edgexfoundry.org:10001" 22:49:35 ], 22:49:35 "bip": "10.250.0.254/24", 22:49:35 "hosts": [ 22:49:35 "tcp://0.0.0.0:5555", 22:49:35 "unix:///var/run/docker.sock" 22:49:35 ], 22:49:35 "mtu": 1458, 22:49:35 "selinux-enabled": true, 22:49:35 "seccomp-profile": "/etc/docker/seccomp.json" 22:49:35 } [Pipeline] sh 22:49:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:49:35 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:49:54 provisioning config files... 22:49:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config10372055345275885154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:49:54 ---> docker-login.sh 22:49:54 nexus3.edgexfoundry.org:10001 22:49:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:55 Configure a credential helper to remove this warning. See 22:49:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:55 22:49:55 Login Succeeded 22:49:55 nexus3.edgexfoundry.org:10002 22:49:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:55 Configure a credential helper to remove this warning. See 22:49:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:55 22:49:55 Login Succeeded 22:49:55 nexus3.edgexfoundry.org:10003 22:49:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:55 Configure a credential helper to remove this warning. See 22:49:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:55 22:49:55 Login Succeeded 22:49:55 nexus3.edgexfoundry.org:10004 22:49:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:56 Configure a credential helper to remove this warning. See 22:49:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:56 22:49:56 Login Succeeded 22:49:56 docker.io 22:49:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:49:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:49:56 Configure a credential helper to remove this warning. See 22:49:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:49:56 22:49:56 Login Succeeded 22:49:56 ---> docker-login.sh ends [Pipeline] } 22:49:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:49:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:49:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:49:56 ========================================================= 22:49:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:49:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:49:57 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:49:57 Sending build context to Docker daemon 3.192MB 22:49:57 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:49:57 Step 2/13 : FROM ${BASE} AS builder 22:49:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:49:57 b3c136eddcbf: Pulling fs layer 22:49:57 c0a3192eca97: Pulling fs layer 22:49:57 a050256f5b6f: Pulling fs layer 22:49:57 656be50a0ddc: Pulling fs layer 22:49:57 2bbca73fdf42: Pulling fs layer 22:49:57 46d945488cbd: Pulling fs layer 22:49:57 8a5474983e97: Pulling fs layer 22:49:57 329c88fbcd65: Pulling fs layer 22:49:57 46d945488cbd: Waiting 22:49:57 8a5474983e97: Waiting 22:49:57 329c88fbcd65: Waiting 22:49:57 2bbca73fdf42: Waiting 22:49:57 a050256f5b6f: Download complete 22:49:57 c0a3192eca97: Verifying Checksum 22:49:57 c0a3192eca97: Download complete 22:49:57 2bbca73fdf42: Verifying Checksum 22:49:57 2bbca73fdf42: Download complete 22:49:57 46d945488cbd: Verifying Checksum 22:49:57 46d945488cbd: Download complete 22:49:57 b3c136eddcbf: Verifying Checksum 22:49:58 b3c136eddcbf: Pull complete 22:49:58 329c88fbcd65: Verifying Checksum 22:49:58 329c88fbcd65: Download complete 22:50:00 8a5474983e97: Verifying Checksum 22:50:00 8a5474983e97: Download complete 22:50:00 c0a3192eca97: Pull complete 22:50:00 656be50a0ddc: Download complete 22:50:00 a050256f5b6f: Pull complete 22:50:12 656be50a0ddc: Pull complete 22:50:12 2bbca73fdf42: Pull complete 22:50:12 46d945488cbd: Pull complete 22:50:18 8a5474983e97: Pull complete 22:50:19 329c88fbcd65: Pull complete 22:50:19 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 22:50:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:50:19 ---> ff4287adb874 22:50:19 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:50:21 ---> Running in 2d7fc9d5adad 22:50:21 Removing intermediate container 2d7fc9d5adad 22:50:21 ---> 232ae341ed4b 22:50:21 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:50:21 ---> Running in d9cdcfae66e0 22:50:22 Removing intermediate container d9cdcfae66e0 22:50:22 ---> a65fa5613377 22:50:22 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:50:22 ---> Running in 4a183e646153 22:50:22 Removing intermediate container 4a183e646153 22:50:22 ---> 2a76cfa48d3b 22:50:22 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:50:22 ---> Running in 361b7ade75ce 22:50:22 Removing intermediate container 361b7ade75ce 22:50:22 ---> 6eb1ea2f649a 22:50:22 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:50:23 ---> Running in df530abae987 22:50:25 Removing intermediate container df530abae987 22:50:25 ---> 5bc201fcee22 22:50:25 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:50:25 ---> Running in c663abbc2594 22:50:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:50:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:50:27 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:50:27 (2/4) Installing libedit (20210910.3.1-r0) 22:50:27 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:50:27 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:50:27 Executing busybox-1.35.0-r13.trigger 22:50:28 OK: 226 MiB in 55 packages 22:50:29 Removing intermediate container c663abbc2594 22:50:29 ---> 1593f72d5a03 22:50:29 Step 9/13 : WORKDIR /device-mqtt-go 22:50:29 ---> Running in 033c47a667fb 22:50:29 Removing intermediate container 033c47a667fb 22:50:29 ---> 063b3dee3b73 22:50:29 Step 10/13 : COPY go.mod vendor* ./ 22:50:29 ---> 47d022533612 22:50:29 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:50:29 ---> Running in 7ac067a739bc 22:51:26 Removing intermediate container 7ac067a739bc 22:51:26 ---> b03a33ab38f1 22:51:26 Step 12/13 : COPY . . 22:51:26 ---> 8044ab2eca65 22:51:26 Step 13/13 : RUN $MAKE 22:51:26 ---> Running in bbb06745d9ef 22:51:26 noop 22:51:26 Removing intermediate container bbb06745d9ef 22:51:26 ---> 307b7ac55c2b 22:51:26 Successfully built 307b7ac55c2b 22:51:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:26 + docker inspect -f . ci-base-image-arm64 22:51:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:51:26 prd-ubuntu20.04-docker-arm64-4c-16g-674 does not seem to be running inside a container 22:51:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:51:28 $ docker top 8b919eb79cf45c052138a6907e59db244de49fc332cb76b8ff97ab1a353d2284 -eo pid,comm [Pipeline] { [Pipeline] sh 22:51:28 + go version 22:51:28 go version go1.18.3 linux/arm64 [Pipeline] } 22:51:28 $ docker stop --time=1 8b919eb79cf45c052138a6907e59db244de49fc332cb76b8ff97ab1a353d2284 22:51:30 $ docker rm -f 8b919eb79cf45c052138a6907e59db244de49fc332cb76b8ff97ab1a353d2284 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:51:31 + docker inspect -f . ci-base-image-arm64 22:51:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:51:31 prd-ubuntu20.04-docker-arm64-4c-16g-674 does not seem to be running inside a container 22:51:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 22:51:32 $ docker top aed5135db581d7801e6733400976d922fa41d87bcfd286b38ff4ae6488eb94eb -eo pid,comm [Pipeline] { [Pipeline] sh 22:51:32 + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh 22:51:33 + make test 22:51:33 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:51:35 ? github.com/edgexfoundry/device-mqtt-go [no test files] 22:52:57 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 22:52:57 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.067s coverage: 21.8% of statements 22:52:57 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 22:52:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:52:57 GCO_ENABLED=1 GO111MODULE=on go vet ./... 22:53:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:53:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:53:15 ./bin/test-attribution-txt.sh [Pipeline] echo 22:53:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:53:15 $ docker stop --time=1 aed5135db581d7801e6733400976d922fa41d87bcfd286b38ff4ae6488eb94eb 22:53:17 $ docker rm -f aed5135db581d7801e6733400976d922fa41d87bcfd286b38ff4ae6488eb94eb [Pipeline] // withDockerContainer [Pipeline] sh 22:53:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:53:18 Warning: overwriting stash ‘coverage-report’ 22:53:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:53:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:53:19 + ls -al . 22:53:19 total 180 22:53:19 drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 22:51 . 22:53:19 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:49 .. 22:53:19 -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 22:49 .dockerignore 22:53:19 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 22:49 .git 22:53:19 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:49 .github 22:53:19 -rw-rw-r-- 1 jenkins jenkins 329 Sep 22 22:49 .gitignore 22:53:19 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 22:49 .golangci.yml 22:53:19 -rw-rw-r-- 1 jenkins jenkins 9293 Sep 22 22:49 Attribution.txt 22:53:19 -rw-rw-r-- 1 jenkins jenkins 11365 Sep 22 22:49 CHANGELOG.md 22:53:19 -rw-rw-r-- 1 jenkins jenkins 1988 Sep 22 22:49 Dockerfile 22:53:19 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 22:49 GOVERNANCE.md 22:53:19 -rw-rw-r-- 1 jenkins jenkins 678 Sep 22 22:49 Jenkinsfile 22:53:19 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 22:49 LICENSE 22:53:19 -rw-rw-r-- 1 jenkins jenkins 2126 Sep 22 22:49 Makefile 22:53:19 -rw-rw-r-- 1 jenkins jenkins 620 Sep 22 22:49 OWNERS.md 22:53:19 -rw-rw-r-- 1 jenkins jenkins 3165 Sep 22 22:49 README.md 22:53:19 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 22:47 VERSION 22:53:19 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:49 bin 22:53:19 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:49 cmd 22:53:19 -rw-r--r-- 1 jenkins jenkins 17887 Sep 22 22:52 coverage.out 22:53:19 -rw-rw-r-- 1 jenkins jenkins 3523 Sep 22 22:49 go.mod 22:53:19 -rw-rw-r-- 1 jenkins jenkins 37945 Sep 22 22:49 go.sum 22:53:19 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:49 internal 22:53:19 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:49 mock 22:53:19 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:49 snap 22:53:19 -rw-rw-r-- 1 jenkins jenkins 227 Sep 22 22:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:19 + 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=1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 --label arch=arm64 --label version=0.0.0 . 22:53:20 Sending build context to Docker daemon 3.21MB 22:53:20 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 22:53:20 Step 2/25 : FROM ${BASE} AS builder 22:53:20 ---> 307b7ac55c2b 22:53:20 Step 3/25 : ARG ADD_BUILD_TAGS="" 22:53:20 ---> Running in 5727e69264bb 22:53:20 Removing intermediate container 5727e69264bb 22:53:20 ---> f46c54030b16 22:53:20 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:53:20 ---> Running in 2c08ddabcd7b 22:53:20 Removing intermediate container 2c08ddabcd7b 22:53:20 ---> 23627b4d4b38 22:53:20 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:53:20 ---> Running in f03976a9407d 22:53:21 Removing intermediate container f03976a9407d 22:53:21 ---> 2a920df0d9f1 22:53:21 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 22:53:21 ---> Running in 0fd7469e1505 22:53:21 Removing intermediate container 0fd7469e1505 22:53:21 ---> 53005c3fca62 22:53:21 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:53:21 ---> Running in f636ece2926a 22:53:23 Removing intermediate container f636ece2926a 22:53:23 ---> 89725f6ed6ee 22:53:23 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:53:23 ---> Running in 6be0acee4fb4 22:53:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:53:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:53:26 OK: 226 MiB in 55 packages 22:53:27 Removing intermediate container 6be0acee4fb4 22:53:27 ---> 511b0fab94cb 22:53:27 Step 9/25 : WORKDIR /device-mqtt-go 22:53:27 ---> Running in 20710c684993 22:53:27 Removing intermediate container 20710c684993 22:53:27 ---> 5c55a0fbe131 22:53:27 Step 10/25 : COPY go.mod vendor* ./ 22:53:27 ---> 2a81270dabe3 22:53:27 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:53:27 ---> Running in 0a885fba76ae 22:53:29 Removing intermediate container 0a885fba76ae 22:53:29 ---> e25a03ac0ec7 22:53:29 Step 12/25 : COPY . . 22:53:30 ---> ec9963926eb5 22:53:30 Step 13/25 : RUN $MAKE 22:53:30 ---> Running in 49787cbb5bbe 22:53:31 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 22:56:08 Removing intermediate container 49787cbb5bbe 22:56:08 ---> fa4f7adc452c 22:56:08 Step 14/25 : FROM alpine:3.16 22:56:08 3.16: Pulling from library/alpine 22:56:08 9b18e9b68314: Pulling fs layer 22:56:08 9b18e9b68314: Verifying Checksum 22:56:08 9b18e9b68314: Download complete 22:56:08 9b18e9b68314: Pull complete 22:56:08 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:56:08 Status: Downloaded newer image for alpine:3.16 22:56:08 ---> a6215f271958 22:56:08 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 22:56:08 ---> Running in 63f7bcdbde34 22:56:08 Removing intermediate container 63f7bcdbde34 22:56:08 ---> 75f18067b51e 22:56:08 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 22:56:08 ---> Running in b802292e2348 22:56:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:56:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:56:09 (1/6) Installing dumb-init (1.2.5-r1) 22:56:09 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:56:09 (3/6) Installing libsodium (1.0.18-r0) 22:56:09 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:56:09 (5/6) Installing libzmq (4.3.4-r0) 22:56:09 (6/6) Installing zeromq (4.3.4-r0) 22:56:09 Executing busybox-1.35.0-r17.trigger 22:56:09 OK: 8 MiB in 20 packages 22:56:10 Removing intermediate container b802292e2348 22:56:10 ---> 8c5d2c207a87 22:56:10 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 22:56:11 ---> ee734b4f831f 22:56:11 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 22:56:12 ---> 8d8a2619d550 22:56:12 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 22:56:12 ---> 5ec45814bd68 22:56:12 Step 20/25 : EXPOSE 59982 22:56:13 ---> Running in 8daa2e23b3a6 22:56:13 Removing intermediate container 8daa2e23b3a6 22:56:13 ---> 82b4ef5c6597 22:56:13 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 22:56:13 ---> Running in 4d392b344695 22:56:13 Removing intermediate container 4d392b344695 22:56:13 ---> 88491ab63345 22:56:13 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 22:56:13 ---> Running in 1828903d93e8 22:56:13 Removing intermediate container 1828903d93e8 22:56:13 ---> 9fb356ec94fd 22:56:13 Step 23/25 : LABEL arch=arm64 22:56:14 ---> Running in 91f2750d5b40 22:56:14 Removing intermediate container 91f2750d5b40 22:56:14 ---> f785339e535c 22:56:14 Step 24/25 : LABEL git_sha=1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 22:56:14 ---> Running in 4eecb0e7c2e9 22:56:14 Removing intermediate container 4eecb0e7c2e9 22:56:14 ---> 898fcbf96b03 22:56:14 Step 25/25 : LABEL version=0.0.0 22:56:14 ---> Running in e6d16cd6d37f 22:56:14 Removing intermediate container e6d16cd6d37f 22:56:14 ---> 646349227ace 22:56:14 [Warning] One or more build-args [ARCH] were not consumed 22:56:14 Successfully built 646349227ace 22:56:14 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:56:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:56:15 22:56:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:56:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:56:15 arm64: Pulling from edgex-lftools-log-publisher 22:56:15 8998bd30e6a1: Pulling fs layer 22:56:15 04944245beec: Pulling fs layer 22:56:15 699f458cf7ca: Pulling fs layer 22:56:15 765212b225bb: Pulling fs layer 22:56:15 f23df028b6ca: Pulling fs layer 22:56:15 d65c8cfc05b1: Pulling fs layer 22:56:15 2437ff75d9bd: Pulling fs layer 22:56:15 f23df028b6ca: Waiting 22:56:15 765212b225bb: Waiting 22:56:15 d65c8cfc05b1: Waiting 22:56:15 2437ff75d9bd: Waiting 22:56:16 04944245beec: Verifying Checksum 22:56:16 04944245beec: Download complete 22:56:16 765212b225bb: Verifying Checksum 22:56:16 765212b225bb: Download complete 22:56:16 f23df028b6ca: Verifying Checksum 22:56:16 f23df028b6ca: Download complete 22:56:16 d65c8cfc05b1: Verifying Checksum 22:56:16 d65c8cfc05b1: Download complete 22:56:16 699f458cf7ca: Verifying Checksum 22:56:16 699f458cf7ca: Download complete 22:56:16 8998bd30e6a1: Verifying Checksum 22:56:16 8998bd30e6a1: Download complete 22:56:19 2437ff75d9bd: Download complete 22:56:20 8998bd30e6a1: Pull complete 22:56:21 04944245beec: Pull complete 22:56:22 699f458cf7ca: Pull complete 22:56:22 765212b225bb: Pull complete 22:56:23 f23df028b6ca: Pull complete 22:56:23 d65c8cfc05b1: Pull complete 22:56:38 2437ff75d9bd: Pull complete 22:56:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:56:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:56:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:56:38 prd-ubuntu20.04-docker-arm64-4c-16g-674 does not seem to be running inside a container 22:56:39 $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:56:41 $ docker top 8e6a0e374be305ea71be8e8059737a8152e48335a59c58dee4351a9fc8c20149 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:56:42 ---> job-cost.sh 22:56:42 lf-activate-venv: SKIPPING 22:56:42 INFO: No Stack... 22:56:43 INFO: Retrieving Pricing Info for: v3-standard-4 22:56:44 INFO: Archiving Costs [Pipeline] sh 22:56:44 + cat /w/workspace/device-mqtt-go/2/archives/cost.csv 22:56:44 + cut -d, -f6 [Pipeline] lock 22:56:44 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-414-2-stack-cost] 22:56:44 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-2-stack-cost] did not exist. Created. 22:56:44 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-414-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:56:45 /w/workspace/device-mqtt-go/2@tmp/durable-950002af/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:56:46 + echo total: 0.10999999940395355 [Pipeline] stash 22:56:46 Warning: overwriting stash ‘stack-cost’ 22:56:46 Stashed 1 file(s) [Pipeline] } 22:56:46 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:56:46 $ docker stop --time=1 8e6a0e374be305ea71be8e8059737a8152e48335a59c58dee4351a9fc8c20149 22:56:47 $ docker rm -f 8e6a0e374be305ea71be8e8059737a8152e48335a59c58dee4351a9fc8c20149 [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 22:56:48 provisioning config files... 22:56:48 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config4623545306935226501tmp [Pipeline] { [Pipeline] sh 22:56:48 + set +x 22:56:48 + bash -s -- 22:56:48 + curl -s https://codecov.io/bash 22:56:48 22:56:48 _____ _ 22:56:48 / ____| | | 22:56:48 | | ___ __| | ___ ___ _____ __ 22:56:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:56:48 | |___| (_) | (_| | __/ (_| (_) \ V / 22:56:48 \_____\___/ \__,_|\___|\___\___/ \_/ 22:56:48 Bash-1.0.6 22:56:48 22:56:48 22:56:48 ==> git version 2.25.1 found 22:56:48 ==> 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 22:56:48 Release-Date: 2020-01-08 22:56:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:56:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:56:48 ==> Jenkins CI detected. 22:56:48 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-414 22:56:48 project root: . 22:56:48 --> token set from env 22:56:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:56:48 ==> Running gcov in . (disable via -X gcov) 22:56:48 ==> Python coveragepy not found 22:56:48 ==> Searching for coverage reports in: 22:56:48 + . 22:56:48 -> Found 1 reports 22:56:48 ==> Detecting git/mercurial file structure 22:56:48 ==> Reading reports 22:56:48 + ./coverage.out bytes=17887 22:56:48 ==> Appending adjustments 22:56:48 https://docs.codecov.io/docs/fixing-reports 22:56:48 + Found adjustments 22:56:48 ==> Gzipping contents 22:56:48 4.0K /tmp/codecov.OIYc8s.gz 22:56:48 ==> Uploading reports 22:56:48 url: https://codecov.io 22:56:48 query: branch=PR-414&commit=1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-414%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=414&job=&cmd_args= 22:56:48 -> Pinging Codecov 22:56:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-414&commit=1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-414%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=414&job=&cmd_args= 22:56:48 -> Uploading to 22:56:48 https://storage.googleapis.com/codecov/v4/raw/2022-09-22/7D719EC7BBE17E464838252E33014C33/1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0/07188c0c-c52a-49ac-adf7-f143f41f3be7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T225648Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=19a265f032fbdd3e3e221a46ffecfb43923dbb8adf47ef673303c27bf1fc7c57 22:56:48 % Total % Received % Xferd Average Speed Time Time Time Current 22:56:48 Dload Upload Total Spent Left Speed 22:56:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3216 0 0 100 3216 0 14552 --:--:-- --:--:-- --:--:-- 14552 22:56:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 [Pipeline] } 22:56:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [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) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 22:56:49 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives ] 22:56:49 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives 22:56:49 total 16 22:56:49 drwxr-xr-x 3 root root 4096 Sep 22 22:49 . 22:56:49 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 22:49 .. 22:56:49 drwxr-xr-x 2 root root 4096 Sep 22 22:49 cost 22:56:49 -rw-r--r-- 1 root root 86 Sep 22 22:49 cost.csv 22:56:49 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives 22:56:49 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives 22:56:49 total 16 22:56:49 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 22:49 . 22:56:49 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 22:49 .. 22:56:49 drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 22:49 cost 22:56:49 -rw-r--r-- 1 jenkins jenkins 86 Sep 22 22:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:56:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:56:51 ---> package-listing.sh 22:56:51 ++ facter osfamily 22:56:51 ++ tr '[:upper:]' '[:lower:]' 22:56:51 + OS_FAMILY=debian 22:56:51 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-414 22:56:51 + START_PACKAGES=/tmp/packages_start.txt 22:56:51 + END_PACKAGES=/tmp/packages_end.txt 22:56:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:56:51 + PACKAGES=/tmp/packages_start.txt 22:56:51 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-414 ']' 22:56:51 + PACKAGES=/tmp/packages_end.txt 22:56:51 + case "${OS_FAMILY}" in 22:56:51 + dpkg -l 22:56:51 + grep '^ii' 22:56:51 + '[' -f /tmp/packages_start.txt ']' 22:56:51 + '[' -f /tmp/packages_end.txt ']' 22:56:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:56:51 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-414 ']' 22:56:51 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/ 22:56:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/ [Pipeline] echo 22:56:51 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/gexfoundry_device-mqtt-go_PR-414/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:56:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:56:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:56:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:56:52 prd-ubuntu20.04-docker-8c-8g-673 does not seem to be running inside a container 22:56:52 $ 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/gexfoundry_device-mqtt-go_PR-414/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-414 -v /w/workspace/gexfoundry_device-mqtt-go_PR-414:/w/workspace/gexfoundry_device-mqtt-go_PR-414:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 22:56:52 $ docker top 665bbf4684ec0251646f28262a20842e06e05c8c4f54de30846775a826e6b7f1 -eo pid,comm [Pipeline] { [Pipeline] sh 22:56:52 + touch /tmp/pre-build-complete [Pipeline] sh 22:56:53 + mkdir -p /var/log/sysstat [Pipeline] sh 22:56:53 + ls /var/log/sa-host 22:56:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:56:53 provisioning config files... 22:56:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config9009576917006568999tmp [Pipeline] { [Pipeline] echo 22:56:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:56:53 ---> create-netrc.sh [Pipeline] } 22:56:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:56:54 ---> python-tools-install.sh [Pipeline] echo 22:56:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:56:54 ---> sudo-logs.sh 22:56:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:56:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:56:54 ---> job-cost.sh 22:56:54 lf-activate-venv: SKIPPING 22:56:54 DEBUG: total: 0.2199999988079071 22:56:54 INFO: Retrieving Stack Cost... 22:56:55 INFO: Retrieving Pricing Info for: v3-standard-8 22:56:55 INFO: Archiving Costs [Pipeline] echo 22:56:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:56:55 ---> logs-deploy.sh 22:56:55 lf-activate-venv: SKIPPING 22:56:55 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-414/2 22:56:55 INFO: archiving workspace using pattern(s): 22:56:56 Archives upload complete. 22:56:57 INFO: archiving logs to Nexus 22:56:57 ---> uname -a: 22:56:57 Linux prd-ubuntu20-04-docker-8c-8g-673 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 22:56:57 22:56:57 22:56:57 ---> lscpu: 22:56:57 Architecture: x86_64 22:56:57 CPU op-mode(s): 32-bit, 64-bit 22:56:57 Byte Order: Little Endian 22:56:57 Address sizes: 40 bits physical, 48 bits virtual 22:56:57 CPU(s): 8 22:56:57 On-line CPU(s) list: 0-7 22:56:57 Thread(s) per core: 1 22:56:57 Core(s) per socket: 1 22:56:57 Socket(s): 8 22:56:57 NUMA node(s): 1 22:56:57 Vendor ID: AuthenticAMD 22:56:57 CPU family: 23 22:56:57 Model: 49 22:56:57 Model name: AMD EPYC-Rome Processor 22:56:57 Stepping: 0 22:56:57 CPU MHz: 2799.998 22:56:57 BogoMIPS: 5599.99 22:56:57 Virtualization: AMD-V 22:56:57 Hypervisor vendor: KVM 22:56:57 Virtualization type: full 22:56:57 L1d cache: 256 KiB 22:56:57 L1i cache: 256 KiB 22:56:57 L2 cache: 4 MiB 22:56:57 L3 cache: 128 MiB 22:56:57 NUMA node0 CPU(s): 0-7 22:56:57 Vulnerability Itlb multihit: Not affected 22:56:57 Vulnerability L1tf: Not affected 22:56:57 Vulnerability Mds: Not affected 22:56:57 Vulnerability Meltdown: Not affected 22:56:57 Vulnerability Mmio stale data: Not affected 22:56:57 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 22:56:57 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 22:56:57 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 22:56:57 Vulnerability Srbds: Not affected 22:56:57 Vulnerability Tsx async abort: Not affected 22:56:57 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 22:56:57 22:56:57 22:56:57 ---> nproc: 22:56:57 8 22:56:57 22:56:57 22:56:57 ---> df -h: 22:56:57 Filesystem Size Used Avail Use% Mounted on 22:56:57 overlay 155G 12G 144G 8% / 22:56:57 tmpfs 64M 0 64M 0% /dev 22:56:57 tmpfs 16G 0 16G 0% /sys/fs/cgroup 22:56:57 shm 64M 0 64M 0% /dev/shm 22:56:57 /dev/vda1 155G 12G 144G 8% /facter-os 22:56:57 22:56:57 22:56:57 ---> sar -b -r -n DEV: 22:56:57 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-673) 09/22/22 _x86_64_ (8 CPU) 22:56:57 22:56:57 22:46:46 LINUX RESTART (8 CPU) 22:56:57 22:56:57 22:47:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 22:56:57 22:48:01 407.70 59.59 348.11 0.00 5447.19 180578.44 0.00 22:56:57 22:49:01 164.77 1.15 163.62 0.00 24.00 42308.15 0.00 22:56:57 22:50:01 113.25 0.02 113.23 0.00 1.47 33197.67 0.00 22:56:57 22:51:01 2.28 0.00 2.28 0.00 0.00 26.55 0.00 22:56:57 22:52:01 28.80 9.27 19.53 0.00 2888.72 2348.81 0.00 22:56:57 22:53:01 11.70 0.10 11.60 0.00 0.80 2484.12 0.00 22:56:57 22:54:01 1.27 0.02 1.25 0.00 0.13 14.40 0.00 22:56:57 22:55:01 0.90 0.00 0.90 0.00 0.00 11.73 0.00 22:56:57 22:56:01 1.20 0.00 1.20 0.00 0.00 13.20 0.00 22:56:57 Average: 81.32 7.79 73.52 0.00 929.13 28997.58 0.00 22:56:57 22:56:57 22:47:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 22:56:57 22:48:01 29147600 31546900 769688 2.34 75448 2598420 1998000 5.89 1028820 2348088 1752 22:56:57 22:49:01 28254688 31390316 908192 2.76 135576 3206952 2456260 7.24 1409092 2771776 159852 22:56:57 22:50:01 27864048 31569616 731032 2.22 146024 3722224 1742716 5.14 1205896 3322536 188 22:56:57 22:51:01 27864392 31570028 730324 2.22 146104 3722220 1742716 5.14 1205364 3322540 20 22:56:57 22:52:01 27553284 31529288 757524 2.30 163208 3970980 1836740 5.41 1382168 3435432 66268 22:56:57 22:53:01 27578972 31559904 726180 2.21 164376 3971036 1810436 5.34 1352552 3436300 200 22:56:57 22:54:01 27583696 31564668 721344 2.19 164412 3971048 1810436 5.34 1347108 3436308 24 22:56:57 22:55:01 27583980 31565172 720916 2.19 164444 3971048 1810436 5.34 1347104 3436476 180 22:56:57 22:56:01 27583808 31565028 720992 2.19 164472 3971052 1810436 5.34 1347296 3436480 32 22:56:57 Average: 27890496 31540102 754021 2.29 147118 3678331 1890908 5.57 1291711 3216215 25391 22:56:57 22:56:57 22:47:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 22:56:57 22:48:01 docker0 54.86 61.32 4.50 161.51 0.00 0.00 0.00 0.00 22:56:57 22:48:01 veth2ee5e05 43.68 47.93 4.26 50.75 0.00 0.00 0.00 0.00 22:56:57 22:48:01 lo 7.07 7.07 0.68 0.68 0.00 0.00 0.00 0.00 22:56:57 22:48:01 ens3 709.73 490.10 6538.32 121.74 0.00 0.00 0.00 0.00 22:56:57 22:49:01 docker0 75.50 102.50 6.19 1432.81 0.00 0.00 0.00 0.00 22:56:57 22:49:01 veth687b73c 0.05 0.20 0.00 0.02 0.00 0.00 0.00 0.00 22:56:57 22:49:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 22:56:57 22:49:01 ens3 144.64 102.48 1472.08 23.91 0.00 0.00 0.00 0.00 22:56:57 22:50:01 docker0 2.30 5.10 0.16 57.92 0.00 0.00 0.00 0.00 22:56:57 22:50:01 lo 1.67 1.67 0.16 0.16 0.00 0.00 0.00 0.00 22:56:57 22:50:01 ens3 129.30 80.05 2643.20 14.32 0.00 0.00 0.00 0.00 22:56:57 22:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:56:57 22:51:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:56:57 22:51:01 ens3 0.55 0.13 0.03 0.01 0.00 0.00 0.00 0.00 22:56:57 22:52:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:56:57 22:52:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 22:56:57 22:52:01 ens3 95.73 59.31 1300.49 4.38 0.00 0.00 0.00 0.00 22:56:57 22:53:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:56:57 22:53:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:56:57 22:53:01 ens3 1.10 0.92 0.60 0.40 0.00 0.00 0.00 0.00 22:56:57 22:54:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:56:57 22:54:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:56:57 22:54:01 ens3 0.60 0.00 0.05 0.00 0.00 0.00 0.00 0.00 22:56:57 22:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:56:57 22:55:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 22:56:57 22:55:01 ens3 0.92 0.23 0.15 0.08 0.00 0.00 0.00 0.00 22:56:57 22:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:56:57 22:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 22:56:57 22:56:01 ens3 0.93 0.63 0.65 0.47 0.00 0.00 0.00 0.00 22:56:57 Average: docker0 14.74 18.77 1.21 183.58 0.00 0.00 0.00 0.00 22:56:57 Average: lo 1.13 1.13 0.11 0.11 0.00 0.00 0.00 0.00 22:56:57 Average: ens3 120.39 81.54 1328.37 18.37 0.00 0.00 0.00 0.00 22:56:57 22:56:57 22:56:57 ---> sar -P ALL: 22:56:57 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-673) 09/22/22 _x86_64_ (8 CPU) 22:56:57 22:56:57 22:46:46 LINUX RESTART (8 CPU) 22:56:57 22:56:57 22:47:01 CPU %user %nice %system %iowait %steal %idle 22:56:57 22:48:01 all 9.75 0.00 3.56 3.47 0.05 83.18 22:56:57 22:48:01 0 10.73 0.00 5.19 3.72 0.05 80.32 22:56:57 22:48:01 1 8.50 0.00 2.56 0.27 0.03 88.64 22:56:57 22:48:01 2 7.71 0.00 3.05 3.68 0.05 85.50 22:56:57 22:48:01 3 9.42 0.00 3.30 1.23 0.07 85.99 22:56:57 22:48:01 4 9.25 0.00 2.85 7.47 0.03 80.40 22:56:57 22:48:01 5 12.20 0.00 3.55 3.31 0.05 80.89 22:56:57 22:48:01 6 11.98 0.00 4.41 5.70 0.03 77.88 22:56:57 22:48:01 7 8.18 0.00 3.54 2.39 0.07 85.82 22:56:57 22:49:01 all 31.97 0.00 6.13 2.43 0.07 59.40 22:56:57 22:49:01 0 32.10 0.00 5.72 0.24 0.07 61.88 22:56:57 22:49:01 1 32.90 0.00 5.94 0.44 0.08 60.63 22:56:57 22:49:01 2 30.89 0.00 6.52 0.03 0.07 62.49 22:56:57 22:49:01 3 31.70 0.00 5.69 0.05 0.05 62.51 22:56:57 22:49:01 4 31.64 0.00 5.92 0.08 0.07 62.28 22:56:57 22:49:01 5 31.90 0.00 5.71 1.13 0.07 61.19 22:56:57 22:49:01 6 31.82 0.00 6.78 7.37 0.07 53.96 22:56:57 22:49:01 7 32.83 0.00 6.74 10.18 0.08 50.17 22:56:57 22:50:01 all 11.21 0.00 2.70 1.51 0.04 84.54 22:56:57 22:50:01 0 11.19 0.00 2.14 0.29 0.03 86.35 22:56:57 22:50:01 1 11.24 0.00 3.31 2.35 0.05 83.05 22:56:57 22:50:01 2 10.46 0.00 2.67 0.02 0.03 86.82 22:56:57 22:50:01 3 10.11 0.00 2.87 0.03 0.03 86.95 22:56:57 22:50:01 4 10.83 0.00 2.45 0.44 0.03 86.26 22:56:57 22:50:01 5 11.25 0.00 2.52 0.37 0.03 85.82 22:56:57 22:50:01 6 13.56 0.00 2.53 0.05 0.03 83.83 22:56:57 22:50:01 7 11.06 0.00 3.15 8.56 0.03 77.20 22:56:57 22:51:01 all 0.03 0.00 0.01 0.01 0.01 99.95 22:56:57 22:51:01 0 0.02 0.00 0.03 0.00 0.00 99.95 22:56:57 22:51:01 1 0.00 0.00 0.00 0.00 0.00 100.00 22:56:57 22:51:01 2 0.00 0.00 0.02 0.00 0.00 99.98 22:56:57 22:51:01 3 0.10 0.00 0.00 0.00 0.02 99.88 22:56:57 22:51:01 4 0.02 0.00 0.00 0.00 0.00 99.98 22:56:57 22:51:01 5 0.00 0.00 0.02 0.07 0.00 99.92 22:56:57 22:51:01 6 0.03 0.00 0.02 0.00 0.02 99.93 22:56:57 22:51:01 7 0.03 0.00 0.03 0.00 0.02 99.92 22:56:57 22:52:01 all 1.06 0.00 0.72 0.42 0.01 97.80 22:56:57 22:52:01 0 2.37 0.00 0.83 0.47 0.02 96.31 22:56:57 22:52:01 1 0.62 0.00 0.88 0.38 0.02 98.10 22:56:57 22:52:01 2 0.73 0.00 0.48 0.02 0.02 98.75 22:56:57 22:52:01 3 1.24 0.00 0.52 0.08 0.02 98.14 22:56:57 22:52:01 4 0.68 0.00 1.70 0.67 0.00 96.95 22:56:57 22:52:01 5 0.53 0.00 0.55 1.35 0.00 97.57 22:56:57 22:52:01 6 0.78 0.00 0.33 0.08 0.00 98.80 22:56:57 22:52:01 7 1.49 0.00 0.42 0.28 0.03 97.78 22:56:57 22:53:01 all 0.22 0.00 0.10 0.08 0.01 99.59 22:56:57 22:53:01 0 0.40 0.00 0.13 0.13 0.00 99.33 22:56:57 22:53:01 1 0.13 0.00 0.10 0.00 0.00 99.77 22:56:57 22:53:01 2 0.42 0.00 0.20 0.03 0.02 99.33 22:56:57 22:53:01 3 0.15 0.00 0.07 0.00 0.00 99.78 22:56:57 22:53:01 4 0.12 0.00 0.05 0.00 0.02 99.82 22:56:57 22:53:01 5 0.15 0.00 0.13 0.42 0.02 99.28 22:56:57 22:53:01 6 0.17 0.00 0.07 0.05 0.02 99.70 22:56:57 22:53:01 7 0.20 0.00 0.07 0.02 0.00 99.72 22:56:57 22:54:01 all 0.11 0.00 0.01 0.00 0.00 99.87 22:56:57 22:54:01 0 0.02 0.00 0.05 0.00 0.02 99.92 22:56:57 22:54:01 1 0.03 0.00 0.00 0.00 0.00 99.97 22:56:57 22:54:01 2 0.00 0.00 0.00 0.00 0.00 100.00 22:56:57 22:54:01 3 0.81 0.00 0.00 0.00 0.02 99.17 22:56:57 22:54:01 4 0.00 0.00 0.00 0.00 0.00 100.00 22:56:57 22:54:01 5 0.00 0.00 0.00 0.03 0.00 99.97 22:56:57 22:54:01 6 0.03 0.00 0.02 0.00 0.00 99.95 22:56:57 22:54:01 7 0.00 0.00 0.03 0.00 0.00 99.97 22:56:57 22:55:01 all 0.03 0.00 0.02 0.03 0.01 99.92 22:56:57 22:55:01 0 0.03 0.00 0.02 0.00 0.02 99.93 22:56:57 22:55:01 1 0.00 0.00 0.02 0.00 0.00 99.98 22:56:57 22:55:01 2 0.02 0.00 0.00 0.15 0.00 99.83 22:56:57 22:55:01 3 0.05 0.00 0.02 0.00 0.00 99.93 22:56:57 22:55:01 4 0.02 0.00 0.02 0.00 0.00 99.97 22:56:57 22:55:01 5 0.02 0.00 0.02 0.10 0.00 99.87 22:56:57 22:55:01 6 0.03 0.00 0.02 0.00 0.00 99.95 22:56:57 22:55:01 7 0.05 0.00 0.03 0.00 0.05 99.87 22:56:57 22:56:01 all 0.04 0.00 0.01 0.00 0.01 99.94 22:56:57 22:56:01 0 0.03 0.00 0.03 0.00 0.00 99.93 22:56:57 22:56:01 1 0.05 0.00 0.00 0.00 0.00 99.95 22:56:57 22:56:01 2 0.00 0.00 0.00 0.00 0.02 99.98 22:56:57 22:56:01 3 0.05 0.00 0.02 0.00 0.02 99.92 22:56:57 22:56:01 4 0.00 0.00 0.00 0.02 0.02 99.97 22:56:57 22:56:01 5 0.00 0.00 0.00 0.02 0.00 99.98 22:56:57 22:56:01 6 0.12 0.00 0.02 0.00 0.00 99.87 22:56:57 22:56:01 7 0.05 0.00 0.02 0.00 0.02 99.92 22:56:57 Average: all 6.00 0.00 1.46 0.88 0.02 91.63 22:56:57 Average: 0 6.29 0.00 1.57 0.54 0.02 91.59 22:56:57 Average: 1 5.90 0.00 1.41 0.38 0.02 92.29 22:56:57 Average: 2 5.54 0.00 1.43 0.43 0.02 92.58 22:56:57 Average: 3 5.92 0.00 1.38 0.15 0.02 92.52 22:56:57 Average: 4 5.80 0.00 1.44 0.96 0.02 91.79 22:56:57 Average: 5 6.18 0.00 1.38 0.75 0.02 91.67 22:56:57 Average: 6 6.45 0.00 1.56 1.46 0.02 90.51 22:56:57 Average: 7 5.93 0.00 1.55 2.36 0.03 90.13 22:56:57 22:56:57 22:56:57