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 606ea677ca7ca6730308224ec77114b9f60eec0f+57f44dfb208181fe6cb075f759c071dd5c5ec6f2 (5e2221e461a4a1896978252f87ac145d2db8fe19) 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-ssh8116085405185987874.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-ssh13574384168016986777.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-ssh8088744052940980236.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-ssh1933987679748562001.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-ssh17773474154345268880.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-1406 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 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 into PR head commit 606ea677ca7ca6730308224ec77114b9f60eec0f Merge succeeded, producing 606ea677ca7ca6730308224ec77114b9f60eec0f Checking out Revision 606ea677ca7ca6730308224ec77114b9f60eec0f (PR-414) > git config core.sparsecheckout # timeout=10 > git checkout -f 606ea677ca7ca6730308224ec77114b9f60eec0f # 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 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 606ea677ca7ca6730308224ec77114b9f60eec0f # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. > git rev-list --no-walk 69a6e2b4fd297e99bd2cc5c8b9f21467e82d6f41 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:58:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:58:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:58:52 ========================================================= 20:58:52 EdgeX Global Pipelines Version Info 20:58:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:58:53 ------------------- 20:58:53 stable info: 20:58:53 ------------------- 20:58:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:58:53 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:58:53 Message: update stable to v1.0.239 20:58:54 ------------------- 20:58:54 experimental info: 20:58:54 ------------------- 20:58:54 Commited By: **** collab-it+edgex@linuxfoundation.org 20:58:54 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:58:54 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-414 [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-414 [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-414 [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 606ea677ca7ca6730308224ec77114b9f60eec0f [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 606ea67 [Pipeline] echo 20:58:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:54 provisioning config files... 20:58:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config17668377550389658473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:55 ---> docker-login.sh 20:58:55 nexus3.edgexfoundry.org:10001 20:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:55 Configure a credential helper to remove this warning. See 20:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:55 20:58:55 Login Succeeded 20:58:55 nexus3.edgexfoundry.org:10002 20:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:55 Configure a credential helper to remove this warning. See 20:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:55 20:58:55 Login Succeeded 20:58:55 nexus3.edgexfoundry.org:10003 20:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:55 Configure a credential helper to remove this warning. See 20:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:55 20:58:55 Login Succeeded 20:58:55 nexus3.edgexfoundry.org:10004 20:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:55 Configure a credential helper to remove this warning. See 20:58:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:55 20:58:55 Login Succeeded 20:58:55 docker.io 20:58:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:56 Configure a credential helper to remove this warning. See 20:58:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:56 20:58:56 Login Succeeded 20:58:56 ---> docker-login.sh ends [Pipeline] } 20:58:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:58:56 + git rev-list -1 --merges 606ea677ca7ca6730308224ec77114b9f60eec0f~1..606ea677ca7ca6730308224ec77114b9f60eec0f [Pipeline] echo 20:58:56 -----------> git rev-list -1 --merges 606ea677ca7ca6730308224ec77114b9f60eec0f~1..606ea677ca7ca6730308224ec77114b9f60eec0f 606ea677ca7ca6730308224ec77114b9f60eec0f [false] [Pipeline] sh 20:58:56 + git log --format=format:%s -1 606ea677ca7ca6730308224ec77114b9f60eec0f [Pipeline] echo 20:58:56 ========================================================= 20:58:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:58:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:58:57 + git log --format=format:%s -1 606ea677ca7ca6730308224ec77114b9f60eec0f [Pipeline] echo 20:58:57 [semverPrep] GIT_COMMIT: 606ea677ca7ca6730308224ec77114b9f60eec0f, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo 20:58:57 [semverPrep] This is not a build commit. [Pipeline] sh 20:58:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:58:57 + grep -v github /etc/ssh/ssh_known_hosts 20:58:57 + [ -e /tmp/ssh_known_hosts ] 20:58:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:58:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:58:57 + sudo tee -a /etc/ssh/ssh_known_hosts 20:58:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:57 20:58:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:58 0.1.4: Pulling from edgex-devops/py-git-semver 20:58:58 b85a868b505f: Pulling fs layer 20:58:58 e2be974225ed: Pulling fs layer 20:58:58 339a4e72a1f5: Pulling fs layer 20:58:58 988bab9f4d93: Pulling fs layer 20:58:58 1469e6f7b9e6: Pulling fs layer 20:58:58 eaf3925da568: Pulling fs layer 20:58:58 bab4dde63d76: Pulling fs layer 20:58:58 bde34c3a00c8: Pulling fs layer 20:58:58 b352a97aabf1: Pulling fs layer 20:58:58 4872d77fe225: Pulling fs layer 20:58:58 5851b861e8e6: Pulling fs layer 20:58:58 eaf3925da568: Waiting 20:58:58 4872d77fe225: Waiting 20:58:58 bab4dde63d76: Waiting 20:58:58 bde34c3a00c8: Waiting 20:58:58 b352a97aabf1: Waiting 20:58:58 988bab9f4d93: Waiting 20:58:58 1469e6f7b9e6: Waiting 20:58:58 5851b861e8e6: Waiting 20:58:58 e2be974225ed: Verifying Checksum 20:58:58 e2be974225ed: Download complete 20:58:58 988bab9f4d93: Download complete 20:58:58 1469e6f7b9e6: Verifying Checksum 20:58:58 1469e6f7b9e6: Download complete 20:58:58 eaf3925da568: Download complete 20:58:58 339a4e72a1f5: Verifying Checksum 20:58:58 339a4e72a1f5: Download complete 20:58:58 bde34c3a00c8: Verifying Checksum 20:58:58 bde34c3a00c8: Download complete 20:58:58 b352a97aabf1: Verifying Checksum 20:58:58 b352a97aabf1: Download complete 20:58:58 4872d77fe225: Verifying Checksum 20:58:58 4872d77fe225: Download complete 20:58:58 5851b861e8e6: Download complete 20:58:58 b85a868b505f: Verifying Checksum 20:58:58 b85a868b505f: Download complete 20:58:58 bab4dde63d76: Verifying Checksum 20:58:58 bab4dde63d76: Download complete 20:58:59 b85a868b505f: Pull complete 20:58:59 e2be974225ed: Pull complete 20:59:00 339a4e72a1f5: Pull complete 20:59:00 988bab9f4d93: Pull complete 20:59:00 1469e6f7b9e6: Pull complete 20:59:00 eaf3925da568: Pull complete 20:59:02 bab4dde63d76: Pull complete 20:59:02 bde34c3a00c8: Pull complete 20:59:02 b352a97aabf1: Pull complete 20:59:02 4872d77fe225: Pull complete 20:59:03 5851b861e8e6: Pull complete 20:59:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:59:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:59:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:03 prd-ubuntu20.04-docker-8c-8g-1406 does not seem to be running inside a container 20:59:03 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:59:06 $ docker top 79101a1513cfd1fd3e697bf1676e5fea02f9f64da5cf7555ad0a75cf897b39ca -eo pid,comm 20:59:06 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). 20:59:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:59:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:59:06 [ssh-agent] Looking for ssh-agent implementation... 20:59:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:59:06 $ docker exec 79101a1513cfd1fd3e697bf1676e5fea02f9f64da5cf7555ad0a75cf897b39ca ssh-agent 20:59:06 SSH_AUTH_SOCK=/tmp/ssh-jQEI4U2fy5C8/agent.32 20:59:06 SSH_AGENT_PID=38 20:59:06 Running ssh-add (command line suppressed) 20:59:07 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_4742536211994428411.key (/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_4742536211994428411.key) 20:59:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:07 + git tag --points-at HEAD [Pipeline] } 20:59:07 $ docker exec --env ******** --env ******** 79101a1513cfd1fd3e697bf1676e5fea02f9f64da5cf7555ad0a75cf897b39ca ssh-agent -k 20:59:07 unset SSH_AUTH_SOCK; 20:59:07 unset SSH_AGENT_PID; 20:59:07 echo Agent pid 38 killed; 20:59:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:59:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:59:07 [ssh-agent] Looking for ssh-agent implementation... 20:59:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:59:07 $ docker exec 79101a1513cfd1fd3e697bf1676e5fea02f9f64da5cf7555ad0a75cf897b39ca ssh-agent 20:59:07 SSH_AUTH_SOCK=/tmp/ssh-NRYsRoq2G5xW/agent.71 20:59:07 SSH_AGENT_PID=77 20:59:07 Running ssh-add (command line suppressed) 20:59:07 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_8869701746952998618.key (/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/private_key_8869701746952998618.key) 20:59:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:59:08 + git semver init 20:59:08 2022-09-27 20:59:08,276 [run_init] DEBUG init version:0.0.0 force:False 20:59:08 2022-09-27 20:59:08,276 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver 20:59:08 2022-09-27 20:59:08,277 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver 20:59:08 2022-09-27 20:59:08,278 [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) 20:59:09 2022-09-27 20:59:09,176 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.git/info/exclude 20:59:09 2022-09-27 20:59:09,177 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 with force:False 20:59:09 2022-09-27 20:59:09,177 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 20:59:09 2022-09-27 20:59:09,181 [execute] INFO git cat-file --batch-check 20:59:09 2022-09-27 20:59:09,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) 20:59:09 2022-09-27 20:59:09,188 [execute] INFO git cat-file --batch 20:59:09 2022-09-27 20:59:09,189 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver, universal_newlines=False, shell=None, istream=) 20:59:09 2022-09-27 20:59:09,195 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-414/.semver/PR-414 20:59:09 0.0.0 [Pipeline] } 20:59:09 $ docker exec --env ******** --env ******** 79101a1513cfd1fd3e697bf1676e5fea02f9f64da5cf7555ad0a75cf897b39ca ssh-agent -k 20:59:09 unset SSH_AUTH_SOCK; 20:59:09 unset SSH_AGENT_PID; 20:59:09 echo Agent pid 77 killed; 20:59:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:59:09 + git semver [Pipeline] } 20:59:09 $ docker stop --time=1 79101a1513cfd1fd3e697bf1676e5fea02f9f64da5cf7555ad0a75cf897b39ca 20:59:11 $ docker rm -f 79101a1513cfd1fd3e697bf1676e5fea02f9f64da5cf7555ad0a75cf897b39ca [Pipeline] // withDockerContainer [Pipeline] sh 20:59:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:59:11 Stashed 1 file(s) [Pipeline] echo 20:59:11 [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 20:59:11 provisioning config files... 20:59:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config4688223978950806010tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:59:12 ---> docker-login.sh 20:59:12 nexus3.edgexfoundry.org:10001 20:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:12 Configure a credential helper to remove this warning. See 20:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:12 20:59:12 Login Succeeded 20:59:12 nexus3.edgexfoundry.org:10002 20:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:12 Configure a credential helper to remove this warning. See 20:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:12 20:59:12 Login Succeeded 20:59:12 nexus3.edgexfoundry.org:10003 20:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:12 Configure a credential helper to remove this warning. See 20:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:12 20:59:12 Login Succeeded 20:59:12 nexus3.edgexfoundry.org:10004 20:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:12 Configure a credential helper to remove this warning. See 20:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:12 20:59:12 Login Succeeded 20:59:12 docker.io 20:59:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:59:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:59:12 Configure a credential helper to remove this warning. See 20:59:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:59:12 20:59:12 Login Succeeded 20:59:12 ---> docker-login.sh ends [Pipeline] } 20:59:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:59:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:59:13 ========================================================= 20:59:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:59:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:13 + 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 . 20:59:13 Sending build context to Docker daemon 6.132MB 20:59:13 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:59:13 Step 2/13 : FROM ${BASE} AS builder 20:59:13 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:59:13 2408cc74d12b: Pulling fs layer 20:59:13 ea60b727a1ce: Pulling fs layer 20:59:13 30c4a7721957: Pulling fs layer 20:59:13 370296b7ddb6: Pulling fs layer 20:59:13 7c6cee850709: Pulling fs layer 20:59:13 370296b7ddb6: Waiting 20:59:13 7c6cee850709: Waiting 20:59:13 39a5fcdaea64: Pulling fs layer 20:59:13 d94ebbe4e438: Pulling fs layer 20:59:13 39a5fcdaea64: Waiting 20:59:13 bcfd1f05c69d: Pulling fs layer 20:59:13 59ccb84bbe0f: Pulling fs layer 20:59:13 d94ebbe4e438: Waiting 20:59:13 bcfd1f05c69d: Waiting 20:59:13 59ccb84bbe0f: Waiting 20:59:13 30c4a7721957: Verifying Checksum 20:59:13 30c4a7721957: Download complete 20:59:13 ea60b727a1ce: Download complete 20:59:13 7c6cee850709: Verifying Checksum 20:59:13 7c6cee850709: Download complete 20:59:13 39a5fcdaea64: Download complete 20:59:13 2408cc74d12b: Verifying Checksum 20:59:13 2408cc74d12b: Download complete 20:59:13 d94ebbe4e438: Verifying Checksum 20:59:13 d94ebbe4e438: Download complete 20:59:13 2408cc74d12b: Pull complete 20:59:13 ea60b727a1ce: Pull complete 20:59:13 30c4a7721957: Pull complete 20:59:14 59ccb84bbe0f: Verifying Checksum 20:59:14 59ccb84bbe0f: Download complete 20:59:14 bcfd1f05c69d: Verifying Checksum 20:59:14 bcfd1f05c69d: Download complete 20:59:14 370296b7ddb6: Verifying Checksum 20:59:14 370296b7ddb6: Download complete 20:59:18 370296b7ddb6: Pull complete 20:59:18 7c6cee850709: Pull complete 20:59:18 39a5fcdaea64: Pull complete 20:59:18 d94ebbe4e438: Pull complete 20:59:19 bcfd1f05c69d: Pull complete 20:59:20 59ccb84bbe0f: Pull complete 20:59:20 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 20:59:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:59:20 ---> a4fb48ad2a94 20:59:20 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:59:26 ---> Running in 50b7a05c106a 20:59:26 Removing intermediate container 50b7a05c106a 20:59:26 ---> 073a2f46d9b0 20:59:26 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:59:26 ---> Running in 5cba03083013 20:59:26 Removing intermediate container 5cba03083013 20:59:26 ---> 5b8315e5a62f 20:59:26 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:59:26 ---> Running in 45f5941f279b 20:59:26 Removing intermediate container 45f5941f279b 20:59:26 ---> 380d32e9111a 20:59:26 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:59:26 ---> Running in 666588b20778 20:59:26 Removing intermediate container 666588b20778 20:59:26 ---> fb47a4aedc1d 20:59:26 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:59:26 ---> Running in f977d649adcd 20:59:26 Still waiting to schedule task 20:59:26 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:59:27 Removing intermediate container f977d649adcd 20:59:27 ---> 2902db358f50 20:59:27 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:59:27 ---> Running in 55e9e773eb44 20:59:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:59:28 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:59:28 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:59:28 (2/4) Installing libedit (20210910.3.1-r0) 20:59:28 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:59:28 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:59:28 Executing busybox-1.35.0-r13.trigger 20:59:28 OK: 216 MiB in 55 packages 20:59:29 Removing intermediate container 55e9e773eb44 20:59:29 ---> d1653ca1da3e 20:59:29 Step 9/13 : WORKDIR /device-mqtt-go 20:59:29 ---> Running in 170689abaae2 20:59:29 Removing intermediate container 170689abaae2 20:59:29 ---> e25d657ca064 20:59:29 Step 10/13 : COPY go.mod vendor* ./ 20:59:29 ---> a83a8beb166f 20:59:29 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:29 ---> Running in 56c841c6afca 20:59:51 Removing intermediate container 56c841c6afca 20:59:51 ---> 4e9a4e43b668 20:59:51 Step 12/13 : COPY . . 20:59:51 ---> dc3a244a674f 20:59:51 Step 13/13 : RUN $MAKE 20:59:51 ---> Running in 015648c93d23 20:59:51 noop 20:59:51 Removing intermediate container 015648c93d23 20:59:51 ---> d9b809b603aa 20:59:51 Successfully built d9b809b603aa 20:59:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:51 + docker inspect -f . ci-base-image-x86_64 20:59:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:51 prd-ubuntu20.04-docker-8c-8g-1406 does not seem to be running inside a container 20:59:51 $ 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 ******** -e ******** ci-base-image-x86_64 cat 20:59:52 $ docker top e899df58959c1e2074028217d350790bf445e721f6a54bdbf3b9b0722036c441 -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:52 + go version 20:59:52 go version go1.18.3 linux/amd64 [Pipeline] } 20:59:52 $ docker stop --time=1 e899df58959c1e2074028217d350790bf445e721f6a54bdbf3b9b0722036c441 20:59:54 $ docker rm -f e899df58959c1e2074028217d350790bf445e721f6a54bdbf3b9b0722036c441 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:54 + docker inspect -f . ci-base-image-x86_64 20:59:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:54 prd-ubuntu20.04-docker-8c-8g-1406 does not seem to be running inside a container 20:59:54 $ 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 ******** -e ******** ci-base-image-x86_64 cat 20:59:54 $ docker top f3800d531ae846c369bbef246bb851c3762746f852ba5efd833b32b4d0ca01d1 -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:55 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-414 [Pipeline] fileExists [Pipeline] sh 20:59:55 + make test 20:59:55 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:59:55 ? github.com/edgexfoundry/device-mqtt-go [no test files] 21:00:05 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 21:00:06 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 21:00:06 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 21:00:12 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." 21:00:13 GCO_ENABLED=1 GO111MODULE=on go vet ./... 21:00:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:00:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:00:16 ./bin/test-attribution-txt.sh [Pipeline] echo 21:00:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:00:16 $ docker stop --time=1 f3800d531ae846c369bbef246bb851c3762746f852ba5efd833b32b4d0ca01d1 21:00:19 $ docker rm -f f3800d531ae846c369bbef246bb851c3762746f852ba5efd833b32b4d0ca01d1 [Pipeline] // withDockerContainer [Pipeline] sh 21:00:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:00:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:00:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:00:20 + ls -al . 21:00:20 total 184 21:00:20 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 20:59 . 21:00:20 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:58 .. 21:00:20 -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 20:58 .dockerignore 21:00:20 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:00 .git 21:00:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:58 .github 21:00:20 -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 20:58 .gitignore 21:00:20 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 20:58 .golangci.yml 21:00:20 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 20:59 .semver 21:00:20 -rw-rw-r-- 1 jenkins jenkins 9293 Sep 27 20:58 Attribution.txt 21:00:20 -rw-rw-r-- 1 jenkins jenkins 11365 Sep 27 20:58 CHANGELOG.md 21:00:20 -rw-rw-r-- 1 jenkins jenkins 1988 Sep 27 20:58 Dockerfile 21:00:20 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 20:58 GOVERNANCE.md 21:00:20 -rw-rw-r-- 1 jenkins jenkins 678 Sep 27 20:58 Jenkinsfile 21:00:20 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 20:58 LICENSE 21:00:20 -rw-rw-r-- 1 jenkins jenkins 2126 Sep 27 20:58 Makefile 21:00:20 -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 20:58 OWNERS.md 21:00:20 -rw-rw-r-- 1 jenkins jenkins 3165 Sep 27 20:58 README.md 21:00:20 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 20:59 VERSION 21:00:20 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 20:58 bin 21:00:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:58 cmd 21:00:20 -rw-r--r-- 1 jenkins jenkins 17887 Sep 27 21:00 coverage.out 21:00:20 -rw-rw-r-- 1 jenkins jenkins 3523 Sep 27 20:58 go.mod 21:00:20 -rw-rw-r-- 1 jenkins jenkins 37945 Sep 27 20:58 go.sum 21:00:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:58 internal 21:00:20 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 20:58 mock 21:00:20 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:58 snap 21:00:20 -rw-rw-r-- 1 jenkins jenkins 227 Sep 27 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:21 + 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=606ea677ca7ca6730308224ec77114b9f60eec0f --label arch=amd64 --label version=0.0.0 . 21:00:21 Sending build context to Docker daemon 6.15MB 21:00:21 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 21:00:21 Step 2/25 : FROM ${BASE} AS builder 21:00:21 ---> d9b809b603aa 21:00:21 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:00:21 ---> Running in 673d850fedac 21:00:21 Removing intermediate container 673d850fedac 21:00:21 ---> 84ec1e1ea766 21:00:21 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:00:21 ---> Running in 8703df7c34af 21:00:21 Removing intermediate container 8703df7c34af 21:00:21 ---> 3677291922f8 21:00:21 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:00:21 ---> Running in 5e704cc7df57 21:00:21 Removing intermediate container 5e704cc7df57 21:00:21 ---> 5971d1fde7e2 21:00:21 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:00:21 ---> Running in 42b1fefed312 21:00:22 Removing intermediate container 42b1fefed312 21:00:22 ---> 97b3d0aa494e 21:00:22 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:00:22 ---> Running in a86599f98cf1 21:00:22 Removing intermediate container a86599f98cf1 21:00:22 ---> fe4549a4a496 21:00:22 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:00:22 ---> Running in 8ccff6da71ef 21:00:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:00:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:00:24 OK: 216 MiB in 55 packages 21:00:24 Removing intermediate container 8ccff6da71ef 21:00:24 ---> 2a68efa99bb1 21:00:24 Step 9/25 : WORKDIR /device-mqtt-go 21:00:24 ---> Running in b8c0e540eb7e 21:00:24 Removing intermediate container b8c0e540eb7e 21:00:24 ---> 8b85b35a7adb 21:00:24 Step 10/25 : COPY go.mod vendor* ./ 21:00:24 ---> ccc4c1cc1f81 21:00:24 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:00:24 ---> Running in a746c7ffc2fa 21:00:25 Removing intermediate container a746c7ffc2fa 21:00:25 ---> efed63468d75 21:00:25 Step 12/25 : COPY . . 21:00:25 ---> b84e5f1bd6d6 21:00:25 Step 13/25 : RUN $MAKE 21:00:25 ---> Running in aaabd7d70c89 21:00:25 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 21:00:47 Removing intermediate container aaabd7d70c89 21:00:47 ---> 3ce52b16ce82 21:00:47 Step 14/25 : FROM alpine:3.16 21:00:47 3.16: Pulling from library/alpine 21:00:47 213ec9aee27d: Pulling fs layer 21:00:48 213ec9aee27d: Verifying Checksum 21:00:48 213ec9aee27d: Download complete 21:00:48 213ec9aee27d: Pull complete 21:00:48 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:00:48 Status: Downloaded newer image for alpine:3.16 21:00:48 ---> 9c6f07244728 21:00:48 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 21:00:48 ---> Running in 18bec1f08fa3 21:00:48 Removing intermediate container 18bec1f08fa3 21:00:48 ---> 8532cdb0b1bc 21:00:48 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 21:00:48 ---> Running in 6b8e3542a0d8 21:00:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:00:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:00:49 (1/6) Installing dumb-init (1.2.5-r1) 21:00:49 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:00:49 (3/6) Installing libsodium (1.0.18-r0) 21:00:49 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:00:49 (5/6) Installing libzmq (4.3.4-r0) 21:00:49 (6/6) Installing zeromq (4.3.4-r0) 21:00:49 Executing busybox-1.35.0-r17.trigger 21:00:49 OK: 8 MiB in 20 packages 21:00:49 Removing intermediate container 6b8e3542a0d8 21:00:49 ---> 81aefc620119 21:00:49 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 21:00:50 ---> b00dcac3c7e4 21:00:50 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 21:00:50 ---> ba828ef4d138 21:00:50 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 21:00:50 ---> 5ec6f1443082 21:00:50 Step 20/25 : EXPOSE 59982 21:00:50 ---> Running in 0e00a187e41b 21:00:50 Removing intermediate container 0e00a187e41b 21:00:50 ---> e4649127d942 21:00:50 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 21:00:50 ---> Running in baf81bb1ae28 21:00:50 Removing intermediate container baf81bb1ae28 21:00:50 ---> 37dc235b61d3 21:00:50 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:00:50 ---> Running in 6a2db27a263d 21:00:50 Removing intermediate container 6a2db27a263d 21:00:50 ---> 0b9cb17aa2a5 21:00:50 Step 23/25 : LABEL arch=amd64 21:00:50 ---> Running in 1f87e0a7c186 21:00:50 Removing intermediate container 1f87e0a7c186 21:00:50 ---> e4129e9b5edd 21:00:50 Step 24/25 : LABEL git_sha=606ea677ca7ca6730308224ec77114b9f60eec0f 21:00:50 ---> Running in 1f0492daaa67 21:00:51 Removing intermediate container 1f0492daaa67 21:00:51 ---> 1b5769bd0567 21:00:51 Step 25/25 : LABEL version=0.0.0 21:00:51 ---> Running in d4de992c0470 21:00:51 Removing intermediate container d4de992c0470 21:00:51 ---> db08a839e7c5 21:00:51 [Warning] One or more build-args [ARCH] were not consumed 21:00:51 Successfully built db08a839e7c5 21:00:51 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 21:00:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:51 21:00:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:00:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:51 latest: Pulling from edgex-lftools-log-publisher 21:00:51 5eb5b503b376: Pulling fs layer 21:00:51 5c69ac0246d0: Pulling fs layer 21:00:51 ec43610c2a17: Pulling fs layer 21:00:51 3a2ae6a8a46f: Pulling fs layer 21:00:51 33b1e0a273af: Pulling fs layer 21:00:51 5d3b04190fa2: Pulling fs layer 21:00:51 2f39f015ded8: Pulling fs layer 21:00:51 3a2ae6a8a46f: Waiting 21:00:51 33b1e0a273af: Waiting 21:00:51 5d3b04190fa2: Waiting 21:00:51 2f39f015ded8: Waiting 21:00:51 5c69ac0246d0: Download complete 21:00:51 3a2ae6a8a46f: Verifying Checksum 21:00:51 3a2ae6a8a46f: Download complete 21:00:52 33b1e0a273af: Verifying Checksum 21:00:52 33b1e0a273af: Download complete 21:00:52 ec43610c2a17: Verifying Checksum 21:00:52 ec43610c2a17: Download complete 21:00:52 5d3b04190fa2: Download complete 21:00:52 5eb5b503b376: Verifying Checksum 21:00:52 5eb5b503b376: Download complete 21:00:52 2f39f015ded8: Download complete 21:00:53 5eb5b503b376: Pull complete 21:00:53 5c69ac0246d0: Pull complete 21:00:53 ec43610c2a17: Pull complete 21:00:53 3a2ae6a8a46f: Pull complete 21:00:54 33b1e0a273af: Pull complete 21:00:54 5d3b04190fa2: Pull complete 21:00:58 2f39f015ded8: Pull complete 21:00:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:00:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:58 prd-ubuntu20.04-docker-8c-8g-1406 does not seem to be running inside a container 21:00:58 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:01:02 $ docker top 703105ede2a3e8ea7155989394cfe64c566fccb6689f1df621753b8ad381da3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:02 ---> job-cost.sh 21:01:02 lf-activate-venv: SKIPPING 21:01:02 INFO: No Stack... 21:01:02 INFO: Retrieving Pricing Info for: v3-standard-8 21:01:03 INFO: Archiving Costs [Pipeline] sh 21:01:03 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/cost.csv 21:01:03 + cut -d, -f6 [Pipeline] lock 21:01:03 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-414-5-stack-cost] 21:01:03 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-5-stack-cost] did not exist. Created. 21:01:03 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-414-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:01:04 + echo total: 0.2199999988079071 [Pipeline] stash 21:01:04 Stashed 1 file(s) [Pipeline] } 21:01:04 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-5-stack-cost] [Pipeline] // lock [Pipeline] } 21:01:04 $ docker stop --time=1 703105ede2a3e8ea7155989394cfe64c566fccb6689f1df621753b8ad381da3f 21:01:05 $ docker rm -f 703105ede2a3e8ea7155989394cfe64c566fccb6689f1df621753b8ad381da3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:02:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1409 in /w/workspace/gexfoundry_device-mqtt-go_PR-414 [Pipeline] { [Pipeline] ws 21:02:15 Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout 21:02:15 Selected Git installation does not exist. Using Default 21:02:15 The recommended git tool is: NONE 21:02:21 using credential edgex-jenkins-ssh 21:02:21 Cloning the remote Git repository 21:02:21 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 21:02:21 > git init /w/workspace/device-mqtt-go/5 # timeout=10 21:02:21 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 21:02:21 > git --version # timeout=10 21:02:21 > git --version # 'git version 2.25.1' 21:02:21 using GIT_SSH to set credentials SSH Credentials for GitHub 21:02:21 Verifying host key using known hosts file 21:02:22 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. 21:02:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:02:23 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 21:02:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:02:24 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 21:02:24 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 21:02:24 using GIT_SSH to set credentials SSH Credentials for GitHub 21:02:24 Verifying host key using known hosts file 21:02:24 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. 21:02:24 > 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 21:02:25 Merging remotes/origin/main commit 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 into PR head commit 606ea677ca7ca6730308224ec77114b9f60eec0f 21:02:25 Merge succeeded, producing 606ea677ca7ca6730308224ec77114b9f60eec0f 21:02:25 Checking out Revision 606ea677ca7ca6730308224ec77114b9f60eec0f (PR-414) 21:02:25 > git config core.sparsecheckout # timeout=10 21:02:25 > git checkout -f 606ea677ca7ca6730308224ec77114b9f60eec0f # timeout=10 21:02:25 > git remote # timeout=10 21:02:25 > git config --get remote.origin.url # timeout=10 21:02:25 using GIT_SSH to set credentials SSH Credentials for GitHub 21:02:25 Verifying host key using known hosts file 21:02:25 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 21:02:25 > git merge 57f44dfb208181fe6cb075f759c071dd5c5ec6f2 # timeout=10 21:02:25 > git rev-parse HEAD^{commit} # timeout=10 21:02:25 > git config core.sparsecheckout # timeout=10 21:02:25 > git checkout -f 606ea677ca7ca6730308224ec77114b9f60eec0f # timeout=10 21:02:29 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 21:02:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:02:29 % Total % Received % Xferd Average Speed Time Time Time Current 21:02:29 Dload Upload Total Spent Left Speed 21:02:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 201k 0 --:--:-- --:--:-- --:--:-- 205k [Pipeline] sh 21:02:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:02:30 + sudo tee /etc/docker/daemon.new 21:02:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:02:30 { 21:02:30 "registry-mirrors": [ 21:02:30 "https://nexus3.edgexfoundry.org:10001" 21:02:30 ], 21:02:30 "bip": "10.250.0.254/24", 21:02:30 "hosts": [ 21:02:30 "tcp://0.0.0.0:5555", 21:02:30 "unix:///var/run/docker.sock" 21:02:30 ], 21:02:30 "mtu": 1458, 21:02:30 "selinux-enabled": true, 21:02:30 "seccomp-profile": "/etc/docker/seccomp.json" 21:02:30 } [Pipeline] sh 21:02:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:02:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:02:49 provisioning config files... 21:02:49 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/5@tmp/config331290760379504732tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:02:50 ---> docker-login.sh 21:02:50 nexus3.edgexfoundry.org:10001 21:02:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:50 Configure a credential helper to remove this warning. See 21:02:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:50 21:02:50 Login Succeeded 21:02:50 nexus3.edgexfoundry.org:10002 21:02:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:51 Configure a credential helper to remove this warning. See 21:02:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:51 21:02:51 Login Succeeded 21:02:51 nexus3.edgexfoundry.org:10003 21:02:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:51 Configure a credential helper to remove this warning. See 21:02:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:51 21:02:51 Login Succeeded 21:02:51 nexus3.edgexfoundry.org:10004 21:02:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:51 Configure a credential helper to remove this warning. See 21:02:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:51 21:02:51 Login Succeeded 21:02:51 docker.io 21:02:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:52 Configure a credential helper to remove this warning. See 21:02:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:52 21:02:52 Login Succeeded 21:02:52 ---> docker-login.sh ends [Pipeline] } 21:02:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:02:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:02:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:02:53 ========================================================= 21:02:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:02:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:53 + 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 . 21:02:53 Sending build context to Docker daemon 3.176MB 21:02:53 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:02:53 Step 2/13 : FROM ${BASE} AS builder 21:02:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:02:53 b3c136eddcbf: Pulling fs layer 21:02:53 c0a3192eca97: Pulling fs layer 21:02:53 a050256f5b6f: Pulling fs layer 21:02:53 656be50a0ddc: Pulling fs layer 21:02:53 2bbca73fdf42: Pulling fs layer 21:02:53 46d945488cbd: Pulling fs layer 21:02:53 8a5474983e97: Pulling fs layer 21:02:53 329c88fbcd65: Pulling fs layer 21:02:53 2bbca73fdf42: Waiting 21:02:53 46d945488cbd: Waiting 21:02:53 8a5474983e97: Waiting 21:02:53 656be50a0ddc: Waiting 21:02:53 329c88fbcd65: Waiting 21:02:53 a050256f5b6f: Verifying Checksum 21:02:53 a050256f5b6f: Download complete 21:02:53 c0a3192eca97: Verifying Checksum 21:02:53 c0a3192eca97: Download complete 21:02:53 2bbca73fdf42: Verifying Checksum 21:02:53 2bbca73fdf42: Download complete 21:02:53 46d945488cbd: Verifying Checksum 21:02:53 46d945488cbd: Download complete 21:02:53 b3c136eddcbf: Verifying Checksum 21:02:53 b3c136eddcbf: Download complete 21:02:54 b3c136eddcbf: Pull complete 21:02:55 329c88fbcd65: Verifying Checksum 21:02:55 329c88fbcd65: Download complete 21:02:55 c0a3192eca97: Pull complete 21:02:55 a050256f5b6f: Pull complete 21:02:56 8a5474983e97: Verifying Checksum 21:02:56 8a5474983e97: Download complete 21:02:56 656be50a0ddc: Verifying Checksum 21:02:56 656be50a0ddc: Download complete 21:03:09 656be50a0ddc: Pull complete 21:03:09 2bbca73fdf42: Pull complete 21:03:09 46d945488cbd: Pull complete 21:03:14 8a5474983e97: Pull complete 21:03:16 329c88fbcd65: Pull complete 21:03:16 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 21:03:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:03:16 ---> ff4287adb874 21:03:16 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:03:18 ---> Running in 5ee210153e44 21:03:18 Removing intermediate container 5ee210153e44 21:03:18 ---> 4bc6f441ecb5 21:03:18 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:03:18 ---> Running in c10c9b171149 21:03:19 Removing intermediate container c10c9b171149 21:03:19 ---> d74b2a63a226 21:03:19 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:03:19 ---> Running in c5ec5dbe883d 21:03:19 Removing intermediate container c5ec5dbe883d 21:03:19 ---> b517c3f237a4 21:03:19 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:03:19 ---> Running in b43863baff92 21:03:19 Removing intermediate container b43863baff92 21:03:19 ---> e9fc9ded6c40 21:03:19 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:03:19 ---> Running in 2eb97d218442 21:03:21 Removing intermediate container 2eb97d218442 21:03:21 ---> efa931acbf66 21:03:21 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:03:21 ---> Running in c5caa1cb9050 21:03:22 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:03:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:03:24 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:03:24 (2/4) Installing libedit (20210910.3.1-r0) 21:03:24 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:03:25 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:03:25 Executing busybox-1.35.0-r13.trigger 21:03:25 OK: 226 MiB in 55 packages 21:03:25 Removing intermediate container c5caa1cb9050 21:03:25 ---> b8e4bb5ee9f0 21:03:25 Step 9/13 : WORKDIR /device-mqtt-go 21:03:26 ---> Running in 29192f086282 21:03:26 Removing intermediate container 29192f086282 21:03:26 ---> d560b19ba696 21:03:26 Step 10/13 : COPY go.mod vendor* ./ 21:03:27 ---> e5ff5f8e99c3 21:03:27 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:03:27 ---> Running in 6503f8cbca56 21:04:23 Removing intermediate container 6503f8cbca56 21:04:23 ---> 46efee072401 21:04:23 Step 12/13 : COPY . . 21:04:23 ---> f08f2b09a72d 21:04:23 Step 13/13 : RUN $MAKE 21:04:23 ---> Running in 7ca262a08c24 21:04:23 noop 21:04:23 Removing intermediate container 7ca262a08c24 21:04:23 ---> bfc8024b8efa 21:04:23 Successfully built bfc8024b8efa 21:04:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:23 + docker inspect -f . ci-base-image-arm64 21:04:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:24 prd-ubuntu20.04-docker-arm64-4c-16g-1409 does not seem to be running inside a container 21:04:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:04:25 $ docker top 9e7ce794821db3db74e1edc0d9b54d581d545c69f1291d73e34e7d96cf9fa67a -eo pid,comm [Pipeline] { [Pipeline] sh 21:04:26 + go version 21:04:26 go version go1.18.3 linux/arm64 [Pipeline] } 21:04:26 $ docker stop --time=1 9e7ce794821db3db74e1edc0d9b54d581d545c69f1291d73e34e7d96cf9fa67a 21:04:27 $ docker rm -f 9e7ce794821db3db74e1edc0d9b54d581d545c69f1291d73e34e7d96cf9fa67a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:28 + docker inspect -f . ci-base-image-arm64 21:04:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:28 prd-ubuntu20.04-docker-arm64-4c-16g-1409 does not seem to be running inside a container 21:04:28 $ 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/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:04:29 $ docker top a8672e096b24183c85816420f4ad3981f31b8f6d933572158e91ee8a228a0725 -eo pid,comm [Pipeline] { [Pipeline] sh 21:04:30 + git config --global --add safe.directory /w/workspace/device-mqtt-go/5 [Pipeline] fileExists [Pipeline] sh 21:04:31 + make test 21:04:31 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:04:33 ? github.com/edgexfoundry/device-mqtt-go [no test files] 21:06:09 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 21:06:09 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 21.8% of statements 21:06:09 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 21:06:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:06:09 GCO_ENABLED=1 GO111MODULE=on go vet ./... 21:06:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:06:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:06:28 ./bin/test-attribution-txt.sh [Pipeline] echo 21:06:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:06:28 $ docker stop --time=1 a8672e096b24183c85816420f4ad3981f31b8f6d933572158e91ee8a228a0725 21:06:30 $ docker rm -f a8672e096b24183c85816420f4ad3981f31b8f6d933572158e91ee8a228a0725 [Pipeline] // withDockerContainer [Pipeline] sh 21:06:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:06:31 Warning: overwriting stash ‘coverage-report’ 21:06:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:06:32 + ls -al . 21:06:32 total 180 21:06:32 drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 21:04 . 21:06:32 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:02 .. 21:06:32 -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 21:02 .dockerignore 21:06:32 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:02 .git 21:06:32 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:02 .github 21:06:32 -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 21:02 .gitignore 21:06:32 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 21:02 .golangci.yml 21:06:32 -rw-rw-r-- 1 jenkins jenkins 9293 Sep 27 21:02 Attribution.txt 21:06:32 -rw-rw-r-- 1 jenkins jenkins 11365 Sep 27 21:02 CHANGELOG.md 21:06:32 -rw-rw-r-- 1 jenkins jenkins 1988 Sep 27 21:02 Dockerfile 21:06:32 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:02 GOVERNANCE.md 21:06:32 -rw-rw-r-- 1 jenkins jenkins 678 Sep 27 21:02 Jenkinsfile 21:06:32 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 21:02 LICENSE 21:06:32 -rw-rw-r-- 1 jenkins jenkins 2126 Sep 27 21:02 Makefile 21:06:32 -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 21:02 OWNERS.md 21:06:32 -rw-rw-r-- 1 jenkins jenkins 3165 Sep 27 21:02 README.md 21:06:32 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 20:59 VERSION 21:06:32 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:02 bin 21:06:32 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:02 cmd 21:06:32 -rw-r--r-- 1 jenkins jenkins 17887 Sep 27 21:06 coverage.out 21:06:32 -rw-rw-r-- 1 jenkins jenkins 3523 Sep 27 21:02 go.mod 21:06:32 -rw-rw-r-- 1 jenkins jenkins 37945 Sep 27 21:02 go.sum 21:06:32 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:02 internal 21:06:32 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:02 mock 21:06:32 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:02 snap 21:06:32 -rw-rw-r-- 1 jenkins jenkins 227 Sep 27 21:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:32 + 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=606ea677ca7ca6730308224ec77114b9f60eec0f --label arch=arm64 --label version=0.0.0 . 21:06:33 Sending build context to Docker daemon 3.194MB 21:06:33 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 21:06:33 Step 2/25 : FROM ${BASE} AS builder 21:06:33 ---> bfc8024b8efa 21:06:33 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:06:33 ---> Running in fd2a4e0b8285 21:06:34 Removing intermediate container fd2a4e0b8285 21:06:34 ---> bd1e4d4b35e4 21:06:34 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:06:34 ---> Running in a114672c08f4 21:06:34 Removing intermediate container a114672c08f4 21:06:34 ---> 8ca159fdf183 21:06:34 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:06:34 ---> Running in ef4fe1f65796 21:06:34 Removing intermediate container ef4fe1f65796 21:06:34 ---> 599464e51b04 21:06:34 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:06:34 ---> Running in c1c622c9e7ad 21:06:35 Removing intermediate container c1c622c9e7ad 21:06:35 ---> dd59a31f0f19 21:06:35 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:06:35 ---> Running in a1bcc6e677a7 21:06:37 Removing intermediate container a1bcc6e677a7 21:06:37 ---> 92fe0b9d9479 21:06:37 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:06:37 ---> Running in faec0084726d 21:06:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:06:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:06:40 OK: 226 MiB in 55 packages 21:06:41 Removing intermediate container faec0084726d 21:06:41 ---> 8031a9589212 21:06:41 Step 9/25 : WORKDIR /device-mqtt-go 21:06:41 ---> Running in b6b6b068cdcf 21:06:41 Removing intermediate container b6b6b068cdcf 21:06:41 ---> 7cd51f7e3ead 21:06:41 Step 10/25 : COPY go.mod vendor* ./ 21:06:42 ---> d8fd6dc6a337 21:06:42 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:06:42 ---> Running in fef1aeeb70a7 21:06:44 Removing intermediate container fef1aeeb70a7 21:06:44 ---> 09ddb975a5d3 21:06:44 Step 12/25 : COPY . . 21:06:45 ---> 506e85d78066 21:06:45 Step 13/25 : RUN $MAKE 21:06:45 ---> Running in ab77f487732b 21:06:47 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 21:09:24 Removing intermediate container ab77f487732b 21:09:24 ---> cb15a48c0fa8 21:09:24 Step 14/25 : FROM alpine:3.16 21:09:24 3.16: Pulling from library/alpine 21:09:24 9b18e9b68314: Pulling fs layer 21:09:24 9b18e9b68314: Verifying Checksum 21:09:24 9b18e9b68314: Download complete 21:09:24 9b18e9b68314: Pull complete 21:09:24 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:09:24 Status: Downloaded newer image for alpine:3.16 21:09:24 ---> a6215f271958 21:09:24 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 21:09:24 ---> Running in ef18964f8318 21:09:24 Removing intermediate container ef18964f8318 21:09:24 ---> 6b1e27ec9a51 21:09:24 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 21:09:24 ---> Running in eb75355bc5a7 21:09:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:09:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:09:24 (1/6) Installing dumb-init (1.2.5-r1) 21:09:24 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:09:24 (3/6) Installing libsodium (1.0.18-r0) 21:09:24 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:09:24 (5/6) Installing libzmq (4.3.4-r0) 21:09:24 (6/6) Installing zeromq (4.3.4-r0) 21:09:24 Executing busybox-1.35.0-r17.trigger 21:09:24 OK: 8 MiB in 20 packages 21:09:24 Removing intermediate container eb75355bc5a7 21:09:24 ---> 3c29f1f540e5 21:09:24 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 21:09:24 ---> 8dc117b3b9e5 21:09:24 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 21:09:24 ---> 5ed502a0436b 21:09:24 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 21:09:24 ---> ca5f335ea3b1 21:09:24 Step 20/25 : EXPOSE 59982 21:09:24 ---> Running in 82a10d826b25 21:09:24 Removing intermediate container 82a10d826b25 21:09:24 ---> a33c7b789b02 21:09:24 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 21:09:24 ---> Running in 408a1b4a2add 21:09:24 Removing intermediate container 408a1b4a2add 21:09:24 ---> 6a81af06dbd3 21:09:24 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:09:24 ---> Running in 81c7b759914d 21:09:24 Removing intermediate container 81c7b759914d 21:09:24 ---> db27ad655287 21:09:24 Step 23/25 : LABEL arch=arm64 21:09:24 ---> Running in 2eb0f9911582 21:09:24 Removing intermediate container 2eb0f9911582 21:09:24 ---> 99488dd96dff 21:09:24 Step 24/25 : LABEL git_sha=606ea677ca7ca6730308224ec77114b9f60eec0f 21:09:24 ---> Running in 88793c173796 21:09:24 Removing intermediate container 88793c173796 21:09:24 ---> 20d3989a7e73 21:09:24 Step 25/25 : LABEL version=0.0.0 21:09:24 ---> Running in 98ec3f261965 21:09:25 Removing intermediate container 98ec3f261965 21:09:25 ---> c55458517926 21:09:25 [Warning] One or more build-args [ARCH] were not consumed 21:09:25 Successfully built c55458517926 21:09:25 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 21:09:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:09:25 21:09:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:09:25 arm64: Pulling from edgex-lftools-log-publisher 21:09:25 8998bd30e6a1: Pulling fs layer 21:09:25 04944245beec: Pulling fs layer 21:09:25 699f458cf7ca: Pulling fs layer 21:09:25 765212b225bb: Pulling fs layer 21:09:25 f23df028b6ca: Pulling fs layer 21:09:25 d65c8cfc05b1: Pulling fs layer 21:09:25 2437ff75d9bd: Pulling fs layer 21:09:25 f23df028b6ca: Waiting 21:09:25 d65c8cfc05b1: Waiting 21:09:25 765212b225bb: Waiting 21:09:25 2437ff75d9bd: Waiting 21:09:26 04944245beec: Verifying Checksum 21:09:26 04944245beec: Download complete 21:09:26 765212b225bb: Verifying Checksum 21:09:26 765212b225bb: Download complete 21:09:26 f23df028b6ca: Download complete 21:09:26 d65c8cfc05b1: Verifying Checksum 21:09:26 d65c8cfc05b1: Download complete 21:09:26 699f458cf7ca: Verifying Checksum 21:09:26 699f458cf7ca: Download complete 21:09:26 8998bd30e6a1: Verifying Checksum 21:09:26 8998bd30e6a1: Download complete 21:09:29 2437ff75d9bd: Verifying Checksum 21:09:29 2437ff75d9bd: Download complete 21:09:31 8998bd30e6a1: Pull complete 21:09:31 04944245beec: Pull complete 21:09:33 699f458cf7ca: Pull complete 21:09:33 765212b225bb: Pull complete 21:09:34 f23df028b6ca: Pull complete 21:09:34 d65c8cfc05b1: Pull complete 21:09:49 2437ff75d9bd: Pull complete 21:09:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:09:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:09:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:49 prd-ubuntu20.04-docker-arm64-4c-16g-1409 does not seem to be running inside a container 21:09:49 $ 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/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:09:52 $ docker top e7d408c676f794726249d18ebcda8a06e01d5cd35513c9a6f636cf344654ef12 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:53 ---> job-cost.sh 21:09:53 lf-activate-venv: SKIPPING 21:09:53 INFO: No Stack... 21:09:53 INFO: Retrieving Pricing Info for: v3-standard-4 21:09:54 INFO: Archiving Costs [Pipeline] sh 21:09:54 + cat /w/workspace/device-mqtt-go/5/archives/cost.csv 21:09:54 + cut -d, -f6 [Pipeline] lock 21:09:54 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-414-5-stack-cost] 21:09:54 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-5-stack-cost] did not exist. Created. 21:09:54 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-414-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:55 /w/workspace/device-mqtt-go/5@tmp/durable-00459827/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:09:55 + echo total: 0.10999999940395355 [Pipeline] stash 21:09:55 Warning: overwriting stash ‘stack-cost’ 21:09:55 Stashed 1 file(s) [Pipeline] } 21:09:55 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-414-5-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:55 $ docker stop --time=1 e7d408c676f794726249d18ebcda8a06e01d5cd35513c9a6f636cf344654ef12 21:09:57 $ docker rm -f e7d408c676f794726249d18ebcda8a06e01d5cd35513c9a6f636cf344654ef12 [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 21:09:57 provisioning config files... 21:09:57 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config3278953577408499875tmp [Pipeline] { [Pipeline] sh 21:09:57 + set +x 21:09:57 + + bash -s -- 21:09:57 curl -s https://codecov.io/bash 21:09:57 21:09:57 _____ _ 21:09:57 / ____| | | 21:09:57 | | ___ __| | ___ ___ _____ __ 21:09:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:09:57 | |___| (_) | (_| | __/ (_| (_) \ V / 21:09:57 \_____\___/ \__,_|\___|\___\___/ \_/ 21:09:57 Bash-1.0.6 21:09:57 21:09:57 21:09:57 ==> git version 2.25.1 found 21:09:57 ==> 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 21:09:57 Release-Date: 2020-01-08 21:09:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:09:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:09:57 ==> Jenkins CI detected. 21:09:57 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-414 21:09:57 project root: . 21:09:57 --> token set from env 21:09:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:09:57 ==> Running gcov in . (disable via -X gcov) 21:09:57 ==> Python coveragepy not found 21:09:57 ==> Searching for coverage reports in: 21:09:57 + . 21:09:57 -> Found 1 reports 21:09:57 ==> Detecting git/mercurial file structure 21:09:57 ==> Reading reports 21:09:57 + ./coverage.out bytes=17887 21:09:57 ==> Appending adjustments 21:09:57 https://docs.codecov.io/docs/fixing-reports 21:09:58 + Found adjustments 21:09:58 ==> Gzipping contents 21:09:58 4.0K /tmp/codecov.9QDczu.gz 21:09:58 ==> Uploading reports 21:09:58 url: https://codecov.io 21:09:58 query: branch=PR-414&commit=606ea677ca7ca6730308224ec77114b9f60eec0f&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-414%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=414&job=&cmd_args= 21:09:58 -> Pinging Codecov 21:09:58 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=606ea677ca7ca6730308224ec77114b9f60eec0f&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-414%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=414&job=&cmd_args= 21:09:58 -> Uploading to 21:09:58 https://storage.googleapis.com/codecov/v4/raw/2022-09-27/7D719EC7BBE17E464838252E33014C33/606ea677ca7ca6730308224ec77114b9f60eec0f/aaafc2dd-5261-4db8-a4db-db7822a18132.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T210958Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e017bd753442e517337b47775a6e4b8b3ef7976bfa21bfa3a62de85f4f171730 21:09:58 % Total % Received % Xferd Average Speed Time Time Time Current 21:09:58 Dload Upload Total Spent Left Speed 21:09:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3196 0 0 100 3196 0 14267 --:--:-- --:--:-- --:--:-- 14267 21:09:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/606ea677ca7ca6730308224ec77114b9f60eec0f [Pipeline] } 21:09:58 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 21:09:59 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives ] 21:09:59 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives 21:09:59 total 16 21:09:59 drwxr-xr-x 3 root root 4096 Sep 27 21:01 . 21:09:59 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 21:01 .. 21:09:59 drwxr-xr-x 2 root root 4096 Sep 27 21:01 cost 21:09:59 -rw-r--r-- 1 root root 86 Sep 27 21:01 cost.csv 21:09:59 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives 21:09:59 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives 21:09:59 total 16 21:09:59 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:01 . 21:09:59 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 21:01 .. 21:09:59 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 21:01 cost 21:09:59 -rw-r--r-- 1 jenkins jenkins 86 Sep 27 21:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:09:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:10:00 ---> package-listing.sh 21:10:00 ++ facter osfamily 21:10:00 ++ tr '[:upper:]' '[:lower:]' 21:10:00 + OS_FAMILY=debian 21:10:00 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-414 21:10:00 + START_PACKAGES=/tmp/packages_start.txt 21:10:00 + END_PACKAGES=/tmp/packages_end.txt 21:10:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:10:00 + PACKAGES=/tmp/packages_start.txt 21:10:00 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-414 ']' 21:10:00 + PACKAGES=/tmp/packages_end.txt 21:10:00 + case "${OS_FAMILY}" in 21:10:00 + dpkg -l 21:10:00 + grep '^ii' 21:10:00 + '[' -f /tmp/packages_start.txt ']' 21:10:00 + '[' -f /tmp/packages_end.txt ']' 21:10:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:10:00 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-414 ']' 21:10:00 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-414/archives/ 21:10:00 + 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 21:10:00 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 21:10:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:01 prd-ubuntu20.04-docker-8c-8g-1406 does not seem to be running inside a container 21:10:01 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:10:01 $ docker top 958a74f6fce5eea17741a6cb27acdd461a1bef521787743f4c0e2d41f5177cab -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:02 + touch /tmp/pre-build-complete [Pipeline] sh 21:10:02 + mkdir -p /var/log/sysstat [Pipeline] sh 21:10:02 + ls /var/log/sa-host 21:10:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:10:02 provisioning config files... 21:10:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-414@tmp/config12618128895400296577tmp [Pipeline] { [Pipeline] echo 21:10:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:10:03 ---> create-netrc.sh [Pipeline] } 21:10:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:10:03 ---> python-tools-install.sh [Pipeline] echo 21:10:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:10:03 ---> sudo-logs.sh 21:10:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:10:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:10:04 ---> job-cost.sh 21:10:04 lf-activate-venv: SKIPPING 21:10:04 DEBUG: total: 0.2199999988079071 21:10:04 INFO: Retrieving Stack Cost... 21:10:04 INFO: Retrieving Pricing Info for: v3-standard-8 21:10:04 INFO: Archiving Costs [Pipeline] echo 21:10:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:10:05 ---> logs-deploy.sh 21:10:05 lf-activate-venv: SKIPPING 21:10:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-414/5 21:10:05 INFO: archiving workspace using pattern(s): 21:10:06 Archives upload complete. 21:10:06 INFO: archiving logs to Nexus