Branch indexing 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 MonicaisHer for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 1ae20365080d91ee65f801e150a6fed247e9201d rather than de52f11cb84c943c1ee8d7598cf261f4a4be872a Obtained Jenkinsfile from 1ae20365080d91ee65f801e150a6fed247e9201d 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-ssh9561289662892532575.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-ssh6397191385748768752.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-423/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-423/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5704744996717975261.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-ssh3233816206317807468.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-423/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-423/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1375668265774402168.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-7572 in /w/workspace/gexfoundry_device-mqtt-go_PR-423 [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-423 # 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/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1ae20365080d91ee65f801e150a6fed247e9201d into PR head commit de52f11cb84c943c1ee8d7598cf261f4a4be872a Merge succeeded, producing 8eb3a6dcde3bd54e47a29f6a529860d2e895186b Checking out Revision 8eb3a6dcde3bd54e47a29f6a529860d2e895186b (PR-423) > git config core.sparsecheckout # timeout=10 > git checkout -f de52f11cb84c943c1ee8d7598cf261f4a4be872a # 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 1ae20365080d91ee65f801e150a6fed247e9201d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8eb3a6dcde3bd54e47a29f6a529860d2e895186b # timeout=10 Commit message: "Merge commit '1ae20365080d91ee65f801e150a6fed247e9201d' into HEAD" > git rev-list --no-walk de52f11cb84c943c1ee8d7598cf261f4a4be872a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:18:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:18:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:18:46 ========================================================= 19:18:46 EdgeX Global Pipelines Version Info 19:18:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:18:47 ------------------- 19:18:47 stable info: 19:18:47 ------------------- 19:18:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:18:47 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 19:18:47 Message: update stable to v1.0.239 19:18:47 ------------------- 19:18:47 experimental info: 19:18:47 ------------------- 19:18:47 Commited By: **** collab-it+edgex@linuxfoundation.org 19:18:47 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 19:18:47 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-423 [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-423 [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-423 [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8eb3a6dcde3bd54e47a29f6a529860d2e895186b [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8eb3a6d [Pipeline] echo 19:18:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:18:47 provisioning config files... 19:18:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config8108437756324526069tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:18:48 ---> docker-login.sh 19:18:48 nexus3.edgexfoundry.org:10001 19:18:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:48 Configure a credential helper to remove this warning. See 19:18:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:48 19:18:48 Login Succeeded 19:18:48 nexus3.edgexfoundry.org:10002 19:18:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:48 Configure a credential helper to remove this warning. See 19:18:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:48 19:18:48 Login Succeeded 19:18:48 nexus3.edgexfoundry.org:10003 19:18:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:49 Configure a credential helper to remove this warning. See 19:18:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:49 19:18:49 Login Succeeded 19:18:49 nexus3.edgexfoundry.org:10004 19:18:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:49 Configure a credential helper to remove this warning. See 19:18:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:49 19:18:49 Login Succeeded 19:18:49 docker.io 19:18:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:18:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:18:49 Configure a credential helper to remove this warning. See 19:18:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:18:49 19:18:49 Login Succeeded 19:18:49 ---> docker-login.sh ends [Pipeline] } 19:18:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:18:50 + git rev-list -1 --merges 8eb3a6dcde3bd54e47a29f6a529860d2e895186b~1..8eb3a6dcde3bd54e47a29f6a529860d2e895186b [Pipeline] echo 19:18:50 -----------> git rev-list -1 --merges 8eb3a6dcde3bd54e47a29f6a529860d2e895186b~1..8eb3a6dcde3bd54e47a29f6a529860d2e895186b 8eb3a6dcde3bd54e47a29f6a529860d2e895186b 19:18:50 8eb3a6dcde3bd54e47a29f6a529860d2e895186b [false] [Pipeline] sh 19:18:50 + git log --format=format:%s -1 8eb3a6dcde3bd54e47a29f6a529860d2e895186b [Pipeline] echo 19:18:50 ========================================================= 19:18:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:18:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:18:50 + git log --format=format:%s -1 8eb3a6dcde3bd54e47a29f6a529860d2e895186b [Pipeline] echo 19:18:50 [semverPrep] GIT_COMMIT: 8eb3a6dcde3bd54e47a29f6a529860d2e895186b, Commit Message: Merge commit '1ae20365080d91ee65f801e150a6fed247e9201d' into HEAD [Pipeline] echo 19:18:50 [semverPrep] This is not a build commit. [Pipeline] sh 19:18:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:18:51 + grep -v github /etc/ssh/ssh_known_hosts 19:18:51 + [ -e /tmp/ssh_known_hosts ] 19:18:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:18:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:18:51 + sudo tee -a /etc/ssh/ssh_known_hosts 19:18:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:18:51 19:18:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:18:51 0.1.4: Pulling from edgex-devops/py-git-semver 19:18:51 b85a868b505f: Pulling fs layer 19:18:51 e2be974225ed: Pulling fs layer 19:18:51 339a4e72a1f5: Pulling fs layer 19:18:51 988bab9f4d93: Pulling fs layer 19:18:51 1469e6f7b9e6: Pulling fs layer 19:18:51 988bab9f4d93: Waiting 19:18:51 eaf3925da568: Pulling fs layer 19:18:51 bab4dde63d76: Pulling fs layer 19:18:51 1469e6f7b9e6: Waiting 19:18:51 eaf3925da568: Waiting 19:18:51 bde34c3a00c8: Pulling fs layer 19:18:51 b352a97aabf1: Pulling fs layer 19:18:51 bde34c3a00c8: Waiting 19:18:51 4872d77fe225: Pulling fs layer 19:18:51 5851b861e8e6: Pulling fs layer 19:18:51 b352a97aabf1: Waiting 19:18:51 4872d77fe225: Waiting 19:18:51 e2be974225ed: Download complete 19:18:51 988bab9f4d93: Download complete 19:18:52 1469e6f7b9e6: Verifying Checksum 19:18:52 1469e6f7b9e6: Download complete 19:18:52 339a4e72a1f5: Verifying Checksum 19:18:52 339a4e72a1f5: Download complete 19:18:52 eaf3925da568: Verifying Checksum 19:18:52 eaf3925da568: Download complete 19:18:52 bde34c3a00c8: Download complete 19:18:52 b352a97aabf1: Verifying Checksum 19:18:52 b352a97aabf1: Download complete 19:18:52 4872d77fe225: Download complete 19:18:52 5851b861e8e6: Verifying Checksum 19:18:52 5851b861e8e6: Download complete 19:18:52 b85a868b505f: Verifying Checksum 19:18:52 b85a868b505f: Download complete 19:18:52 bab4dde63d76: Verifying Checksum 19:18:52 bab4dde63d76: Download complete 19:18:53 b85a868b505f: Pull complete 19:18:53 e2be974225ed: Pull complete 19:18:54 339a4e72a1f5: Pull complete 19:18:54 988bab9f4d93: Pull complete 19:18:54 1469e6f7b9e6: Pull complete 19:18:54 eaf3925da568: Pull complete 19:18:56 bab4dde63d76: Pull complete 19:18:56 bde34c3a00c8: Pull complete 19:18:56 b352a97aabf1: Pull complete 19:18:56 4872d77fe225: Pull complete 19:18:56 5851b861e8e6: Pull complete 19:18:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:18:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:18:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:18:56 prd-ubuntu20.04-docker-8c-8g-7572 does not seem to be running inside a container 19:18:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@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 19:18:59 $ docker top 5728360920c3d9e1627acd726e3088562debfa1743b3d19ecc9af6a4bee340be -eo pid,comm 19:18:59 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). 19:18:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:18:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:18:59 [ssh-agent] Looking for ssh-agent implementation... 19:18:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:18:59 $ docker exec 5728360920c3d9e1627acd726e3088562debfa1743b3d19ecc9af6a4bee340be ssh-agent 19:18:59 SSH_AUTH_SOCK=/tmp/ssh-k6KIK16kDMEP/agent.32 19:18:59 SSH_AGENT_PID=38 19:18:59 Running ssh-add (command line suppressed) 19:18:59 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_13881732190809773993.key (/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_13881732190809773993.key) 19:18:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:19:00 + git tag --points-at HEAD [Pipeline] } 19:19:00 $ docker exec --env ******** --env ******** 5728360920c3d9e1627acd726e3088562debfa1743b3d19ecc9af6a4bee340be ssh-agent -k 19:19:00 unset SSH_AUTH_SOCK; 19:19:00 unset SSH_AGENT_PID; 19:19:00 echo Agent pid 38 killed; 19:19:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:19:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:19:00 [ssh-agent] Looking for ssh-agent implementation... 19:19:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:19:00 $ docker exec 5728360920c3d9e1627acd726e3088562debfa1743b3d19ecc9af6a4bee340be ssh-agent 19:19:00 SSH_AUTH_SOCK=/tmp/ssh-0Edwgph5OOFN/agent.70 19:19:00 SSH_AGENT_PID=76 19:19:00 Running ssh-add (command line suppressed) 19:19:00 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_15381473729139786248.key (/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/private_key_15381473729139786248.key) 19:19:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:19:00 + git semver init 19:19:01 2022-10-10 19:19:01,191 [run_init] DEBUG init version:0.0.0 force:False 19:19:01 2022-10-10 19:19:01,191 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver 19:19:01 2022-10-10 19:19:01,192 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver 19:19:01 2022-10-10 19:19:01,192 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-423, universal_newlines=False, shell=None, istream=None) 19:19:02 2022-10-10 19:19:02,184 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.git/info/exclude 19:19:02 2022-10-10 19:19:02,185 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 with force:False 19:19:02 2022-10-10 19:19:02,185 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 19:19:02 2022-10-10 19:19:02,190 [execute] INFO git cat-file --batch-check 19:19:02 2022-10-10 19:19:02,191 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver, universal_newlines=False, shell=None, istream=) 19:19:02 2022-10-10 19:19:02,198 [execute] INFO git cat-file --batch 19:19:02 2022-10-10 19:19:02,198 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver, universal_newlines=False, shell=None, istream=) 19:19:02 2022-10-10 19:19:02,205 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-423/.semver/PR-423 19:19:02 0.0.0 [Pipeline] } 19:19:02 $ docker exec --env ******** --env ******** 5728360920c3d9e1627acd726e3088562debfa1743b3d19ecc9af6a4bee340be ssh-agent -k 19:19:02 unset SSH_AUTH_SOCK; 19:19:02 unset SSH_AGENT_PID; 19:19:02 echo Agent pid 76 killed; 19:19:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:19:03 + git semver [Pipeline] } 19:19:03 $ docker stop --time=1 5728360920c3d9e1627acd726e3088562debfa1743b3d19ecc9af6a4bee340be 19:19:04 $ docker rm -f 5728360920c3d9e1627acd726e3088562debfa1743b3d19ecc9af6a4bee340be [Pipeline] // withDockerContainer [Pipeline] sh 19:19:04 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:19:05 Stashed 1 file(s) [Pipeline] echo 19:19:05 [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 19:19:05 provisioning config files... 19:19:05 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config5443718155284349071tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:05 ---> docker-login.sh 19:19:05 nexus3.edgexfoundry.org:10001 19:19:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:05 Configure a credential helper to remove this warning. See 19:19:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:05 19:19:05 Login Succeeded 19:19:05 nexus3.edgexfoundry.org:10002 19:19:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:05 Configure a credential helper to remove this warning. See 19:19:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:05 19:19:05 Login Succeeded 19:19:05 nexus3.edgexfoundry.org:10003 19:19:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:05 Configure a credential helper to remove this warning. See 19:19:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:05 19:19:05 Login Succeeded 19:19:05 nexus3.edgexfoundry.org:10004 19:19:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:05 Configure a credential helper to remove this warning. See 19:19:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:05 19:19:05 Login Succeeded 19:19:05 docker.io 19:19:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:06 Configure a credential helper to remove this warning. See 19:19:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:06 19:19:06 Login Succeeded 19:19:06 ---> docker-login.sh ends [Pipeline] } 19:19:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:19:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:19:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:19:06 ========================================================= 19:19:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 19:19:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:06 + 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 . 19:19:06 Sending build context to Docker daemon 6.168MB 19:19:06 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 19:19:06 Step 2/13 : FROM ${BASE} AS builder 19:19:06 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 19:19:06 2408cc74d12b: Pulling fs layer 19:19:06 ea60b727a1ce: Pulling fs layer 19:19:06 30c4a7721957: Pulling fs layer 19:19:06 370296b7ddb6: Pulling fs layer 19:19:06 7c6cee850709: Pulling fs layer 19:19:06 aa9baa53a306: Pulling fs layer 19:19:06 8b309c321861: Pulling fs layer 19:19:06 d8d76fd02f46: Pulling fs layer 19:19:06 fa31f396de31: Pulling fs layer 19:19:06 8b309c321861: Waiting 19:19:06 370296b7ddb6: Waiting 19:19:06 d8d76fd02f46: Waiting 19:19:06 fa31f396de31: Waiting 19:19:06 7c6cee850709: Waiting 19:19:06 aa9baa53a306: Waiting 19:19:06 30c4a7721957: Verifying Checksum 19:19:06 30c4a7721957: Download complete 19:19:06 ea60b727a1ce: Verifying Checksum 19:19:06 ea60b727a1ce: Download complete 19:19:06 7c6cee850709: Verifying Checksum 19:19:06 7c6cee850709: Download complete 19:19:06 aa9baa53a306: Verifying Checksum 19:19:06 aa9baa53a306: Download complete 19:19:06 2408cc74d12b: Verifying Checksum 19:19:06 2408cc74d12b: Download complete 19:19:06 8b309c321861: Verifying Checksum 19:19:06 8b309c321861: Download complete 19:19:06 2408cc74d12b: Pull complete 19:19:07 ea60b727a1ce: Pull complete 19:19:07 30c4a7721957: Pull complete 19:19:07 fa31f396de31: Verifying Checksum 19:19:07 fa31f396de31: Download complete 19:19:07 370296b7ddb6: Verifying Checksum 19:19:07 370296b7ddb6: Download complete 19:19:07 d8d76fd02f46: Verifying Checksum 19:19:07 d8d76fd02f46: Download complete 19:19:11 370296b7ddb6: Pull complete 19:19:11 7c6cee850709: Pull complete 19:19:11 aa9baa53a306: Pull complete 19:19:11 8b309c321861: Pull complete 19:19:13 d8d76fd02f46: Pull complete 19:19:14 fa31f396de31: Pull complete 19:19:14 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 19:19:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:19:14 ---> cef68f9685f8 19:19:14 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:19:18 ---> Running in 8486de156baa 19:19:18 Removing intermediate container 8486de156baa 19:19:18 ---> bbe7f3bbb62b 19:19:18 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:19:18 ---> Running in fe5087703954 19:19:18 Removing intermediate container fe5087703954 19:19:18 ---> ced3f3478ae5 19:19:18 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:19:18 ---> Running in 8500ee65342b 19:19:18 Removing intermediate container 8500ee65342b 19:19:18 ---> 7ef8d9ebecb5 19:19:18 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:19:18 ---> Running in c46f7e6bcee6 19:19:18 Removing intermediate container c46f7e6bcee6 19:19:18 ---> e3858bc3b5e4 19:19:18 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:19:18 ---> Running in fcde68de4287 19:19:19 Removing intermediate container fcde68de4287 19:19:19 ---> bf286e3ac5e7 19:19:19 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:19:19 ---> Running in b4f8d177d850 19:19:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:19:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:19:20 Still waiting to schedule task 19:19:20 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7571’ 19:19:20 (1/4) Installing openssh-keygen (9.0_p1-r2) 19:19:20 (2/4) Installing libedit (20210910.3.1-r0) 19:19:20 (3/4) Installing openssh-client-common (9.0_p1-r2) 19:19:21 (4/4) Installing openssh-client-default (9.0_p1-r2) 19:19:21 Executing busybox-1.35.0-r13.trigger 19:19:21 OK: 216 MiB in 55 packages 19:19:21 Removing intermediate container b4f8d177d850 19:19:21 ---> 0fe8389d87a0 19:19:21 Step 9/13 : WORKDIR /device-mqtt-go 19:19:21 ---> Running in cba36560b6f8 19:19:21 Removing intermediate container cba36560b6f8 19:19:21 ---> e33f431c91b5 19:19:21 Step 10/13 : COPY go.mod vendor* ./ 19:19:22 ---> 131f7f46ecce 19:19:22 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:19:22 ---> Running in 1da2b6e291e6 19:19:44 Removing intermediate container 1da2b6e291e6 19:19:44 ---> f4361a9b88ce 19:19:44 Step 12/13 : COPY . . 19:19:44 ---> 07b9f26c9ffc 19:19:44 Step 13/13 : RUN $MAKE 19:19:44 ---> Running in ed913d6b6de3 19:19:44 noop 19:19:44 Removing intermediate container ed913d6b6de3 19:19:44 ---> 071bc97ba447 19:19:44 Successfully built 071bc97ba447 19:19:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:44 + docker inspect -f . ci-base-image-x86_64 19:19:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:44 prd-ubuntu20.04-docker-8c-8g-7572 does not seem to be running inside a container 19:19:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@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 19:19:44 $ docker top 157bc7fb1e2b60b9f323b185ed78bfc442e0ca316b1d21f091be6c1ab48f88c4 -eo pid,comm [Pipeline] { [Pipeline] sh 19:19:45 + go version 19:19:45 go version go1.18.3 linux/amd64 [Pipeline] } 19:19:45 $ docker stop --time=1 157bc7fb1e2b60b9f323b185ed78bfc442e0ca316b1d21f091be6c1ab48f88c4 19:19:46 $ docker rm -f 157bc7fb1e2b60b9f323b185ed78bfc442e0ca316b1d21f091be6c1ab48f88c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:46 + docker inspect -f . ci-base-image-x86_64 19:19:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:46 prd-ubuntu20.04-docker-8c-8g-7572 does not seem to be running inside a container 19:19:46 $ 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-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@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 19:19:47 $ docker top 714022193e16f4e99f154398c5d3b5c8f5e6c015c8f538b2825fee4e2e685bfa -eo pid,comm [Pipeline] { [Pipeline] sh 19:19:47 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-423 [Pipeline] fileExists [Pipeline] sh 19:19:47 + make test 19:19:47 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:19:48 ? github.com/edgexfoundry/device-mqtt-go [no test files] 19:19:58 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 19:19:58 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 19:19:58 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 19:20:06 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." 19:20:06 GCO_ENABLED=1 GO111MODULE=on go vet ./... 19:20:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:20:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:20:08 ./bin/test-attribution-txt.sh [Pipeline] echo 19:20:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:20:08 $ docker stop --time=1 714022193e16f4e99f154398c5d3b5c8f5e6c015c8f538b2825fee4e2e685bfa 19:20:11 $ docker rm -f 714022193e16f4e99f154398c5d3b5c8f5e6c015c8f538b2825fee4e2e685bfa [Pipeline] // withDockerContainer [Pipeline] sh 19:20:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:20:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:20:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:20:12 + ls -al . 19:20:12 total 184 19:20:12 drwxrwxr-x 10 jenkins jenkins 4096 Oct 10 19:19 . 19:20:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 19:18 .. 19:20:12 -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 19:18 .dockerignore 19:20:12 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 19:19 .git 19:20:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 19:18 .github 19:20:12 -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 19:18 .gitignore 19:20:12 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 19:18 .golangci.yml 19:20:12 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 19:19 .semver 19:20:12 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 19:18 Attribution.txt 19:20:12 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 19:18 CHANGELOG.md 19:20:12 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 19:18 Dockerfile 19:20:12 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 19:18 GOVERNANCE.md 19:20:12 -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 19:18 Jenkinsfile 19:20:12 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 19:18 LICENSE 19:20:12 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 19:18 Makefile 19:20:12 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 19:18 OWNERS.md 19:20:12 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 19:18 README.md 19:20:12 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 19:19 VERSION 19:20:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 19:18 bin 19:20:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 19:18 cmd 19:20:12 -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 19:19 coverage.out 19:20:12 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 19:18 go.mod 19:20:12 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 19:18 go.sum 19:20:12 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 19:18 internal 19:20:12 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 19:18 mock 19:20:12 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 19:18 snap 19:20:12 -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 19:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:12 + 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=8eb3a6dcde3bd54e47a29f6a529860d2e895186b --label arch=amd64 --label version=0.0.0 . 19:20:12 Sending build context to Docker daemon 6.186MB 19:20:12 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 19:20:12 Step 2/25 : FROM ${BASE} AS builder 19:20:12 ---> 071bc97ba447 19:20:12 Step 3/25 : ARG ADD_BUILD_TAGS="" 19:20:12 ---> Running in 34a0e57ebe16 19:20:12 Removing intermediate container 34a0e57ebe16 19:20:12 ---> 3d148a939b0d 19:20:12 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:20:12 ---> Running in 0c9fb53e6fb7 19:20:12 Removing intermediate container 0c9fb53e6fb7 19:20:12 ---> 8be5a7b678c7 19:20:12 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:20:12 ---> Running in d05913a9b8b4 19:20:13 Removing intermediate container d05913a9b8b4 19:20:13 ---> ec0ca678bd3a 19:20:13 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 19:20:13 ---> Running in 613fe5c3a6db 19:20:13 Removing intermediate container 613fe5c3a6db 19:20:13 ---> d0f391a34cec 19:20:13 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:20:13 ---> Running in 595b7e452abb 19:20:13 Removing intermediate container 595b7e452abb 19:20:13 ---> 69cd29430032 19:20:13 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:20:13 ---> Running in c9f51d7a779a 19:20:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:20:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:20:15 OK: 216 MiB in 55 packages 19:20:15 Removing intermediate container c9f51d7a779a 19:20:15 ---> 93b46f528bbb 19:20:15 Step 9/25 : WORKDIR /device-mqtt-go 19:20:15 ---> Running in f15fd71117d5 19:20:15 Removing intermediate container f15fd71117d5 19:20:15 ---> 884d4a640d13 19:20:15 Step 10/25 : COPY go.mod vendor* ./ 19:20:15 ---> 91e9bf428125 19:20:15 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:20:15 ---> Running in baf3d4b69f50 19:20:16 Removing intermediate container baf3d4b69f50 19:20:16 ---> f4e265d1d539 19:20:16 Step 12/25 : COPY . . 19:20:16 ---> 086ac225a1ff 19:20:16 Step 13/25 : RUN $MAKE 19:20:16 ---> Running in 2e32941f82e0 19:20:16 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 19:20:38 Removing intermediate container 2e32941f82e0 19:20:38 ---> 2ef062580d66 19:20:38 Step 14/25 : FROM alpine:3.16 19:20:39 3.16: Pulling from library/alpine 19:20:39 213ec9aee27d: Pulling fs layer 19:20:39 213ec9aee27d: Verifying Checksum 19:20:39 213ec9aee27d: Pull complete 19:20:39 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:20:39 Status: Downloaded newer image for alpine:3.16 19:20:39 ---> 9c6f07244728 19:20:39 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 19:20:39 ---> Running in 45c5f6bebb94 19:20:39 Removing intermediate container 45c5f6bebb94 19:20:39 ---> b0085c6aa641 19:20:39 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 19:20:39 ---> Running in 26b5ea98be23 19:20:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:20:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:20:40 (1/6) Installing dumb-init (1.2.5-r1) 19:20:40 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:20:40 (3/6) Installing libsodium (1.0.18-r0) 19:20:40 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:20:40 (5/6) Installing libzmq (4.3.4-r0) 19:20:40 (6/6) Installing zeromq (4.3.4-r0) 19:20:40 Executing busybox-1.35.0-r17.trigger 19:20:40 OK: 8 MiB in 20 packages 19:20:41 Removing intermediate container 26b5ea98be23 19:20:41 ---> d6d96957fee7 19:20:41 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 19:20:41 ---> 2040ecc96ac0 19:20:41 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 19:20:41 ---> 00bf2c01063f 19:20:41 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 19:20:41 ---> 47baf68ba9d8 19:20:41 Step 20/25 : EXPOSE 59982 19:20:41 ---> Running in e0d9ad7e41b8 19:20:41 Removing intermediate container e0d9ad7e41b8 19:20:41 ---> cd5951815cf1 19:20:41 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 19:20:41 ---> Running in 1b671a0b2bcc 19:20:42 Removing intermediate container 1b671a0b2bcc 19:20:42 ---> b78b150ff4da 19:20:42 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:20:42 ---> Running in aada00492d84 19:20:42 Removing intermediate container aada00492d84 19:20:42 ---> eb3a432d9430 19:20:42 Step 23/25 : LABEL arch=amd64 19:20:42 ---> Running in d2674e0ee15b 19:20:42 Removing intermediate container d2674e0ee15b 19:20:42 ---> 01abc7f3da3a 19:20:42 Step 24/25 : LABEL git_sha=8eb3a6dcde3bd54e47a29f6a529860d2e895186b 19:20:42 ---> Running in d73301d5c27b 19:20:42 Removing intermediate container d73301d5c27b 19:20:42 ---> 17fe79fcef0a 19:20:42 Step 25/25 : LABEL version=0.0.0 19:20:42 ---> Running in 9a5c8673d7c5 19:20:42 Removing intermediate container 9a5c8673d7c5 19:20:42 ---> eb4969ec365f 19:20:42 [Warning] One or more build-args [ARCH] were not consumed 19:20:42 Successfully built eb4969ec365f 19:20:42 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 19:20:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:20:42 19:20:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:20:43 latest: Pulling from edgex-lftools-log-publisher 19:20:43 5eb5b503b376: Pulling fs layer 19:20:43 5c69ac0246d0: Pulling fs layer 19:20:43 ec43610c2a17: Pulling fs layer 19:20:43 3a2ae6a8a46f: Pulling fs layer 19:20:43 33b1e0a273af: Pulling fs layer 19:20:43 5d3b04190fa2: Pulling fs layer 19:20:43 2f39f015ded8: Pulling fs layer 19:20:43 33b1e0a273af: Waiting 19:20:43 5d3b04190fa2: Waiting 19:20:43 2f39f015ded8: Waiting 19:20:43 3a2ae6a8a46f: Waiting 19:20:43 5c69ac0246d0: Download complete 19:20:43 3a2ae6a8a46f: Download complete 19:20:43 33b1e0a273af: Verifying Checksum 19:20:43 33b1e0a273af: Download complete 19:20:43 ec43610c2a17: Verifying Checksum 19:20:43 ec43610c2a17: Download complete 19:20:43 5d3b04190fa2: Verifying Checksum 19:20:43 5d3b04190fa2: Download complete 19:20:43 5eb5b503b376: Verifying Checksum 19:20:43 5eb5b503b376: Download complete 19:20:43 2f39f015ded8: Download complete 19:20:44 5eb5b503b376: Pull complete 19:20:44 5c69ac0246d0: Pull complete 19:20:45 ec43610c2a17: Pull complete 19:20:45 3a2ae6a8a46f: Pull complete 19:20:45 33b1e0a273af: Pull complete 19:20:45 5d3b04190fa2: Pull complete 19:20:51 2f39f015ded8: Pull complete 19:20:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:20:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:20:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:51 prd-ubuntu20.04-docker-8c-8g-7572 does not seem to be running inside a container 19:20:51 $ 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-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@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 19:20:55 $ docker top b82668ae37e75c518d286fac9206af5133b869ffe81068cc2169278c4d1a3737 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:20:55 ---> job-cost.sh 19:20:55 lf-activate-venv: SKIPPING 19:20:55 INFO: No Stack... 19:20:55 INFO: Retrieving Pricing Info for: v3-standard-8 19:20:56 INFO: Archiving Costs [Pipeline] sh 19:20:56 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/cost.csv 19:20:56 + cut -d, -f6 [Pipeline] lock 19:20:56 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-423-5-stack-cost] 19:20:56 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-5-stack-cost] did not exist. Created. 19:20:56 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-423-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:20:56 + echo total: 0.2199999988079071 [Pipeline] stash 19:20:56 Stashed 1 file(s) [Pipeline] } 19:20:56 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-5-stack-cost] [Pipeline] // lock [Pipeline] } 19:20:56 $ docker stop --time=1 b82668ae37e75c518d286fac9206af5133b869ffe81068cc2169278c4d1a3737 19:20:58 $ docker rm -f b82668ae37e75c518d286fac9206af5133b869ffe81068cc2169278c4d1a3737 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:21:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7575 in /w/workspace/gexfoundry_device-mqtt-go_PR-423 [Pipeline] { [Pipeline] ws 19:21:39 Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout 19:21:39 Selected Git installation does not exist. Using Default 19:21:39 The recommended git tool is: NONE 19:21:44 using credential edgex-jenkins-ssh 19:21:44 Cloning the remote Git repository 19:21:44 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 19:21:44 > git init /w/workspace/device-mqtt-go/5 # timeout=10 19:21:45 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:21:45 > git --version # timeout=10 19:21:45 > git --version # 'git version 2.25.1' 19:21:45 using GIT_SSH to set credentials SSH Credentials for GitHub 19:21:45 Verifying host key using known hosts file 19:21:45 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. 19:21:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:21:46 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:21:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:21:47 Merging remotes/origin/main commit 1ae20365080d91ee65f801e150a6fed247e9201d into PR head commit de52f11cb84c943c1ee8d7598cf261f4a4be872a 19:21:47 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:21:47 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:21:47 using GIT_SSH to set credentials SSH Credentials for GitHub 19:21:47 Verifying host key using known hosts file 19:21:47 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. 19:21:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/423/head:refs/remotes/origin/PR-423 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:21:47 > git config core.sparsecheckout # timeout=10 19:21:47 > git checkout -f de52f11cb84c943c1ee8d7598cf261f4a4be872a # timeout=10 19:21:48 > git remote # timeout=10 19:21:48 Merge succeeded, producing 9e2d16dccc36d1bd39c779aacc0c524732d32e48 19:21:48 Checking out Revision 9e2d16dccc36d1bd39c779aacc0c524732d32e48 (PR-423) 19:21:48 > git config --get remote.origin.url # timeout=10 19:21:48 using GIT_SSH to set credentials SSH Credentials for GitHub 19:21:48 Verifying host key using known hosts file 19:21:48 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. 19:21:48 > git merge 1ae20365080d91ee65f801e150a6fed247e9201d # timeout=10 19:21:48 > git rev-parse HEAD^{commit} # timeout=10 19:21:48 > git config core.sparsecheckout # timeout=10 19:21:48 > git checkout -f 9e2d16dccc36d1bd39c779aacc0c524732d32e48 # timeout=10 19:21:51 Commit message: "Merge commit '1ae20365080d91ee65f801e150a6fed247e9201d' into HEAD" 19:21:51 > git rev-list --no-walk de52f11cb84c943c1ee8d7598cf261f4a4be872a # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:21:52 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:21:52 % Total % Received % Xferd Average Speed Time Time Time Current 19:21:52 Dload Upload Total Spent Left Speed 19:21:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 89375 0 --:--:-- --:--:-- --:--:-- 90014 [Pipeline] sh 19:21:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:21:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:21:54 + sudo tee /etc/docker/daemon.new 19:21:54 { 19:21:54 "registry-mirrors": [ 19:21:54 "https://nexus3.edgexfoundry.org:10001" 19:21:54 ], 19:21:54 "bip": "10.250.0.254/24", 19:21:54 "hosts": [ 19:21:54 "tcp://0.0.0.0:5555", 19:21:54 "unix:///var/run/docker.sock" 19:21:54 ], 19:21:54 "mtu": 1458, 19:21:54 "selinux-enabled": true, 19:21:54 "seccomp-profile": "/etc/docker/seccomp.json" 19:21:54 } [Pipeline] sh 19:21:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:21:54 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:22:12 provisioning config files... 19:22:12 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/5@tmp/config10787207077039163077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:22:13 ---> docker-login.sh 19:22:13 nexus3.edgexfoundry.org:10001 19:22:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:22:13 Configure a credential helper to remove this warning. See 19:22:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:22:13 19:22:13 Login Succeeded 19:22:13 nexus3.edgexfoundry.org:10002 19:22:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:22:14 Configure a credential helper to remove this warning. See 19:22:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:22:14 19:22:14 Login Succeeded 19:22:14 nexus3.edgexfoundry.org:10003 19:22:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:22:14 Configure a credential helper to remove this warning. See 19:22:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:22:14 19:22:14 Login Succeeded 19:22:14 nexus3.edgexfoundry.org:10004 19:22:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:22:15 Configure a credential helper to remove this warning. See 19:22:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:22:15 19:22:15 Login Succeeded 19:22:15 docker.io 19:22:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:22:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:22:15 Configure a credential helper to remove this warning. See 19:22:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:22:15 19:22:15 Login Succeeded 19:22:15 ---> docker-login.sh ends [Pipeline] } 19:22:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:22:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:22:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:22:16 ========================================================= 19:22:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:22:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:22:16 + 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 . 19:22:16 Sending build context to Docker daemon 3.192MB 19:22:16 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 19:22:16 Step 2/13 : FROM ${BASE} AS builder 19:22:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:22:16 b3c136eddcbf: Pulling fs layer 19:22:16 c0a3192eca97: Pulling fs layer 19:22:16 a050256f5b6f: Pulling fs layer 19:22:16 656be50a0ddc: Pulling fs layer 19:22:16 2bbca73fdf42: Pulling fs layer 19:22:16 f607e4fc86c3: Pulling fs layer 19:22:16 4d572c569a2c: Pulling fs layer 19:22:16 fcf976331f73: Pulling fs layer 19:22:16 f607e4fc86c3: Waiting 19:22:16 4d572c569a2c: Waiting 19:22:16 fcf976331f73: Waiting 19:22:16 656be50a0ddc: Waiting 19:22:16 2bbca73fdf42: Waiting 19:22:16 a050256f5b6f: Verifying Checksum 19:22:16 a050256f5b6f: Download complete 19:22:16 c0a3192eca97: Verifying Checksum 19:22:16 c0a3192eca97: Download complete 19:22:16 2bbca73fdf42: Verifying Checksum 19:22:16 2bbca73fdf42: Download complete 19:22:16 f607e4fc86c3: Verifying Checksum 19:22:16 f607e4fc86c3: Download complete 19:22:16 b3c136eddcbf: Verifying Checksum 19:22:16 b3c136eddcbf: Download complete 19:22:17 b3c136eddcbf: Pull complete 19:22:18 fcf976331f73: Verifying Checksum 19:22:18 fcf976331f73: Download complete 19:22:18 c0a3192eca97: Pull complete 19:22:18 a050256f5b6f: Pull complete 19:22:19 4d572c569a2c: Download complete 19:22:19 656be50a0ddc: Verifying Checksum 19:22:19 656be50a0ddc: Download complete 19:22:32 656be50a0ddc: Pull complete 19:22:32 2bbca73fdf42: Pull complete 19:22:32 f607e4fc86c3: Pull complete 19:22:39 4d572c569a2c: Pull complete 19:22:41 fcf976331f73: Pull complete 19:22:41 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 19:22:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:22:41 ---> 3970a7415f9e 19:22:41 Step 3/13 : ARG ADD_BUILD_TAGS="" 19:22:43 ---> Running in 5eeecf8a2b33 19:22:43 Removing intermediate container 5eeecf8a2b33 19:22:43 ---> c31042b62af6 19:22:43 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:22:43 ---> Running in 137baf5ddd5b 19:22:43 Removing intermediate container 137baf5ddd5b 19:22:43 ---> ad9a6f18253f 19:22:43 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:22:43 ---> Running in bed0e47db2a0 19:22:43 Removing intermediate container bed0e47db2a0 19:22:43 ---> e43d768c3a8c 19:22:43 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 19:22:43 ---> Running in e4a49e924a38 19:22:44 Removing intermediate container e4a49e924a38 19:22:44 ---> a2ff91e1b38e 19:22:44 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:22:44 ---> Running in 94d651669ed5 19:22:46 Removing intermediate container 94d651669ed5 19:22:46 ---> 9b50d8193003 19:22:46 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:22:46 ---> Running in 7f528886c1b8 19:22:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:22:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:22:49 (1/4) Installing openssh-keygen (9.0_p1-r2) 19:22:49 (2/4) Installing libedit (20210910.3.1-r0) 19:22:49 (3/4) Installing openssh-client-common (9.0_p1-r2) 19:22:49 (4/4) Installing openssh-client-default (9.0_p1-r2) 19:22:49 Executing busybox-1.35.0-r13.trigger 19:22:49 OK: 226 MiB in 55 packages 19:22:50 Removing intermediate container 7f528886c1b8 19:22:50 ---> e3bd8a6c3a1a 19:22:50 Step 9/13 : WORKDIR /device-mqtt-go 19:22:50 ---> Running in 76033b69d965 19:22:51 Removing intermediate container 76033b69d965 19:22:51 ---> b16a1689cae9 19:22:51 Step 10/13 : COPY go.mod vendor* ./ 19:22:52 ---> 27e876a08386 19:22:52 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:22:52 ---> Running in ba090f67f889 19:23:48 Removing intermediate container ba090f67f889 19:23:48 ---> 6640386977a8 19:23:48 Step 12/13 : COPY . . 19:23:48 ---> c94d7d9fb338 19:23:48 Step 13/13 : RUN $MAKE 19:23:48 ---> Running in 77d253e58b56 19:23:48 noop 19:23:48 Removing intermediate container 77d253e58b56 19:23:48 ---> 96c26cbd80ba 19:23:48 Successfully built 96c26cbd80ba 19:23:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:23:48 + docker inspect -f . ci-base-image-arm64 19:23:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:23:48 prd-ubuntu20.04-docker-arm64-4c-16g-7575 does not seem to be running inside a container 19:23:49 $ 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 ******** -e ******** ci-base-image-arm64 cat 19:23:50 $ docker top 10ab19b69b6dc711c93260ee7458a5238a29fd2be9ace2f4f530a68fff194749 -eo pid,comm [Pipeline] { [Pipeline] sh 19:23:51 + go version 19:23:51 go version go1.18.3 linux/arm64 [Pipeline] } 19:23:51 $ docker stop --time=1 10ab19b69b6dc711c93260ee7458a5238a29fd2be9ace2f4f530a68fff194749 19:23:52 $ docker rm -f 10ab19b69b6dc711c93260ee7458a5238a29fd2be9ace2f4f530a68fff194749 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:23:53 + docker inspect -f . ci-base-image-arm64 19:23:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:23:53 prd-ubuntu20.04-docker-arm64-4c-16g-7575 does not seem to be running inside a container 19:23:53 $ 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 ******** -e ******** ci-base-image-arm64 cat 19:23:54 $ docker top 1d21389563483703e680fdeec4b8e98d2d26e242034a5094b6fc141cf192f664 -eo pid,comm [Pipeline] { [Pipeline] sh 19:23:55 + git config --global --add safe.directory /w/workspace/device-mqtt-go/5 [Pipeline] fileExists [Pipeline] sh 19:23:56 + make test 19:23:56 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:23:58 ? github.com/edgexfoundry/device-mqtt-go [no test files] 19:25:34 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 19:25:34 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.076s coverage: 21.8% of statements 19:25:34 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 19:25:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:25:34 GCO_ENABLED=1 GO111MODULE=on go vet ./... 19:25:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:25:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:25:49 ./bin/test-attribution-txt.sh [Pipeline] echo 19:25:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:25:49 $ docker stop --time=1 1d21389563483703e680fdeec4b8e98d2d26e242034a5094b6fc141cf192f664 19:25:51 $ docker rm -f 1d21389563483703e680fdeec4b8e98d2d26e242034a5094b6fc141cf192f664 [Pipeline] // withDockerContainer [Pipeline] sh 19:25:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:25:52 Warning: overwriting stash ‘coverage-report’ 19:25:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:25:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:25:53 + ls -al . 19:25:53 total 180 19:25:53 drwxrwxr-x 9 jenkins jenkins 4096 Oct 10 19:23 . 19:25:53 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 19:21 .. 19:25:53 -rw-rw-r-- 1 jenkins jenkins 140 Oct 10 19:21 .dockerignore 19:25:53 drwxrwxr-x 8 jenkins jenkins 4096 Oct 10 19:21 .git 19:25:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 19:21 .github 19:25:53 -rw-rw-r-- 1 jenkins jenkins 329 Oct 10 19:21 .gitignore 19:25:53 -rw-rw-r-- 1 jenkins jenkins 41 Oct 10 19:21 .golangci.yml 19:25:53 -rw-rw-r-- 1 jenkins jenkins 9293 Oct 10 19:21 Attribution.txt 19:25:53 -rw-rw-r-- 1 jenkins jenkins 11365 Oct 10 19:21 CHANGELOG.md 19:25:53 -rw-rw-r-- 1 jenkins jenkins 1988 Oct 10 19:21 Dockerfile 19:25:53 -rw-rw-r-- 1 jenkins jenkins 677 Oct 10 19:21 GOVERNANCE.md 19:25:53 -rw-rw-r-- 1 jenkins jenkins 678 Oct 10 19:21 Jenkinsfile 19:25:53 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 10 19:21 LICENSE 19:25:53 -rw-rw-r-- 1 jenkins jenkins 2126 Oct 10 19:21 Makefile 19:25:53 -rw-rw-r-- 1 jenkins jenkins 620 Oct 10 19:21 OWNERS.md 19:25:53 -rw-rw-r-- 1 jenkins jenkins 3165 Oct 10 19:21 README.md 19:25:53 -rw-rw-r-- 1 jenkins jenkins 5 Oct 10 19:19 VERSION 19:25:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 19:21 bin 19:25:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 19:21 cmd 19:25:53 -rw-r--r-- 1 jenkins jenkins 17887 Oct 10 19:25 coverage.out 19:25:53 -rw-rw-r-- 1 jenkins jenkins 3523 Oct 10 19:21 go.mod 19:25:53 -rw-rw-r-- 1 jenkins jenkins 37946 Oct 10 19:21 go.sum 19:25:53 drwxrwxr-x 3 jenkins jenkins 4096 Oct 10 19:21 internal 19:25:53 drwxrwxr-x 2 jenkins jenkins 4096 Oct 10 19:21 mock 19:25:53 drwxrwxr-x 4 jenkins jenkins 4096 Oct 10 19:21 snap 19:25:53 -rw-rw-r-- 1 jenkins jenkins 227 Oct 10 19:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:25:54 + 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=9e2d16dccc36d1bd39c779aacc0c524732d32e48 --label arch=arm64 --label version=0.0.0 . 19:25:54 Sending build context to Docker daemon 3.211MB 19:25:54 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 19:25:54 Step 2/25 : FROM ${BASE} AS builder 19:25:54 ---> 96c26cbd80ba 19:25:54 Step 3/25 : ARG ADD_BUILD_TAGS="" 19:25:54 ---> Running in 08dada9efa23 19:25:55 Removing intermediate container 08dada9efa23 19:25:55 ---> 512580c043ee 19:25:55 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:25:55 ---> Running in e9c2e329809e 19:25:55 Removing intermediate container e9c2e329809e 19:25:55 ---> e88bff45d80b 19:25:55 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:25:55 ---> Running in db70a5f49184 19:25:55 Removing intermediate container db70a5f49184 19:25:55 ---> aebe6cd6f728 19:25:55 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 19:25:56 ---> Running in 9046d8d6f71f 19:25:56 Removing intermediate container 9046d8d6f71f 19:25:56 ---> 88c208804aae 19:25:56 Step 7/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 19:25:56 ---> Running in fd6f6b984cfb 19:25:58 Removing intermediate container fd6f6b984cfb 19:25:58 ---> a71755f962e1 19:25:58 Step 8/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:25:58 ---> Running in 245520a2f725 19:26:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:26:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:26:02 OK: 226 MiB in 55 packages 19:26:03 Removing intermediate container 245520a2f725 19:26:03 ---> 1309a840827b 19:26:03 Step 9/25 : WORKDIR /device-mqtt-go 19:26:03 ---> Running in 35854d2e13e5 19:26:04 Removing intermediate container 35854d2e13e5 19:26:04 ---> cd61bc335d03 19:26:04 Step 10/25 : COPY go.mod vendor* ./ 19:26:04 ---> 4a911098fc36 19:26:04 Step 11/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:26:04 ---> Running in 8285286e1402 19:26:07 Removing intermediate container 8285286e1402 19:26:07 ---> 83f6d367e2c8 19:26:07 Step 12/25 : COPY . . 19:26:07 ---> 0bb09da3567b 19:26:07 Step 13/25 : RUN $MAKE 19:26:07 ---> Running in ed4f1db2660a 19:26:08 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 19:28:45 Removing intermediate container ed4f1db2660a 19:28:45 ---> ab78a0c66b5c 19:28:45 Step 14/25 : FROM alpine:3.16 19:28:45 3.16: Pulling from library/alpine 19:28:45 9b18e9b68314: Pulling fs layer 19:28:45 9b18e9b68314: Download complete 19:28:45 9b18e9b68314: Pull complete 19:28:45 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:28:45 Status: Downloaded newer image for alpine:3.16 19:28:45 ---> a6215f271958 19:28:45 Step 15/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 19:28:45 ---> Running in 68f5b0021c80 19:28:45 Removing intermediate container 68f5b0021c80 19:28:45 ---> ecaa9eb3d28b 19:28:45 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 19:28:45 ---> Running in 459018b8066b 19:28:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:28:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:28:45 (1/6) Installing dumb-init (1.2.5-r1) 19:28:45 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:28:45 (3/6) Installing libsodium (1.0.18-r0) 19:28:45 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:28:45 (5/6) Installing libzmq (4.3.4-r0) 19:28:45 (6/6) Installing zeromq (4.3.4-r0) 19:28:45 Executing busybox-1.35.0-r17.trigger 19:28:45 OK: 8 MiB in 20 packages 19:28:45 Removing intermediate container 459018b8066b 19:28:45 ---> 87db96b83709 19:28:45 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 19:28:47 ---> b746f7110686 19:28:47 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 19:28:47 ---> bfe707710e01 19:28:47 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 19:28:48 ---> 649e912242ac 19:28:48 Step 20/25 : EXPOSE 59982 19:28:48 ---> Running in 8422e1575d07 19:28:48 Removing intermediate container 8422e1575d07 19:28:48 ---> 9bd0ba74d6bd 19:28:48 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 19:28:49 ---> Running in a7004f6d1001 19:28:49 Removing intermediate container a7004f6d1001 19:28:49 ---> 3bb6b1f8a313 19:28:49 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:28:49 ---> Running in 3912f53c857f 19:28:49 Removing intermediate container 3912f53c857f 19:28:49 ---> c8ba1ca112cc 19:28:49 Step 23/25 : LABEL arch=arm64 19:28:49 ---> Running in 69dc80a9e900 19:28:50 Removing intermediate container 69dc80a9e900 19:28:50 ---> 9c3d29c052d8 19:28:50 Step 24/25 : LABEL git_sha=9e2d16dccc36d1bd39c779aacc0c524732d32e48 19:28:50 ---> Running in 654faaab7705 19:28:50 Removing intermediate container 654faaab7705 19:28:50 ---> a5627ed6254d 19:28:50 Step 25/25 : LABEL version=0.0.0 19:28:50 ---> Running in b8b62e8295db 19:28:50 Removing intermediate container b8b62e8295db 19:28:50 ---> 5448bed391b9 19:28:50 [Warning] One or more build-args [ARCH] were not consumed 19:28:50 Successfully built 5448bed391b9 19:28:50 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 19:28:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:28:51 19:28:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:28:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:28:51 arm64: Pulling from edgex-lftools-log-publisher 19:28:51 8998bd30e6a1: Pulling fs layer 19:28:51 04944245beec: Pulling fs layer 19:28:51 699f458cf7ca: Pulling fs layer 19:28:51 765212b225bb: Pulling fs layer 19:28:51 f23df028b6ca: Pulling fs layer 19:28:51 d65c8cfc05b1: Pulling fs layer 19:28:51 2437ff75d9bd: Pulling fs layer 19:28:51 765212b225bb: Waiting 19:28:51 f23df028b6ca: Waiting 19:28:51 d65c8cfc05b1: Waiting 19:28:51 04944245beec: Verifying Checksum 19:28:51 04944245beec: Download complete 19:28:51 765212b225bb: Download complete 19:28:51 f23df028b6ca: Verifying Checksum 19:28:51 f23df028b6ca: Download complete 19:28:51 d65c8cfc05b1: Verifying Checksum 19:28:51 d65c8cfc05b1: Download complete 19:28:52 699f458cf7ca: Verifying Checksum 19:28:52 699f458cf7ca: Download complete 19:28:52 8998bd30e6a1: Verifying Checksum 19:28:52 8998bd30e6a1: Download complete 19:28:55 2437ff75d9bd: Verifying Checksum 19:28:55 2437ff75d9bd: Download complete 19:28:56 8998bd30e6a1: Pull complete 19:28:56 04944245beec: Pull complete 19:28:58 699f458cf7ca: Pull complete 19:28:58 765212b225bb: Pull complete 19:28:59 f23df028b6ca: Pull complete 19:28:59 d65c8cfc05b1: Pull complete 19:29:14 2437ff75d9bd: Pull complete 19:29:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:29:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:29:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:29:14 prd-ubuntu20.04-docker-arm64-4c-16g-7575 does not seem to be running inside a container 19:29:14 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:29:16 $ docker top 4cd86153790d25a9afc7202417d35ae150f9a9434a361bb280384f897972bd75 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:29:17 ---> job-cost.sh 19:29:17 lf-activate-venv: SKIPPING 19:29:17 INFO: No Stack... 19:29:18 INFO: Retrieving Pricing Info for: v3-standard-4 19:29:19 INFO: Archiving Costs [Pipeline] sh 19:29:19 + cat /w/workspace/device-mqtt-go/5/archives/cost.csv 19:29:19 + cut -d, -f6 [Pipeline] lock 19:29:19 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-423-5-stack-cost] 19:29:19 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-5-stack-cost] did not exist. Created. 19:29:19 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-423-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:29:20 /w/workspace/device-mqtt-go/5@tmp/durable-bf02c6b1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:29:21 + echo total: 0.10999999940395355 [Pipeline] stash 19:29:21 Warning: overwriting stash ‘stack-cost’ 19:29:21 Stashed 1 file(s) [Pipeline] } 19:29:21 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-423-5-stack-cost] [Pipeline] // lock [Pipeline] } 19:29:21 $ docker stop --time=1 4cd86153790d25a9afc7202417d35ae150f9a9434a361bb280384f897972bd75 19:29:22 $ docker rm -f 4cd86153790d25a9afc7202417d35ae150f9a9434a361bb280384f897972bd75 [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 19:29:23 provisioning config files... 19:29:23 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config7510862193145194736tmp [Pipeline] { [Pipeline] sh 19:29:23 + set +x 19:29:23 + curl -s https://codecov.io/bash 19:29:23 + bash -s -- 19:29:23 19:29:23 _____ _ 19:29:23 / ____| | | 19:29:23 | | ___ __| | ___ ___ _____ __ 19:29:23 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:29:23 | |___| (_) | (_| | __/ (_| (_) \ V / 19:29:23 \_____\___/ \__,_|\___|\___\___/ \_/ 19:29:23 Bash-1.0.6 19:29:23 19:29:23 19:29:23 ==> git version 2.25.1 found 19:29:23 ==> 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 19:29:23 Release-Date: 2020-01-08 19:29:23 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:29:23 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:29:23 ==> Jenkins CI detected. 19:29:23 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-423 19:29:23 project root: . 19:29:23 --> token set from env 19:29:23 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:29:23 ==> Running gcov in . (disable via -X gcov) 19:29:23 ==> Python coveragepy not found 19:29:23 ==> Searching for coverage reports in: 19:29:23 + . 19:29:23 -> Found 1 reports 19:29:23 ==> Detecting git/mercurial file structure 19:29:23 ==> Reading reports 19:29:23 + ./coverage.out bytes=17887 19:29:23 ==> Appending adjustments 19:29:23 https://docs.codecov.io/docs/fixing-reports 19:29:23 + Found adjustments 19:29:23 ==> Gzipping contents 19:29:23 4.0K /tmp/codecov.jazfEa.gz 19:29:23 ==> Uploading reports 19:29:23 url: https://codecov.io 19:29:23 query: branch=PR-423&commit=8eb3a6dcde3bd54e47a29f6a529860d2e895186b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-423%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=423&job=&cmd_args= 19:29:23 -> Pinging Codecov 19:29:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-423&commit=8eb3a6dcde3bd54e47a29f6a529860d2e895186b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-423%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=423&job=&cmd_args= 19:29:23 -> Uploading to 19:29:23 https://storage.googleapis.com/codecov/v4/raw/2022-10-10/7D719EC7BBE17E464838252E33014C33/8eb3a6dcde3bd54e47a29f6a529860d2e895186b/8e9e8d43-494a-4586-87e6-70cfaa67ce50.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221010%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221010T192923Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a83e7cbaac743f532aec1e63c501f5c186d10ef3fd4c166f34c171008c73e0a8 19:29:23 % Total % Received % Xferd Average Speed Time Time Time Current 19:29:23 Dload Upload Total Spent Left Speed 19:29:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 13012 --:--:-- --:--:-- --:--:-- 13012 19:29:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/8eb3a6dcde3bd54e47a29f6a529860d2e895186b [Pipeline] } 19:29:24 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 19:29:24 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives ] 19:29:24 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives 19:29:24 total 16 19:29:24 drwxr-xr-x 3 root root 4096 Oct 10 19:20 . 19:29:24 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 19:20 .. 19:29:24 drwxr-xr-x 2 root root 4096 Oct 10 19:20 cost 19:29:24 -rw-r--r-- 1 root root 86 Oct 10 19:20 cost.csv 19:29:24 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives 19:29:24 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives 19:29:24 total 16 19:29:24 drwxr-xr-x 3 jenkins jenkins 4096 Oct 10 19:20 . 19:29:24 drwxrwxr-x 11 jenkins jenkins 4096 Oct 10 19:20 .. 19:29:24 drwxr-xr-x 2 jenkins jenkins 4096 Oct 10 19:20 cost 19:29:24 -rw-r--r-- 1 jenkins jenkins 86 Oct 10 19:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:29:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:29:25 ---> package-listing.sh 19:29:25 ++ facter osfamily 19:29:25 ++ tr '[:upper:]' '[:lower:]' 19:29:26 + OS_FAMILY=debian 19:29:26 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-423 19:29:26 + START_PACKAGES=/tmp/packages_start.txt 19:29:26 + END_PACKAGES=/tmp/packages_end.txt 19:29:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:29:26 + PACKAGES=/tmp/packages_start.txt 19:29:26 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-423 ']' 19:29:26 + PACKAGES=/tmp/packages_end.txt 19:29:26 + case "${OS_FAMILY}" in 19:29:26 + dpkg -l 19:29:26 + grep '^ii' 19:29:26 + '[' -f /tmp/packages_start.txt ']' 19:29:26 + '[' -f /tmp/packages_end.txt ']' 19:29:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:29:26 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-423 ']' 19:29:26 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/ 19:29:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-423/archives/ [Pipeline] echo 19:29:26 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-423/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:29:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:29:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:29:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:29:27 prd-ubuntu20.04-docker-8c-8g-7572 does not seem to be running inside a container 19:29:27 $ 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-423/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-423 -v /w/workspace/gexfoundry_device-mqtt-go_PR-423:/w/workspace/gexfoundry_device-mqtt-go_PR-423:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-423@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 19:29:27 $ docker top 87ec4e9bb050dbaf93ec6c2d87f477556f7f7a912a7a89c8fd03139f5e769696 -eo pid,comm [Pipeline] { [Pipeline] sh 19:29:27 + touch /tmp/pre-build-complete [Pipeline] sh 19:29:27 + mkdir -p /var/log/sysstat [Pipeline] sh 19:29:28 + ls /var/log/sa-host 19:29:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:29:28 provisioning config files... 19:29:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-423@tmp/config8785540957840440202tmp [Pipeline] { [Pipeline] echo 19:29:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:29:28 ---> create-netrc.sh [Pipeline] } 19:29:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:29:29 ---> python-tools-install.sh [Pipeline] echo 19:29:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:29:29 ---> sudo-logs.sh 19:29:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:29:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:29:29 ---> job-cost.sh 19:29:29 lf-activate-venv: SKIPPING 19:29:29 DEBUG: total: 0.2199999988079071 19:29:29 INFO: Retrieving Stack Cost... 19:29:29 INFO: Retrieving Pricing Info for: v3-standard-8 19:29:30 INFO: Archiving Costs [Pipeline] echo 19:29:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:29:30 ---> logs-deploy.sh 19:29:30 lf-activate-venv: SKIPPING 19:29:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-423/5 19:29:30 INFO: archiving workspace using pattern(s): 19:29:31 Archives upload complete. 19:29:31 INFO: archiving logs to Nexus