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 96c3debd235dda18a7fa7c4abd6d74e869e80f48+e3b17c36aac665b2f67a5aeebf35b3bad318417a (0605c21ff2f401aaea8be4931af633ec15ed5fa0) 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-ssh8733249967229927425.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-ssh2788795358633942761.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-ssh3339339750981918775.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-ssh13058673090187950744.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-ssh4048700570053041621.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-679 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 96c3debd235dda18a7fa7c4abd6d74e869e80f48 Merge succeeded, producing 96c3debd235dda18a7fa7c4abd6d74e869e80f48 Checking out Revision 96c3debd235dda18a7fa7c4abd6d74e869e80f48 (PR-414) > git config core.sparsecheckout # timeout=10 > git checkout -f 96c3debd235dda18a7fa7c4abd6d74e869e80f48 # 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 96c3debd235dda18a7fa7c4abd6d74e869e80f48 # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. > git rev-list --no-walk 1f8bdc780ace4ffc51debb9fcb6117d0b5891fe0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:00:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:00:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:00:36 ========================================================= 23:00:36 EdgeX Global Pipelines Version Info 23:00:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:00:36 ------------------- 23:00:36 stable info: 23:00:36 ------------------- 23:00:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:00:36 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 23:00:36 Message: update stable to v1.0.239 23:00:37 ------------------- 23:00:37 experimental info: 23:00:37 ------------------- 23:00:37 Commited By: **** collab-it+edgex@linuxfoundation.org 23:00:37 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 23:00:37 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-414 [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-414 [Pipeline] echo 23:00:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-414 [Pipeline] echo 23:00:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 96c3debd235dda18a7fa7c4abd6d74e869e80f48 [Pipeline] echo 23:00:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 96c3deb [Pipeline] echo 23:00:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:00:38 provisioning config files... 23:00:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config17673244292756845112tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:00:38 ---> docker-login.sh 23:00:38 nexus3.edgexfoundry.org:10001 23:00:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:38 Configure a credential helper to remove this warning. See 23:00:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:38 23:00:38 Login Succeeded 23:00:38 nexus3.edgexfoundry.org:10002 23:00:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:38 Configure a credential helper to remove this warning. See 23:00:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:38 23:00:38 Login Succeeded 23:00:38 nexus3.edgexfoundry.org:10003 23:00:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:39 Configure a credential helper to remove this warning. See 23:00:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:39 23:00:39 Login Succeeded 23:00:39 nexus3.edgexfoundry.org:10004 23:00:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:39 Configure a credential helper to remove this warning. See 23:00:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:39 23:00:39 Login Succeeded 23:00:39 docker.io 23:00:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:39 Configure a credential helper to remove this warning. See 23:00:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:39 23:00:39 Login Succeeded 23:00:39 ---> docker-login.sh ends [Pipeline] } 23:00:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:00:40 + git rev-list -1 --merges 96c3debd235dda18a7fa7c4abd6d74e869e80f48~1..96c3debd235dda18a7fa7c4abd6d74e869e80f48 [Pipeline] echo 23:00:40 -----------> git rev-list -1 --merges 96c3debd235dda18a7fa7c4abd6d74e869e80f48~1..96c3debd235dda18a7fa7c4abd6d74e869e80f48 96c3debd235dda18a7fa7c4abd6d74e869e80f48 [false] [Pipeline] sh 23:00:40 + git log --format=format:%s -1 96c3debd235dda18a7fa7c4abd6d74e869e80f48 [Pipeline] echo 23:00:40 ========================================================= 23:00:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:00:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:00:40 + git log --format=format:%s -1 96c3debd235dda18a7fa7c4abd6d74e869e80f48 [Pipeline] echo 23:00:40 [semverPrep] GIT_COMMIT: 96c3debd235dda18a7fa7c4abd6d74e869e80f48, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo 23:00:40 [semverPrep] This is not a build commit. [Pipeline] sh 23:00:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:00:41 + grep -v github /etc/ssh/ssh_known_hosts 23:00:41 + [ -e /tmp/ssh_known_hosts ] 23:00:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:00:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:00:41 + sudo tee -a /etc/ssh/ssh_known_hosts 23:00:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:00:41 23:00:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:00:41 0.1.4: Pulling from edgex-devops/py-git-semver 23:00:41 b85a868b505f: Pulling fs layer 23:00:41 e2be974225ed: Pulling fs layer 23:00:41 339a4e72a1f5: Pulling fs layer 23:00:41 988bab9f4d93: Pulling fs layer 23:00:41 1469e6f7b9e6: Pulling fs layer 23:00:41 988bab9f4d93: Waiting 23:00:41 eaf3925da568: Pulling fs layer 23:00:41 bab4dde63d76: Pulling fs layer 23:00:41 bde34c3a00c8: Pulling fs layer 23:00:41 1469e6f7b9e6: Waiting 23:00:41 eaf3925da568: Waiting 23:00:41 bab4dde63d76: Waiting 23:00:41 b352a97aabf1: Pulling fs layer 23:00:41 4872d77fe225: Pulling fs layer 23:00:41 b352a97aabf1: Waiting 23:00:41 4872d77fe225: Waiting 23:00:41 5851b861e8e6: Pulling fs layer 23:00:41 5851b861e8e6: Waiting 23:00:41 e2be974225ed: Verifying Checksum 23:00:41 e2be974225ed: Download complete 23:00:41 988bab9f4d93: Verifying Checksum 23:00:41 988bab9f4d93: Download complete 23:00:42 1469e6f7b9e6: Verifying Checksum 23:00:42 1469e6f7b9e6: Download complete 23:00:42 339a4e72a1f5: Verifying Checksum 23:00:42 339a4e72a1f5: Download complete 23:00:42 eaf3925da568: Verifying Checksum 23:00:42 eaf3925da568: Download complete 23:00:42 bde34c3a00c8: Verifying Checksum 23:00:42 bde34c3a00c8: Download complete 23:00:42 b352a97aabf1: Verifying Checksum 23:00:42 b352a97aabf1: Download complete 23:00:42 4872d77fe225: Verifying Checksum 23:00:42 4872d77fe225: Download complete 23:00:42 b85a868b505f: Verifying Checksum 23:00:42 b85a868b505f: Download complete 23:00:42 bab4dde63d76: Verifying Checksum 23:00:42 bab4dde63d76: Download complete 23:00:43 b85a868b505f: Pull complete 23:00:43 e2be974225ed: Pull complete 23:00:44 339a4e72a1f5: Pull complete 23:00:44 988bab9f4d93: Pull complete 23:00:44 1469e6f7b9e6: Pull complete 23:00:44 eaf3925da568: Pull complete 23:00:46 bab4dde63d76: Pull complete 23:00:46 bde34c3a00c8: Pull complete 23:00:46 b352a97aabf1: Pull complete 23:00:46 4872d77fe225: Pull complete 23:00:46 5851b861e8e6: Pull complete 23:00:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:00:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:00:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:00:46 prd-ubuntu20.04-docker-8c-8g-679 does not seem to be running inside a container 23:00:46 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:00:49 $ docker top 14eb1df9065c5c68c9c41ad28dc8c3f3e368a63933102334fb61dde153c97112 -eo pid,comm 23:00:49 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). 23:00:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:00:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:00:49 [ssh-agent] Looking for ssh-agent implementation... 23:00:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:00:49 $ docker exec 14eb1df9065c5c68c9c41ad28dc8c3f3e368a63933102334fb61dde153c97112 ssh-agent 23:00:49 SSH_AUTH_SOCK=/tmp/ssh-57tDOyWAg40z/agent.32 23:00:49 SSH_AGENT_PID=38 23:00:49 Running ssh-add (command line suppressed) 23:00:49 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_10238314354391557614.key (/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_10238314354391557614.key) 23:00:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:00:49 + git tag --points-at HEAD [Pipeline] } 23:00:49 $ docker exec --env ******** --env ******** 14eb1df9065c5c68c9c41ad28dc8c3f3e368a63933102334fb61dde153c97112 ssh-agent -k 23:00:49 unset SSH_AUTH_SOCK; 23:00:49 unset SSH_AGENT_PID; 23:00:49 echo Agent pid 38 killed; 23:00:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:00:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:00:49 [ssh-agent] Looking for ssh-agent implementation... 23:00:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:00:50 $ docker exec 14eb1df9065c5c68c9c41ad28dc8c3f3e368a63933102334fb61dde153c97112 ssh-agent 23:00:50 SSH_AUTH_SOCK=/tmp/ssh-xnhiWUiFKLXt/agent.69 23:00:50 SSH_AGENT_PID=75 23:00:50 Running ssh-add (command line suppressed) 23:00:50 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_8362560837582675618.key (/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_8362560837582675618.key) 23:00:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:00:50 + git semver init 23:00:50 2022-09-22 23:00:50,795 [run_init] DEBUG init version:0.0.0 force:False 23:00:50 2022-09-22 23:00:50,796 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver 23:00:50 2022-09-22 23:00:50,796 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver 23:00:50 2022-09-22 23:00:50,796 [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) 23:00:51 2022-09-22 23:00:51,670 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.git/info/exclude 23:00:51 2022-09-22 23:00:51,670 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 with force:False 23:00:51 2022-09-22 23:00:51,670 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 23:00:51 2022-09-22 23:00:51,675 [execute] INFO git cat-file --batch-check 23:00:51 2022-09-22 23:00:51,675 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) 23:00:51 2022-09-22 23:00:51,681 [execute] INFO git cat-file --batch 23:00:51 2022-09-22 23:00:51,682 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) 23:00:51 2022-09-22 23:00:51,688 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 23:00:51 0.0.0 [Pipeline] } 23:00:51 $ docker exec --env ******** --env ******** 14eb1df9065c5c68c9c41ad28dc8c3f3e368a63933102334fb61dde153c97112 ssh-agent -k 23:00:51 unset SSH_AUTH_SOCK; 23:00:51 unset SSH_AGENT_PID; 23:00:51 echo Agent pid 75 killed; 23:00:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:00:52 + git semver [Pipeline] } 23:00:52 $ docker stop --time=1 14eb1df9065c5c68c9c41ad28dc8c3f3e368a63933102334fb61dde153c97112 23:00:53 $ docker rm -f 14eb1df9065c5c68c9c41ad28dc8c3f3e368a63933102334fb61dde153c97112 [Pipeline] // withDockerContainer [Pipeline] sh 23:00:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:00:54 Stashed 1 file(s) [Pipeline] echo 23:00:54 [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 23:00:54 provisioning config files... 23:00:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config5791346375171542195tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:00:54 ---> docker-login.sh 23:00:54 nexus3.edgexfoundry.org:10001 23:00:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:54 Configure a credential helper to remove this warning. See 23:00:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:54 23:00:54 Login Succeeded 23:00:54 nexus3.edgexfoundry.org:10002 23:00:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:54 Configure a credential helper to remove this warning. See 23:00:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:54 23:00:54 Login Succeeded 23:00:54 nexus3.edgexfoundry.org:10003 23:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:55 Configure a credential helper to remove this warning. See 23:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:55 23:00:55 Login Succeeded 23:00:55 nexus3.edgexfoundry.org:10004 23:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:55 Configure a credential helper to remove this warning. See 23:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:55 23:00:55 Login Succeeded 23:00:55 docker.io 23:00:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:00:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:00:55 Configure a credential helper to remove this warning. See 23:00:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:00:55 23:00:55 Login Succeeded 23:00:55 ---> docker-login.sh ends [Pipeline] } 23:00:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:00:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:00:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:00:55 ========================================================= 23:00:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:00:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:56 + 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 . 23:00:56 Sending build context to Docker daemon 6.145MB 23:00:56 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:00:56 Step 2/13 : FROM ${BASE} AS builder 23:00:56 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:00:56 2408cc74d12b: Pulling fs layer 23:00:56 ea60b727a1ce: Pulling fs layer 23:00:56 30c4a7721957: Pulling fs layer 23:00:56 370296b7ddb6: Pulling fs layer 23:00:56 7c6cee850709: Pulling fs layer 23:00:56 39a5fcdaea64: Pulling fs layer 23:00:56 d94ebbe4e438: Pulling fs layer 23:00:56 bcfd1f05c69d: Pulling fs layer 23:00:56 59ccb84bbe0f: Pulling fs layer 23:00:56 bcfd1f05c69d: Waiting 23:00:56 370296b7ddb6: Waiting 23:00:56 39a5fcdaea64: Waiting 23:00:56 59ccb84bbe0f: Waiting 23:00:56 d94ebbe4e438: Waiting 23:00:56 7c6cee850709: Waiting 23:00:56 30c4a7721957: Verifying Checksum 23:00:56 30c4a7721957: Download complete 23:00:56 ea60b727a1ce: Download complete 23:00:56 7c6cee850709: Verifying Checksum 23:00:56 7c6cee850709: Download complete 23:00:56 39a5fcdaea64: Verifying Checksum 23:00:56 39a5fcdaea64: Download complete 23:00:56 2408cc74d12b: Download complete 23:00:56 d94ebbe4e438: Verifying Checksum 23:00:56 d94ebbe4e438: Download complete 23:00:56 2408cc74d12b: Pull complete 23:00:56 ea60b727a1ce: Pull complete 23:00:56 30c4a7721957: Pull complete 23:00:56 59ccb84bbe0f: Verifying Checksum 23:00:56 59ccb84bbe0f: Download complete 23:00:56 bcfd1f05c69d: Verifying Checksum 23:00:56 bcfd1f05c69d: Download complete 23:00:57 370296b7ddb6: Verifying Checksum 23:00:57 370296b7ddb6: Download complete 23:01:01 370296b7ddb6: Pull complete 23:01:01 7c6cee850709: Pull complete 23:01:01 39a5fcdaea64: Pull complete 23:01:01 d94ebbe4e438: Pull complete 23:01:03 bcfd1f05c69d: Pull complete 23:01:04 59ccb84bbe0f: Pull complete 23:01:04 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 23:01:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:01:04 ---> a4fb48ad2a94 23:01:04 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:01:07 ---> Running in ee92e03cdf88 23:01:07 Removing intermediate container ee92e03cdf88 23:01:07 ---> 38ede0905741 23:01:07 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:01:07 ---> Running in 15b69dab0d72 23:01:07 Removing intermediate container 15b69dab0d72 23:01:07 ---> e181a29d7100 23:01:07 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:01:07 ---> Running in 8b1fe2e1bc5f 23:01:07 Removing intermediate container 8b1fe2e1bc5f 23:01:07 ---> 546921d2502e 23:01:07 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:01:07 ---> Running in b98310c0a7b1 23:01:07 Removing intermediate container b98310c0a7b1 23:01:07 ---> 91419d001d31 23:01:07 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:01:07 ---> Running in 77647138b5d7 23:01:08 Removing intermediate container 77647138b5d7 23:01:08 ---> 775cf4920747 23:01:08 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:01:08 ---> Running in 4da74d002823 23:01:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:01:09 Still waiting to schedule task 23:01:09 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:01:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:01:09 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:01:09 (2/4) Installing libedit (20210910.3.1-r0) 23:01:10 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:01:10 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:01:10 Executing busybox-1.35.0-r13.trigger 23:01:10 OK: 216 MiB in 55 packages 23:01:10 Removing intermediate container 4da74d002823 23:01:10 ---> d95e6794d3ef 23:01:10 Step 9/13 : WORKDIR /device-mqtt-go 23:01:10 ---> Running in 720075e5bf6b 23:01:11 Removing intermediate container 720075e5bf6b 23:01:11 ---> fb3ec93e01ae 23:01:11 Step 10/13 : COPY go.mod vendor* ./ 23:01:11 ---> bd58fa7138e5 23:01:11 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:01:11 ---> Running in a55fc5274f9a 23:01:32 Removing intermediate container a55fc5274f9a 23:01:32 ---> ab77d7a404d9 23:01:32 Step 12/13 : COPY . . 23:01:32 ---> 8f294adc6d80 23:01:32 Step 13/13 : RUN $MAKE 23:01:32 ---> Running in a49f988b7332 23:01:32 noop 23:01:32 Removing intermediate container a49f988b7332 23:01:32 ---> 45b44aa1de38 23:01:32 Successfully built 45b44aa1de38 23:01:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:33 + docker inspect -f . ci-base-image-x86_64 23:01:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:01:33 prd-ubuntu20.04-docker-8c-8g-679 does not seem to be running inside a container 23:01:33 $ 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 ******** -e ******** ci-base-image-x86_64 cat 23:01:33 $ docker top 439151cc6d51695c4806c716fc605216db031ac2be19026502ff3d0e557b4991 -eo pid,comm [Pipeline] { [Pipeline] sh 23:01:34 + go version 23:01:34 go version go1.18.3 linux/amd64 [Pipeline] } 23:01:34 $ docker stop --time=1 439151cc6d51695c4806c716fc605216db031ac2be19026502ff3d0e557b4991 23:01:35 $ docker rm -f 439151cc6d51695c4806c716fc605216db031ac2be19026502ff3d0e557b4991 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:35 + docker inspect -f . ci-base-image-x86_64 23:01:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:01:35 prd-ubuntu20.04-docker-8c-8g-679 does not seem to be running inside a container 23:01:35 $ 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 ******** -e ******** ci-base-image-x86_64 cat 23:01:36 $ docker top 3a05f3ffd158139002a871b3e42624650eb8604d4c063107d63c652e821d7621 -eo pid,comm [Pipeline] { [Pipeline] sh 23:01:36 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-414 [Pipeline] fileExists [Pipeline] sh 23:01:36 + make test 23:01:36 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:01:37 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:01:47 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:01:47 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 21.8% of statements 23:01:47 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:01:55 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." 23:01:55 GCO_ENABLED=1 GO111MODULE=on go vet ./... 23:01:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:01:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:01:58 ./bin/test-attribution-txt.sh [Pipeline] echo 23:01:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:01:58 $ docker stop --time=1 3a05f3ffd158139002a871b3e42624650eb8604d4c063107d63c652e821d7621 23:02:00 $ docker rm -f 3a05f3ffd158139002a871b3e42624650eb8604d4c063107d63c652e821d7621 [Pipeline] // withDockerContainer [Pipeline] sh 23:02:01 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:02:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:02:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:02:02 + ls -al . 23:02:02 total 184 23:02:02 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 23:01 . 23:02:02 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:00 .. 23:02:02 -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 23:00 .dockerignore 23:02:02 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 23:01 .git 23:02:02 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:00 .github 23:02:02 -rw-rw-r-- 1 jenkins jenkins 329 Sep 22 23:00 .gitignore 23:02:02 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 23:00 .golangci.yml 23:02:02 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 23:00 .semver 23:02:02 -rw-rw-r-- 1 jenkins jenkins 9293 Sep 22 23:00 Attribution.txt 23:02:02 -rw-rw-r-- 1 jenkins jenkins 11365 Sep 22 23:00 CHANGELOG.md 23:02:02 -rw-rw-r-- 1 jenkins jenkins 1988 Sep 22 23:00 Dockerfile 23:02:02 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 23:00 GOVERNANCE.md 23:02:02 -rw-rw-r-- 1 jenkins jenkins 678 Sep 22 23:00 Jenkinsfile 23:02:02 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 23:00 LICENSE 23:02:02 -rw-rw-r-- 1 jenkins jenkins 2126 Sep 22 23:00 Makefile 23:02:02 -rw-rw-r-- 1 jenkins jenkins 620 Sep 22 23:00 OWNERS.md 23:02:02 -rw-rw-r-- 1 jenkins jenkins 3165 Sep 22 23:00 README.md 23:02:02 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 23:00 VERSION 23:02:02 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 23:00 bin 23:02:02 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:00 cmd 23:02:02 -rw-r--r-- 1 jenkins jenkins 17887 Sep 22 23:01 coverage.out 23:02:02 -rw-rw-r-- 1 jenkins jenkins 3523 Sep 22 23:00 go.mod 23:02:02 -rw-rw-r-- 1 jenkins jenkins 37945 Sep 22 23:00 go.sum 23:02:02 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:00 internal 23:02:02 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 23:00 mock 23:02:02 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:00 snap 23:02:02 -rw-rw-r-- 1 jenkins jenkins 227 Sep 22 23:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:02 + 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=96c3debd235dda18a7fa7c4abd6d74e869e80f48 --label arch=amd64 --label version=0.0.0 . 23:02:02 Sending build context to Docker daemon 6.163MB 23:02:02 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 23:02:02 Step 2/25 : FROM ${BASE} AS builder 23:02:02 ---> 45b44aa1de38 23:02:02 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:02:02 ---> Running in f0e432a13937 23:02:02 Removing intermediate container f0e432a13937 23:02:02 ---> aedafb33a4ea 23:02:02 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:02:02 ---> Running in 967ccae246e0 23:02:02 Removing intermediate container 967ccae246e0 23:02:02 ---> 924adf56e52c 23:02:02 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:02:02 ---> Running in 283c38c04b64 23:02:02 Removing intermediate container 283c38c04b64 23:02:02 ---> 8b3d20ce7833 23:02:02 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:02:02 ---> Running in 30f0febb7f69 23:02:02 Removing intermediate container 30f0febb7f69 23:02:02 ---> cf49bd503b07 23:02:02 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:02:02 ---> Running in 83c2c45fac2b 23:02:03 Removing intermediate container 83c2c45fac2b 23:02:03 ---> cd5fca51b5b2 23:02:03 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:02:03 ---> Running in a78c748d3575 23:02:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:02:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:02:04 OK: 216 MiB in 55 packages 23:02:05 Removing intermediate container a78c748d3575 23:02:05 ---> 5f12203d1954 23:02:05 Step 9/25 : WORKDIR /device-mqtt-go 23:02:05 ---> Running in a44aea38376d 23:02:05 Removing intermediate container a44aea38376d 23:02:05 ---> 66f07f74ab21 23:02:05 Step 10/25 : COPY go.mod vendor* ./ 23:02:05 ---> a6a68328fd98 23:02:05 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:02:05 ---> Running in e5b8b92c854f 23:02:06 Removing intermediate container e5b8b92c854f 23:02:06 ---> ca22a0ce4ef7 23:02:06 Step 12/25 : COPY . . 23:02:06 ---> 2195297bf7fb 23:02:06 Step 13/25 : RUN $MAKE 23:02:06 ---> Running in 1785fe6cca9c 23:02:06 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 23:02:28 Removing intermediate container 1785fe6cca9c 23:02:28 ---> 8361b0131698 23:02:28 Step 14/25 : FROM alpine:3.16 23:02:29 3.16: Pulling from library/alpine 23:02:29 213ec9aee27d: Pulling fs layer 23:02:29 213ec9aee27d: Download complete 23:02:30 213ec9aee27d: Pull complete 23:02:30 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:02:30 Status: Downloaded newer image for alpine:3.16 23:02:30 ---> 9c6f07244728 23:02:30 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:02:30 ---> Running in 340fce84db67 23:02:30 Removing intermediate container 340fce84db67 23:02:30 ---> ba61ae8f00be 23:02:30 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 23:02:30 ---> Running in abbe068215e9 23:02:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:02:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:02:30 (1/6) Installing dumb-init (1.2.5-r1) 23:02:30 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:02:30 (3/6) Installing libsodium (1.0.18-r0) 23:02:30 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:02:30 (5/6) Installing libzmq (4.3.4-r0) 23:02:30 (6/6) Installing zeromq (4.3.4-r0) 23:02:30 Executing busybox-1.35.0-r17.trigger 23:02:30 OK: 8 MiB in 20 packages 23:02:31 Removing intermediate container abbe068215e9 23:02:31 ---> e0394b555d94 23:02:31 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 23:02:32 ---> 3656d6ef78f7 23:02:32 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 23:02:32 ---> 8c003cdf694a 23:02:32 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:02:32 ---> 3e76218901f9 23:02:32 Step 20/25 : EXPOSE 59982 23:02:32 ---> Running in 8d066cd55573 23:02:32 Removing intermediate container 8d066cd55573 23:02:32 ---> 1f723b3f252f 23:02:32 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 23:02:32 ---> Running in 8ee93ee98ad3 23:02:32 Removing intermediate container 8ee93ee98ad3 23:02:32 ---> f5d7bd36876e 23:02:32 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:02:32 ---> Running in 1789ac2858ab 23:02:32 Removing intermediate container 1789ac2858ab 23:02:32 ---> 365c6b968d94 23:02:32 Step 23/25 : LABEL arch=amd64 23:02:32 ---> Running in 31daaefbbd6b 23:02:32 Removing intermediate container 31daaefbbd6b 23:02:32 ---> e2df3d299d4b 23:02:32 Step 24/25 : LABEL git_sha=96c3debd235dda18a7fa7c4abd6d74e869e80f48 23:02:32 ---> Running in 69aed04152b6 23:02:32 Removing intermediate container 69aed04152b6 23:02:32 ---> 2b5868193e1c 23:02:32 Step 25/25 : LABEL version=0.0.0 23:02:32 ---> Running in 32a9b6b1ddc9 23:02:32 Removing intermediate container 32a9b6b1ddc9 23:02:32 ---> 2a31ddd77b9d 23:02:32 [Warning] One or more build-args [ARCH] were not consumed 23:02:32 Successfully built 2a31ddd77b9d 23:02:32 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 23:02:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:02:33 23:02:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:02:33 latest: Pulling from edgex-lftools-log-publisher 23:02:33 5eb5b503b376: Pulling fs layer 23:02:33 5c69ac0246d0: Pulling fs layer 23:02:33 ec43610c2a17: Pulling fs layer 23:02:33 3a2ae6a8a46f: Pulling fs layer 23:02:33 33b1e0a273af: Pulling fs layer 23:02:33 5d3b04190fa2: Pulling fs layer 23:02:33 2f39f015ded8: Pulling fs layer 23:02:33 3a2ae6a8a46f: Waiting 23:02:33 33b1e0a273af: Waiting 23:02:33 5d3b04190fa2: Waiting 23:02:33 2f39f015ded8: Waiting 23:02:33 5c69ac0246d0: Download complete 23:02:33 3a2ae6a8a46f: Download complete 23:02:33 ec43610c2a17: Verifying Checksum 23:02:33 ec43610c2a17: Download complete 23:02:33 33b1e0a273af: Verifying Checksum 23:02:33 33b1e0a273af: Download complete 23:02:33 5d3b04190fa2: Verifying Checksum 23:02:33 5d3b04190fa2: Download complete 23:02:33 5eb5b503b376: Verifying Checksum 23:02:33 5eb5b503b376: Download complete 23:02:34 2f39f015ded8: Download complete 23:02:35 5eb5b503b376: Pull complete 23:02:35 5c69ac0246d0: Pull complete 23:02:35 ec43610c2a17: Pull complete 23:02:35 3a2ae6a8a46f: Pull complete 23:02:36 33b1e0a273af: Pull complete 23:02:36 5d3b04190fa2: Pull complete 23:02:41 2f39f015ded8: Pull complete 23:02:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:02:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:02:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:02:41 prd-ubuntu20.04-docker-8c-8g-679 does not seem to be running inside a container 23:02:41 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:02:44 $ docker top 5de3ee8b7882c1b8d22805374e19b85c5f3462b1de967feddd561ce015e1121f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:02:44 ---> job-cost.sh 23:02:44 lf-activate-venv: SKIPPING 23:02:44 INFO: No Stack... 23:02:45 INFO: Retrieving Pricing Info for: v3-standard-8 23:02:45 INFO: Archiving Costs [Pipeline] sh 23:02:45 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/cost.csv 23:02:45 + cut -d, -f6 [Pipeline] lock 23:02:46 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-414-3-stack-cost] 23:02:46 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-3-stack-cost] did not exist. Created. 23:02:46 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-414-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:02:46 + echo total: 0.2199999988079071 [Pipeline] stash 23:02:46 Stashed 1 file(s) [Pipeline] } 23:02:46 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:02:46 $ docker stop --time=1 5de3ee8b7882c1b8d22805374e19b85c5f3462b1de967feddd561ce015e1121f 23:02:47 $ docker rm -f 5de3ee8b7882c1b8d22805374e19b85c5f3462b1de967feddd561ce015e1121f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:03:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-681 in /w/workspace/gexfoundry_device-mqtt-go_PR-414 [Pipeline] { [Pipeline] ws 23:03:47 Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout 23:03:47 Selected Git installation does not exist. Using Default 23:03:47 The recommended git tool is: NONE 23:03:52 using credential edgex-jenkins-ssh 23:03:52 Cloning the remote Git repository 23:03:52 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:03:52 > git init /w/workspace/device-mqtt-go/3 # timeout=10 23:03:52 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:03:52 > git --version # timeout=10 23:03:52 > git --version # 'git version 2.25.1' 23:03:52 using GIT_SSH to set credentials SSH Credentials for GitHub 23:03:52 Verifying host key using known hosts file 23:03:53 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. 23:03:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:03:54 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:03:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:03:55 Merging remotes/origin/main commit e3b17c36aac665b2f67a5aeebf35b3bad318417a into PR head commit 96c3debd235dda18a7fa7c4abd6d74e869e80f48 23:03:55 Merge succeeded, producing 96c3debd235dda18a7fa7c4abd6d74e869e80f48 23:03:55 Checking out Revision 96c3debd235dda18a7fa7c4abd6d74e869e80f48 (PR-414) 23:03:55 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:03:55 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:03:55 using GIT_SSH to set credentials SSH Credentials for GitHub 23:03:55 Verifying host key using known hosts file 23:03:55 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. 23:03:55 > 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 23:03:55 > git config core.sparsecheckout # timeout=10 23:03:55 > git checkout -f 96c3debd235dda18a7fa7c4abd6d74e869e80f48 # timeout=10 23:03:55 > git remote # timeout=10 23:03:55 > git config --get remote.origin.url # timeout=10 23:03:55 using GIT_SSH to set credentials SSH Credentials for GitHub 23:03:55 Verifying host key using known hosts file 23:03:55 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. 23:03:55 > git merge e3b17c36aac665b2f67a5aeebf35b3bad318417a # timeout=10 23:03:55 > git rev-parse HEAD^{commit} # timeout=10 23:03:55 > git config core.sparsecheckout # timeout=10 23:03:55 > git checkout -f 96c3debd235dda18a7fa7c4abd6d74e869e80f48 # timeout=10 23:03:59 Commit message: "build: Add option to build Service with NATS Capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:04:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:04:00 % Total % Received % Xferd Average Speed Time Time Time Current 23:04:00 Dload Upload Total Spent Left Speed 23:04:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 23:04:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:04:01 + sudo tee /etc/docker/daemon.new 23:04:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:04:01 { 23:04:01 "registry-mirrors": [ 23:04:01 "https://nexus3.edgexfoundry.org:10001" 23:04:01 ], 23:04:01 "bip": "10.250.0.254/24", 23:04:01 "hosts": [ 23:04:01 "tcp://0.0.0.0:5555", 23:04:01 "unix:///var/run/docker.sock" 23:04:01 ], 23:04:01 "mtu": 1458, 23:04:01 "selinux-enabled": true, 23:04:01 "seccomp-profile": "/etc/docker/seccomp.json" 23:04:01 } [Pipeline] sh 23:04:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:04:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:04:20 provisioning config files... 23:04:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config8856464297617959700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:04:20 ---> docker-login.sh 23:04:20 nexus3.edgexfoundry.org:10001 23:04:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:21 Configure a credential helper to remove this warning. See 23:04:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:21 23:04:21 Login Succeeded 23:04:21 nexus3.edgexfoundry.org:10002 23:04:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:21 Configure a credential helper to remove this warning. See 23:04:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:21 23:04:21 Login Succeeded 23:04:21 nexus3.edgexfoundry.org:10003 23:04:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:21 Configure a credential helper to remove this warning. See 23:04:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:21 23:04:21 Login Succeeded 23:04:21 nexus3.edgexfoundry.org:10004 23:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:22 Configure a credential helper to remove this warning. See 23:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:22 23:04:22 Login Succeeded 23:04:22 docker.io 23:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:22 Configure a credential helper to remove this warning. See 23:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:22 23:04:22 Login Succeeded 23:04:22 ---> docker-login.sh ends [Pipeline] } 23:04:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:04:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:04:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:04:22 ========================================================= 23:04:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:04:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:04:23 + 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 . 23:04:23 Sending build context to Docker daemon 3.193MB 23:04:23 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 23:04:23 Step 2/13 : FROM ${BASE} AS builder 23:04:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:04:23 b3c136eddcbf: Pulling fs layer 23:04:23 c0a3192eca97: Pulling fs layer 23:04:23 a050256f5b6f: Pulling fs layer 23:04:23 656be50a0ddc: Pulling fs layer 23:04:23 2bbca73fdf42: Pulling fs layer 23:04:23 46d945488cbd: Pulling fs layer 23:04:23 8a5474983e97: Pulling fs layer 23:04:23 329c88fbcd65: Pulling fs layer 23:04:23 2bbca73fdf42: Waiting 23:04:23 46d945488cbd: Waiting 23:04:23 8a5474983e97: Waiting 23:04:23 329c88fbcd65: Waiting 23:04:23 656be50a0ddc: Waiting 23:04:23 a050256f5b6f: Download complete 23:04:23 c0a3192eca97: Download complete 23:04:23 2bbca73fdf42: Verifying Checksum 23:04:23 2bbca73fdf42: Download complete 23:04:23 46d945488cbd: Verifying Checksum 23:04:23 46d945488cbd: Download complete 23:04:23 b3c136eddcbf: Verifying Checksum 23:04:23 b3c136eddcbf: Download complete 23:04:24 b3c136eddcbf: Pull complete 23:04:25 329c88fbcd65: Verifying Checksum 23:04:25 329c88fbcd65: Download complete 23:04:25 c0a3192eca97: Pull complete 23:04:25 a050256f5b6f: Pull complete 23:04:26 8a5474983e97: Verifying Checksum 23:04:26 8a5474983e97: Download complete 23:04:26 656be50a0ddc: Verifying Checksum 23:04:26 656be50a0ddc: Download complete 23:04:39 656be50a0ddc: Pull complete 23:04:39 2bbca73fdf42: Pull complete 23:04:39 46d945488cbd: Pull complete 23:04:46 8a5474983e97: Pull complete 23:04:47 329c88fbcd65: Pull complete 23:04:47 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 23:04:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:04:47 ---> ff4287adb874 23:04:47 Step 3/13 : ARG ADD_BUILD_TAGS="" 23:04:49 ---> Running in b51a97f3754c 23:04:49 Removing intermediate container b51a97f3754c 23:04:49 ---> 007ce7353f43 23:04:49 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:04:49 ---> Running in d6cce40bea88 23:04:49 Removing intermediate container d6cce40bea88 23:04:49 ---> 82b5a077a3a5 23:04:49 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:04:49 ---> Running in 4e6d0c9e78e9 23:04:50 Removing intermediate container 4e6d0c9e78e9 23:04:50 ---> bef0b54fdb72 23:04:50 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 23:04:50 ---> Running in b72e2b87db7b 23:04:50 Removing intermediate container b72e2b87db7b 23:04:50 ---> 80ce478852b1 23:04:50 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:04:50 ---> Running in f16eef24a83a 23:04:52 Removing intermediate container f16eef24a83a 23:04:52 ---> 5f2321fba506 23:04:52 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:04:52 ---> Running in 552888f27694 23:04:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:04:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:04:55 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:04:55 (2/4) Installing libedit (20210910.3.1-r0) 23:04:55 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:04:56 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:04:56 Executing busybox-1.35.0-r13.trigger 23:04:56 OK: 226 MiB in 55 packages 23:04:57 Removing intermediate container 552888f27694 23:04:57 ---> aa28dc77a1c0 23:04:57 Step 9/13 : WORKDIR /device-mqtt-go 23:04:57 ---> Running in e5d8573b6d0b 23:04:57 Removing intermediate container e5d8573b6d0b 23:04:57 ---> 8cac28730a73 23:04:57 Step 10/13 : COPY go.mod vendor* ./ 23:04:58 ---> 7307390086cb 23:04:58 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:04:58 ---> Running in bc9cb1b6dbdf 23:05:54 Removing intermediate container bc9cb1b6dbdf 23:05:54 ---> cf60a0bce3a0 23:05:54 Step 12/13 : COPY . . 23:05:54 ---> 4904a1353738 23:05:54 Step 13/13 : RUN $MAKE 23:05:54 ---> Running in 1dce01a8e1d5 23:05:54 noop 23:05:54 Removing intermediate container 1dce01a8e1d5 23:05:54 ---> 82e5e2beccee 23:05:54 Successfully built 82e5e2beccee 23:05:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:55 + docker inspect -f . ci-base-image-arm64 23:05:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:05:55 prd-ubuntu20.04-docker-arm64-4c-16g-681 does not seem to be running inside a container 23:05:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 ******** -e ******** ci-base-image-arm64 cat 23:05:56 $ docker top b8bcac5b3f65aa4f8f52c33c4a6dbbaf6a2a2b689a6d23219cc7c2c176b86991 -eo pid,comm [Pipeline] { [Pipeline] sh 23:05:57 + go version 23:05:57 go version go1.18.3 linux/arm64 [Pipeline] } 23:05:57 $ docker stop --time=1 b8bcac5b3f65aa4f8f52c33c4a6dbbaf6a2a2b689a6d23219cc7c2c176b86991 23:05:59 $ docker rm -f b8bcac5b3f65aa4f8f52c33c4a6dbbaf6a2a2b689a6d23219cc7c2c176b86991 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:06:00 + docker inspect -f . ci-base-image-arm64 23:06:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:06:00 prd-ubuntu20.04-docker-arm64-4c-16g-681 does not seem to be running inside a container 23:06:00 $ 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/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 ******** -e ******** ci-base-image-arm64 cat 23:06:01 $ docker top 65f7121303f105f3be99d25b0526cfbac7a7cb252cbb6c544af9e0e3e910ed17 -eo pid,comm [Pipeline] { [Pipeline] sh 23:06:02 + git config --global --add safe.directory /w/workspace/device-mqtt-go/3 [Pipeline] fileExists [Pipeline] sh 23:06:03 + make test 23:06:03 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 23:06:04 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:07:41 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:07:41 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 21.8% of statements 23:07:41 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:07:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:07:41 GCO_ENABLED=1 GO111MODULE=on go vet ./... 23:07:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:07:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:07:53 ./bin/test-attribution-txt.sh [Pipeline] echo 23:07:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:07:53 $ docker stop --time=1 65f7121303f105f3be99d25b0526cfbac7a7cb252cbb6c544af9e0e3e910ed17 23:07:55 $ docker rm -f 65f7121303f105f3be99d25b0526cfbac7a7cb252cbb6c544af9e0e3e910ed17 [Pipeline] // withDockerContainer [Pipeline] sh 23:07:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:07:56 Warning: overwriting stash ‘coverage-report’ 23:07:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:07:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:07:57 + ls -al . 23:07:57 total 180 23:07:57 drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 23:06 . 23:07:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:03 .. 23:07:57 -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 23:03 .dockerignore 23:07:57 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 23:03 .git 23:07:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:03 .github 23:07:57 -rw-rw-r-- 1 jenkins jenkins 329 Sep 22 23:03 .gitignore 23:07:57 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 23:03 .golangci.yml 23:07:57 -rw-rw-r-- 1 jenkins jenkins 9293 Sep 22 23:03 Attribution.txt 23:07:57 -rw-rw-r-- 1 jenkins jenkins 11365 Sep 22 23:03 CHANGELOG.md 23:07:57 -rw-rw-r-- 1 jenkins jenkins 1988 Sep 22 23:03 Dockerfile 23:07:57 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 23:03 GOVERNANCE.md 23:07:57 -rw-rw-r-- 1 jenkins jenkins 678 Sep 22 23:03 Jenkinsfile 23:07:57 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 23:03 LICENSE 23:07:57 -rw-rw-r-- 1 jenkins jenkins 2126 Sep 22 23:03 Makefile 23:07:57 -rw-rw-r-- 1 jenkins jenkins 620 Sep 22 23:03 OWNERS.md 23:07:57 -rw-rw-r-- 1 jenkins jenkins 3165 Sep 22 23:03 README.md 23:07:57 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 23:00 VERSION 23:07:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 23:03 bin 23:07:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:03 cmd 23:07:57 -rw-r--r-- 1 jenkins jenkins 17887 Sep 22 23:07 coverage.out 23:07:57 -rw-rw-r-- 1 jenkins jenkins 3523 Sep 22 23:03 go.mod 23:07:57 -rw-rw-r-- 1 jenkins jenkins 37945 Sep 22 23:03 go.sum 23:07:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 23:03 internal 23:07:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 23:03 mock 23:07:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 23:03 snap 23:07:57 -rw-rw-r-- 1 jenkins jenkins 227 Sep 22 23:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:07:58 + 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=96c3debd235dda18a7fa7c4abd6d74e869e80f48 --label arch=arm64 --label version=0.0.0 . 23:07:58 Sending build context to Docker daemon 3.212MB 23:07:58 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 23:07:58 Step 2/25 : FROM ${BASE} AS builder 23:07:58 ---> 82e5e2beccee 23:07:58 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:07:58 ---> Running in a021218c9e06 23:07:58 Removing intermediate container a021218c9e06 23:07:58 ---> ea4c3d30bea3 23:07:58 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:07:58 ---> Running in 6cd30b77076e 23:07:59 Removing intermediate container 6cd30b77076e 23:07:59 ---> 1b1942c3cd41 23:07:59 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:07:59 ---> Running in 7052122fda8e 23:07:59 Removing intermediate container 7052122fda8e 23:07:59 ---> 2c6ba12cdab5 23:07:59 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:07:59 ---> Running in e615d992e009 23:08:00 Removing intermediate container e615d992e009 23:08:00 ---> 31030f7c8b59 23:08:00 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 23:08:00 ---> Running in b8ec20df3e5b 23:08:02 Removing intermediate container b8ec20df3e5b 23:08:02 ---> 03108f7566cb 23:08:02 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:08:02 ---> Running in 9d66cdc8acbd 23:08:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:08:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:08:04 OK: 226 MiB in 55 packages 23:08:05 Removing intermediate container 9d66cdc8acbd 23:08:05 ---> 21b5399316eb 23:08:05 Step 9/25 : WORKDIR /device-mqtt-go 23:08:05 ---> Running in a5516b4b9ef8 23:08:06 Removing intermediate container a5516b4b9ef8 23:08:06 ---> a0fc2137b931 23:08:06 Step 10/25 : COPY go.mod vendor* ./ 23:08:07 ---> 9553e9395850 23:08:07 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:08:07 ---> Running in f6157c5c6d81 23:08:09 Removing intermediate container f6157c5c6d81 23:08:09 ---> 3805c341ad93 23:08:09 Step 12/25 : COPY . . 23:08:11 ---> a99d6f3770c1 23:08:11 Step 13/25 : RUN $MAKE 23:08:11 ---> Running in 8b2208102920 23:08:13 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 23:10:50 Removing intermediate container 8b2208102920 23:10:50 ---> 3d32d05bc1b7 23:10:50 Step 14/25 : FROM alpine:3.16 23:10:50 3.16: Pulling from library/alpine 23:10:50 9b18e9b68314: Pulling fs layer 23:10:50 9b18e9b68314: Verifying Checksum 23:10:50 9b18e9b68314: Download complete 23:10:50 9b18e9b68314: Pull complete 23:10:50 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:10:50 Status: Downloaded newer image for alpine:3.16 23:10:50 ---> a6215f271958 23:10:50 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:10:50 ---> Running in 1a5e616e4c0c 23:10:50 Removing intermediate container 1a5e616e4c0c 23:10:50 ---> ebda578e1f6e 23:10:50 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 23:10:50 ---> Running in ea1fdbe3c822 23:10:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:10:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:10:50 (1/6) Installing dumb-init (1.2.5-r1) 23:10:50 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:10:50 (3/6) Installing libsodium (1.0.18-r0) 23:10:50 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:10:50 (5/6) Installing libzmq (4.3.4-r0) 23:10:50 (6/6) Installing zeromq (4.3.4-r0) 23:10:50 Executing busybox-1.35.0-r17.trigger 23:10:50 OK: 8 MiB in 20 packages 23:10:50 Removing intermediate container ea1fdbe3c822 23:10:50 ---> 98c3197fcd06 23:10:50 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 23:10:50 ---> 9e8c0bb9c883 23:10:50 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 23:10:50 ---> 3d8e00044d95 23:10:50 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:10:51 ---> 1d5fb5293fa6 23:10:51 Step 20/25 : EXPOSE 59982 23:10:51 ---> Running in 5d02ea3b8c5f 23:10:51 Removing intermediate container 5d02ea3b8c5f 23:10:51 ---> 57d4c17b59b9 23:10:51 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 23:10:51 ---> Running in e75cad8fb78b 23:10:51 Removing intermediate container e75cad8fb78b 23:10:51 ---> 62f1f9aedad6 23:10:51 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:10:51 ---> Running in 887340ec7b34 23:10:52 Removing intermediate container 887340ec7b34 23:10:52 ---> 1acbc6f3f85c 23:10:52 Step 23/25 : LABEL arch=arm64 23:10:52 ---> Running in bab78ed33d32 23:10:52 Removing intermediate container bab78ed33d32 23:10:52 ---> c3edbd71c1d8 23:10:52 Step 24/25 : LABEL git_sha=96c3debd235dda18a7fa7c4abd6d74e869e80f48 23:10:52 ---> Running in 892ec5507e09 23:10:52 Removing intermediate container 892ec5507e09 23:10:52 ---> d2c1bcb1c73b 23:10:52 Step 25/25 : LABEL version=0.0.0 23:10:52 ---> Running in 4fde06c65c65 23:10:53 Removing intermediate container 4fde06c65c65 23:10:53 ---> 288a42772390 23:10:53 [Warning] One or more build-args [ARCH] were not consumed 23:10:53 Successfully built 288a42772390 23:10:53 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 23:10:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:10:53 23:10:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:10:53 arm64: Pulling from edgex-lftools-log-publisher 23:10:53 8998bd30e6a1: Pulling fs layer 23:10:53 04944245beec: Pulling fs layer 23:10:53 699f458cf7ca: Pulling fs layer 23:10:53 765212b225bb: Pulling fs layer 23:10:53 f23df028b6ca: Pulling fs layer 23:10:53 d65c8cfc05b1: Pulling fs layer 23:10:53 2437ff75d9bd: Pulling fs layer 23:10:53 765212b225bb: Waiting 23:10:53 f23df028b6ca: Waiting 23:10:53 2437ff75d9bd: Waiting 23:10:53 d65c8cfc05b1: Waiting 23:10:54 04944245beec: Verifying Checksum 23:10:54 04944245beec: Download complete 23:10:54 765212b225bb: Verifying Checksum 23:10:54 765212b225bb: Download complete 23:10:54 f23df028b6ca: Verifying Checksum 23:10:54 f23df028b6ca: Download complete 23:10:54 d65c8cfc05b1: Verifying Checksum 23:10:54 d65c8cfc05b1: Download complete 23:10:54 699f458cf7ca: Verifying Checksum 23:10:54 699f458cf7ca: Download complete 23:10:54 8998bd30e6a1: Verifying Checksum 23:10:54 8998bd30e6a1: Download complete 23:10:57 2437ff75d9bd: Verifying Checksum 23:10:57 2437ff75d9bd: Download complete 23:10:58 8998bd30e6a1: Pull complete 23:10:59 04944245beec: Pull complete 23:11:00 699f458cf7ca: Pull complete 23:11:00 765212b225bb: Pull complete 23:11:01 f23df028b6ca: Pull complete 23:11:01 d65c8cfc05b1: Pull complete 23:11:16 2437ff75d9bd: Pull complete 23:11:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:11:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:11:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:11:16 prd-ubuntu20.04-docker-arm64-4c-16g-681 does not seem to be running inside a container 23:11:16 $ 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/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:11:19 $ docker top e4e76164a23a5ada69831f895bf5cd69ec9e7c8ccc3b6219c8af6ec475ea6638 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:11:20 ---> job-cost.sh 23:11:20 lf-activate-venv: SKIPPING 23:11:20 INFO: No Stack... 23:11:21 INFO: Retrieving Pricing Info for: v3-standard-4 23:11:22 INFO: Archiving Costs [Pipeline] sh 23:11:22 + cat /w/workspace/device-mqtt-go/3/archives/cost.csv 23:11:22 + cut -d, -f6 [Pipeline] lock 23:11:22 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-414-3-stack-cost] 23:11:22 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-3-stack-cost] did not exist. Created. 23:11:22 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-414-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:11:23 /w/workspace/device-mqtt-go/3@tmp/durable-4d78454c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:11:23 + echo total: 0.10999999940395355 [Pipeline] stash 23:11:23 Warning: overwriting stash ‘stack-cost’ 23:11:23 Stashed 1 file(s) [Pipeline] } 23:11:23 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:11:23 $ docker stop --time=1 e4e76164a23a5ada69831f895bf5cd69ec9e7c8ccc3b6219c8af6ec475ea6638 23:11:25 $ docker rm -f e4e76164a23a5ada69831f895bf5cd69ec9e7c8ccc3b6219c8af6ec475ea6638 [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 23:11:25 provisioning config files... 23:11:25 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config15647531096677926062tmp [Pipeline] { [Pipeline] sh 23:11:26 + set +x 23:11:26 + curl -s https://codecov.io/bash 23:11:26 + bash -s -- 23:11:26 23:11:26 _____ _ 23:11:26 / ____| | | 23:11:26 | | ___ __| | ___ ___ _____ __ 23:11:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:11:26 | |___| (_) | (_| | __/ (_| (_) \ V / 23:11:26 \_____\___/ \__,_|\___|\___\___/ \_/ 23:11:26 Bash-1.0.6 23:11:26 23:11:26 23:11:26 ==> git version 2.25.1 found 23:11:26 ==> 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 23:11:26 Release-Date: 2020-01-08 23:11:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:11:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:11:26 ==> Jenkins CI detected. 23:11:26 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-414 23:11:26 project root: . 23:11:26 --> token set from env 23:11:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:11:26 ==> Running gcov in . (disable via -X gcov) 23:11:26 ==> Python coveragepy not found 23:11:26 ==> Searching for coverage reports in: 23:11:26 + . 23:11:26 -> Found 1 reports 23:11:26 ==> Detecting git/mercurial file structure 23:11:26 ==> Reading reports 23:11:26 + ./coverage.out bytes=17887 23:11:26 ==> Appending adjustments 23:11:26 https://docs.codecov.io/docs/fixing-reports 23:11:26 + Found adjustments 23:11:26 ==> Gzipping contents 23:11:26 4.0K /tmp/codecov.KGBEPU.gz 23:11:26 ==> Uploading reports 23:11:26 url: https://codecov.io 23:11:26 query: branch=PR-414&commit=96c3debd235dda18a7fa7c4abd6d74e869e80f48&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-414%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=414&job=&cmd_args= 23:11:26 -> Pinging Codecov 23:11:26 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=96c3debd235dda18a7fa7c4abd6d74e869e80f48&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-414%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=414&job=&cmd_args= 23:11:26 -> Uploading to 23:11:26 https://storage.googleapis.com/codecov/v4/raw/2022-09-22/7D719EC7BBE17E464838252E33014C33/96c3debd235dda18a7fa7c4abd6d74e869e80f48/4ec5c466-24ed-4fc0-93b1-099eaa441230.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T231126Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2c0f036dc6948db22449197afdd2054f14bbb15535cd31c00530dbf0c557cc7d 23:11:26 % Total % Received % Xferd Average Speed Time Time Time Current 23:11:26 Dload Upload Total Spent Left Speed 23:11:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3216 0 0 100 3216 0 13289 --:--:-- --:--:-- --:--:-- 13289 23:11:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/96c3debd235dda18a7fa7c4abd6d74e869e80f48 [Pipeline] } 23:11:26 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 23:11:27 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives ] 23:11:27 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives 23:11:27 total 16 23:11:27 drwxr-xr-x 3 root root 4096 Sep 22 23:02 . 23:11:27 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 23:02 .. 23:11:27 drwxr-xr-x 2 root root 4096 Sep 22 23:02 cost 23:11:27 -rw-r--r-- 1 root root 86 Sep 22 23:02 cost.csv 23:11:27 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives 23:11:27 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives 23:11:27 total 16 23:11:27 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 23:02 . 23:11:27 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 23:02 .. 23:11:27 drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 23:02 cost 23:11:27 -rw-r--r-- 1 jenkins jenkins 86 Sep 22 23:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:11:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:11:28 ---> package-listing.sh 23:11:28 ++ facter osfamily 23:11:28 ++ tr '[:upper:]' '[:lower:]' 23:11:28 + OS_FAMILY=debian 23:11:28 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-414 23:11:28 + START_PACKAGES=/tmp/packages_start.txt 23:11:28 + END_PACKAGES=/tmp/packages_end.txt 23:11:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:11:28 + PACKAGES=/tmp/packages_start.txt 23:11:28 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-414 ']' 23:11:28 + PACKAGES=/tmp/packages_end.txt 23:11:28 + case "${OS_FAMILY}" in 23:11:28 + dpkg -l 23:11:28 + grep '^ii' 23:11:28 + '[' -f /tmp/packages_start.txt ']' 23:11:28 + '[' -f /tmp/packages_end.txt ']' 23:11:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:11:28 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-414 ']' 23:11:28 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/ 23:11:28 + 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 23:11:28 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 23:11:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:11:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:11:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:11:29 prd-ubuntu20.04-docker-8c-8g-679 does not seem to be running inside a container 23:11:29 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:11:30 $ docker top 6aeda37e25b94756aeb1863a828c3567df3c3959e7e21a50ac6057b8596a3a07 -eo pid,comm [Pipeline] { [Pipeline] sh 23:11:30 + touch /tmp/pre-build-complete [Pipeline] sh 23:11:30 + mkdir -p /var/log/sysstat [Pipeline] sh 23:11:30 + ls /var/log/sa-host 23:11:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:11:31 provisioning config files... 23:11:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config5895519408354163661tmp [Pipeline] { [Pipeline] echo 23:11:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:11:31 ---> create-netrc.sh [Pipeline] } 23:11:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:11:31 ---> python-tools-install.sh [Pipeline] echo 23:11:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:11:31 ---> sudo-logs.sh 23:11:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:11:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:11:32 ---> job-cost.sh 23:11:32 lf-activate-venv: SKIPPING 23:11:32 DEBUG: total: 0.2199999988079071 23:11:32 INFO: Retrieving Stack Cost... 23:11:32 INFO: Retrieving Pricing Info for: v3-standard-8 23:11:33 INFO: Archiving Costs [Pipeline] echo 23:11:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:11:33 ---> logs-deploy.sh 23:11:33 lf-activate-venv: SKIPPING 23:11:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-414/3 23:11:33 INFO: archiving workspace using pattern(s): 23:11:34 Archives upload complete. 23:11:34 INFO: archiving logs to Nexus