Pull request #434 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 710c47abc55d42dd5ae3d601a36909f53cf8e1a3+9ee6b9239046894cb89ff0f0b410cd21a3bbb457 (2cb859c4a97486063eeff65c9f9f0be803a8e5d1) 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-ssh6225569887633403426.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh15013351111209542746.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-434/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-434/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17563559235928563504.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17988516512591255650.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-434/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-434/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10869767752094236560.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118491 in /w/workspace/gexfoundry_device-mqtt-go_PR-434 [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-434 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/434/head:refs/remotes/origin/PR-434 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 into PR head commit 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 Merge succeeded, producing 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 Checking out Revision 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 (PR-434) Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:54:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:54:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:54:51 ========================================================= 17:54:51 EdgeX Global Pipelines Version Info 17:54:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 # timeout=10 > git rev-list --no-walk 0e920f928db6e55c7654ccff9c7fea9a5616c704 # timeout=10 17:54:52 ------------------- 17:54:52 stable info: 17:54:52 ------------------- 17:54:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:54:52 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:54:52 Message: update stable to v1.0.244 17:54:52 ------------------- 17:54:52 experimental info: 17:54:52 ------------------- 17:54:52 Commited By: **** collab-it+edgex@linuxfoundation.org 17:54:52 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:54:52 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-434 [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-434 [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-434 [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 710c47a [Pipeline] echo 17:54:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:54:53 provisioning config files... 17:54:53 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config806501811223087833tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:54:53 ---> docker-login.sh 17:54:53 nexus3.edgexfoundry.org:10001 17:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:54 Configure a credential helper to remove this warning. See 17:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:54 17:54:54 Login Succeeded 17:54:54 nexus3.edgexfoundry.org:10002 17:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:54 Configure a credential helper to remove this warning. See 17:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:54 17:54:54 Login Succeeded 17:54:54 nexus3.edgexfoundry.org:10003 17:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:54 Configure a credential helper to remove this warning. See 17:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:54 17:54:54 Login Succeeded 17:54:54 nexus3.edgexfoundry.org:10004 17:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:54 Configure a credential helper to remove this warning. See 17:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:54 17:54:54 Login Succeeded 17:54:54 docker.io 17:54:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:54:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:54:54 Configure a credential helper to remove this warning. See 17:54:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:54:54 17:54:54 Login Succeeded 17:54:54 ---> docker-login.sh ends [Pipeline] } 17:54:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:54:55 + git rev-list -1 --merges 710c47abc55d42dd5ae3d601a36909f53cf8e1a3~1..710c47abc55d42dd5ae3d601a36909f53cf8e1a3 [Pipeline] echo 17:54:55 -----------> git rev-list -1 --merges 710c47abc55d42dd5ae3d601a36909f53cf8e1a3~1..710c47abc55d42dd5ae3d601a36909f53cf8e1a3 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 [false] [Pipeline] sh 17:54:55 + git log --format=format:%s -1 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 [Pipeline] echo 17:54:55 ========================================================= 17:54:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:54:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:54:55 + git log --format=format:%s -1 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 [Pipeline] echo 17:54:55 [semverPrep] GIT_COMMIT: 710c47abc55d42dd5ae3d601a36909f53cf8e1a3, Commit Message: build(deps): bump github.com/eclipse/paho.mqtt.golang [Pipeline] echo 17:54:55 [semverPrep] This is not a build commit. [Pipeline] sh 17:54:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:54:56 + grep -v github /etc/ssh/ssh_known_hosts 17:54:56 + [ -e /tmp/ssh_known_hosts ] 17:54:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:54:56 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:54:56 sudo tee -a /etc/ssh/ssh_known_hosts 17:54:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:54:56 17:54:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:54:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:54:57 0.1.4: Pulling from edgex-devops/py-git-semver 17:54:57 b85a868b505f: Pulling fs layer 17:54:57 e2be974225ed: Pulling fs layer 17:54:57 339a4e72a1f5: Pulling fs layer 17:54:57 988bab9f4d93: Pulling fs layer 17:54:57 1469e6f7b9e6: Pulling fs layer 17:54:57 eaf3925da568: Pulling fs layer 17:54:57 bab4dde63d76: Pulling fs layer 17:54:57 bde34c3a00c8: Pulling fs layer 17:54:57 1469e6f7b9e6: Waiting 17:54:57 eaf3925da568: Waiting 17:54:57 bab4dde63d76: Waiting 17:54:57 b352a97aabf1: Pulling fs layer 17:54:57 4872d77fe225: Pulling fs layer 17:54:57 b352a97aabf1: Waiting 17:54:57 bde34c3a00c8: Waiting 17:54:57 5851b861e8e6: Pulling fs layer 17:54:57 4872d77fe225: Waiting 17:54:57 5851b861e8e6: Waiting 17:54:57 e2be974225ed: Download complete 17:54:57 988bab9f4d93: Download complete 17:54:57 1469e6f7b9e6: Download complete 17:54:57 eaf3925da568: Verifying Checksum 17:54:57 eaf3925da568: Download complete 17:54:57 339a4e72a1f5: Verifying Checksum 17:54:57 339a4e72a1f5: Download complete 17:54:57 bde34c3a00c8: Download complete 17:54:57 b352a97aabf1: Download complete 17:54:57 4872d77fe225: Verifying Checksum 17:54:57 4872d77fe225: Download complete 17:54:57 b85a868b505f: Download complete 17:54:57 5851b861e8e6: Download complete 17:54:57 bab4dde63d76: Verifying Checksum 17:54:57 bab4dde63d76: Download complete 17:54:58 b85a868b505f: Pull complete 17:54:58 e2be974225ed: Pull complete 17:54:59 339a4e72a1f5: Pull complete 17:54:59 988bab9f4d93: Pull complete 17:54:59 1469e6f7b9e6: Pull complete 17:54:59 eaf3925da568: Pull complete 17:55:01 bab4dde63d76: Pull complete 17:55:01 bde34c3a00c8: Pull complete 17:55:01 b352a97aabf1: Pull complete 17:55:01 4872d77fe225: Pull complete 17:55:01 5851b861e8e6: Pull complete 17:55:02 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:55:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:55:02 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:02 prd-ubuntu20.04-docker-8c-8g-118491 does not seem to be running inside a container 17:55:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@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-devops/py-git-semver:0.1.4 cat 17:55:03 $ docker top e4282a0b0c4e7a148d1e45165356b61f1efdf5a3b663d66d45a808a3a595f98b -eo pid,comm 17:55:03 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). 17:55:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:55:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:55:03 [ssh-agent] Looking for ssh-agent implementation... 17:55:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:55:03 $ docker exec e4282a0b0c4e7a148d1e45165356b61f1efdf5a3b663d66d45a808a3a595f98b ssh-agent 17:55:03 SSH_AUTH_SOCK=/tmp/ssh-q8eYsiPJK76d/agent.33 17:55:03 SSH_AGENT_PID=39 17:55:03 Running ssh-add (command line suppressed) 17:55:03 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_12091495952162865645.key (/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_12091495952162865645.key) 17:55:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:55:04 + git tag --points-at HEAD [Pipeline] } 17:55:04 $ docker exec --env ******** --env ******** e4282a0b0c4e7a148d1e45165356b61f1efdf5a3b663d66d45a808a3a595f98b ssh-agent -k 17:55:04 unset SSH_AUTH_SOCK; 17:55:04 unset SSH_AGENT_PID; 17:55:04 echo Agent pid 39 killed; 17:55:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:55:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:55:04 [ssh-agent] Looking for ssh-agent implementation... 17:55:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:55:04 $ docker exec e4282a0b0c4e7a148d1e45165356b61f1efdf5a3b663d66d45a808a3a595f98b ssh-agent 17:55:04 SSH_AUTH_SOCK=/tmp/ssh-QUVeZR4iYVs1/agent.72 17:55:04 SSH_AGENT_PID=79 17:55:04 Running ssh-add (command line suppressed) 17:55:04 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_11855139853960542844.key (/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/private_key_11855139853960542844.key) 17:55:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:55:05 + git semver init 17:55:05 2022-11-07 17:55:05,261 [run_init] DEBUG init version:0.0.0 force:False 17:55:05 2022-11-07 17:55:05,262 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver 17:55:05 2022-11-07 17:55:05,262 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver 17:55:05 2022-11-07 17:55:05,263 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-434, universal_newlines=False, shell=None, istream=None) 17:55:06 2022-11-07 17:55:06,211 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.git/info/exclude 17:55:06 2022-11-07 17:55:06,212 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver/PR-434 with force:False 17:55:06 2022-11-07 17:55:06,212 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver/PR-434 17:55:06 2022-11-07 17:55:06,217 [execute] INFO git cat-file --batch-check 17:55:06 2022-11-07 17:55:06,217 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver, universal_newlines=False, shell=None, istream=) 17:55:06 2022-11-07 17:55:06,225 [execute] INFO git cat-file --batch 17:55:06 2022-11-07 17:55:06,225 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver, universal_newlines=False, shell=None, istream=) 17:55:06 2022-11-07 17:55:06,231 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-434/.semver/PR-434 17:55:06 0.0.0 [Pipeline] } 17:55:06 $ docker exec --env ******** --env ******** e4282a0b0c4e7a148d1e45165356b61f1efdf5a3b663d66d45a808a3a595f98b ssh-agent -k 17:55:06 unset SSH_AUTH_SOCK; 17:55:06 unset SSH_AGENT_PID; 17:55:06 echo Agent pid 79 killed; 17:55:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:55:06 + git semver [Pipeline] } 17:55:06 $ docker stop --time=1 e4282a0b0c4e7a148d1e45165356b61f1efdf5a3b663d66d45a808a3a595f98b 17:55:08 $ docker rm -f e4282a0b0c4e7a148d1e45165356b61f1efdf5a3b663d66d45a808a3a595f98b [Pipeline] // withDockerContainer [Pipeline] sh 17:55:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:55:08 Stashed 1 file(s) [Pipeline] echo 17:55:08 [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 17:55:08 provisioning config files... 17:55:08 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config17863953938588305045tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:55:09 ---> docker-login.sh 17:55:09 nexus3.edgexfoundry.org:10001 17:55:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:09 Configure a credential helper to remove this warning. See 17:55:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:09 17:55:09 Login Succeeded 17:55:09 nexus3.edgexfoundry.org:10002 17:55:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:09 Configure a credential helper to remove this warning. See 17:55:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:09 17:55:09 Login Succeeded 17:55:09 nexus3.edgexfoundry.org:10003 17:55:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:09 Configure a credential helper to remove this warning. See 17:55:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:09 17:55:09 Login Succeeded 17:55:09 nexus3.edgexfoundry.org:10004 17:55:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:09 Configure a credential helper to remove this warning. See 17:55:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:09 17:55:09 Login Succeeded 17:55:09 docker.io 17:55:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:55:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:55:10 Configure a credential helper to remove this warning. See 17:55:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:55:10 17:55:10 Login Succeeded 17:55:10 ---> docker-login.sh ends [Pipeline] } 17:55:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:55:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:55:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:55:10 ========================================================= 17:55:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:55:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:10 + 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 . 17:55:10 Sending build context to Docker daemon 6.214MB 17:55:10 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:55:10 Step 2/12 : FROM ${BASE} AS builder 17:55:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:55:10 213ec9aee27d: Pulling fs layer 17:55:10 4583459ba037: Pulling fs layer 17:55:10 93c1e223e6f2: Pulling fs layer 17:55:10 53926ce57604: Pulling fs layer 17:55:10 21b2b0c7a3f4: Pulling fs layer 17:55:10 22ff95d597cd: Pulling fs layer 17:55:10 12d6caf4c0d1: Pulling fs layer 17:55:10 96b7cbca73a9: Pulling fs layer 17:55:10 a7acece74701: Pulling fs layer 17:55:10 53926ce57604: Waiting 17:55:10 21b2b0c7a3f4: Waiting 17:55:10 22ff95d597cd: Waiting 17:55:10 12d6caf4c0d1: Waiting 17:55:10 96b7cbca73a9: Waiting 17:55:10 a7acece74701: Waiting 17:55:10 93c1e223e6f2: Verifying Checksum 17:55:10 93c1e223e6f2: Download complete 17:55:10 4583459ba037: Download complete 17:55:10 21b2b0c7a3f4: Verifying Checksum 17:55:10 21b2b0c7a3f4: Download complete 17:55:10 22ff95d597cd: Verifying Checksum 17:55:10 22ff95d597cd: Download complete 17:55:10 213ec9aee27d: Verifying Checksum 17:55:10 213ec9aee27d: Download complete 17:55:10 12d6caf4c0d1: Verifying Checksum 17:55:10 12d6caf4c0d1: Download complete 17:55:10 213ec9aee27d: Pull complete 17:55:10 4583459ba037: Pull complete 17:55:10 93c1e223e6f2: Pull complete 17:55:11 a7acece74701: Verifying Checksum 17:55:11 a7acece74701: Download complete 17:55:11 53926ce57604: Verifying Checksum 17:55:11 53926ce57604: Download complete 17:55:11 96b7cbca73a9: Verifying Checksum 17:55:11 96b7cbca73a9: Download complete 17:55:15 53926ce57604: Pull complete 17:55:15 21b2b0c7a3f4: Pull complete 17:55:15 22ff95d597cd: Pull complete 17:55:15 12d6caf4c0d1: Pull complete 17:55:17 96b7cbca73a9: Pull complete 17:55:18 a7acece74701: Pull complete 17:55:18 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:55:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:55:18 ---> db6d94c90886 17:55:18 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:55:20 ---> Running in 1b1677dd03dd 17:55:20 Removing intermediate container 1b1677dd03dd 17:55:20 ---> 8cfd21eefca0 17:55:20 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:55:20 ---> Running in 808924b32107 17:55:20 Removing intermediate container 808924b32107 17:55:20 ---> 8988065e0f19 17:55:20 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:55:20 ---> Running in 92c28ca54214 17:55:20 Removing intermediate container 92c28ca54214 17:55:20 ---> 6bc0d07ca1a2 17:55:20 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:55:20 ---> Running in 02313e898bbb 17:55:20 Removing intermediate container 02313e898bbb 17:55:20 ---> 5bfa24760240 17:55:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:55:20 ---> Running in 8ae6cfbc73aa 17:55:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:55:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:55:21 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:55:21 (2/4) Installing libedit (20210910.3.1-r0) 17:55:21 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:55:21 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:55:21 Executing busybox-1.35.0-r17.trigger 17:55:21 OK: 216 MiB in 55 packages 17:55:22 Removing intermediate container 8ae6cfbc73aa 17:55:22 ---> 979cb91b0a32 17:55:22 Step 8/12 : WORKDIR /device-mqtt-go 17:55:22 ---> Running in ca00c76cb403 17:55:22 Removing intermediate container ca00c76cb403 17:55:22 ---> ef834cb3d83b 17:55:22 Step 9/12 : COPY go.mod vendor* ./ 17:55:22 ---> bcc10e0df1db 17:55:22 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:55:22 ---> Running in 75305ef163a3 17:55:23 Still waiting to schedule task 17:55:23 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:55:40 Removing intermediate container 75305ef163a3 17:55:40 ---> 46ad8c5eb37e 17:55:40 Step 11/12 : COPY . . 17:55:40 ---> 22aa8a244f84 17:55:40 Step 12/12 : RUN $MAKE 17:55:40 ---> Running in feb56c860e7f 17:55:40 noop 17:55:40 Removing intermediate container feb56c860e7f 17:55:40 ---> 15e3ccc02998 17:55:40 Successfully built 15e3ccc02998 17:55:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:40 + docker inspect -f . ci-base-image-x86_64 17:55:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:40 prd-ubuntu20.04-docker-8c-8g-118491 does not seem to be running inside a container 17:55:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:55:41 $ docker top 2c03bf5c45c9a892a81e918d8654013e266dece898ae5fbeeb52336cfb82103c -eo pid,comm [Pipeline] { [Pipeline] sh 17:55:41 + go version 17:55:41 go version go1.18.7 linux/amd64 [Pipeline] } 17:55:41 $ docker stop --time=1 2c03bf5c45c9a892a81e918d8654013e266dece898ae5fbeeb52336cfb82103c 17:55:42 $ docker rm -f 2c03bf5c45c9a892a81e918d8654013e266dece898ae5fbeeb52336cfb82103c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:55:43 + docker inspect -f . ci-base-image-x86_64 17:55:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:55:43 prd-ubuntu20.04-docker-8c-8g-118491 does not seem to be running inside a container 17:55:43 $ 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-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:55:43 $ docker top 13f43d2dc6b4f00be01fcd9ec857b442d6d136fceb825eef3df2f2d43ca2d89d -eo pid,comm [Pipeline] { [Pipeline] sh 17:55:44 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-434 [Pipeline] fileExists [Pipeline] sh 17:55:44 + make test 17:55:44 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:55:44 ? github.com/edgexfoundry/device-mqtt-go [no test files] 17:55:54 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 17:55:55 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 17:55:55 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 17:56:03 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." 17:56:03 GCO_ENABLED=1 GO111MODULE=on go vet ./... 17:56:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:56:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:56:06 ./bin/test-attribution-txt.sh [Pipeline] echo 17:56:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:56:06 $ docker stop --time=1 13f43d2dc6b4f00be01fcd9ec857b442d6d136fceb825eef3df2f2d43ca2d89d 17:56:08 $ docker rm -f 13f43d2dc6b4f00be01fcd9ec857b442d6d136fceb825eef3df2f2d43ca2d89d [Pipeline] // withDockerContainer [Pipeline] sh 17:56:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:56:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:56:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:56:09 + ls -al . 17:56:09 total 196 17:56:09 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 17:55 . 17:56:09 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:54 .. 17:56:09 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 17:54 .dockerignore 17:56:09 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 17:55 .git 17:56:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:54 .github 17:56:09 -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 17:54 .gitignore 17:56:09 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 17:54 .golangci.yml 17:56:09 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 17:55 .semver 17:56:09 -rw-rw-r-- 1 jenkins jenkins 9293 Nov 7 17:54 Attribution.txt 17:56:09 -rw-rw-r-- 1 jenkins jenkins 13162 Nov 7 17:54 CHANGELOG.md 17:56:09 -rw-rw-r-- 1 jenkins jenkins 1752 Nov 7 17:54 Dockerfile 17:56:09 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 17:54 GOVERNANCE.md 17:56:09 -rw-rw-r-- 1 jenkins jenkins 678 Nov 7 17:54 Jenkinsfile 17:56:09 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 17:54 LICENSE 17:56:09 -rw-rw-r-- 1 jenkins jenkins 2126 Nov 7 17:54 Makefile 17:56:09 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 17:54 OWNERS.md 17:56:09 -rw-rw-r-- 1 jenkins jenkins 3165 Nov 7 17:54 README.md 17:56:09 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 17:55 VERSION 17:56:09 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:54 bin 17:56:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:54 cmd 17:56:09 -rw-r--r-- 1 jenkins jenkins 17887 Nov 7 17:55 coverage.out 17:56:09 -rw-rw-r-- 1 jenkins jenkins 3470 Nov 7 17:54 go.mod 17:56:09 -rw-rw-r-- 1 jenkins jenkins 45060 Nov 7 17:54 go.sum 17:56:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:54 internal 17:56:09 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:54 mock 17:56:09 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:54 snap 17:56:09 -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 17:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:10 + 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=710c47abc55d42dd5ae3d601a36909f53cf8e1a3 --label arch=amd64 --label version=0.0.0 . 17:56:10 Sending build context to Docker daemon 6.233MB 17:56:10 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 17:56:10 Step 2/24 : FROM ${BASE} AS builder 17:56:10 ---> 15e3ccc02998 17:56:10 Step 3/24 : ARG ADD_BUILD_TAGS="" 17:56:10 ---> Running in 92e5bb6a6a5c 17:56:10 Removing intermediate container 92e5bb6a6a5c 17:56:10 ---> f320954a604d 17:56:10 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:56:10 ---> Running in b16f5bbff855 17:56:10 Removing intermediate container b16f5bbff855 17:56:10 ---> 5493cf76e59e 17:56:10 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:56:10 ---> Running in 77d910e422c0 17:56:10 Removing intermediate container 77d910e422c0 17:56:10 ---> f45523f146fd 17:56:10 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 17:56:10 ---> Running in dd213a69a37f 17:56:10 Removing intermediate container dd213a69a37f 17:56:10 ---> 8fdcaeab2505 17:56:10 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:56:10 ---> Running in e820962e3d10 17:56:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:56:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:56:11 OK: 216 MiB in 55 packages 17:56:12 Removing intermediate container e820962e3d10 17:56:12 ---> d179b0da45cd 17:56:12 Step 8/24 : WORKDIR /device-mqtt-go 17:56:12 ---> Running in e1530ea7d35f 17:56:12 Removing intermediate container e1530ea7d35f 17:56:12 ---> 6f9d063dae59 17:56:12 Step 9/24 : COPY go.mod vendor* ./ 17:56:12 ---> 0eb3c9fbe125 17:56:12 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:56:12 ---> Running in 1bb4b60e0ce8 17:56:13 Removing intermediate container 1bb4b60e0ce8 17:56:13 ---> e4cf4c36a14d 17:56:13 Step 11/24 : COPY . . 17:56:13 ---> bc2b16c3d688 17:56:13 Step 12/24 : RUN $MAKE 17:56:13 ---> Running in 8c7a6c4f2526 17:56:13 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 17:56:35 Removing intermediate container 8c7a6c4f2526 17:56:35 ---> 17af12236bca 17:56:35 Step 13/24 : FROM alpine:3.16 17:56:35 3.16: Pulling from library/alpine 17:56:35 213ec9aee27d: Already exists 17:56:35 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:56:35 Status: Downloaded newer image for alpine:3.16 17:56:35 ---> 9c6f07244728 17:56:35 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 17:56:35 ---> Running in 3b7c2f137924 17:56:35 Removing intermediate container 3b7c2f137924 17:56:35 ---> 30b5bd46b99a 17:56:35 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 17:56:35 ---> Running in ba85689a1b0c 17:56:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:56:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:56:35 (1/6) Installing dumb-init (1.2.5-r1) 17:56:35 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:56:35 (3/6) Installing libsodium (1.0.18-r0) 17:56:35 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:56:35 (5/6) Installing libzmq (4.3.4-r0) 17:56:35 (6/6) Installing zeromq (4.3.4-r0) 17:56:35 Executing busybox-1.35.0-r17.trigger 17:56:35 OK: 8 MiB in 20 packages 17:56:36 Removing intermediate container ba85689a1b0c 17:56:36 ---> 98fc8b755072 17:56:36 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 17:56:36 ---> ed029ce78353 17:56:36 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 17:56:36 ---> 3018bc16c340 17:56:36 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 17:56:37 ---> 72a08b509e9d 17:56:37 Step 19/24 : EXPOSE 59982 17:56:37 ---> Running in 38e4170179ed 17:56:37 Removing intermediate container 38e4170179ed 17:56:37 ---> fb4424c3278c 17:56:37 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 17:56:37 ---> Running in 6d09708e71da 17:56:37 Removing intermediate container 6d09708e71da 17:56:37 ---> 408f58153cd2 17:56:37 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:56:37 ---> Running in ae19e6e11426 17:56:37 Removing intermediate container ae19e6e11426 17:56:37 ---> bc646e843eb4 17:56:37 Step 22/24 : LABEL arch=amd64 17:56:37 ---> Running in 34aa129061c0 17:56:37 Removing intermediate container 34aa129061c0 17:56:37 ---> 89b4ba3f442e 17:56:37 Step 23/24 : LABEL git_sha=710c47abc55d42dd5ae3d601a36909f53cf8e1a3 17:56:37 ---> Running in 82fab5481d2a 17:56:37 Removing intermediate container 82fab5481d2a 17:56:37 ---> 634ccd0e27e2 17:56:37 Step 24/24 : LABEL version=0.0.0 17:56:37 ---> Running in 5806e20d3d64 17:56:37 Removing intermediate container 5806e20d3d64 17:56:37 ---> f183668ae292 17:56:37 [Warning] One or more build-args [ARCH] were not consumed 17:56:37 Successfully built f183668ae292 17:56:37 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 17:56:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:56:38 17:56:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:56:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:56:38 latest: Pulling from edgex-lftools-log-publisher 17:56:38 5eb5b503b376: Pulling fs layer 17:56:38 5c69ac0246d0: Pulling fs layer 17:56:38 ec43610c2a17: Pulling fs layer 17:56:38 3a2ae6a8a46f: Pulling fs layer 17:56:38 33b1e0a273af: Pulling fs layer 17:56:38 3a2ae6a8a46f: Waiting 17:56:38 5d3b04190fa2: Pulling fs layer 17:56:38 2f39f015ded8: Pulling fs layer 17:56:38 33b1e0a273af: Waiting 17:56:38 2f39f015ded8: Waiting 17:56:38 5c69ac0246d0: Verifying Checksum 17:56:38 5c69ac0246d0: Download complete 17:56:38 3a2ae6a8a46f: Download complete 17:56:39 ec43610c2a17: Verifying Checksum 17:56:39 ec43610c2a17: Download complete 17:56:39 33b1e0a273af: Verifying Checksum 17:56:39 33b1e0a273af: Download complete 17:56:39 5d3b04190fa2: Download complete 17:56:39 5eb5b503b376: Verifying Checksum 17:56:39 5eb5b503b376: Download complete 17:56:39 2f39f015ded8: Download complete 17:56:40 5eb5b503b376: Pull complete 17:56:40 5c69ac0246d0: Pull complete 17:56:40 ec43610c2a17: Pull complete 17:56:40 3a2ae6a8a46f: Pull complete 17:56:41 33b1e0a273af: Pull complete 17:56:41 5d3b04190fa2: Pull complete 17:56:45 2f39f015ded8: Pull complete 17:56:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:56:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:56:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:56:45 prd-ubuntu20.04-docker-8c-8g-118491 does not seem to be running inside a container 17:56:45 $ 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-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:56:47 $ docker top ab00a2055175f05c1cf1bc459a4810bd5c1e8abd91c93afaa39cf1956b775aaf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:56:47 ---> job-cost.sh 17:56:47 lf-activate-venv: SKIPPING 17:56:47 INFO: No Stack... 17:56:47 INFO: Retrieving Pricing Info for: v3-standard-8 17:56:48 INFO: Archiving Costs [Pipeline] sh 17:56:48 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives/cost.csv 17:56:48 + cut -d, -f6 [Pipeline] lock 17:56:48 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-434-6-stack-cost] 17:56:48 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-6-stack-cost] did not exist. Created. 17:56:48 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-434-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:56:48 + echo total: 0.2199999988079071 [Pipeline] stash 17:56:48 Stashed 1 file(s) [Pipeline] } 17:56:48 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-6-stack-cost] [Pipeline] // lock [Pipeline] } 17:56:48 $ docker stop --time=1 ab00a2055175f05c1cf1bc459a4810bd5c1e8abd91c93afaa39cf1956b775aaf 17:56:50 $ docker rm -f ab00a2055175f05c1cf1bc459a4810bd5c1e8abd91c93afaa39cf1956b775aaf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:57:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118493 in /w/workspace/gexfoundry_device-mqtt-go_PR-434 [Pipeline] { [Pipeline] ws 17:57:30 Running in /w/workspace/device-mqtt-go/6 [Pipeline] { [Pipeline] checkout 17:57:30 Selected Git installation does not exist. Using Default 17:57:30 The recommended git tool is: NONE 17:57:35 using credential edgex-jenkins-ssh 17:57:35 Cloning the remote Git repository 17:57:35 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 17:57:35 > git init /w/workspace/device-mqtt-go/6 # timeout=10 17:57:36 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 17:57:36 > git --version # timeout=10 17:57:36 > git --version # 'git version 2.25.1' 17:57:36 using GIT_SSH to set credentials SSH Credentials for GitHub 17:57:36 Verifying host key using known hosts file 17:57:36 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 17:57:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:57:37 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 17:57:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:57:38 Merging remotes/origin/main commit 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 into PR head commit 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 17:57:39 Merge succeeded, producing 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 17:57:39 Checking out Revision 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 (PR-434) 17:57:38 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 17:57:38 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 17:57:38 using GIT_SSH to set credentials SSH Credentials for GitHub 17:57:38 Verifying host key using known hosts file 17:57:38 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 17:57:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/434/head:refs/remotes/origin/PR-434 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:57:39 > git config core.sparsecheckout # timeout=10 17:57:39 > git checkout -f 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 # timeout=10 17:57:39 > git remote # timeout=10 17:57:39 > git config --get remote.origin.url # timeout=10 17:57:39 using GIT_SSH to set credentials SSH Credentials for GitHub 17:57:39 Verifying host key using known hosts file 17:57:39 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 17:57:39 > git merge 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 # timeout=10 17:57:39 > git rev-parse HEAD^{commit} # timeout=10 17:57:39 > git config core.sparsecheckout # timeout=10 17:57:39 > git checkout -f 710c47abc55d42dd5ae3d601a36909f53cf8e1a3 # timeout=10 17:57:39 Commit message: "build(deps): bump github.com/eclipse/paho.mqtt.golang" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:57:40 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:57:40 % Total % Received % Xferd Average Speed Time Time Time Current 17:57:40 Dload Upload Total Spent Left Speed 17:57:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 223k 0 --:--:-- --:--:-- --:--:-- 223k [Pipeline] sh 17:57:41 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:57:41 + sudo tee /etc/docker/daemon.new 17:57:41 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:57:41 { 17:57:41 "registry-mirrors": [ 17:57:41 "https://nexus3.edgexfoundry.org:10001" 17:57:41 ], 17:57:41 "bip": "10.250.0.254/24", 17:57:41 "hosts": [ 17:57:41 "tcp://0.0.0.0:5555", 17:57:41 "unix:///var/run/docker.sock" 17:57:41 ], 17:57:41 "mtu": 1458, 17:57:41 "selinux-enabled": true, 17:57:41 "seccomp-profile": "/etc/docker/seccomp.json" 17:57:41 } [Pipeline] sh 17:57:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:57:42 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:58:00 provisioning config files... 17:58:00 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/6@tmp/config743777908970466228tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:58:00 ---> docker-login.sh 17:58:00 nexus3.edgexfoundry.org:10001 17:58:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:01 Configure a credential helper to remove this warning. See 17:58:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:01 17:58:01 Login Succeeded 17:58:01 nexus3.edgexfoundry.org:10002 17:58:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:01 Configure a credential helper to remove this warning. See 17:58:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:01 17:58:01 Login Succeeded 17:58:01 nexus3.edgexfoundry.org:10003 17:58:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:02 Configure a credential helper to remove this warning. See 17:58:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:02 17:58:02 Login Succeeded 17:58:02 nexus3.edgexfoundry.org:10004 17:58:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:02 Configure a credential helper to remove this warning. See 17:58:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:02 17:58:02 Login Succeeded 17:58:02 docker.io 17:58:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:58:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:58:03 Configure a credential helper to remove this warning. See 17:58:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:58:03 17:58:03 Login Succeeded 17:58:03 ---> docker-login.sh ends [Pipeline] } 17:58:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:58:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:58:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:58:03 ========================================================= 17:58:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:58:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:58:03 + 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 . 17:58:04 Sending build context to Docker daemon 3.223MB 17:58:04 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:58:04 Step 2/12 : FROM ${BASE} AS builder 17:58:04 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:58:04 9b18e9b68314: Pulling fs layer 17:58:04 35d82f9e3411: Pulling fs layer 17:58:04 e16973657156: Pulling fs layer 17:58:04 fc693d55d65f: Pulling fs layer 17:58:04 7e9fc2657dce: Pulling fs layer 17:58:04 dda99020689f: Pulling fs layer 17:58:04 db1c61fa0a46: Pulling fs layer 17:58:04 891c053d2c06: Pulling fs layer 17:58:04 fc693d55d65f: Waiting 17:58:04 7e9fc2657dce: Waiting 17:58:04 db1c61fa0a46: Waiting 17:58:04 dda99020689f: Waiting 17:58:04 891c053d2c06: Waiting 17:58:04 e16973657156: Verifying Checksum 17:58:04 e16973657156: Download complete 17:58:04 35d82f9e3411: Download complete 17:58:04 7e9fc2657dce: Verifying Checksum 17:58:04 7e9fc2657dce: Download complete 17:58:04 dda99020689f: Download complete 17:58:04 9b18e9b68314: Verifying Checksum 17:58:04 9b18e9b68314: Download complete 17:58:05 9b18e9b68314: Pull complete 17:58:05 891c053d2c06: Verifying Checksum 17:58:05 891c053d2c06: Download complete 17:58:07 db1c61fa0a46: Verifying Checksum 17:58:07 db1c61fa0a46: Download complete 17:58:07 35d82f9e3411: Pull complete 17:58:07 e16973657156: Pull complete 17:58:07 fc693d55d65f: Verifying Checksum 17:58:07 fc693d55d65f: Download complete 17:58:19 fc693d55d65f: Pull complete 17:58:19 7e9fc2657dce: Pull complete 17:58:19 dda99020689f: Pull complete 17:58:25 db1c61fa0a46: Pull complete 17:58:27 891c053d2c06: Pull complete 17:58:27 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:58:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:58:27 ---> f96f9c87975a 17:58:27 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:58:29 ---> Running in 0b4fc89deb99 17:58:29 Removing intermediate container 0b4fc89deb99 17:58:29 ---> b813c65563c3 17:58:29 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:58:29 ---> Running in 2ade0c5bf0fb 17:58:30 Removing intermediate container 2ade0c5bf0fb 17:58:30 ---> 587253208627 17:58:30 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:58:30 ---> Running in b9bb99b18f07 17:58:30 Removing intermediate container b9bb99b18f07 17:58:30 ---> df478449b6b9 17:58:30 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:58:30 ---> Running in 9bba08d32f21 17:58:31 Removing intermediate container 9bba08d32f21 17:58:31 ---> 51b989f47c8e 17:58:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:58:31 ---> Running in d482bf03d5b2 17:58:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:58:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:58:33 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:58:33 (2/4) Installing libedit (20210910.3.1-r0) 17:58:33 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:58:33 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:58:33 Executing busybox-1.35.0-r17.trigger 17:58:33 OK: 226 MiB in 55 packages 17:58:34 Removing intermediate container d482bf03d5b2 17:58:34 ---> 90e2c8711dee 17:58:34 Step 8/12 : WORKDIR /device-mqtt-go 17:58:34 ---> Running in c53d217a5086 17:58:35 Removing intermediate container c53d217a5086 17:58:35 ---> b6ee311b8793 17:58:35 Step 9/12 : COPY go.mod vendor* ./ 17:58:35 ---> bffd2bec2570 17:58:35 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:58:35 ---> Running in a26055281264 17:59:32 Removing intermediate container a26055281264 17:59:32 ---> c1dcf06fcc51 17:59:32 Step 11/12 : COPY . . 17:59:32 ---> 9ce46e27073b 17:59:32 Step 12/12 : RUN $MAKE 17:59:32 ---> Running in 947e0b873cf6 17:59:32 noop 17:59:32 Removing intermediate container 947e0b873cf6 17:59:32 ---> e1d2c2952477 17:59:32 Successfully built e1d2c2952477 17:59:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:32 + docker inspect -f . ci-base-image-arm64 17:59:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:59:32 prd-ubuntu20.04-docker-arm64-4c-16g-118493 does not seem to be running inside a container 17:59:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:59:33 $ docker top 99f7421512a35c1d140ea7911fdcad04eacfa71037ed075a06a44a868083ebeb -eo pid,comm [Pipeline] { [Pipeline] sh 17:59:34 + go version 17:59:34 go version go1.18.7 linux/arm64 [Pipeline] } 17:59:34 $ docker stop --time=1 99f7421512a35c1d140ea7911fdcad04eacfa71037ed075a06a44a868083ebeb 17:59:36 $ docker rm -f 99f7421512a35c1d140ea7911fdcad04eacfa71037ed075a06a44a868083ebeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:59:37 + docker inspect -f . ci-base-image-arm64 17:59:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:59:37 prd-ubuntu20.04-docker-arm64-4c-16g-118493 does not seem to be running inside a container 17:59:37 $ 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/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:59:38 $ docker top bcfcbe408219836d5d485e99810be45a1ad8364cde11b5adcd2b318201e26e07 -eo pid,comm [Pipeline] { [Pipeline] sh 17:59:39 + git config --global --add safe.directory /w/workspace/device-mqtt-go/6 [Pipeline] fileExists [Pipeline] sh 17:59:40 + make test 17:59:40 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:59:41 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:01:18 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:01:18 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 21.8% of statements 18:01:18 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:01:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:01:18 GCO_ENABLED=1 GO111MODULE=on go vet ./... 18:01:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:01:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:01:33 ./bin/test-attribution-txt.sh [Pipeline] echo 18:01:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:01:33 $ docker stop --time=1 bcfcbe408219836d5d485e99810be45a1ad8364cde11b5adcd2b318201e26e07 18:01:34 $ docker rm -f bcfcbe408219836d5d485e99810be45a1ad8364cde11b5adcd2b318201e26e07 [Pipeline] // withDockerContainer [Pipeline] sh 18:01:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:01:35 Warning: overwriting stash ‘coverage-report’ 18:01:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:01:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:01:36 + ls -al . 18:01:36 total 192 18:01:36 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 17:59 . 18:01:36 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:57 .. 18:01:36 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 17:57 .dockerignore 18:01:36 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 17:57 .git 18:01:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:57 .github 18:01:36 -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 17:57 .gitignore 18:01:36 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 17:57 .golangci.yml 18:01:36 -rw-rw-r-- 1 jenkins jenkins 9293 Nov 7 17:57 Attribution.txt 18:01:36 -rw-rw-r-- 1 jenkins jenkins 13162 Nov 7 17:57 CHANGELOG.md 18:01:36 -rw-rw-r-- 1 jenkins jenkins 1752 Nov 7 17:57 Dockerfile 18:01:36 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 17:57 GOVERNANCE.md 18:01:36 -rw-rw-r-- 1 jenkins jenkins 678 Nov 7 17:57 Jenkinsfile 18:01:36 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 17:57 LICENSE 18:01:36 -rw-rw-r-- 1 jenkins jenkins 2126 Nov 7 17:57 Makefile 18:01:36 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 17:57 OWNERS.md 18:01:36 -rw-rw-r-- 1 jenkins jenkins 3165 Nov 7 17:57 README.md 18:01:36 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 17:55 VERSION 18:01:36 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:57 bin 18:01:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:57 cmd 18:01:36 -rw-r--r-- 1 jenkins jenkins 17887 Nov 7 18:01 coverage.out 18:01:36 -rw-rw-r-- 1 jenkins jenkins 3470 Nov 7 17:57 go.mod 18:01:36 -rw-rw-r-- 1 jenkins jenkins 45060 Nov 7 17:57 go.sum 18:01:36 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:57 internal 18:01:36 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:57 mock 18:01:36 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:57 snap 18:01:36 -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 17:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:01:37 + 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=710c47abc55d42dd5ae3d601a36909f53cf8e1a3 --label arch=arm64 --label version=0.0.0 . 18:01:37 Sending build context to Docker daemon 3.241MB 18:01:37 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 18:01:37 Step 2/24 : FROM ${BASE} AS builder 18:01:37 ---> e1d2c2952477 18:01:37 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:01:37 ---> Running in 3820a5fb4eca 18:01:38 Removing intermediate container 3820a5fb4eca 18:01:38 ---> ccffdb358488 18:01:38 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:01:38 ---> Running in 88a4b801c705 18:01:38 Removing intermediate container 88a4b801c705 18:01:38 ---> c6220eb76800 18:01:38 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:01:38 ---> Running in 5f1c119b491c 18:01:38 Removing intermediate container 5f1c119b491c 18:01:38 ---> 9dff4dfa4b8d 18:01:38 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:01:38 ---> Running in af33a039e9a3 18:01:39 Removing intermediate container af33a039e9a3 18:01:39 ---> 37cba199df11 18:01:39 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:01:39 ---> Running in 794dba878dbd 18:01:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:01:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:01:41 OK: 226 MiB in 55 packages 18:01:42 Removing intermediate container 794dba878dbd 18:01:42 ---> 3be8b31b535a 18:01:42 Step 8/24 : WORKDIR /device-mqtt-go 18:01:42 ---> Running in 46c09bd3e096 18:01:42 Removing intermediate container 46c09bd3e096 18:01:42 ---> f6b2c91716f8 18:01:42 Step 9/24 : COPY go.mod vendor* ./ 18:01:43 ---> 1404edc63fff 18:01:43 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:01:43 ---> Running in efad58b08785 18:01:45 Removing intermediate container efad58b08785 18:01:45 ---> d2020c78e0b3 18:01:45 Step 11/24 : COPY . . 18:01:46 ---> 543e4c79d71d 18:01:46 Step 12/24 : RUN $MAKE 18:01:46 ---> Running in 1e13392a3bd7 18:01:47 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 18:04:24 Removing intermediate container 1e13392a3bd7 18:04:24 ---> 66222d19f7f5 18:04:24 Step 13/24 : FROM alpine:3.16 18:04:24 3.16: Pulling from library/alpine 18:04:24 9b18e9b68314: Already exists 18:04:24 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:04:24 Status: Downloaded newer image for alpine:3.16 18:04:24 ---> a6215f271958 18:04:24 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:04:24 ---> Running in 7f5c0b2edba3 18:04:24 Removing intermediate container 7f5c0b2edba3 18:04:24 ---> 002ccc7f74d4 18:04:24 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 18:04:24 ---> Running in 6d472ed7b973 18:04:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:04:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:04:25 (1/6) Installing dumb-init (1.2.5-r1) 18:04:25 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:04:25 (3/6) Installing libsodium (1.0.18-r0) 18:04:25 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:04:25 (5/6) Installing libzmq (4.3.4-r0) 18:04:25 (6/6) Installing zeromq (4.3.4-r0) 18:04:25 Executing busybox-1.35.0-r17.trigger 18:04:25 OK: 8 MiB in 20 packages 18:04:26 Removing intermediate container 6d472ed7b973 18:04:26 ---> 672e37628e4c 18:04:26 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:04:27 ---> 5791114f4279 18:04:27 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:04:28 ---> 25d70f1d4621 18:04:28 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:04:28 ---> 322592a4a1cc 18:04:28 Step 19/24 : EXPOSE 59982 18:04:28 ---> Running in 194896d7a571 18:04:28 Removing intermediate container 194896d7a571 18:04:28 ---> e1e6e98961e6 18:04:28 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:04:29 ---> Running in 1b6810513b56 18:04:29 Removing intermediate container 1b6810513b56 18:04:29 ---> 3f952842212b 18:04:29 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:04:29 ---> Running in b20a2df25c9f 18:04:29 Removing intermediate container b20a2df25c9f 18:04:29 ---> a7d86c87cc18 18:04:29 Step 22/24 : LABEL arch=arm64 18:04:29 ---> Running in 20ba8ff20ca5 18:04:30 Removing intermediate container 20ba8ff20ca5 18:04:30 ---> b979763339f6 18:04:30 Step 23/24 : LABEL git_sha=710c47abc55d42dd5ae3d601a36909f53cf8e1a3 18:04:30 ---> Running in bc99607a61b1 18:04:30 Removing intermediate container bc99607a61b1 18:04:30 ---> a4a74e51fb47 18:04:30 Step 24/24 : LABEL version=0.0.0 18:04:30 ---> Running in 1022bb7caedb 18:04:30 Removing intermediate container 1022bb7caedb 18:04:30 ---> 9fff84c3073d 18:04:30 [Warning] One or more build-args [ARCH] were not consumed 18:04:30 Successfully built 9fff84c3073d 18:04:30 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 18:04:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:04:31 18:04:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:04:31 arm64: Pulling from edgex-lftools-log-publisher 18:04:31 8998bd30e6a1: Pulling fs layer 18:04:31 04944245beec: Pulling fs layer 18:04:31 699f458cf7ca: Pulling fs layer 18:04:31 765212b225bb: Pulling fs layer 18:04:31 f23df028b6ca: Pulling fs layer 18:04:31 d65c8cfc05b1: Pulling fs layer 18:04:31 2437ff75d9bd: Pulling fs layer 18:04:31 f23df028b6ca: Waiting 18:04:31 2437ff75d9bd: Waiting 18:04:31 765212b225bb: Waiting 18:04:31 d65c8cfc05b1: Waiting 18:04:31 04944245beec: Verifying Checksum 18:04:31 04944245beec: Download complete 18:04:31 765212b225bb: Verifying Checksum 18:04:31 765212b225bb: Download complete 18:04:31 f23df028b6ca: Verifying Checksum 18:04:31 f23df028b6ca: Download complete 18:04:31 d65c8cfc05b1: Verifying Checksum 18:04:31 d65c8cfc05b1: Download complete 18:04:31 699f458cf7ca: Verifying Checksum 18:04:31 699f458cf7ca: Download complete 18:04:32 8998bd30e6a1: Verifying Checksum 18:04:32 8998bd30e6a1: Download complete 18:04:35 2437ff75d9bd: Verifying Checksum 18:04:35 2437ff75d9bd: Download complete 18:04:36 8998bd30e6a1: Pull complete 18:04:36 04944245beec: Pull complete 18:04:38 699f458cf7ca: Pull complete 18:04:38 765212b225bb: Pull complete 18:04:39 f23df028b6ca: Pull complete 18:04:39 d65c8cfc05b1: Pull complete 18:04:54 2437ff75d9bd: Pull complete 18:04:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:04:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:04:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:55 prd-ubuntu20.04-docker-arm64-4c-16g-118493 does not seem to be running inside a container 18:04:55 $ 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/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:04:57 $ docker top 458ee32e4343afa3e7da03fc859a481674340cf1f0b09062489945b9a13d2a07 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:57 ---> job-cost.sh 18:04:58 lf-activate-venv: SKIPPING 18:04:58 INFO: No Stack... 18:04:58 INFO: Retrieving Pricing Info for: v3-standard-4 18:04:59 INFO: Archiving Costs [Pipeline] sh 18:04:59 + cat /w/workspace/device-mqtt-go/6/archives/cost.csv+ 18:04:59 cut -d, -f6 [Pipeline] lock 18:05:00 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-434-6-stack-cost] 18:05:00 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-6-stack-cost] did not exist. Created. 18:05:00 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-434-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:05:00 /w/workspace/device-mqtt-go/6@tmp/durable-29232895/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:05:00 + echo total: 0.10999999940395355 [Pipeline] stash 18:05:00 Warning: overwriting stash ‘stack-cost’ 18:05:00 Stashed 1 file(s) [Pipeline] } 18:05:00 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-434-6-stack-cost] [Pipeline] // lock [Pipeline] } 18:05:00 $ docker stop --time=1 458ee32e4343afa3e7da03fc859a481674340cf1f0b09062489945b9a13d2a07 18:05:02 $ docker rm -f 458ee32e4343afa3e7da03fc859a481674340cf1f0b09062489945b9a13d2a07 [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 18:05:02 provisioning config files... 18:05:02 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config364152430054811295tmp [Pipeline] { [Pipeline] sh 18:05:03 + set +x 18:05:03 + bash -s -- 18:05:03 + curl -s https://codecov.io/bash 18:05:03 18:05:03 _____ _ 18:05:03 / ____| | | 18:05:03 | | ___ __| | ___ ___ _____ __ 18:05:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:05:03 | |___| (_) | (_| | __/ (_| (_) \ V / 18:05:03 \_____\___/ \__,_|\___|\___\___/ \_/ 18:05:03 Bash-1.0.6 18:05:03 18:05:03 18:05:03 ==> git version 2.25.1 found 18:05:03 ==> 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 18:05:03 Release-Date: 2020-01-08 18:05:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:05:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:05:03 ==> Jenkins CI detected. 18:05:03 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-434 18:05:03 project root: . 18:05:03 --> token set from env 18:05:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:05:03 ==> Running gcov in . (disable via -X gcov) 18:05:03 ==> Python coveragepy not found 18:05:03 ==> Searching for coverage reports in: 18:05:03 + . 18:05:03 -> Found 1 reports 18:05:03 ==> Detecting git/mercurial file structure 18:05:03 ==> Reading reports 18:05:03 + ./coverage.out bytes=17887 18:05:03 ==> Appending adjustments 18:05:03 https://docs.codecov.io/docs/fixing-reports 18:05:03 + Found adjustments 18:05:03 ==> Gzipping contents 18:05:03 4.0K /tmp/codecov.539oAg.gz 18:05:03 ==> Uploading reports 18:05:03 url: https://codecov.io 18:05:03 query: branch=PR-434&commit=710c47abc55d42dd5ae3d601a36909f53cf8e1a3&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-434%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=434&job=&cmd_args= 18:05:03 -> Pinging Codecov 18:05:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-434&commit=710c47abc55d42dd5ae3d601a36909f53cf8e1a3&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-434%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=434&job=&cmd_args= 18:05:03 -> Uploading to 18:05:03 https://storage.googleapis.com/codecov/v4/raw/2022-11-07/7D719EC7BBE17E464838252E33014C33/710c47abc55d42dd5ae3d601a36909f53cf8e1a3/6a4a4b84-2b73-4131-9c38-7691db70d5cc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T180503Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=23d55f8bc1996ac74c3111335319d4ed0282142de7a45d4eb0d0e6394c620505 18:05:03 % Total % Received % Xferd Average Speed Time Time Time Current 18:05:03 Dload Upload Total Spent Left Speed 18:05:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 15389 --:--:-- --:--:-- --:--:-- 15389 18:05:03 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/710c47abc55d42dd5ae3d601a36909f53cf8e1a3 [Pipeline] } 18:05:03 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 18:05:04 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives ] 18:05:04 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives 18:05:04 total 16 18:05:04 drwxr-xr-x 3 root root 4096 Nov 7 17:56 . 18:05:04 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 17:56 .. 18:05:04 drwxr-xr-x 2 root root 4096 Nov 7 17:56 cost 18:05:04 -rw-r--r-- 1 root root 86 Nov 7 17:56 cost.csv 18:05:04 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives 18:05:04 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives 18:05:04 total 16 18:05:04 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 17:56 . 18:05:04 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 17:56 .. 18:05:04 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 17:56 cost 18:05:04 -rw-r--r-- 1 jenkins jenkins 86 Nov 7 17:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:05:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:05:05 ---> package-listing.sh 18:05:05 ++ facter osfamily 18:05:05 ++ tr '[:upper:]' '[:lower:]' 18:05:05 + OS_FAMILY=debian 18:05:05 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-434 18:05:05 + START_PACKAGES=/tmp/packages_start.txt 18:05:05 + END_PACKAGES=/tmp/packages_end.txt 18:05:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:05:05 + PACKAGES=/tmp/packages_start.txt 18:05:05 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-434 ']' 18:05:05 + PACKAGES=/tmp/packages_end.txt 18:05:05 + case "${OS_FAMILY}" in 18:05:05 + dpkg -l 18:05:05 + grep '^ii' 18:05:05 + '[' -f /tmp/packages_start.txt ']' 18:05:05 + '[' -f /tmp/packages_end.txt ']' 18:05:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:05:05 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-434 ']' 18:05:05 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives/ 18:05:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-434/archives/ [Pipeline] echo 18:05:05 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-434/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:05:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:05:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:06 prd-ubuntu20.04-docker-8c-8g-118491 does not seem to be running inside a container 18:05:06 $ 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-434/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-434 -v /w/workspace/gexfoundry_device-mqtt-go_PR-434:/w/workspace/gexfoundry_device-mqtt-go_PR-434:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:05:07 $ docker top a5d177d457dfd4931ad3d36ce36de2fbe3c956a9f68177267a6a1c81f00da1d4 -eo pid,comm [Pipeline] { [Pipeline] sh 18:05:07 + touch /tmp/pre-build-complete [Pipeline] sh 18:05:07 + mkdir -p /var/log/sysstat [Pipeline] sh 18:05:07 + ls /var/log/sa-host 18:05:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:05:08 provisioning config files... 18:05:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-434@tmp/config1041919874371141750tmp [Pipeline] { [Pipeline] echo 18:05:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:05:08 ---> create-netrc.sh [Pipeline] } 18:05:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:05:08 ---> python-tools-install.sh [Pipeline] echo 18:05:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:05:09 ---> sudo-logs.sh 18:05:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:05:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:05:09 ---> job-cost.sh 18:05:09 lf-activate-venv: SKIPPING 18:05:09 DEBUG: total: 0.2199999988079071 18:05:09 INFO: Retrieving Stack Cost... 18:05:09 INFO: Retrieving Pricing Info for: v3-standard-8 18:05:10 INFO: Archiving Costs [Pipeline] echo 18:05:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:05:10 ---> logs-deploy.sh 18:05:10 lf-activate-venv: SKIPPING 18:05:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-434/6 18:05:10 INFO: archiving workspace using pattern(s): 18:05:11 Archives upload complete. 18:05:11 INFO: archiving logs to Nexus 18:05:12 ---> uname -a: 18:05:12 Linux prd-ubuntu20-04-docker-8c-8g-118491 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:05:12 18:05:12 18:05:12 ---> lscpu: 18:05:12 Architecture: x86_64 18:05:12 CPU op-mode(s): 32-bit, 64-bit 18:05:12 Byte Order: Little Endian 18:05:12 Address sizes: 40 bits physical, 48 bits virtual 18:05:12 CPU(s): 8 18:05:12 On-line CPU(s) list: 0-7 18:05:12 Thread(s) per core: 1 18:05:12 Core(s) per socket: 1 18:05:12 Socket(s): 8 18:05:12 NUMA node(s): 1 18:05:12 Vendor ID: AuthenticAMD 18:05:12 CPU family: 23 18:05:12 Model: 49 18:05:12 Model name: AMD EPYC-Rome Processor 18:05:12 Stepping: 0 18:05:12 CPU MHz: 2799.998 18:05:12 BogoMIPS: 5599.99 18:05:12 Virtualization: AMD-V 18:05:12 Hypervisor vendor: KVM 18:05:12 Virtualization type: full 18:05:12 L1d cache: 256 KiB 18:05:12 L1i cache: 256 KiB 18:05:12 L2 cache: 4 MiB 18:05:12 L3 cache: 128 MiB 18:05:12 NUMA node0 CPU(s): 0-7 18:05:12 Vulnerability Itlb multihit: Not affected 18:05:12 Vulnerability L1tf: Not affected 18:05:12 Vulnerability Mds: Not affected 18:05:12 Vulnerability Meltdown: Not affected 18:05:12 Vulnerability Mmio stale data: Not affected 18:05:12 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:05:12 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:05:12 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:05:12 Vulnerability Srbds: Not affected 18:05:12 Vulnerability Tsx async abort: Not affected 18:05:12 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 18:05:12 18:05:12 18:05:12 ---> nproc: 18:05:12 8 18:05:12 18:05:12 18:05:12 ---> df -h: 18:05:12 Filesystem Size Used Avail Use% Mounted on 18:05:12 overlay 155G 12G 144G 8% / 18:05:12 tmpfs 64M 0 64M 0% /dev 18:05:12 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:05:12 shm 64M 0 64M 0% /dev/shm 18:05:12 /dev/vda1 155G 12G 144G 8% /facter-os 18:05:12 18:05:12 18:05:12 ---> sar -b -r -n DEV: 18:05:12 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-118491) 11/07/22 _x86_64_ (8 CPU) 18:05:12 18:05:12 17:54:16 LINUX RESTART (8 CPU) 18:05:12 18:05:12 17:55:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:05:12 17:56:01 196.32 5.07 191.26 0.00 463.30 90941.78 0.00 18:05:12 17:57:01 172.04 0.22 171.83 0.00 18.53 60504.50 0.00 18:05:12 17:58:01 4.38 0.00 4.38 0.00 0.00 20984.92 0.00 18:05:12 17:59:01 4.07 0.00 4.07 0.00 0.00 20977.41 0.00 18:05:12 18:00:01 41.98 9.35 32.63 0.00 2885.25 25894.22 0.00 18:05:12 18:01:01 4.50 0.00 4.50 0.00 0.00 20980.61 0.00 18:05:12 18:02:01 2.25 0.00 2.25 0.00 0.00 9150.74 0.00 18:05:12 18:03:01 1.70 0.00 1.70 0.00 0.00 18.13 0.00 18:05:12 18:04:01 1.03 0.00 1.03 0.00 0.00 11.60 0.00 18:05:12 18:05:01 3.07 0.00 3.07 0.00 0.00 47.85 0.00 18:05:12 Average: 42.88 1.46 41.42 0.00 336.47 24841.77 0.00 18:05:12 18:05:12 17:55:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:05:12 17:56:01 27970092 31160448 1145596 3.48 138588 3237840 2292268 6.76 1570808 2877404 131976 18:05:12 17:57:01 27767828 31565636 739712 2.25 151296 3794680 1751564 5.16 1224468 3389672 348 18:05:12 17:58:01 27768368 31566264 738764 2.25 151356 3794684 1751564 5.16 1225060 3389680 168 18:05:12 17:59:01 27773628 31571788 733364 2.23 151416 3794688 1751564 5.16 1219192 3389852 168 18:05:12 18:00:01 27488984 31556088 729516 2.22 169788 4043480 1795304 5.29 1373036 3497148 60 18:05:12 18:01:01 27490912 31558184 727184 2.21 169868 4043480 1795304 5.29 1371508 3497148 160 18:05:12 18:02:01 27497708 31565108 720304 2.19 169928 4043484 1795304 5.29 1364720 3497212 168 18:05:12 18:03:01 27497628 31565056 720292 2.19 169952 4043488 1795304 5.29 1364552 3497212 156 18:05:12 18:04:01 27497804 31565276 720208 2.19 169988 4043492 1795304 5.29 1364912 3497220 176 18:05:12 18:05:01 27496752 31564564 720948 2.19 170104 4043496 1778408 5.24 1364944 3497396 16 18:05:12 Average: 27624970 31523841 769589 2.34 161228 3888281 1830189 5.39 1344320 3402994 13340 18:05:12 18:05:12 17:55:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:05:12 17:56:01 docker0 162.20 216.47 13.32 1858.47 0.00 0.00 0.00 0.00 18:05:12 17:56:01 lo 2.85 2.85 0.28 0.28 0.00 0.00 0.00 0.00 18:05:12 17:56:01 veth49aaff5 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 18:05:12 17:56:01 ens3 412.54 281.51 5972.04 44.51 0.00 0.00 0.00 0.00 18:05:12 17:57:01 docker0 4.27 8.90 0.27 98.54 0.00 0.00 0.00 0.00 18:05:12 17:57:01 lo 2.07 2.07 0.20 0.20 0.00 0.00 0.00 0.00 18:05:12 17:57:01 ens3 137.74 94.85 2638.73 98.30 0.00 0.00 0.00 0.00 18:05:12 17:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:05:12 17:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:05:12 17:58:01 ens3 0.43 0.23 0.25 0.20 0.00 0.00 0.00 0.00 18:05:12 17:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:05:12 17:59:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:05:12 17:59:01 ens3 0.17 0.13 0.01 0.01 0.00 0.00 0.00 0.00 18:05:12 18:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:05:12 18:00:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 18:05:12 18:00:01 ens3 81.65 46.36 1325.78 3.48 0.00 0.00 0.00 0.00 18:05:12 18:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:05:12 18:01:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:05:12 18:01:01 ens3 0.18 0.15 0.01 0.01 0.00 0.00 0.00 0.00 18:05:12 18:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:05:12 18:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:05:12 18:02:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:05:12 18:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:05:12 18:03:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:05:12 18:03:01 ens3 0.15 0.13 0.01 0.01 0.00 0.00 0.00 0.00 18:05:12 18:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:05:12 18:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:05:12 18:04:01 ens3 0.42 0.00 0.04 0.00 0.00 0.00 0.00 0.00 18:05:12 18:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:05:12 18:05:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 18:05:12 18:05:01 ens3 1.05 0.93 0.70 0.39 0.00 0.00 0.00 0.00 18:05:12 Average: docker0 16.40 22.21 1.34 192.94 0.00 0.00 0.00 0.00 18:05:12 Average: lo 0.61 0.61 0.06 0.06 0.00 0.00 0.00 0.00 18:05:12 Average: ens3 62.86 42.03 985.49 14.64 0.00 0.00 0.00 0.00 18:05:12 18:05:12 18:05:12 ---> sar -P ALL: 18:05:12 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-118491) 11/07/22 _x86_64_ (8 CPU) 18:05:12 18:05:12 17:54:16 LINUX RESTART (8 CPU) 18:05:12 18:05:12 17:55:02 CPU %user %nice %system %iowait %steal %idle 18:05:12 17:56:01 all 28.19 0.00 7.07 1.21 0.09 63.44 18:05:12 17:56:01 0 28.21 0.00 7.45 0.17 0.10 64.06 18:05:12 17:56:01 1 27.99 0.00 6.41 0.43 0.10 65.07 18:05:12 17:56:01 2 28.39 0.00 6.95 0.76 0.09 63.82 18:05:12 17:56:01 3 28.10 0.00 6.59 0.14 0.12 65.05 18:05:12 17:56:01 4 28.02 0.00 7.02 0.34 0.09 64.53 18:05:12 17:56:01 5 27.23 0.00 7.20 1.54 0.09 63.95 18:05:12 17:56:01 6 26.84 0.00 6.31 0.55 0.07 66.23 18:05:12 17:56:01 7 30.77 0.00 8.65 5.77 0.10 54.70 18:05:12 17:57:01 all 24.43 0.00 5.60 0.85 0.07 69.05 18:05:12 17:57:01 0 22.72 0.00 5.93 0.05 0.07 71.24 18:05:12 17:57:01 1 23.26 0.00 5.90 2.18 0.07 68.59 18:05:12 17:57:01 2 23.96 0.00 5.81 0.59 0.07 69.57 18:05:12 17:57:01 3 24.44 0.00 5.57 0.07 0.07 69.85 18:05:12 17:57:01 4 25.99 0.00 5.25 0.86 0.10 67.80 18:05:12 17:57:01 5 25.59 0.00 5.15 0.02 0.07 69.18 18:05:12 17:57:01 6 25.25 0.00 5.06 1.28 0.08 68.32 18:05:12 17:57:01 7 24.26 0.00 6.09 1.72 0.07 67.86 18:05:12 17:58:01 all 0.02 0.00 0.01 0.01 0.01 99.95 18:05:12 17:58:01 0 0.00 0.00 0.02 0.00 0.00 99.98 18:05:12 17:58:01 1 0.02 0.00 0.00 0.05 0.02 99.92 18:05:12 17:58:01 2 0.02 0.00 0.02 0.03 0.02 99.92 18:05:12 17:58:01 3 0.07 0.00 0.02 0.00 0.03 99.88 18:05:12 17:58:01 4 0.00 0.00 0.02 0.00 0.00 99.98 18:05:12 17:58:01 5 0.00 0.00 0.02 0.00 0.00 99.98 18:05:12 17:58:01 6 0.00 0.00 0.00 0.00 0.00 100.00 18:05:12 17:58:01 7 0.07 0.00 0.00 0.00 0.02 99.92 18:05:12 17:59:01 all 0.04 0.00 0.01 0.01 0.00 99.94 18:05:12 17:59:01 0 0.05 0.00 0.00 0.00 0.02 99.93 18:05:12 17:59:01 1 0.02 0.00 0.00 0.05 0.00 99.93 18:05:12 17:59:01 2 0.03 0.00 0.00 0.05 0.00 99.92 18:05:12 17:59:01 3 0.08 0.00 0.00 0.00 0.00 99.92 18:05:12 17:59:01 4 0.03 0.00 0.03 0.00 0.00 99.93 18:05:12 17:59:01 5 0.02 0.00 0.00 0.00 0.02 99.97 18:05:12 17:59:01 6 0.05 0.00 0.02 0.00 0.00 99.93 18:05:12 17:59:01 7 0.03 0.00 0.02 0.00 0.00 99.95 18:05:12 18:00:01 all 1.15 0.00 0.81 0.28 0.01 97.75 18:05:12 18:00:01 0 1.42 0.00 0.85 0.03 0.00 97.70 18:05:12 18:00:01 1 1.04 0.00 0.45 0.62 0.02 97.87 18:05:12 18:00:01 2 1.50 0.00 2.57 0.58 0.02 95.33 18:05:12 18:00:01 3 1.62 0.00 0.52 0.05 0.03 97.78 18:05:12 18:00:01 4 0.97 0.00 0.47 0.05 0.00 98.52 18:05:12 18:00:01 5 1.35 0.00 0.67 0.28 0.02 97.68 18:05:12 18:00:01 6 0.67 0.00 0.42 0.40 0.00 98.51 18:05:12 18:00:01 7 0.67 0.00 0.54 0.18 0.02 98.59 18:05:12 18:01:01 all 0.02 0.00 0.02 0.01 0.01 99.94 18:05:12 18:01:01 0 0.02 0.00 0.03 0.00 0.02 99.93 18:05:12 18:01:01 1 0.02 0.00 0.02 0.00 0.00 99.97 18:05:12 18:01:01 2 0.00 0.00 0.02 0.00 0.00 99.98 18:05:12 18:01:01 3 0.05 0.00 0.00 0.00 0.00 99.95 18:05:12 18:01:01 4 0.03 0.00 0.02 0.00 0.02 99.93 18:05:12 18:01:01 5 0.02 0.00 0.03 0.05 0.03 99.87 18:05:12 18:01:01 6 0.02 0.00 0.02 0.03 0.00 99.93 18:05:12 18:01:01 7 0.03 0.00 0.02 0.00 0.02 99.93 18:05:12 18:02:01 all 0.01 0.00 0.01 0.01 0.01 99.96 18:05:12 18:02:01 0 0.02 0.00 0.02 0.00 0.00 99.97 18:05:12 18:02:01 1 0.00 0.00 0.00 0.00 0.02 99.98 18:05:12 18:02:01 2 0.02 0.00 0.00 0.00 0.00 99.98 18:05:12 18:02:01 3 0.02 0.00 0.00 0.00 0.02 99.97 18:05:12 18:02:01 4 0.02 0.00 0.03 0.00 0.00 99.95 18:05:12 18:02:01 5 0.03 0.00 0.03 0.02 0.02 99.90 18:05:12 18:02:01 6 0.02 0.00 0.00 0.03 0.02 99.93 18:05:12 18:02:01 7 0.00 0.00 0.00 0.00 0.00 100.00 18:05:12 18:03:01 all 0.01 0.00 0.02 0.01 0.00 99.96 18:05:12 18:03:01 0 0.02 0.00 0.00 0.00 0.00 99.98 18:05:12 18:03:01 1 0.00 0.00 0.02 0.00 0.00 99.98 18:05:12 18:03:01 2 0.00 0.00 0.00 0.00 0.00 100.00 18:05:12 18:03:01 3 0.02 0.00 0.03 0.00 0.00 99.95 18:05:12 18:03:01 4 0.02 0.00 0.02 0.08 0.00 99.88 18:05:12 18:03:01 5 0.00 0.00 0.03 0.00 0.00 99.97 18:05:12 18:03:01 6 0.00 0.00 0.02 0.00 0.00 99.98 18:05:12 18:03:01 7 0.03 0.00 0.02 0.00 0.00 99.95 18:05:12 18:04:01 all 0.03 0.00 0.01 0.00 0.01 99.95 18:05:12 18:04:01 0 0.02 0.00 0.02 0.00 0.00 99.97 18:05:12 18:04:01 1 0.05 0.00 0.00 0.00 0.02 99.93 18:05:12 18:04:01 2 0.02 0.00 0.00 0.00 0.00 99.98 18:05:12 18:04:01 3 0.08 0.00 0.00 0.00 0.00 99.92 18:05:12 18:04:01 4 0.03 0.00 0.02 0.02 0.02 99.92 18:05:12 18:04:01 5 0.02 0.00 0.00 0.00 0.02 99.97 18:05:12 18:04:01 6 0.00 0.00 0.00 0.02 0.00 99.98 18:05:12 18:04:01 7 0.02 0.00 0.02 0.00 0.00 99.97 18:05:12 18:05:01 all 0.06 0.00 0.03 0.01 0.01 99.90 18:05:12 18:05:01 0 0.00 0.00 0.00 0.00 0.00 100.00 18:05:12 18:05:01 1 0.18 0.00 0.02 0.00 0.00 99.80 18:05:12 18:05:01 2 0.00 0.00 0.03 0.00 0.02 99.95 18:05:12 18:05:01 3 0.07 0.00 0.02 0.00 0.02 99.90 18:05:12 18:05:01 4 0.03 0.00 0.05 0.00 0.00 99.92 18:05:12 18:05:01 5 0.05 0.00 0.05 0.00 0.00 99.90 18:05:12 18:05:01 6 0.02 0.00 0.03 0.07 0.00 99.88 18:05:12 18:05:01 7 0.15 0.00 0.00 0.00 0.02 99.83 18:05:12 Average: all 5.30 0.00 1.33 0.24 0.02 93.10 18:05:12 Average: 0 5.16 0.00 1.41 0.03 0.02 93.39 18:05:12 Average: 1 5.19 0.00 1.26 0.33 0.02 93.20 18:05:12 Average: 2 5.30 0.00 1.52 0.20 0.02 92.97 18:05:12 Average: 3 5.36 0.00 1.25 0.03 0.03 93.33 18:05:12 Average: 4 5.41 0.00 1.27 0.13 0.02 93.16 18:05:12 Average: 5 5.33 0.00 1.29 0.19 0.03 93.16 18:05:12 Average: 6 5.20 0.00 1.17 0.24 0.02 93.38 18:05:12 Average: 7 5.48 0.00 1.50 0.75 0.02 92.24 18:05:12 18:05:12 18:05:12