Pull request #412 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f1853df7c1b7fa3422a545f74a330a3958fcb503+848b2de29f6cbb620b3229edbec9a9c03b237451 (464405915b723c3a5c07a90d3dad52761544c947) 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-ssh9996964476399788899.key > 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-ssh15603182235972514869.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-412/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-412/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17294651091490819912.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-412/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15315007826745530233.key > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh4780570386073588497.key > 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-412/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-412/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12964327623645896812.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-24583 in /w/workspace/gexfoundry_device-mqtt-go_PR-412 [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-412 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 848b2de29f6cbb620b3229edbec9a9c03b237451 into PR head commit f1853df7c1b7fa3422a545f74a330a3958fcb503 Merge succeeded, producing f1853df7c1b7fa3422a545f74a330a3958fcb503 Checking out Revision f1853df7c1b7fa3422a545f74a330a3958fcb503 (PR-412) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/412/head:refs/remotes/origin/PR-412 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f1853df7c1b7fa3422a545f74a330a3958fcb503 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 848b2de29f6cbb620b3229edbec9a9c03b237451 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f1853df7c1b7fa3422a545f74a330a3958fcb503 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:36:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:36:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:36:27 ========================================================= 12:36:27 EdgeX Global Pipelines Version Info 12:36:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:36:28 ------------------- 12:36:28 stable info: 12:36:28 ------------------- 12:36:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:36:28 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 12:36:28 Message: update stable to v1.0.239 12:36:29 ------------------- 12:36:29 experimental info: 12:36:29 ------------------- 12:36:29 Commited By: **** collab-it+edgex@linuxfoundation.org 12:36:29 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 12:36:29 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:36:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 12:36:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 12:36:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:36:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:36:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:36:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 12:36:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:36:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:36:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:36:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-412 [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-412 [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-412 [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f1853df7c1b7fa3422a545f74a330a3958fcb503 [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f1853df [Pipeline] echo 12:36:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:36:31 provisioning config files... 12:36:31 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-412@tmp/config5279914248295496860tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:36:31 ---> docker-login.sh 12:36:31 nexus3.edgexfoundry.org:10001 12:36:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:31 Configure a credential helper to remove this warning. See 12:36:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:31 12:36:31 Login Succeeded 12:36:31 nexus3.edgexfoundry.org:10002 12:36:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:32 Configure a credential helper to remove this warning. See 12:36:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:32 12:36:32 Login Succeeded 12:36:32 nexus3.edgexfoundry.org:10003 12:36:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:32 Configure a credential helper to remove this warning. See 12:36:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:32 12:36:32 Login Succeeded 12:36:32 nexus3.edgexfoundry.org:10004 12:36:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:32 Configure a credential helper to remove this warning. See 12:36:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:32 12:36:32 Login Succeeded 12:36:32 docker.io 12:36:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:32 Configure a credential helper to remove this warning. See 12:36:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:32 12:36:32 Login Succeeded 12:36:32 ---> docker-login.sh ends [Pipeline] } 12:36:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:36:33 + git rev-list -1 --merges f1853df7c1b7fa3422a545f74a330a3958fcb503~1..f1853df7c1b7fa3422a545f74a330a3958fcb503 [Pipeline] echo 12:36:33 -----------> git rev-list -1 --merges f1853df7c1b7fa3422a545f74a330a3958fcb503~1..f1853df7c1b7fa3422a545f74a330a3958fcb503 f1853df7c1b7fa3422a545f74a330a3958fcb503 [false] [Pipeline] sh 12:36:33 + git log --format=format:%s -1 f1853df7c1b7fa3422a545f74a330a3958fcb503 [Pipeline] echo 12:36:33 ========================================================= 12:36:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:36:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:36:34 + git log --format=format:%s -1 f1853df7c1b7fa3422a545f74a330a3958fcb503 [Pipeline] echo 12:36:34 [semverPrep] GIT_COMMIT: f1853df7c1b7fa3422a545f74a330a3958fcb503, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 12:36:34 [semverPrep] This is not a build commit. [Pipeline] sh 12:36:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:36:34 + grep -v github /etc/ssh/ssh_known_hosts 12:36:34 + [ -e /tmp/ssh_known_hosts ] 12:36:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:36:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:36:34 + sudo tee -a /etc/ssh/ssh_known_hosts 12:36:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:36:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:36:35 12:36:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:36:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:36:35 0.1.4: Pulling from edgex-devops/py-git-semver 12:36:35 b85a868b505f: Pulling fs layer 12:36:35 e2be974225ed: Pulling fs layer 12:36:35 339a4e72a1f5: Pulling fs layer 12:36:35 988bab9f4d93: Pulling fs layer 12:36:35 1469e6f7b9e6: Pulling fs layer 12:36:35 eaf3925da568: Pulling fs layer 12:36:35 bab4dde63d76: Pulling fs layer 12:36:35 bde34c3a00c8: Pulling fs layer 12:36:35 b352a97aabf1: Pulling fs layer 12:36:35 4872d77fe225: Pulling fs layer 12:36:35 5851b861e8e6: Pulling fs layer 12:36:35 bab4dde63d76: Waiting 12:36:35 bde34c3a00c8: Waiting 12:36:35 b352a97aabf1: Waiting 12:36:35 4872d77fe225: Waiting 12:36:35 5851b861e8e6: Waiting 12:36:35 988bab9f4d93: Waiting 12:36:35 eaf3925da568: Waiting 12:36:35 1469e6f7b9e6: Waiting 12:36:35 e2be974225ed: Download complete 12:36:35 988bab9f4d93: Verifying Checksum 12:36:35 988bab9f4d93: Download complete 12:36:35 1469e6f7b9e6: Verifying Checksum 12:36:35 1469e6f7b9e6: Download complete 12:36:35 eaf3925da568: Verifying Checksum 12:36:35 eaf3925da568: Download complete 12:36:35 339a4e72a1f5: Verifying Checksum 12:36:35 339a4e72a1f5: Download complete 12:36:35 bde34c3a00c8: Download complete 12:36:35 b352a97aabf1: Download complete 12:36:35 4872d77fe225: Verifying Checksum 12:36:35 4872d77fe225: Download complete 12:36:35 5851b861e8e6: Verifying Checksum 12:36:35 5851b861e8e6: Download complete 12:36:35 b85a868b505f: Verifying Checksum 12:36:35 b85a868b505f: Download complete 12:36:36 bab4dde63d76: Verifying Checksum 12:36:36 bab4dde63d76: Download complete 12:36:37 b85a868b505f: Pull complete 12:36:37 e2be974225ed: Pull complete 12:36:37 339a4e72a1f5: Pull complete 12:36:37 988bab9f4d93: Pull complete 12:36:38 1469e6f7b9e6: Pull complete 12:36:38 eaf3925da568: Pull complete 12:36:40 bab4dde63d76: Pull complete 12:36:40 bde34c3a00c8: Pull complete 12:36:40 b352a97aabf1: Pull complete 12:36:40 4872d77fe225: Pull complete 12:36:40 5851b861e8e6: Pull complete 12:36:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 12:36:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 12:36:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:36:41 prd-ubuntu20.04-docker-8c-8g-24583 does not seem to be running inside a container 12:36:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-412 -v /w/workspace/gexfoundry_device-mqtt-go_PR-412:/w/workspace/gexfoundry_device-mqtt-go_PR-412:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-412@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-412@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 12:36:43 $ docker top b33f2df496b76fba7f47e3766b78b8b5e492156789eef46f3e50eb1aa3e0e478 -eo pid,comm 12:36:43 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). 12:36:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:36:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:36:43 [ssh-agent] Looking for ssh-agent implementation... 12:36:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:36:43 $ docker exec b33f2df496b76fba7f47e3766b78b8b5e492156789eef46f3e50eb1aa3e0e478 ssh-agent 12:36:44 SSH_AUTH_SOCK=/tmp/ssh-J72yHBLnLhkt/agent.36 12:36:44 SSH_AGENT_PID=43 12:36:44 Running ssh-add (command line suppressed) 12:36:44 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-412@tmp/private_key_8960892547017768143.key (/w/workspace/gexfoundry_device-mqtt-go_PR-412@tmp/private_key_8960892547017768143.key) 12:36:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:36:44 + git tag --points-at HEAD [Pipeline] } 12:36:44 $ docker exec --env ******** --env ******** b33f2df496b76fba7f47e3766b78b8b5e492156789eef46f3e50eb1aa3e0e478 ssh-agent -k 12:36:44 unset SSH_AUTH_SOCK; 12:36:44 unset SSH_AGENT_PID; 12:36:44 echo Agent pid 43 killed; 12:36:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:36:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:36:44 [ssh-agent] Looking for ssh-agent implementation... 12:36:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:36:44 $ docker exec b33f2df496b76fba7f47e3766b78b8b5e492156789eef46f3e50eb1aa3e0e478 ssh-agent 12:36:45 SSH_AUTH_SOCK=/tmp/ssh-cW7WF6vdTSnV/agent.77 12:36:45 SSH_AGENT_PID=83 12:36:45 Running ssh-add (command line suppressed) 12:36:45 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-412@tmp/private_key_9036921518497282925.key (/w/workspace/gexfoundry_device-mqtt-go_PR-412@tmp/private_key_9036921518497282925.key) 12:36:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:36:45 + git semver init 12:36:45 2022-09-05 12:36:45,671 [run_init] DEBUG init version:0.0.0 force:False 12:36:45 2022-09-05 12:36:45,672 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-412/.semver 12:36:45 2022-09-05 12:36:45,673 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-412/.semver 12:36:45 2022-09-05 12:36:45,673 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-412/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-412, universal_newlines=False, shell=None, istream=None) 12:36:46 2022-09-05 12:36:46,556 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-412/.git/info/exclude 12:36:46 2022-09-05 12:36:46,556 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-412/.semver/PR-412 with force:False 12:36:46 2022-09-05 12:36:46,557 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-412/.semver/PR-412 12:36:46 2022-09-05 12:36:46,562 [execute] INFO git cat-file --batch-check 12:36:46 2022-09-05 12:36:46,562 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-412/.semver, universal_newlines=False, shell=None, istream=) 12:36:46 2022-09-05 12:36:46,568 [execute] INFO git cat-file --batch 12:36:46 2022-09-05 12:36:46,568 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-412/.semver, universal_newlines=False, shell=None, istream=) 12:36:46 2022-09-05 12:36:46,573 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-412/.semver/PR-412 12:36:46 0.0.0 [Pipeline] } 12:36:46 $ docker exec --env ******** --env ******** b33f2df496b76fba7f47e3766b78b8b5e492156789eef46f3e50eb1aa3e0e478 ssh-agent -k 12:36:46 unset SSH_AUTH_SOCK; 12:36:46 unset SSH_AGENT_PID; 12:36:46 echo Agent pid 83 killed; 12:36:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:36:47 + git semver [Pipeline] } 12:36:47 $ docker stop --time=1 b33f2df496b76fba7f47e3766b78b8b5e492156789eef46f3e50eb1aa3e0e478 12:36:48 $ docker rm -f b33f2df496b76fba7f47e3766b78b8b5e492156789eef46f3e50eb1aa3e0e478 [Pipeline] // withDockerContainer [Pipeline] sh 12:36:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:36:49 Stashed 1 file(s) [Pipeline] echo 12:36:49 [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 12:36:50 provisioning config files... 12:36:50 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-412@tmp/config8838151161948838560tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:36:50 ---> docker-login.sh 12:36:50 nexus3.edgexfoundry.org:10001 12:36:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:50 Configure a credential helper to remove this warning. See 12:36:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:50 12:36:50 Login Succeeded 12:36:50 nexus3.edgexfoundry.org:10002 12:36:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:50 Configure a credential helper to remove this warning. See 12:36:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:50 12:36:50 Login Succeeded 12:36:50 nexus3.edgexfoundry.org:10003 12:36:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:50 Configure a credential helper to remove this warning. See 12:36:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:50 12:36:50 Login Succeeded 12:36:50 nexus3.edgexfoundry.org:10004 12:36:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:51 Configure a credential helper to remove this warning. See 12:36:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:51 12:36:51 Login Succeeded 12:36:51 docker.io 12:36:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:36:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:36:51 Configure a credential helper to remove this warning. See 12:36:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:36:51 12:36:51 Login Succeeded 12:36:51 ---> docker-login.sh ends [Pipeline] } 12:36:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:36:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:36:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:36:51 ========================================================= 12:36:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 12:36:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:36:52 + 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 . 12:36:52 Sending build context to Docker daemon 6.104MB 12:36:52 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:36:52 Step 2/12 : FROM ${BASE} AS builder 12:36:52 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 12:36:52 2408cc74d12b: Pulling fs layer 12:36:52 ea60b727a1ce: Pulling fs layer 12:36:52 30c4a7721957: Pulling fs layer 12:36:52 370296b7ddb6: Pulling fs layer 12:36:52 7c6cee850709: Pulling fs layer 12:36:52 39a5fcdaea64: Pulling fs layer 12:36:52 d94ebbe4e438: Pulling fs layer 12:36:52 370296b7ddb6: Waiting 12:36:52 7c6cee850709: Waiting 12:36:52 bcfd1f05c69d: Pulling fs layer 12:36:52 59ccb84bbe0f: Pulling fs layer 12:36:52 bcfd1f05c69d: Waiting 12:36:52 d94ebbe4e438: Waiting 12:36:52 30c4a7721957: Verifying Checksum 12:36:52 30c4a7721957: Download complete 12:36:52 ea60b727a1ce: Verifying Checksum 12:36:52 ea60b727a1ce: Download complete 12:36:52 7c6cee850709: Verifying Checksum 12:36:52 7c6cee850709: Download complete 12:36:52 39a5fcdaea64: Verifying Checksum 12:36:52 39a5fcdaea64: Download complete 12:36:52 2408cc74d12b: Verifying Checksum 12:36:52 2408cc74d12b: Download complete 12:36:52 d94ebbe4e438: Download complete 12:36:52 2408cc74d12b: Pull complete 12:36:52 ea60b727a1ce: Pull complete 12:36:52 30c4a7721957: Pull complete 12:36:52 59ccb84bbe0f: Verifying Checksum 12:36:52 59ccb84bbe0f: Download complete 12:36:52 bcfd1f05c69d: Verifying Checksum 12:36:52 bcfd1f05c69d: Download complete 12:36:53 370296b7ddb6: Download complete 12:36:58 370296b7ddb6: Pull complete 12:36:58 7c6cee850709: Pull complete 12:36:58 39a5fcdaea64: Pull complete 12:36:58 d94ebbe4e438: Pull complete 12:37:00 bcfd1f05c69d: Pull complete 12:37:00 59ccb84bbe0f: Pull complete 12:37:00 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 12:37:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 12:37:00 ---> a4fb48ad2a94 12:37:00 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:37:03 ---> Running in 780caa239ea6 12:37:03 Removing intermediate container 780caa239ea6 12:37:03 ---> 93a12b53c36b 12:37:03 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:37:03 ---> Running in 50fe1f173000 12:37:04 Removing intermediate container 50fe1f173000 12:37:04 ---> f850f66cad60 12:37:04 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 12:37:04 ---> Running in 166874f83345 12:37:04 Removing intermediate container 166874f83345 12:37:04 ---> 95439874dbb4 12:37:04 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:37:04 ---> Running in 6e839bf3300c 12:37:05 Still waiting to schedule task 12:37:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:37:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:37:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:37:06 (1/4) Installing openssh-keygen (9.0_p1-r2) 12:37:06 (2/4) Installing libedit (20210910.3.1-r0) 12:37:06 (3/4) Installing openssh-client-common (9.0_p1-r2) 12:37:06 (4/4) Installing openssh-client-default (9.0_p1-r2) 12:37:06 Executing busybox-1.35.0-r13.trigger 12:37:06 OK: 216 MiB in 55 packages 12:37:07 Removing intermediate container 6e839bf3300c 12:37:07 ---> e83bc110798b 12:37:07 Step 7/12 : WORKDIR /device-mqtt-go 12:37:07 ---> Running in 70d57ce8247e 12:37:07 Removing intermediate container 70d57ce8247e 12:37:07 ---> 6084680d409f 12:37:07 Step 8/12 : COPY go.mod vendor* ./ 12:37:07 ---> 84d221cfa9e4 12:37:07 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:37:07 ---> Running in bd4b4f48d958 12:37:29 Removing intermediate container bd4b4f48d958 12:37:29 ---> 2ea131248bc9 12:37:29 Step 10/12 : COPY . . 12:37:29 ---> faf81212414b 12:37:29 Step 11/12 : ARG MAKE='make build' 12:37:29 ---> Running in 70535aa052b4 12:37:29 Removing intermediate container 70535aa052b4 12:37:29 ---> 7a21015b9b86 12:37:29 Step 12/12 : RUN $MAKE 12:37:29 ---> Running in d55e4aab42a1 12:37:30 noop 12:37:30 Removing intermediate container d55e4aab42a1 12:37:30 ---> a4abfb8d2919 12:37:30 Successfully built a4abfb8d2919 12:37:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:37:30 + docker inspect -f . ci-base-image-x86_64 12:37:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:37:30 prd-ubuntu20.04-docker-8c-8g-24583 does not seem to be running inside a container 12:37:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-412 -v /w/workspace/gexfoundry_device-mqtt-go_PR-412:/w/workspace/gexfoundry_device-mqtt-go_PR-412:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-412@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-412@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 ******** ci-base-image-x86_64 cat 12:37:31 $ docker top 54f7d045b957cae7bb9b56158f9656107c370f10c6768c8a065db264962fd966 -eo pid,comm [Pipeline] { [Pipeline] sh 12:37:31 + go version 12:37:31 go version go1.18.3 linux/amd64 [Pipeline] } 12:37:31 $ docker stop --time=1 54f7d045b957cae7bb9b56158f9656107c370f10c6768c8a065db264962fd966 12:37:33 $ docker rm -f 54f7d045b957cae7bb9b56158f9656107c370f10c6768c8a065db264962fd966 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:37:33 + docker inspect -f . ci-base-image-x86_64 12:37:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:37:34 prd-ubuntu20.04-docker-8c-8g-24583 does not seem to be running inside a container 12:37:34 $ 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-412 -v /w/workspace/gexfoundry_device-mqtt-go_PR-412:/w/workspace/gexfoundry_device-mqtt-go_PR-412:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-412@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-412@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 ******** ci-base-image-x86_64 cat 12:37:34 $ docker top 9936545eefeee6a70dc60dfd0a138a92357c461e6cbe30ab7565665850da93da -eo pid,comm [Pipeline] { [Pipeline] sh 12:37:34 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-412 [Pipeline] fileExists [Pipeline] sh 12:37:35 + make test 12:37:35 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:37:35 ? github.com/edgexfoundry/device-mqtt-go [no test files] 12:37:45 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 12:37:45 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 12:37:45 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 12:37:53 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." 12:37:53 GCO_ENABLED=1 GO111MODULE=on go vet ./... 12:37:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:37:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:37:56 ./bin/test-attribution-txt.sh 12:37:56 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 12:37:56 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 12:37:56 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 12:37:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:37:56 $ docker stop --time=1 9936545eefeee6a70dc60dfd0a138a92357c461e6cbe30ab7565665850da93da 12:37:59 $ docker rm -f 9936545eefeee6a70dc60dfd0a138a92357c461e6cbe30ab7565665850da93da [Pipeline] // withDockerContainer [Pipeline] sh 12:37:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:37:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:38:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:38:00 + ls -al . 12:38:00 total 180 12:38:00 drwxrwxr-x 10 jenkins jenkins 4096 Sep 5 12:37 . 12:38:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 12:36 .. 12:38:00 -rw-rw-r-- 1 jenkins jenkins 140 Sep 5 12:36 .dockerignore 12:38:00 drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 12:37 .git 12:38:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 12:36 .github 12:38:00 -rw-rw-r-- 1 jenkins jenkins 329 Sep 5 12:36 .gitignore 12:38:00 -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 12:36 .golangci.yml 12:38:00 drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 12:36 .semver 12:38:00 -rw-rw-r-- 1 jenkins jenkins 8917 Sep 5 12:36 Attribution.txt 12:38:00 -rw-rw-r-- 1 jenkins jenkins 11365 Sep 5 12:36 CHANGELOG.md 12:38:00 -rw-rw-r-- 1 jenkins jenkins 1932 Sep 5 12:36 Dockerfile 12:38:00 -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 12:36 GOVERNANCE.md 12:38:00 -rw-rw-r-- 1 jenkins jenkins 678 Sep 5 12:36 Jenkinsfile 12:38:00 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 12:36 LICENSE 12:38:00 -rw-rw-r-- 1 jenkins jenkins 1917 Sep 5 12:36 Makefile 12:38:00 -rw-rw-r-- 1 jenkins jenkins 620 Sep 5 12:36 OWNERS.md 12:38:00 -rw-rw-r-- 1 jenkins jenkins 2501 Sep 5 12:36 README.md 12:38:00 -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 12:36 VERSION 12:38:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 12:36 bin 12:38:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 12:36 cmd 12:38:00 -rw-r--r-- 1 jenkins jenkins 17887 Sep 5 12:37 coverage.out 12:38:00 -rw-rw-r-- 1 jenkins jenkins 3452 Sep 5 12:36 go.mod 12:38:00 -rw-rw-r-- 1 jenkins jenkins 36716 Sep 5 12:36 go.sum 12:38:00 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 12:36 internal 12:38:00 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 12:36 mock 12:38:00 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 12:36 snap 12:38:00 -rw-rw-r-- 1 jenkins jenkins 227 Sep 5 12:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:38:01 + 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=f1853df7c1b7fa3422a545f74a330a3958fcb503 --label arch=amd64 --label version=0.0.0 . 12:38:01 Sending build context to Docker daemon 6.122MB 12:38:01 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 12:38:01 Step 2/24 : FROM ${BASE} AS builder 12:38:01 ---> a4abfb8d2919 12:38:01 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:38:01 ---> Running in 7c7310b393a5 12:38:01 Removing intermediate container 7c7310b393a5 12:38:01 ---> a7a9d4c854a6 12:38:01 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 12:38:01 ---> Running in cc6ceb59c213 12:38:01 Removing intermediate container cc6ceb59c213 12:38:01 ---> 1bfbd153bde7 12:38:01 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 12:38:01 ---> Running in b9804be0f0ce 12:38:02 Removing intermediate container b9804be0f0ce 12:38:02 ---> b583e56e1002 12:38:02 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:38:02 ---> Running in 4f69029d7caf 12:38:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:38:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:38:03 OK: 216 MiB in 55 packages 12:38:03 Removing intermediate container 4f69029d7caf 12:38:03 ---> 5580fd3be125 12:38:03 Step 7/24 : WORKDIR /device-mqtt-go 12:38:03 ---> Running in fa7bcfcf9feb 12:38:03 Removing intermediate container fa7bcfcf9feb 12:38:03 ---> b1cee6c41a30 12:38:03 Step 8/24 : COPY go.mod vendor* ./ 12:38:03 ---> 5679c8031c68 12:38:03 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:38:03 ---> Running in b099e55de811 12:38:04 Removing intermediate container b099e55de811 12:38:04 ---> 0a2667377bf9 12:38:04 Step 10/24 : COPY . . 12:38:05 ---> 017a3a6d26b6 12:38:05 Step 11/24 : ARG MAKE='make build' 12:38:05 ---> Running in 1b540b107f64 12:38:05 Removing intermediate container 1b540b107f64 12:38:05 ---> 784273818055 12:38:05 Step 12/24 : RUN $MAKE 12:38:05 ---> Running in 88d720e323d6 12:38:05 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 12:38:32 Removing intermediate container 88d720e323d6 12:38:32 ---> 8aaa090d889c 12:38:32 Step 13/24 : FROM alpine:3.16 12:38:32 3.16: Pulling from library/alpine 12:38:32 213ec9aee27d: Pulling fs layer 12:38:32 213ec9aee27d: Verifying Checksum 12:38:32 213ec9aee27d: Download complete 12:38:32 213ec9aee27d: Pull complete 12:38:32 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 12:38:32 Status: Downloaded newer image for alpine:3.16 12:38:32 ---> 9c6f07244728 12:38:32 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 12:38:32 ---> Running in b5331c397322 12:38:32 Removing intermediate container b5331c397322 12:38:32 ---> b47d56297930 12:38:32 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 12:38:32 ---> Running in 3228c5a9e3f2 12:38:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 12:38:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 12:38:32 (1/6) Installing dumb-init (1.2.5-r1) 12:38:32 (2/6) Installing libgcc (11.2.1_git20220219-r2) 12:38:32 (3/6) Installing libsodium (1.0.18-r0) 12:38:32 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 12:38:32 (5/6) Installing libzmq (4.3.4-r0) 12:38:32 (6/6) Installing zeromq (4.3.4-r0) 12:38:32 Executing busybox-1.35.0-r17.trigger 12:38:32 OK: 8 MiB in 20 packages 12:38:32 Removing intermediate container 3228c5a9e3f2 12:38:32 ---> d9421dd88aee 12:38:32 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 12:38:32 ---> f2b41949838d 12:38:32 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 12:38:32 ---> 0175b9644b37 12:38:32 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 12:38:32 ---> 8a8376762780 12:38:32 Step 19/24 : EXPOSE 59982 12:38:32 ---> Running in f57ca50ddd41 12:38:32 Removing intermediate container f57ca50ddd41 12:38:32 ---> f1afdc4f0a71 12:38:32 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 12:38:32 ---> Running in 6504446517ec 12:38:32 Removing intermediate container 6504446517ec 12:38:32 ---> 93f07424fe75 12:38:32 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:38:32 ---> Running in 619def69e08a 12:38:32 Removing intermediate container 619def69e08a 12:38:32 ---> 30798f58f2a4 12:38:32 Step 22/24 : LABEL arch=amd64 12:38:32 ---> Running in 206467d18bb4 12:38:32 Removing intermediate container 206467d18bb4 12:38:32 ---> b2e54ff74305 12:38:32 Step 23/24 : LABEL git_sha=f1853df7c1b7fa3422a545f74a330a3958fcb503 12:38:32 ---> Running in 0134124d2f2b 12:38:32 Removing intermediate container 0134124d2f2b 12:38:32 ---> e05b38b4195b 12:38:32 Step 24/24 : LABEL version=0.0.0 12:38:32 ---> Running in 881e5030d96e 12:38:32 Removing intermediate container 881e5030d96e 12:38:32 ---> d573ef9b655b 12:38:32 [Warning] One or more build-args [ARCH] were not consumed 12:38:32 Successfully built d573ef9b655b 12:38:32 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:38:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:38:33 12:38:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:38:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:38:33 latest: Pulling from edgex-lftools-log-publisher 12:38:33 5eb5b503b376: Pulling fs layer 12:38:33 5c69ac0246d0: Pulling fs layer 12:38:33 ec43610c2a17: Pulling fs layer 12:38:33 3a2ae6a8a46f: Pulling fs layer 12:38:33 33b1e0a273af: Pulling fs layer 12:38:33 5d3b04190fa2: Pulling fs layer 12:38:33 2f39f015ded8: Pulling fs layer 12:38:33 3a2ae6a8a46f: Waiting 12:38:33 33b1e0a273af: Waiting 12:38:33 5d3b04190fa2: Waiting 12:38:33 2f39f015ded8: Waiting 12:38:33 5c69ac0246d0: Verifying Checksum 12:38:33 5c69ac0246d0: Download complete 12:38:33 3a2ae6a8a46f: Verifying Checksum 12:38:33 3a2ae6a8a46f: Download complete 12:38:33 33b1e0a273af: Verifying Checksum 12:38:33 33b1e0a273af: Download complete 12:38:33 ec43610c2a17: Verifying Checksum 12:38:33 ec43610c2a17: Download complete 12:38:33 5d3b04190fa2: Verifying Checksum 12:38:33 5d3b04190fa2: Download complete 12:38:33 5eb5b503b376: Verifying Checksum 12:38:33 5eb5b503b376: Download complete 12:38:34 2f39f015ded8: Download complete 12:38:35 5eb5b503b376: Pull complete 12:38:35 5c69ac0246d0: Pull complete 12:38:35 ec43610c2a17: Pull complete 12:38:35 3a2ae6a8a46f: Pull complete 12:38:35 33b1e0a273af: Pull complete 12:38:35 5d3b04190fa2: Pull complete 12:38:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24584 in /w/workspace/gexfoundry_device-mqtt-go_PR-412 [Pipeline] { [Pipeline] ws 12:38:40 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 12:38:40 Selected Git installation does not exist. Using Default 12:38:40 The recommended git tool is: NONE 12:38:41 2f39f015ded8: Pull complete 12:38:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:38:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:38:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:38:41 prd-ubuntu20.04-docker-8c-8g-24583 does not seem to be running inside a container 12:38:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-412 -v /w/workspace/gexfoundry_device-mqtt-go_PR-412:/w/workspace/gexfoundry_device-mqtt-go_PR-412:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-412@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-412@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:38:44 $ docker top 86164d1dcbff8429315a8cd05a1bce1fb5dce9d879ac20a7da3f5e8970c74cd4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:38:45 ---> job-cost.sh 12:38:45 lf-activate-venv: SKIPPING 12:38:45 INFO: No Stack... 12:38:45 INFO: Retrieving Pricing Info for: v3-standard-8 12:38:46 INFO: Archiving Costs [Pipeline] sh 12:38:46 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-412/archives/cost.csv 12:38:46 + cut -d, -f6 [Pipeline] lock 12:38:46 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-412-1-stack-cost] 12:38:46 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-412-1-stack-cost] did not exist. Created. 12:38:46 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-412-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:38:46 + echo total: 0.2199999988079071 [Pipeline] stash 12:38:46 Stashed 1 file(s) [Pipeline] } 12:38:46 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-412-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:38:46 $ docker stop --time=1 86164d1dcbff8429315a8cd05a1bce1fb5dce9d879ac20a7da3f5e8970c74cd4 12:38:47 using credential edgex-jenkins-ssh 12:38:47 Cloning the remote Git repository 12:38:47 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 12:38:47 > git init /w/workspace/device-mqtt-go/1 # timeout=10 12:38:47 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 12:38:47 > git --version # timeout=10 12:38:47 > git --version # 'git version 2.25.1' 12:38:47 using GIT_SSH to set credentials SSH Credentials for GitHub 12:38:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:38:48 $ docker rm -f 86164d1dcbff8429315a8cd05a1bce1fb5dce9d879ac20a7da3f5e8970c74cd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:38:48 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 12:38:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:38:48 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 12:38:49 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 12:38:49 using GIT_SSH to set credentials SSH Credentials for GitHub 12:38:49 Merging remotes/origin/main commit 848b2de29f6cbb620b3229edbec9a9c03b237451 into PR head commit f1853df7c1b7fa3422a545f74a330a3958fcb503 12:38:49 Merge succeeded, producing f1853df7c1b7fa3422a545f74a330a3958fcb503 12:38:49 Checking out Revision f1853df7c1b7fa3422a545f74a330a3958fcb503 (PR-412) 12:38:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/412/head:refs/remotes/origin/PR-412 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:38:49 > git config core.sparsecheckout # timeout=10 12:38:49 > git checkout -f f1853df7c1b7fa3422a545f74a330a3958fcb503 # timeout=10 12:38:49 > git remote # timeout=10 12:38:49 > git config --get remote.origin.url # timeout=10 12:38:49 using GIT_SSH to set credentials SSH Credentials for GitHub 12:38:49 > git merge 848b2de29f6cbb620b3229edbec9a9c03b237451 # timeout=10 12:38:49 > git rev-parse HEAD^{commit} # timeout=10 12:38:49 > git config core.sparsecheckout # timeout=10 12:38:49 > git checkout -f f1853df7c1b7fa3422a545f74a330a3958fcb503 # timeout=10 12:38:54 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 12:38:54 > git --version # timeout=10 12:38:54 > git --version # 'git version 2.25.1' 12:38:54 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:38:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:38:55 % Total % Received % Xferd Average Speed Time Time Time Current 12:38:55 Dload Upload Total Spent Left Speed 12:38:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 91985 0 --:--:-- --:--:-- --:--:-- 91985 [Pipeline] sh 12:38:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:38:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:38:56 + sudo tee /etc/docker/daemon.new 12:38:56 { 12:38:56 "registry-mirrors": [ 12:38:56 "https://nexus3.edgexfoundry.org:10001" 12:38:56 ], 12:38:56 "bip": "10.250.0.254/24", 12:38:56 "hosts": [ 12:38:56 "tcp://0.0.0.0:5555", 12:38:56 "unix:///var/run/docker.sock" 12:38:56 ], 12:38:56 "mtu": 1458, 12:38:56 "selinux-enabled": true, 12:38:56 "seccomp-profile": "/etc/docker/seccomp.json" 12:38:56 } [Pipeline] sh 12:38:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:38:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:39:15 provisioning config files... 12:39:15 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config1717561518125920287tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:39:16 ---> docker-login.sh 12:39:16 nexus3.edgexfoundry.org:10001 12:39:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:39:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:39:17 Configure a credential helper to remove this warning. See 12:39:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:39:17 12:39:17 Login Succeeded 12:39:17 nexus3.edgexfoundry.org:10002 12:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:39:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:39:17 Configure a credential helper to remove this warning. See 12:39:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:39:17 12:39:17 Login Succeeded 12:39:17 nexus3.edgexfoundry.org:10003 12:39:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:39:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:39:17 Configure a credential helper to remove this warning. See 12:39:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:39:17 12:39:17 Login Succeeded 12:39:17 nexus3.edgexfoundry.org:10004 12:39:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:39:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:39:18 Configure a credential helper to remove this warning. See 12:39:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:39:18 12:39:18 Login Succeeded 12:39:18 docker.io 12:39:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:39:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:39:19 Configure a credential helper to remove this warning. See 12:39:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:39:19 12:39:19 Login Succeeded 12:39:19 ---> docker-login.sh ends [Pipeline] } 12:39:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:39:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:39:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:39:19 ========================================================= 12:39:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 12:39:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:39:20 + 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 . 12:39:20 Sending build context to Docker daemon 3.153MB 12:39:20 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 12:39:20 Step 2/12 : FROM ${BASE} AS builder 12:39:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:39:20 b3c136eddcbf: Pulling fs layer 12:39:20 c0a3192eca97: Pulling fs layer 12:39:20 a050256f5b6f: Pulling fs layer 12:39:20 656be50a0ddc: Pulling fs layer 12:39:20 2bbca73fdf42: Pulling fs layer 12:39:20 46d945488cbd: Pulling fs layer 12:39:20 8a5474983e97: Pulling fs layer 12:39:20 329c88fbcd65: Pulling fs layer 12:39:20 46d945488cbd: Waiting 12:39:20 8a5474983e97: Waiting 12:39:20 329c88fbcd65: Waiting 12:39:20 2bbca73fdf42: Waiting 12:39:20 656be50a0ddc: Waiting 12:39:20 a050256f5b6f: Verifying Checksum 12:39:20 a050256f5b6f: Download complete 12:39:20 c0a3192eca97: Verifying Checksum 12:39:20 c0a3192eca97: Download complete 12:39:20 2bbca73fdf42: Verifying Checksum 12:39:20 2bbca73fdf42: Download complete 12:39:20 46d945488cbd: Verifying Checksum 12:39:20 46d945488cbd: Download complete 12:39:20 b3c136eddcbf: Verifying Checksum 12:39:20 b3c136eddcbf: Download complete 12:39:21 b3c136eddcbf: Pull complete 12:39:22 329c88fbcd65: Verifying Checksum 12:39:22 329c88fbcd65: Download complete 12:39:22 c0a3192eca97: Pull complete 12:39:22 a050256f5b6f: Pull complete 12:39:23 8a5474983e97: Verifying Checksum 12:39:23 8a5474983e97: Download complete 12:39:23 656be50a0ddc: Verifying Checksum 12:39:23 656be50a0ddc: Download complete 12:39:39 656be50a0ddc: Pull complete 12:39:39 2bbca73fdf42: Pull complete 12:39:39 46d945488cbd: Pull complete 12:39:43 8a5474983e97: Pull complete 12:39:45 329c88fbcd65: Pull complete 12:39:45 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 12:39:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 12:39:45 ---> ff4287adb874 12:39:45 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:39:46 ---> Running in 3e546f16c18e 12:39:48 Removing intermediate container 3e546f16c18e 12:39:48 ---> 55c14024efe0 12:39:48 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 12:39:48 ---> Running in ebf0d6cfaf1f 12:39:48 Removing intermediate container ebf0d6cfaf1f 12:39:48 ---> 21505ae7295a 12:39:48 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 12:39:48 ---> Running in 58f9ed004e9c 12:39:50 Removing intermediate container 58f9ed004e9c 12:39:50 ---> 0901c957a6ef 12:39:50 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:39:50 ---> Running in 86f3a520866f 12:39:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:39:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:39:53 (1/4) Installing openssh-keygen (9.0_p1-r2) 12:39:53 (2/4) Installing libedit (20210910.3.1-r0) 12:39:53 (3/4) Installing openssh-client-common (9.0_p1-r2) 12:39:53 (4/4) Installing openssh-client-default (9.0_p1-r2) 12:39:53 Executing busybox-1.35.0-r13.trigger 12:39:53 OK: 226 MiB in 55 packages 12:39:54 Removing intermediate container 86f3a520866f 12:39:54 ---> 758ddbfb3f85 12:39:54 Step 7/12 : WORKDIR /device-mqtt-go 12:39:54 ---> Running in 4e149e81e8ea 12:39:54 Removing intermediate container 4e149e81e8ea 12:39:54 ---> b23fb0e92930 12:39:54 Step 8/12 : COPY go.mod vendor* ./ 12:39:55 ---> d2e631d75708 12:39:55 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:39:55 ---> Running in 6a577e541135 12:40:42 Removing intermediate container 6a577e541135 12:40:42 ---> 9e75bea47a45 12:40:42 Step 10/12 : COPY . . 12:40:43 ---> df447cf9a075 12:40:43 Step 11/12 : ARG MAKE='make build' 12:40:43 ---> Running in 4efc70d530ab 12:40:43 Removing intermediate container 4efc70d530ab 12:40:43 ---> 37869ab85aa6 12:40:43 Step 12/12 : RUN $MAKE 12:40:43 ---> Running in 26ba42fc6ef5 12:40:44 noop 12:40:45 Removing intermediate container 26ba42fc6ef5 12:40:45 ---> 33525cd40cd5 12:40:45 Successfully built 33525cd40cd5 12:40:45 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:40:45 + docker inspect -f . ci-base-image-arm64 12:40:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:40:46 prd-ubuntu20.04-docker-arm64-4c-16g-24584 does not seem to be running inside a container 12:40:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat 12:40:47 $ docker top fce5cda9fd66201cb9883eea20094a82c6f793aa41b7df22268d4058496370e2 -eo pid,comm [Pipeline] { [Pipeline] sh 12:40:48 + go version 12:40:48 go version go1.18.3 linux/arm64 [Pipeline] } 12:40:48 $ docker stop --time=1 fce5cda9fd66201cb9883eea20094a82c6f793aa41b7df22268d4058496370e2 12:40:50 $ docker rm -f fce5cda9fd66201cb9883eea20094a82c6f793aa41b7df22268d4058496370e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:40:51 + docker inspect -f . ci-base-image-arm64 12:40:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:40:51 prd-ubuntu20.04-docker-arm64-4c-16g-24584 does not seem to be running inside a container 12:40:51 $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** ci-base-image-arm64 cat 12:40:52 $ docker top b83f8fa066efd631376a84cb4f236c8065be0e3db83fd2902c9ea80ce174f1e4 -eo pid,comm [Pipeline] { [Pipeline] sh 12:40:53 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 12:40:53 + make test 12:40:54 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:40:55 ? github.com/edgexfoundry/device-mqtt-go [no test files] 12:42:17 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 12:42:17 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 21.8% of statements 12:42:17 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 12:42:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:42:17 GCO_ENABLED=1 GO111MODULE=on go vet ./... 12:42:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:42:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:42:35 ./bin/test-attribution-txt.sh 12:42:35 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 12:42:35 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 12:42:35 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 12:42:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:42:35 $ docker stop --time=1 b83f8fa066efd631376a84cb4f236c8065be0e3db83fd2902c9ea80ce174f1e4 12:42:37 $ docker rm -f b83f8fa066efd631376a84cb4f236c8065be0e3db83fd2902c9ea80ce174f1e4 [Pipeline] // withDockerContainer [Pipeline] sh 12:42:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:42:38 Warning: overwriting stash ‘coverage-report’ 12:42:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:42:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:42:40 + ls -al . 12:42:40 total 176 12:42:40 drwxrwxr-x 9 jenkins jenkins 4096 Sep 5 12:40 . 12:42:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 12:38 .. 12:42:40 -rw-rw-r-- 1 jenkins jenkins 140 Sep 5 12:38 .dockerignore 12:42:40 drwxrwxr-x 8 jenkins jenkins 4096 Sep 5 12:38 .git 12:42:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 12:38 .github 12:42:40 -rw-rw-r-- 1 jenkins jenkins 329 Sep 5 12:38 .gitignore 12:42:40 -rw-rw-r-- 1 jenkins jenkins 41 Sep 5 12:38 .golangci.yml 12:42:40 -rw-rw-r-- 1 jenkins jenkins 8917 Sep 5 12:38 Attribution.txt 12:42:40 -rw-rw-r-- 1 jenkins jenkins 11365 Sep 5 12:38 CHANGELOG.md 12:42:40 -rw-rw-r-- 1 jenkins jenkins 1932 Sep 5 12:38 Dockerfile 12:42:40 -rw-rw-r-- 1 jenkins jenkins 677 Sep 5 12:38 GOVERNANCE.md 12:42:40 -rw-rw-r-- 1 jenkins jenkins 678 Sep 5 12:38 Jenkinsfile 12:42:40 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 5 12:38 LICENSE 12:42:40 -rw-rw-r-- 1 jenkins jenkins 1917 Sep 5 12:38 Makefile 12:42:40 -rw-rw-r-- 1 jenkins jenkins 620 Sep 5 12:38 OWNERS.md 12:42:40 -rw-rw-r-- 1 jenkins jenkins 2501 Sep 5 12:38 README.md 12:42:40 -rw-rw-r-- 1 jenkins jenkins 5 Sep 5 12:36 VERSION 12:42:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 12:38 bin 12:42:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 12:38 cmd 12:42:40 -rw-r--r-- 1 jenkins jenkins 17887 Sep 5 12:42 coverage.out 12:42:40 -rw-rw-r-- 1 jenkins jenkins 3452 Sep 5 12:38 go.mod 12:42:40 -rw-rw-r-- 1 jenkins jenkins 36716 Sep 5 12:38 go.sum 12:42:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 5 12:38 internal 12:42:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 5 12:38 mock 12:42:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 5 12:38 snap 12:42:40 -rw-rw-r-- 1 jenkins jenkins 227 Sep 5 12:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:42:40 + 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=f1853df7c1b7fa3422a545f74a330a3958fcb503 --label arch=arm64 --label version=0.0.0 . 12:42:40 Sending build context to Docker daemon 3.172MB 12:42:40 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 12:42:40 Step 2/24 : FROM ${BASE} AS builder 12:42:40 ---> 33525cd40cd5 12:42:40 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:42:41 ---> Running in f6d3b35cdd2b 12:42:41 Removing intermediate container f6d3b35cdd2b 12:42:41 ---> fa71f1469436 12:42:41 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 12:42:41 ---> Running in af15bb170091 12:42:41 Removing intermediate container af15bb170091 12:42:41 ---> 4219f33dfc95 12:42:41 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 12:42:41 ---> Running in 1a9c8a606018 12:42:43 Removing intermediate container 1a9c8a606018 12:42:43 ---> 417e780698f0 12:42:43 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:42:43 ---> Running in 1ab4e1b3440e 12:42:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:42:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:42:46 OK: 226 MiB in 55 packages 12:42:46 Removing intermediate container 1ab4e1b3440e 12:42:46 ---> 5f83d7f1d203 12:42:46 Step 7/24 : WORKDIR /device-mqtt-go 12:42:46 ---> Running in 3e0c76a4ce69 12:42:47 Removing intermediate container 3e0c76a4ce69 12:42:47 ---> 9f1c275c648c 12:42:47 Step 8/24 : COPY go.mod vendor* ./ 12:42:47 ---> 0a2314ef3ede 12:42:47 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:42:47 ---> Running in c3ed3b955fbf 12:42:49 Removing intermediate container c3ed3b955fbf 12:42:49 ---> faa5941d53e8 12:42:49 Step 10/24 : COPY . . 12:42:50 ---> cbf73dfa7b75 12:42:50 Step 11/24 : ARG MAKE='make build' 12:42:50 ---> Running in b01b3ed153f5 12:42:50 Removing intermediate container b01b3ed153f5 12:42:50 ---> c60adaabc7ba 12:42:50 Step 12/24 : RUN $MAKE 12:42:50 ---> Running in 302345314bbc 12:42:51 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 12:44:58 Removing intermediate container 302345314bbc 12:44:58 ---> f1f2dcc0dfc7 12:44:58 Step 13/24 : FROM alpine:3.16 12:44:58 3.16: Pulling from library/alpine 12:44:58 9b18e9b68314: Pulling fs layer 12:44:58 9b18e9b68314: Verifying Checksum 12:44:58 9b18e9b68314: Download complete 12:44:58 9b18e9b68314: Pull complete 12:44:58 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 12:44:58 Status: Downloaded newer image for alpine:3.16 12:44:58 ---> a6215f271958 12:44:58 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 12:44:58 ---> Running in 1700f7640a08 12:44:58 Removing intermediate container 1700f7640a08 12:44:58 ---> ef71ac2bfec1 12:44:58 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 12:44:58 ---> Running in fe13b86a8f87 12:44:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 12:44:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 12:44:58 (1/6) Installing dumb-init (1.2.5-r1) 12:44:58 (2/6) Installing libgcc (11.2.1_git20220219-r2) 12:44:58 (3/6) Installing libsodium (1.0.18-r0) 12:44:58 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 12:44:58 (5/6) Installing libzmq (4.3.4-r0) 12:44:58 (6/6) Installing zeromq (4.3.4-r0) 12:44:58 Executing busybox-1.35.0-r17.trigger 12:44:58 OK: 8 MiB in 20 packages 12:44:58 Removing intermediate container fe13b86a8f87 12:44:58 ---> c9f2da959831 12:44:58 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 12:44:58 ---> 44855269bc89 12:44:58 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 12:44:58 ---> e0e5fa713337 12:44:58 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 12:44:59 ---> 4cba185c7bf4 12:44:59 Step 19/24 : EXPOSE 59982 12:44:59 ---> Running in 47671546bb79 12:44:59 Removing intermediate container 47671546bb79 12:44:59 ---> 0ad38f0c32f8 12:44:59 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 12:44:59 ---> Running in bf4e684c022b 12:45:00 Removing intermediate container bf4e684c022b 12:45:00 ---> 93375d7d7552 12:45:00 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 12:45:00 ---> Running in 68e440f33d64 12:45:00 Removing intermediate container 68e440f33d64 12:45:00 ---> 608076c21ee4 12:45:00 Step 22/24 : LABEL arch=arm64 12:45:00 ---> Running in e734d62f952b 12:45:00 Removing intermediate container e734d62f952b 12:45:00 ---> a370e2af50a1 12:45:00 Step 23/24 : LABEL git_sha=f1853df7c1b7fa3422a545f74a330a3958fcb503 12:45:00 ---> Running in f2e344e0e18e 12:45:01 Removing intermediate container f2e344e0e18e 12:45:01 ---> 33f2c2800afa 12:45:01 Step 24/24 : LABEL version=0.0.0 12:45:01 ---> Running in 383c8255fe84 12:45:01 Removing intermediate container 383c8255fe84 12:45:01 ---> c20165c4f5d6 12:45:01 [Warning] One or more build-args [ARCH] were not consumed 12:45:01 Successfully built c20165c4f5d6 12:45:01 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 12:45:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:45:02 12:45:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:45:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:45:03 arm64: Pulling from edgex-lftools-log-publisher 12:45:03 8998bd30e6a1: Pulling fs layer 12:45:03 04944245beec: Pulling fs layer 12:45:03 699f458cf7ca: Pulling fs layer 12:45:03 765212b225bb: Pulling fs layer 12:45:03 f23df028b6ca: Pulling fs layer 12:45:03 d65c8cfc05b1: Pulling fs layer 12:45:03 2437ff75d9bd: Pulling fs layer 12:45:03 f23df028b6ca: Waiting 12:45:03 d65c8cfc05b1: Waiting 12:45:03 2437ff75d9bd: Waiting 12:45:03 765212b225bb: Waiting 12:45:03 04944245beec: Verifying Checksum 12:45:03 04944245beec: Download complete 12:45:03 765212b225bb: Verifying Checksum 12:45:03 765212b225bb: Download complete 12:45:03 f23df028b6ca: Verifying Checksum 12:45:03 f23df028b6ca: Download complete 12:45:03 d65c8cfc05b1: Download complete 12:45:03 699f458cf7ca: Verifying Checksum 12:45:03 699f458cf7ca: Download complete 12:45:03 8998bd30e6a1: Verifying Checksum 12:45:03 8998bd30e6a1: Download complete 12:45:06 2437ff75d9bd: Verifying Checksum 12:45:06 2437ff75d9bd: Download complete 12:45:08 8998bd30e6a1: Pull complete 12:45:08 04944245beec: Pull complete 12:45:10 699f458cf7ca: Pull complete 12:45:10 765212b225bb: Pull complete 12:45:11 f23df028b6ca: Pull complete 12:45:11 d65c8cfc05b1: Pull complete 12:45:26 2437ff75d9bd: Pull complete 12:45:26 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:45:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:45:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:45:26 prd-ubuntu20.04-docker-arm64-4c-16g-24584 does not seem to be running inside a container 12:45:26 $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:45:29 $ docker top 6fb21d634cb8397cb7aaa3b3e1149c13cebc7764b58b0d4949e032700c44dd11 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:45:30 ---> job-cost.sh 12:45:30 lf-activate-venv: SKIPPING 12:45:30 INFO: No Stack... 12:45:30 INFO: Retrieving Pricing Info for: v3-standard-4 12:45:31 INFO: Archiving Costs [Pipeline] sh 12:45:32 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 12:45:32 + cut -d, -f6 [Pipeline] lock 12:45:32 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-412-1-stack-cost] 12:45:32 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-412-1-stack-cost] did not exist. Created. 12:45:32 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-412-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:45:33 /w/workspace/device-mqtt-go/1@tmp/durable-96904c83/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:45:33 + echo total: 0.10999999940395355 [Pipeline] stash 12:45:33 Warning: overwriting stash ‘stack-cost’ 12:45:33 Stashed 1 file(s) [Pipeline] } 12:45:33 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-412-1-stack-cost] [Pipeline] // lock [Pipeline] } 12:45:34 $ docker stop --time=1 6fb21d634cb8397cb7aaa3b3e1149c13cebc7764b58b0d4949e032700c44dd11 12:45:35 $ docker rm -f 6fb21d634cb8397cb7aaa3b3e1149c13cebc7764b58b0d4949e032700c44dd11 [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 12:45:36 provisioning config files... 12:45:36 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-412@tmp/config6610549037737552622tmp [Pipeline] { [Pipeline] sh 12:45:36 + set +x 12:45:36 + curl -s https://codecov.io/bash 12:45:36 + bash -s -- 12:45:36 12:45:36 _____ _ 12:45:36 / ____| | | 12:45:36 | | ___ __| | ___ ___ _____ __ 12:45:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:45:36 | |___| (_) | (_| | __/ (_| (_) \ V / 12:45:36 \_____\___/ \__,_|\___|\___\___/ \_/ 12:45:36 Bash-1.0.6 12:45:36 12:45:36 12:45:36 ==> git version 2.25.1 found 12:45:36 ==> 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 12:45:36 Release-Date: 2020-01-08 12:45:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:45:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:45:36 ==> Jenkins CI detected. 12:45:36 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-412 12:45:36 project root: . 12:45:36 --> token set from env 12:45:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:45:36 ==> Running gcov in . (disable via -X gcov) 12:45:36 ==> Python coveragepy not found 12:45:36 ==> Searching for coverage reports in: 12:45:36 + . 12:45:36 -> Found 1 reports 12:45:36 ==> Detecting git/mercurial file structure 12:45:36 ==> Reading reports 12:45:36 + ./coverage.out bytes=17887 12:45:36 ==> Appending adjustments 12:45:36 https://docs.codecov.io/docs/fixing-reports 12:45:37 + Found adjustments 12:45:37 ==> Gzipping contents 12:45:37 4.0K /tmp/codecov.I7Tace.gz 12:45:37 ==> Uploading reports 12:45:37 url: https://codecov.io 12:45:37 query: branch=PR-412&commit=f1853df7c1b7fa3422a545f74a330a3958fcb503&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-412%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=412&job=&cmd_args= 12:45:37 -> Pinging Codecov 12:45:37 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-412&commit=f1853df7c1b7fa3422a545f74a330a3958fcb503&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-412%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=412&job=&cmd_args= 12:45:37 -> Uploading to 12:45:37 https://storage.googleapis.com/codecov/v4/raw/2022-09-05/7D719EC7BBE17E464838252E33014C33/f1853df7c1b7fa3422a545f74a330a3958fcb503/d72424e6-9c2a-4d6b-983a-68eb70503342.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220905%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220905T124537Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8721692a47a4c0bca09257cd4436e75dac5b12e24cee5512444b1da9e493f446 12:45:37 % Total % Received % Xferd Average Speed Time Time Time Current 12:45:37 Dload Upload Total Spent Left Speed 12:45:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3207 0 0 100 3207 0 16279 --:--:-- --:--:-- --:--:-- 16279 12:45:37 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/f1853df7c1b7fa3422a545f74a330a3958fcb503 [Pipeline] } 12:45:37 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 12:45:39 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-412/archives ] 12:45:39 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-412/archives 12:45:39 total 16 12:45:39 drwxr-xr-x 3 root root 4096 Sep 5 12:38 . 12:45:39 drwxrwxr-x 11 jenkins jenkins 4096 Sep 5 12:38 .. 12:45:39 drwxr-xr-x 2 root root 4096 Sep 5 12:38 cost 12:45:39 -rw-r--r-- 1 root root 86 Sep 5 12:38 cost.csv 12:45:39 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-412/archives 12:45:39 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-412/archives 12:45:39 total 16 12:45:39 drwxr-xr-x 3 jenkins jenkins 4096 Sep 5 12:38 . 12:45:39 drwxrwxr-x 11 jenkins jenkins 4096 Sep 5 12:38 .. 12:45:39 drwxr-xr-x 2 jenkins jenkins 4096 Sep 5 12:38 cost 12:45:39 -rw-r--r-- 1 jenkins jenkins 86 Sep 5 12:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:45:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:45:40 ---> package-listing.sh 12:45:40 ++ facter osfamily 12:45:40 ++ tr '[:upper:]' '[:lower:]' 12:45:40 + OS_FAMILY=debian 12:45:40 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-412 12:45:40 + START_PACKAGES=/tmp/packages_start.txt 12:45:40 + END_PACKAGES=/tmp/packages_end.txt 12:45:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:45:40 + PACKAGES=/tmp/packages_start.txt 12:45:40 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-412 ']' 12:45:40 + PACKAGES=/tmp/packages_end.txt 12:45:40 + case "${OS_FAMILY}" in 12:45:40 + dpkg -l 12:45:40 + grep '^ii' 12:45:40 + '[' -f /tmp/packages_start.txt ']' 12:45:40 + '[' -f /tmp/packages_end.txt ']' 12:45:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:45:40 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-412 ']' 12:45:40 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-412/archives/ 12:45:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-412/archives/ [Pipeline] echo 12:45:40 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-412/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:45:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 12:45:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:45:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 12:45:41 prd-ubuntu20.04-docker-8c-8g-24583 does not seem to be running inside a container 12:45:41 $ 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-412/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-412 -v /w/workspace/gexfoundry_device-mqtt-go_PR-412:/w/workspace/gexfoundry_device-mqtt-go_PR-412:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-412@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-412@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:45:42 $ docker top f938550d21f67d7a1ff6560f736fea8f674a5b59520673d8d5929215178ade77 -eo pid,comm [Pipeline] { [Pipeline] sh 12:45:42 + touch /tmp/pre-build-complete [Pipeline] sh 12:45:42 + mkdir -p /var/log/sysstat [Pipeline] sh 12:45:43 + ls /var/log/sa-host 12:45:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:45:43 provisioning config files... 12:45:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-412@tmp/config4242993745091099293tmp [Pipeline] { [Pipeline] echo 12:45:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:45:43 ---> create-netrc.sh [Pipeline] } 12:45:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:45:44 ---> python-tools-install.sh [Pipeline] echo 12:45:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:45:44 ---> sudo-logs.sh 12:45:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:45:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:45:44 ---> job-cost.sh 12:45:44 lf-activate-venv: SKIPPING 12:45:44 DEBUG: total: 0.2199999988079071 12:45:44 INFO: Retrieving Stack Cost... 12:45:45 INFO: Retrieving Pricing Info for: v3-standard-8 12:45:45 INFO: Archiving Costs [Pipeline] echo 12:45:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:45:46 ---> logs-deploy.sh 12:45:46 lf-activate-venv: SKIPPING 12:45:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-412/1 12:45:46 INFO: archiving workspace using pattern(s): 12:45:47 Archives upload complete. 12:45:47 INFO: archiving logs to Nexus 12:45:47 ---> uname -a: 12:45:47 Linux prd-ubuntu20-04-docker-8c-8g-24583 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 12:45:47 12:45:47 12:45:47 ---> lscpu: 12:45:47 Architecture: x86_64 12:45:47 CPU op-mode(s): 32-bit, 64-bit 12:45:47 Byte Order: Little Endian 12:45:47 Address sizes: 40 bits physical, 48 bits virtual 12:45:47 CPU(s): 8 12:45:47 On-line CPU(s) list: 0-7 12:45:47 Thread(s) per core: 1 12:45:47 Core(s) per socket: 1 12:45:47 Socket(s): 8 12:45:47 NUMA node(s): 1 12:45:47 Vendor ID: AuthenticAMD 12:45:47 CPU family: 23 12:45:47 Model: 49 12:45:47 Model name: AMD EPYC-Rome Processor 12:45:47 Stepping: 0 12:45:47 CPU MHz: 2799.994 12:45:47 BogoMIPS: 5599.98 12:45:47 Virtualization: AMD-V 12:45:47 Hypervisor vendor: KVM 12:45:47 Virtualization type: full 12:45:47 L1d cache: 256 KiB 12:45:47 L1i cache: 256 KiB 12:45:47 L2 cache: 4 MiB 12:45:47 L3 cache: 128 MiB 12:45:47 NUMA node0 CPU(s): 0-7 12:45:47 Vulnerability Itlb multihit: Not affected 12:45:47 Vulnerability L1tf: Not affected 12:45:47 Vulnerability Mds: Not affected 12:45:47 Vulnerability Meltdown: Not affected 12:45:47 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 12:45:47 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 12:45:47 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 12:45:47 Vulnerability Srbds: Not affected 12:45:47 Vulnerability Tsx async abort: Not affected 12:45:47 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 12:45:47 12:45:47 12:45:47 ---> nproc: 12:45:47 8 12:45:47 12:45:47 12:45:47 ---> df -h: 12:45:47 Filesystem Size Used Avail Use% Mounted on 12:45:47 overlay 155G 11G 145G 7% / 12:45:47 tmpfs 64M 0 64M 0% /dev 12:45:47 tmpfs 16G 0 16G 0% /sys/fs/cgroup 12:45:47 shm 64M 0 64M 0% /dev/shm 12:45:47 /dev/vda1 155G 11G 145G 7% /facter-os 12:45:47 12:45:47 12:45:47 ---> sar -b -r -n DEV: 12:45:47 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-24583) 09/05/22 _x86_64_ (8 CPU) 12:45:47 12:45:47 12:35:42 LINUX RESTART (8 CPU) 12:45:47 12:45:47 12:36:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 12:45:47 12:37:02 323.58 52.65 270.93 0.00 5045.78 154547.68 0.00 12:45:47 12:38:01 177.39 1.32 176.07 0.00 46.77 56018.30 0.00 12:45:47 12:39:01 147.81 0.03 147.78 0.00 4.40 34248.16 0.00 12:45:47 12:40:01 2.68 0.00 2.68 0.00 0.00 31.61 0.00 12:45:47 12:41:01 1.78 0.02 1.77 0.00 0.13 19.06 0.00 12:45:47 12:42:01 2.03 0.00 2.03 0.00 0.00 22.93 0.00 12:45:47 12:43:01 1.18 0.00 1.18 0.00 0.00 12.93 0.00 12:45:47 12:44:01 1.63 0.00 1.63 0.00 0.00 17.86 0.00 12:45:47 12:45:01 1.15 0.00 1.15 0.00 0.00 12.53 0.00 12:45:47 Average: 73.06 6.01 67.05 0.00 567.38 27162.99 0.00 12:45:47 12:45:47 12:36:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 12:45:47 12:37:02 28873376 31767152 539028 1.64 116064 3046468 2144200 6.32 1114564 2520064 393188 12:45:47 12:38:01 28346844 31736060 559272 1.70 162464 3438208 2256356 6.65 1265816 2823148 84 12:45:47 12:39:01 27633608 31773896 519248 1.58 172992 4116660 1971268 5.81 1280288 3457184 400 12:45:47 12:40:01 27634560 31774932 518052 1.58 173048 4116664 1971268 5.81 1279232 3457184 12 12:45:47 12:41:01 27635564 31776260 516928 1.57 173112 4116668 1971268 5.81 1278536 3457488 0 12:45:47 12:42:01 27643312 31784164 508696 1.55 173172 4116676 1971268 5.81 1270568 3457496 16 12:45:47 12:43:01 27644192 31785088 507664 1.54 173204 4116676 1971268 5.81 1269276 3457496 16 12:45:47 12:44:01 27644616 31785556 507180 1.54 173224 4116680 1971268 5.81 1269312 3457500 12 12:45:47 12:45:01 27644624 31785596 507100 1.54 173252 4116680 1971268 5.81 1269328 3457500 8 12:45:47 Average: 27855633 31774300 520352 1.58 165615 3922376 2022159 5.96 1255213 3282784 43748 12:45:47 12:45:47 12:36:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 12:45:47 12:37:02 lo 7.00 7.00 0.67 0.67 0.00 0.00 0.00 0.00 12:45:47 12:37:02 docker0 3.57 2.90 0.39 45.83 0.00 0.00 0.00 0.00 12:45:47 12:37:02 ens3 698.22 442.64 6436.79 105.38 0.00 0.00 0.00 0.00 12:45:47 12:38:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 12:45:47 12:38:01 docker0 122.45 161.55 10.26 1506.47 0.00 0.00 0.00 0.00 12:45:47 12:38:01 ens3 234.13 177.73 1548.01 81.31 0.00 0.00 0.00 0.00 12:45:47 12:38:01 veth7edcefc 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:45:47 12:38:01 veth82a4cd9 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:45:47 12:39:01 lo 1.67 1.67 0.16 0.16 0.00 0.00 0.00 0.00 12:45:47 12:39:01 docker0 10.21 14.85 0.61 98.74 0.00 0.00 0.00 0.00 12:45:47 12:39:01 ens3 147.61 98.37 2683.21 41.33 0.00 0.00 0.00 0.00 12:45:47 12:40:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 12:45:47 12:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:45:47 12:40:01 ens3 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 12:45:47 12:41:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:45:47 12:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:45:47 12:41:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:45:47 12:42:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 12:45:47 12:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:45:47 12:42:01 ens3 4.53 4.55 0.36 7.02 0.00 0.00 0.00 0.00 12:45:47 12:43:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:45:47 12:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:45:47 12:43:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:45:47 12:44:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 12:45:47 12:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:45:47 12:44:01 ens3 0.12 0.12 0.01 0.01 0.00 0.00 0.00 0.00 12:45:47 12:45:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:45:47 12:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 12:45:47 12:45:01 ens3 0.02 0.02 0.00 0.00 0.00 0.00 0.00 0.00 12:45:47 Average: lo 1.08 1.08 0.10 0.10 0.00 0.00 0.00 0.00 12:45:47 Average: docker0 14.94 19.66 1.23 180.99 0.00 0.00 0.00 0.00 12:45:47 Average: ens3 120.33 80.22 1184.78 26.02 0.00 0.00 0.00 0.00 12:45:47 12:45:47 12:45:47 ---> sar -P ALL: 12:45:47 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-24583) 09/05/22 _x86_64_ (8 CPU) 12:45:47 12:45:47 12:35:42 LINUX RESTART (8 CPU) 12:45:47 12:45:47 12:36:01 CPU %user %nice %system %iowait %steal %idle 12:45:47 12:37:02 all 10.63 0.00 4.04 4.09 0.06 81.18 12:45:47 12:37:02 0 10.89 0.00 3.75 5.59 0.07 79.70 12:45:47 12:37:02 1 11.27 0.00 3.21 3.73 0.08 81.72 12:45:47 12:37:02 2 10.25 0.00 3.17 0.37 0.05 86.16 12:45:47 12:37:02 3 11.89 0.00 4.67 0.62 0.07 82.75 12:45:47 12:37:02 4 9.79 0.00 5.38 4.89 0.07 79.87 12:45:47 12:37:02 5 9.22 0.00 3.64 9.10 0.05 77.99 12:45:47 12:37:02 6 11.37 0.00 3.83 1.36 0.05 83.39 12:45:47 12:37:02 7 10.33 0.00 4.67 7.12 0.07 77.82 12:45:47 12:38:01 all 26.52 0.00 5.71 2.76 0.07 64.93 12:45:47 12:38:01 0 27.53 0.00 6.23 0.55 0.07 65.62 12:45:47 12:38:01 1 23.65 0.00 6.23 10.81 0.05 59.25 12:45:47 12:38:01 2 26.75 0.00 5.32 1.20 0.07 66.66 12:45:47 12:38:01 3 26.88 0.00 5.97 0.75 0.09 66.31 12:45:47 12:38:01 4 24.17 0.00 4.78 2.38 0.07 68.61 12:45:47 12:38:01 5 27.16 0.00 5.70 1.91 0.09 65.14 12:45:47 12:38:01 6 28.18 0.00 5.59 2.21 0.09 63.94 12:45:47 12:38:01 7 27.87 0.00 5.84 2.28 0.07 63.93 12:45:47 12:39:01 all 20.30 0.00 4.25 2.02 0.06 73.37 12:45:47 12:39:01 0 21.39 0.00 4.27 0.32 0.07 73.95 12:45:47 12:39:01 1 18.29 0.00 3.99 3.10 0.07 74.56 12:45:47 12:39:01 2 20.61 0.00 4.44 0.92 0.05 73.98 12:45:47 12:39:01 3 20.56 0.00 4.84 10.51 0.05 64.03 12:45:47 12:39:01 4 17.70 0.00 3.49 0.64 0.07 78.10 12:45:47 12:39:01 5 21.25 0.00 4.29 0.10 0.05 74.31 12:45:47 12:39:01 6 20.26 0.00 4.37 0.17 0.07 75.14 12:45:47 12:39:01 7 22.36 0.00 4.31 0.39 0.07 72.88 12:45:47 12:40:01 all 0.01 0.00 0.01 0.01 0.00 99.97 12:45:47 12:40:01 0 0.03 0.00 0.05 0.00 0.00 99.92 12:45:47 12:40:01 1 0.00 0.00 0.02 0.00 0.00 99.98 12:45:47 12:40:01 2 0.00 0.00 0.00 0.00 0.00 100.00 12:45:47 12:40:01 3 0.00 0.00 0.00 0.05 0.00 99.95 12:45:47 12:40:01 4 0.00 0.00 0.00 0.00 0.00 100.00 12:45:47 12:40:01 5 0.00 0.00 0.02 0.00 0.00 99.98 12:45:47 12:40:01 6 0.02 0.00 0.00 0.00 0.00 99.98 12:45:47 12:40:01 7 0.00 0.00 0.02 0.00 0.00 99.98 12:45:47 12:41:01 all 0.01 0.00 0.01 0.01 0.01 99.96 12:45:47 12:41:01 0 0.07 0.00 0.02 0.00 0.02 99.90 12:45:47 12:41:01 1 0.00 0.00 0.00 0.00 0.00 100.00 12:45:47 12:41:01 2 0.00 0.00 0.00 0.00 0.02 99.98 12:45:47 12:41:01 3 0.02 0.00 0.02 0.05 0.02 99.90 12:45:47 12:41:01 4 0.02 0.00 0.02 0.00 0.00 99.97 12:45:47 12:41:01 5 0.00 0.00 0.00 0.00 0.02 99.98 12:45:47 12:41:01 6 0.02 0.00 0.00 0.00 0.00 99.98 12:45:47 12:41:01 7 0.00 0.00 0.02 0.00 0.00 99.98 12:45:47 12:42:01 all 0.02 0.00 0.02 0.00 0.00 99.95 12:45:47 12:42:01 0 0.05 0.00 0.03 0.00 0.02 99.90 12:45:47 12:42:01 1 0.02 0.00 0.03 0.02 0.02 99.92 12:45:47 12:42:01 2 0.02 0.00 0.02 0.00 0.00 99.97 12:45:47 12:42:01 3 0.02 0.00 0.02 0.02 0.00 99.95 12:45:47 12:42:01 4 0.00 0.00 0.02 0.00 0.00 99.98 12:45:47 12:42:01 5 0.02 0.00 0.00 0.00 0.00 99.98 12:45:47 12:42:01 6 0.00 0.00 0.02 0.00 0.00 99.98 12:45:47 12:42:01 7 0.07 0.00 0.05 0.00 0.00 99.88 12:45:47 12:43:01 all 0.02 0.00 0.01 0.00 0.00 99.97 12:45:47 12:43:01 0 0.05 0.00 0.03 0.00 0.00 99.92 12:45:47 12:43:01 1 0.03 0.00 0.00 0.02 0.00 99.95 12:45:47 12:43:01 2 0.02 0.00 0.00 0.00 0.00 99.98 12:45:47 12:43:01 3 0.02 0.00 0.00 0.02 0.00 99.97 12:45:47 12:43:01 4 0.02 0.00 0.00 0.00 0.00 99.98 12:45:47 12:43:01 5 0.00 0.00 0.02 0.00 0.00 99.98 12:45:47 12:43:01 6 0.02 0.00 0.00 0.00 0.00 99.98 12:45:47 12:43:01 7 0.00 0.00 0.00 0.00 0.00 100.00 12:45:47 12:44:01 all 0.01 0.00 0.01 0.00 0.00 99.97 12:45:47 12:44:01 0 0.00 0.00 0.00 0.00 0.00 100.00 12:45:47 12:44:01 1 0.00 0.00 0.02 0.02 0.00 99.97 12:45:47 12:44:01 2 0.00 0.00 0.00 0.00 0.00 100.00 12:45:47 12:44:01 3 0.05 0.00 0.03 0.02 0.00 99.90 12:45:47 12:44:01 4 0.02 0.00 0.00 0.00 0.00 99.98 12:45:47 12:44:01 5 0.00 0.00 0.02 0.00 0.00 99.98 12:45:47 12:44:01 6 0.02 0.00 0.00 0.00 0.00 99.98 12:45:47 12:44:01 7 0.02 0.00 0.00 0.00 0.00 99.98 12:45:47 12:45:01 all 0.01 0.00 0.01 0.01 0.00 99.97 12:45:47 12:45:01 0 0.00 0.00 0.00 0.00 0.00 100.00 12:45:47 12:45:01 1 0.03 0.00 0.00 0.00 0.00 99.97 12:45:47 12:45:01 2 0.00 0.00 0.02 0.00 0.00 99.98 12:45:47 12:45:01 3 0.02 0.00 0.03 0.05 0.02 99.88 12:45:47 12:45:01 4 0.00 0.00 0.02 0.00 0.00 99.98 12:45:47 12:45:01 5 0.00 0.00 0.00 0.00 0.00 100.00 12:45:47 12:45:01 6 0.02 0.00 0.00 0.00 0.00 99.98 12:45:47 12:45:01 7 0.00 0.00 0.00 0.00 0.02 99.98 12:45:47 Average: all 6.31 0.00 1.54 0.98 0.02 91.15 12:45:47 Average: 0 6.59 0.00 1.58 0.71 0.03 91.09 12:45:47 Average: 1 5.84 0.00 1.48 1.93 0.02 90.73 12:45:47 Average: 2 6.32 0.00 1.42 0.27 0.02 91.96 12:45:47 Average: 3 6.52 0.00 1.71 1.33 0.03 90.41 12:45:47 Average: 4 5.67 0.00 1.51 0.87 0.02 91.93 12:45:47 Average: 5 6.32 0.00 1.50 1.22 0.02 90.94 12:45:47 Average: 6 6.57 0.00 1.52 0.41 0.02 91.48 12:45:47 Average: 7 6.63 0.00 1.63 1.07 0.02 90.65 12:45:47 12:45:47 12:45:47