Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fa87d88a994f5fe2e81ddf427b8127062ba1e917+9ee6b9239046894cb89ff0f0b410cd21a3bbb457 (b9c8ee7f7c46819011d93097cc07b37e459cbbc5) 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-ssh11462330754892094448.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-ssh9143556374057274883.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-429/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-429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6353723297697353768.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-ssh7085731927375754253.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-429/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-429/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11177881686936030847.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-118498 in /w/workspace/gexfoundry_device-mqtt-go_PR-429 [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-429 # 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/429/head:refs/remotes/origin/PR-429 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 Merge succeeded, producing 1e90b1c583ac841122016e49627b7c67bdccd677 Checking out Revision 1e90b1c583ac841122016e49627b7c67bdccd677 (PR-429) > git config core.sparsecheckout # timeout=10 > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # 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 1e90b1c583ac841122016e49627b7c67bdccd677 # timeout=10 Commit message: "Merge commit '9ee6b9239046894cb89ff0f0b410cd21a3bbb457' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk d692d045062a2385482fa742ae9df406de0babbb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:17:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:17:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:17:25 ========================================================= 19:17:25 EdgeX Global Pipelines Version Info 19:17:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:17:26 ------------------- 19:17:26 stable info: 19:17:26 ------------------- 19:17:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:17:26 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 19:17:26 Message: update stable to v1.0.244 19:17:27 ------------------- 19:17:27 experimental info: 19:17:27 ------------------- 19:17:27 Commited By: **** collab-it+edgex@linuxfoundation.org 19:17:27 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 19:17:27 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-429 [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-429 [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-429 [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e90b1c583ac841122016e49627b7c67bdccd677 [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e90b1c [Pipeline] echo 19:17:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:17:27 provisioning config files... 19:17:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config16412588880443994165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:17:28 ---> docker-login.sh 19:17:28 nexus3.edgexfoundry.org:10001 19:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:28 Configure a credential helper to remove this warning. See 19:17:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:28 19:17:28 Login Succeeded 19:17:28 nexus3.edgexfoundry.org:10002 19:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:28 Configure a credential helper to remove this warning. See 19:17:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:28 19:17:28 Login Succeeded 19:17:28 nexus3.edgexfoundry.org:10003 19:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:28 Configure a credential helper to remove this warning. See 19:17:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:28 19:17:28 Login Succeeded 19:17:28 nexus3.edgexfoundry.org:10004 19:17:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:29 Configure a credential helper to remove this warning. See 19:17:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:29 19:17:29 Login Succeeded 19:17:29 docker.io 19:17:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:29 Configure a credential helper to remove this warning. See 19:17:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:29 19:17:29 Login Succeeded 19:17:29 ---> docker-login.sh ends [Pipeline] } 19:17:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:17:29 + git rev-list -1 --merges 1e90b1c583ac841122016e49627b7c67bdccd677~1..1e90b1c583ac841122016e49627b7c67bdccd677 [Pipeline] echo 19:17:29 -----------> git rev-list -1 --merges 1e90b1c583ac841122016e49627b7c67bdccd677~1..1e90b1c583ac841122016e49627b7c67bdccd677 1e90b1c583ac841122016e49627b7c67bdccd677 19:17:29 1e90b1c583ac841122016e49627b7c67bdccd677 [false] [Pipeline] sh 19:17:30 + git log --format=format:%s -1 1e90b1c583ac841122016e49627b7c67bdccd677 [Pipeline] echo 19:17:30 ========================================================= 19:17:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:17:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:17:30 + git log --format=format:%s -1 1e90b1c583ac841122016e49627b7c67bdccd677 [Pipeline] echo 19:17:30 [semverPrep] GIT_COMMIT: 1e90b1c583ac841122016e49627b7c67bdccd677, Commit Message: Merge commit '9ee6b9239046894cb89ff0f0b410cd21a3bbb457' into HEAD [Pipeline] echo 19:17:30 [semverPrep] This is not a build commit. [Pipeline] sh 19:17:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:17:30 + grep -v github /etc/ssh/ssh_known_hosts 19:17:30 + [ -e /tmp/ssh_known_hosts ] 19:17:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:17:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:17:30 + sudo tee -a /etc/ssh/ssh_known_hosts 19:17:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:17:31 19:17:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:17:31 0.1.4: Pulling from edgex-devops/py-git-semver 19:17:31 b85a868b505f: Pulling fs layer 19:17:31 e2be974225ed: Pulling fs layer 19:17:31 339a4e72a1f5: Pulling fs layer 19:17:31 988bab9f4d93: Pulling fs layer 19:17:31 1469e6f7b9e6: Pulling fs layer 19:17:31 eaf3925da568: Pulling fs layer 19:17:31 bab4dde63d76: Pulling fs layer 19:17:31 bde34c3a00c8: Pulling fs layer 19:17:31 b352a97aabf1: Pulling fs layer 19:17:31 4872d77fe225: Pulling fs layer 19:17:31 5851b861e8e6: Pulling fs layer 19:17:31 988bab9f4d93: Waiting 19:17:31 1469e6f7b9e6: Waiting 19:17:31 eaf3925da568: Waiting 19:17:31 bab4dde63d76: Waiting 19:17:31 bde34c3a00c8: Waiting 19:17:31 b352a97aabf1: Waiting 19:17:31 4872d77fe225: Waiting 19:17:31 5851b861e8e6: Waiting 19:17:31 e2be974225ed: Verifying Checksum 19:17:31 e2be974225ed: Download complete 19:17:31 988bab9f4d93: Verifying Checksum 19:17:31 988bab9f4d93: Download complete 19:17:31 1469e6f7b9e6: Verifying Checksum 19:17:31 1469e6f7b9e6: Download complete 19:17:31 eaf3925da568: Verifying Checksum 19:17:31 eaf3925da568: Download complete 19:17:31 339a4e72a1f5: Verifying Checksum 19:17:31 339a4e72a1f5: Download complete 19:17:31 bde34c3a00c8: Download complete 19:17:31 b352a97aabf1: Verifying Checksum 19:17:31 b352a97aabf1: Download complete 19:17:31 4872d77fe225: Verifying Checksum 19:17:31 4872d77fe225: Download complete 19:17:31 5851b861e8e6: Verifying Checksum 19:17:31 5851b861e8e6: Download complete 19:17:31 b85a868b505f: Verifying Checksum 19:17:31 b85a868b505f: Download complete 19:17:32 bab4dde63d76: Verifying Checksum 19:17:32 bab4dde63d76: Download complete 19:17:33 b85a868b505f: Pull complete 19:17:33 e2be974225ed: Pull complete 19:17:33 339a4e72a1f5: Pull complete 19:17:33 988bab9f4d93: Pull complete 19:17:33 1469e6f7b9e6: Pull complete 19:17:33 eaf3925da568: Pull complete 19:17:35 bab4dde63d76: Pull complete 19:17:35 bde34c3a00c8: Pull complete 19:17:35 b352a97aabf1: Pull complete 19:17:35 4872d77fe225: Pull complete 19:17:35 5851b861e8e6: Pull complete 19:17:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:17:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:17:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:17:35 prd-ubuntu20.04-docker-8c-8g-118498 does not seem to be running inside a container 19:17:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:17:37 $ docker top b51d2b51bd99c85981a800de3823f73f5096addf81a0392028be1751960e2b8c -eo pid,comm 19:17:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 19:17:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:17:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:17:37 [ssh-agent] Looking for ssh-agent implementation... 19:17:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:17:37 $ docker exec b51d2b51bd99c85981a800de3823f73f5096addf81a0392028be1751960e2b8c ssh-agent 19:17:37 SSH_AUTH_SOCK=/tmp/ssh-iuXV5O2emSm3/agent.33 19:17:37 SSH_AGENT_PID=40 19:17:37 Running ssh-add (command line suppressed) 19:17:37 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_8195509269453134999.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_8195509269453134999.key) 19:17:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:17:37 + git tag --points-at HEAD [Pipeline] } 19:17:37 $ docker exec --env ******** --env ******** b51d2b51bd99c85981a800de3823f73f5096addf81a0392028be1751960e2b8c ssh-agent -k 19:17:38 unset SSH_AUTH_SOCK; 19:17:38 unset SSH_AGENT_PID; 19:17:38 echo Agent pid 40 killed; 19:17:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:17:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:17:38 [ssh-agent] Looking for ssh-agent implementation... 19:17:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:17:38 $ docker exec b51d2b51bd99c85981a800de3823f73f5096addf81a0392028be1751960e2b8c ssh-agent 19:17:38 SSH_AUTH_SOCK=/tmp/ssh-0EGzWRMfi7ZU/agent.72 19:17:38 SSH_AGENT_PID=78 19:17:38 Running ssh-add (command line suppressed) 19:17:38 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_10424351683550488943.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_10424351683550488943.key) 19:17:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:17:38 + git semver init 19:17:38 2022-11-07 19:17:38,908 [run_init] DEBUG init version:0.0.0 force:False 19:17:38 2022-11-07 19:17:38,910 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver 19:17:38 2022-11-07 19:17:38,910 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver 19:17:38 2022-11-07 19:17:38,910 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429, universal_newlines=False, shell=None, istream=None) 19:17:39 2022-11-07 19:17:39,807 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.git/info/exclude 19:17:39 2022-11-07 19:17:39,808 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 with force:False 19:17:39 2022-11-07 19:17:39,808 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 19:17:39 2022-11-07 19:17:39,813 [execute] INFO git cat-file --batch-check 19:17:39 2022-11-07 19:17:39,813 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver, universal_newlines=False, shell=None, istream=) 19:17:39 2022-11-07 19:17:39,819 [execute] INFO git cat-file --batch 19:17:39 2022-11-07 19:17:39,819 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver, universal_newlines=False, shell=None, istream=) 19:17:39 2022-11-07 19:17:39,825 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 19:17:39 0.0.0 [Pipeline] } 19:17:39 $ docker exec --env ******** --env ******** b51d2b51bd99c85981a800de3823f73f5096addf81a0392028be1751960e2b8c ssh-agent -k 19:17:40 unset SSH_AUTH_SOCK; 19:17:40 unset SSH_AGENT_PID; 19:17:40 echo Agent pid 78 killed; 19:17:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:17:40 + git semver [Pipeline] } 19:17:40 $ docker stop --time=1 b51d2b51bd99c85981a800de3823f73f5096addf81a0392028be1751960e2b8c 19:17:41 $ docker rm -f b51d2b51bd99c85981a800de3823f73f5096addf81a0392028be1751960e2b8c [Pipeline] // withDockerContainer [Pipeline] sh 19:17:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:17:42 Stashed 1 file(s) [Pipeline] echo 19:17:42 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:17:42 provisioning config files... 19:17:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config12505972661992400224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:17:42 ---> docker-login.sh 19:17:42 nexus3.edgexfoundry.org:10001 19:17:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:42 Configure a credential helper to remove this warning. See 19:17:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:42 19:17:42 Login Succeeded 19:17:42 nexus3.edgexfoundry.org:10002 19:17:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:42 Configure a credential helper to remove this warning. See 19:17:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:42 19:17:42 Login Succeeded 19:17:42 nexus3.edgexfoundry.org:10003 19:17:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:43 Configure a credential helper to remove this warning. See 19:17:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:43 19:17:43 Login Succeeded 19:17:43 nexus3.edgexfoundry.org:10004 19:17:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:43 Configure a credential helper to remove this warning. See 19:17:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:43 19:17:43 Login Succeeded 19:17:43 docker.io 19:17:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:17:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:17:43 Configure a credential helper to remove this warning. See 19:17:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:17:43 19:17:43 Login Succeeded 19:17:43 ---> docker-login.sh ends [Pipeline] } 19:17:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:17:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:17:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:17:43 ========================================================= 19:17:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 19:17:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:43 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 19:17:43 Sending build context to Docker daemon 6.223MB 19:17:43 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 19:17:43 Step 2/12 : FROM ${BASE} AS builder 19:17:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 19:17:43 213ec9aee27d: Pulling fs layer 19:17:43 4583459ba037: Pulling fs layer 19:17:43 93c1e223e6f2: Pulling fs layer 19:17:43 53926ce57604: Pulling fs layer 19:17:43 21b2b0c7a3f4: Pulling fs layer 19:17:43 22ff95d597cd: Pulling fs layer 19:17:43 12d6caf4c0d1: Pulling fs layer 19:17:43 96b7cbca73a9: Pulling fs layer 19:17:43 a7acece74701: Pulling fs layer 19:17:43 21b2b0c7a3f4: Waiting 19:17:43 22ff95d597cd: Waiting 19:17:43 12d6caf4c0d1: Waiting 19:17:43 96b7cbca73a9: Waiting 19:17:43 a7acece74701: Waiting 19:17:43 53926ce57604: Waiting 19:17:43 93c1e223e6f2: Verifying Checksum 19:17:43 93c1e223e6f2: Download complete 19:17:43 4583459ba037: Download complete 19:17:43 21b2b0c7a3f4: Download complete 19:17:43 22ff95d597cd: Download complete 19:17:44 213ec9aee27d: Verifying Checksum 19:17:44 213ec9aee27d: Download complete 19:17:44 12d6caf4c0d1: Download complete 19:17:44 213ec9aee27d: Pull complete 19:17:44 4583459ba037: Pull complete 19:17:44 93c1e223e6f2: Pull complete 19:17:44 a7acece74701: Verifying Checksum 19:17:44 a7acece74701: Download complete 19:17:44 96b7cbca73a9: Download complete 19:17:45 53926ce57604: Verifying Checksum 19:17:45 53926ce57604: Download complete 19:17:48 53926ce57604: Pull complete 19:17:48 21b2b0c7a3f4: Pull complete 19:17:48 22ff95d597cd: Pull complete 19:17:48 12d6caf4c0d1: Pull complete 19:17:50 96b7cbca73a9: Pull complete 19:17:51 a7acece74701: Pull complete 19:17:51 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 19:17:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:17:51 ---> db6d94c90886 19:17:51 Step 3/12 : ARG ADD_BUILD_TAGS="" 19:17:52 ---> Running in 46fa94bf0a4f 19:17:53 Removing intermediate container 46fa94bf0a4f 19:17:53 ---> e19954fb6c9d 19:17:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:17:53 ---> Running in 9236811cabb6 19:17:53 Removing intermediate container 9236811cabb6 19:17:53 ---> 7f41b83cd249 19:17:53 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:17:53 ---> Running in 1d7d1e374717 19:17:53 Removing intermediate container 1d7d1e374717 19:17:53 ---> 0d12ed53c2e4 19:17:53 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 19:17:53 ---> Running in 1cc3d62693fe 19:17:53 Removing intermediate container 1cc3d62693fe 19:17:53 ---> 9ca2d2f3851d 19:17:53 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:17:53 ---> Running in 5c360a3561de 19:17:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:17:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:17:54 (1/4) Installing openssh-keygen (9.0_p1-r2) 19:17:54 (2/4) Installing libedit (20210910.3.1-r0) 19:17:54 (3/4) Installing openssh-client-common (9.0_p1-r2) 19:17:54 (4/4) Installing openssh-client-default (9.0_p1-r2) 19:17:54 Executing busybox-1.35.0-r17.trigger 19:17:54 OK: 216 MiB in 55 packages 19:17:54 Removing intermediate container 5c360a3561de 19:17:54 ---> 830e8588c31a 19:17:54 Step 8/12 : WORKDIR /device-mqtt-go 19:17:54 ---> Running in 35f698df5189 19:17:54 Removing intermediate container 35f698df5189 19:17:54 ---> 64775c554858 19:17:54 Step 9/12 : COPY go.mod vendor* ./ 19:17:54 ---> 880e042a57f0 19:17:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:17:54 ---> Running in 40ebc02bfadb 19:17:57 Still waiting to schedule task 19:17:57 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 19:18:16 Removing intermediate container 40ebc02bfadb 19:18:16 ---> 9c5e0d4fb162 19:18:16 Step 11/12 : COPY . . 19:18:16 ---> fd78711d1e4d 19:18:16 Step 12/12 : RUN $MAKE 19:18:16 ---> Running in 0248984cad0f 19:18:16 noop 19:18:16 Removing intermediate container 0248984cad0f 19:18:16 ---> 2a08ab1995cb 19:18:16 Successfully built 2a08ab1995cb 19:18:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:16 + docker inspect -f . ci-base-image-x86_64 19:18:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:18:17 prd-ubuntu20.04-docker-8c-8g-118498 does not seem to be running inside a container 19:18:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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 ******** ci-base-image-x86_64 cat 19:18:17 $ docker top f3b37543969d248982bd15fb92df09aea922917c58eb2186c3db908d396d02d4 -eo pid,comm [Pipeline] { [Pipeline] sh 19:18:17 + go version 19:18:17 go version go1.18.7 linux/amd64 [Pipeline] } 19:18:17 $ docker stop --time=1 f3b37543969d248982bd15fb92df09aea922917c58eb2186c3db908d396d02d4 19:18:19 $ docker rm -f f3b37543969d248982bd15fb92df09aea922917c58eb2186c3db908d396d02d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:19 + docker inspect -f . ci-base-image-x86_64 19:18:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:18:19 prd-ubuntu20.04-docker-8c-8g-118498 does not seem to be running inside a container 19:18:19 $ 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-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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 ******** ci-base-image-x86_64 cat 19:18:19 $ docker top b1abab99fa52e8341ff58761fbd24912c74bbd452f3283d45cf1ff8d0f5aba2f -eo pid,comm [Pipeline] { [Pipeline] sh 19:18:20 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] fileExists [Pipeline] sh 19:18:20 + make test 19:18:20 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:18:20 ? github.com/edgexfoundry/device-mqtt-go [no test files] 19:18:30 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 19:18:30 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.012s coverage: 21.8% of statements 19:18:30 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 19:18:36 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 19:18:36 GCO_ENABLED=1 GO111MODULE=on go vet ./... 19:18:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:18:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:18:39 ./bin/test-attribution-txt.sh [Pipeline] echo 19:18:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:18:39 $ docker stop --time=1 b1abab99fa52e8341ff58761fbd24912c74bbd452f3283d45cf1ff8d0f5aba2f 19:18:41 $ docker rm -f b1abab99fa52e8341ff58761fbd24912c74bbd452f3283d45cf1ff8d0f5aba2f [Pipeline] // withDockerContainer [Pipeline] sh 19:18:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:18:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:18:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:18:42 + ls -al . 19:18:42 total 196 19:18:42 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 19:18 . 19:18:42 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 19:17 .. 19:18:42 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 19:17 .dockerignore 19:18:42 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 19:18 .git 19:18:42 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 19:17 .github 19:18:42 -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 19:17 .gitignore 19:18:42 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 19:17 .golangci.yml 19:18:42 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 19:17 .semver 19:18:42 -rw-rw-r-- 1 jenkins jenkins 9293 Nov 7 19:17 Attribution.txt 19:18:42 -rw-rw-r-- 1 jenkins jenkins 13162 Nov 7 19:17 CHANGELOG.md 19:18:42 -rw-rw-r-- 1 jenkins jenkins 1752 Nov 7 19:17 Dockerfile 19:18:42 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 19:17 GOVERNANCE.md 19:18:42 -rw-rw-r-- 1 jenkins jenkins 678 Nov 7 19:17 Jenkinsfile 19:18:42 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 19:17 LICENSE 19:18:42 -rw-rw-r-- 1 jenkins jenkins 2126 Nov 7 19:17 Makefile 19:18:42 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 19:17 OWNERS.md 19:18:42 -rw-rw-r-- 1 jenkins jenkins 3165 Nov 7 19:17 README.md 19:18:42 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 19:17 VERSION 19:18:42 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 19:17 bin 19:18:42 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 19:17 cmd 19:18:42 -rw-r--r-- 1 jenkins jenkins 17887 Nov 7 19:18 coverage.out 19:18:42 -rw-rw-r-- 1 jenkins jenkins 3470 Nov 7 19:17 go.mod 19:18:42 -rw-rw-r-- 1 jenkins jenkins 45060 Nov 7 19:17 go.sum 19:18:42 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 19:17 internal 19:18:42 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 19:17 mock 19:18:42 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 19:17 snap 19:18:42 -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 19:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:18:42 + 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=1e90b1c583ac841122016e49627b7c67bdccd677 --label arch=amd64 --label version=0.0.0 . 19:18:42 Sending build context to Docker daemon 6.241MB 19:18:42 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 19:18:42 Step 2/24 : FROM ${BASE} AS builder 19:18:42 ---> 2a08ab1995cb 19:18:42 Step 3/24 : ARG ADD_BUILD_TAGS="" 19:18:42 ---> Running in 666a5cc448a4 19:18:42 Removing intermediate container 666a5cc448a4 19:18:42 ---> b25d062ca3b2 19:18:42 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:18:42 ---> Running in ce6c0b5d696c 19:18:42 Removing intermediate container ce6c0b5d696c 19:18:42 ---> 4f9f7ae11358 19:18:42 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:18:42 ---> Running in 75e2b1676a83 19:18:43 Removing intermediate container 75e2b1676a83 19:18:43 ---> bcec1c1f488d 19:18:43 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 19:18:43 ---> Running in 355be390ec8a 19:18:43 Removing intermediate container 355be390ec8a 19:18:43 ---> d141afa5acae 19:18:43 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:18:43 ---> Running in d34e1fdab955 19:18:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:18:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:18:43 OK: 216 MiB in 55 packages 19:18:44 Removing intermediate container d34e1fdab955 19:18:44 ---> 08fd2f3bba98 19:18:44 Step 8/24 : WORKDIR /device-mqtt-go 19:18:44 ---> Running in 3af4ecfc6090 19:18:44 Removing intermediate container 3af4ecfc6090 19:18:44 ---> 6ca7a8a5378a 19:18:44 Step 9/24 : COPY go.mod vendor* ./ 19:18:44 ---> 1746e571af14 19:18:44 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:18:44 ---> Running in 31037e26bccb 19:18:45 Removing intermediate container 31037e26bccb 19:18:45 ---> 7a3ba8dc488c 19:18:45 Step 11/24 : COPY . . 19:18:45 ---> 7ac4be230f53 19:18:45 Step 12/24 : RUN $MAKE 19:18:45 ---> Running in 5ffa7a924fb1 19:18:45 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 19:19:07 Removing intermediate container 5ffa7a924fb1 19:19:07 ---> 2bcbeae7a0f9 19:19:07 Step 13/24 : FROM alpine:3.16 19:19:07 3.16: Pulling from library/alpine 19:19:07 213ec9aee27d: Already exists 19:19:07 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:19:07 Status: Downloaded newer image for alpine:3.16 19:19:07 ---> 9c6f07244728 19:19:07 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 19:19:07 ---> Running in a52d040b6fb1 19:19:07 Removing intermediate container a52d040b6fb1 19:19:07 ---> 95581d892530 19:19:07 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 19:19:07 ---> Running in 1d857fbec112 19:19:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:19:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:19:07 (1/6) Installing dumb-init (1.2.5-r1) 19:19:07 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:19:07 (3/6) Installing libsodium (1.0.18-r0) 19:19:07 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:19:07 (5/6) Installing libzmq (4.3.4-r0) 19:19:07 (6/6) Installing zeromq (4.3.4-r0) 19:19:07 Executing busybox-1.35.0-r17.trigger 19:19:07 OK: 8 MiB in 20 packages 19:19:07 Removing intermediate container 1d857fbec112 19:19:07 ---> 2477df454fcd 19:19:07 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 19:19:07 ---> 2971919fb44a 19:19:07 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 19:19:07 ---> 47a987f220b5 19:19:07 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 19:19:07 ---> ef8f1858a1c2 19:19:07 Step 19/24 : EXPOSE 59982 19:19:07 ---> Running in 312da43c6d92 19:19:07 Removing intermediate container 312da43c6d92 19:19:07 ---> 76ef6ee93003 19:19:07 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 19:19:07 ---> Running in 82a285cd8b66 19:19:07 Removing intermediate container 82a285cd8b66 19:19:07 ---> d4940d85f6a2 19:19:07 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:19:07 ---> Running in 76106220f848 19:19:07 Removing intermediate container 76106220f848 19:19:07 ---> 4ac848077392 19:19:07 Step 22/24 : LABEL arch=amd64 19:19:07 ---> Running in cb40a1612557 19:19:07 Removing intermediate container cb40a1612557 19:19:07 ---> 7a427334c6ad 19:19:07 Step 23/24 : LABEL git_sha=1e90b1c583ac841122016e49627b7c67bdccd677 19:19:07 ---> Running in 903e4558bf6e 19:19:07 Removing intermediate container 903e4558bf6e 19:19:07 ---> 915ea8c9f75c 19:19:07 Step 24/24 : LABEL version=0.0.0 19:19:07 ---> Running in 617f57f32bfe 19:19:07 Removing intermediate container 617f57f32bfe 19:19:07 ---> bfc7be0c45f3 19:19:07 [Warning] One or more build-args [ARCH] were not consumed 19:19:07 Successfully built bfc7be0c45f3 19:19:07 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:19:08 19:19:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:19:08 latest: Pulling from edgex-lftools-log-publisher 19:19:08 5eb5b503b376: Pulling fs layer 19:19:08 5c69ac0246d0: Pulling fs layer 19:19:08 ec43610c2a17: Pulling fs layer 19:19:08 3a2ae6a8a46f: Pulling fs layer 19:19:08 33b1e0a273af: Pulling fs layer 19:19:08 5d3b04190fa2: Pulling fs layer 19:19:08 2f39f015ded8: Pulling fs layer 19:19:08 33b1e0a273af: Waiting 19:19:08 5d3b04190fa2: Waiting 19:19:08 2f39f015ded8: Waiting 19:19:08 3a2ae6a8a46f: Waiting 19:19:08 5c69ac0246d0: Download complete 19:19:08 3a2ae6a8a46f: Download complete 19:19:08 33b1e0a273af: Verifying Checksum 19:19:08 33b1e0a273af: Download complete 19:19:08 ec43610c2a17: Verifying Checksum 19:19:08 ec43610c2a17: Download complete 19:19:08 5d3b04190fa2: Download complete 19:19:08 5eb5b503b376: Verifying Checksum 19:19:08 5eb5b503b376: Download complete 19:19:09 2f39f015ded8: Download complete 19:19:09 5eb5b503b376: Pull complete 19:19:09 5c69ac0246d0: Pull complete 19:19:10 ec43610c2a17: Pull complete 19:19:10 3a2ae6a8a46f: Pull complete 19:19:10 33b1e0a273af: Pull complete 19:19:10 5d3b04190fa2: Pull complete 19:19:14 2f39f015ded8: Pull complete 19:19:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:19:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:19:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:14 prd-ubuntu20.04-docker-8c-8g-118498 does not seem to be running inside a container 19:19:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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 19:19:16 $ docker top 9c6123cc39dad49812d2e8e88727f978370e851bc3b88269a1d5f5dd3acf519f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:17 ---> job-cost.sh 19:19:17 lf-activate-venv: SKIPPING 19:19:17 INFO: No Stack... 19:19:17 INFO: Retrieving Pricing Info for: v3-standard-8 19:19:17 INFO: Archiving Costs [Pipeline] sh 19:19:17 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/cost.csv 19:19:17 + cut -d, -f6 [Pipeline] lock 19:19:18 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-5-stack-cost] 19:19:18 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-5-stack-cost] did not exist. Created. 19:19:18 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:19:18 + echo total: 0.2199999988079071 [Pipeline] stash 19:19:18 Stashed 1 file(s) [Pipeline] } 19:19:18 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-5-stack-cost] [Pipeline] // lock [Pipeline] } 19:19:18 $ docker stop --time=1 9c6123cc39dad49812d2e8e88727f978370e851bc3b88269a1d5f5dd3acf519f 19:19:19 $ docker rm -f 9c6123cc39dad49812d2e8e88727f978370e851bc3b88269a1d5f5dd3acf519f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:19:24 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118499 in /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] { [Pipeline] ws 19:19:25 Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout 19:19:25 Selected Git installation does not exist. Using Default 19:19:25 The recommended git tool is: NONE 19:19:29 using credential edgex-jenkins-ssh 19:19:29 Cloning the remote Git repository 19:19:30 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 19:19:30 > git init /w/workspace/device-mqtt-go/5 # timeout=10 19:19:30 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:19:30 > git --version # timeout=10 19:19:30 > git --version # 'git version 2.25.1' 19:19:30 using GIT_SSH to set credentials SSH Credentials for GitHub 19:19:30 Verifying host key using known hosts file 19:19:30 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 19:19:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:19:31 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:19:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:19:32 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:19:33 Merging remotes/origin/main commit 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 19:19:33 Merge succeeded, producing a600b2ce95d727f578d733e1e00f4575b4b78053 19:19:33 Checking out Revision a600b2ce95d727f578d733e1e00f4575b4b78053 (PR-429) 19:19:32 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:19:32 using GIT_SSH to set credentials SSH Credentials for GitHub 19:19:32 Verifying host key using known hosts file 19:19:32 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 19:19:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:19:33 > git config core.sparsecheckout # timeout=10 19:19:33 > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # timeout=10 19:19:33 > git remote # timeout=10 19:19:33 > git config --get remote.origin.url # timeout=10 19:19:33 using GIT_SSH to set credentials SSH Credentials for GitHub 19:19:33 Verifying host key using known hosts file 19:19:33 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 19:19:33 > git merge 9ee6b9239046894cb89ff0f0b410cd21a3bbb457 # timeout=10 19:19:33 > git rev-parse HEAD^{commit} # timeout=10 19:19:33 > git config core.sparsecheckout # timeout=10 19:19:33 > git checkout -f a600b2ce95d727f578d733e1e00f4575b4b78053 # timeout=10 19:19:36 Commit message: "Merge commit '9ee6b9239046894cb89ff0f0b410cd21a3bbb457' into HEAD" 19:19:36 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:19:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:19:37 % Total % Received % Xferd Average Speed Time Time Time Current 19:19:37 Dload Upload Total Spent Left Speed 19:19:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 87513 0 --:--:-- --:--:-- --:--:-- 86910 100 12602 100 12602 0 0 86910 0 --:--:-- --:--:-- --:--:-- 86315 [Pipeline] sh 19:19:36 > git rev-list --no-walk d692d045062a2385482fa742ae9df406de0babbb # timeout=10 19:19:38 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:19:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:19:38 + sudo tee /etc/docker/daemon.new 19:19:38 { 19:19:38 "registry-mirrors": [ 19:19:38 "https://nexus3.edgexfoundry.org:10001" 19:19:38 ], 19:19:38 "bip": "10.250.0.254/24", 19:19:38 "hosts": [ 19:19:38 "tcp://0.0.0.0:5555", 19:19:38 "unix:///var/run/docker.sock" 19:19:38 ], 19:19:38 "mtu": 1458, 19:19:38 "selinux-enabled": true, 19:19:38 "seccomp-profile": "/etc/docker/seccomp.json" 19:19:38 } [Pipeline] sh 19:19:39 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:19:39 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:19:57 provisioning config files... 19:19:57 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/5@tmp/config14685914266241956120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:58 ---> docker-login.sh 19:19:58 nexus3.edgexfoundry.org:10001 19:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:58 Configure a credential helper to remove this warning. See 19:19:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:58 19:19:58 Login Succeeded 19:19:58 nexus3.edgexfoundry.org:10002 19:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:58 Configure a credential helper to remove this warning. See 19:19:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:58 19:19:58 Login Succeeded 19:19:58 nexus3.edgexfoundry.org:10003 19:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:59 Configure a credential helper to remove this warning. See 19:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:59 19:19:59 Login Succeeded 19:19:59 nexus3.edgexfoundry.org:10004 19:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:59 Configure a credential helper to remove this warning. See 19:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:59 19:19:59 Login Succeeded 19:19:59 docker.io 19:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:20:00 Configure a credential helper to remove this warning. See 19:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:20:00 19:20:00 Login Succeeded 19:20:00 ---> docker-login.sh ends [Pipeline] } 19:20:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:20:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:20:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:20:00 ========================================================= 19:20:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:20:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 19:20:01 Sending build context to Docker daemon 3.24MB 19:20:01 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 19:20:01 Step 2/12 : FROM ${BASE} AS builder 19:20:01 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:20:01 9b18e9b68314: Pulling fs layer 19:20:01 35d82f9e3411: Pulling fs layer 19:20:01 e16973657156: Pulling fs layer 19:20:01 fc693d55d65f: Pulling fs layer 19:20:01 7e9fc2657dce: Pulling fs layer 19:20:01 dda99020689f: Pulling fs layer 19:20:01 db1c61fa0a46: Pulling fs layer 19:20:01 891c053d2c06: Pulling fs layer 19:20:01 fc693d55d65f: Waiting 19:20:01 7e9fc2657dce: Waiting 19:20:01 dda99020689f: Waiting 19:20:01 db1c61fa0a46: Waiting 19:20:01 891c053d2c06: Waiting 19:20:01 e16973657156: Verifying Checksum 19:20:01 e16973657156: Download complete 19:20:01 35d82f9e3411: Verifying Checksum 19:20:01 35d82f9e3411: Download complete 19:20:01 7e9fc2657dce: Download complete 19:20:01 dda99020689f: Verifying Checksum 19:20:01 dda99020689f: Download complete 19:20:01 9b18e9b68314: Verifying Checksum 19:20:02 9b18e9b68314: Pull complete 19:20:02 891c053d2c06: Verifying Checksum 19:20:02 891c053d2c06: Download complete 19:20:02 35d82f9e3411: Pull complete 19:20:03 db1c61fa0a46: Verifying Checksum 19:20:03 db1c61fa0a46: Download complete 19:20:04 e16973657156: Pull complete 19:20:04 fc693d55d65f: Verifying Checksum 19:20:04 fc693d55d65f: Download complete 19:20:16 fc693d55d65f: Pull complete 19:20:16 7e9fc2657dce: Pull complete 19:20:16 dda99020689f: Pull complete 19:20:23 db1c61fa0a46: Pull complete 19:20:25 891c053d2c06: Pull complete 19:20:25 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 19:20:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:20:25 ---> f96f9c87975a 19:20:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 19:20:28 ---> Running in 67e78b3b0edd 19:20:28 Removing intermediate container 67e78b3b0edd 19:20:28 ---> 128f642b1868 19:20:28 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:20:28 ---> Running in 69082f25101c 19:20:28 Removing intermediate container 69082f25101c 19:20:28 ---> 81360bb5d69e 19:20:28 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:20:28 ---> Running in 0c77f82bbd90 19:20:29 Removing intermediate container 0c77f82bbd90 19:20:29 ---> 6c9ff16256c7 19:20:29 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 19:20:29 ---> Running in fc002046c615 19:20:29 Removing intermediate container fc002046c615 19:20:29 ---> 20b5d437da3d 19:20:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:20:29 ---> Running in af5e91331933 19:20:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:20:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:20:31 (1/4) Installing openssh-keygen (9.0_p1-r2) 19:20:31 (2/4) Installing libedit (20210910.3.1-r0) 19:20:31 (3/4) Installing openssh-client-common (9.0_p1-r2) 19:20:31 (4/4) Installing openssh-client-default (9.0_p1-r2) 19:20:31 Executing busybox-1.35.0-r17.trigger 19:20:32 OK: 226 MiB in 55 packages 19:20:33 Removing intermediate container af5e91331933 19:20:33 ---> 1d8254adb481 19:20:33 Step 8/12 : WORKDIR /device-mqtt-go 19:20:33 ---> Running in 1400f3542a8c 19:20:33 Removing intermediate container 1400f3542a8c 19:20:33 ---> 681518af1e18 19:20:33 Step 9/12 : COPY go.mod vendor* ./ 19:20:34 ---> a377d7997b5b 19:20:34 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:20:34 ---> Running in 65f77194a470 19:21:30 Removing intermediate container 65f77194a470 19:21:30 ---> dfd2117ea227 19:21:30 Step 11/12 : COPY . . 19:21:30 ---> 863c969597f6 19:21:30 Step 12/12 : RUN $MAKE 19:21:30 ---> Running in e5d454cc9a8c 19:21:30 noop 19:21:30 Removing intermediate container e5d454cc9a8c 19:21:30 ---> e85e378ed920 19:21:30 Successfully built e85e378ed920 19:21:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:30 + docker inspect -f . ci-base-image-arm64 19:21:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:21:30 prd-ubuntu20.04-docker-arm64-4c-16g-118499 does not seem to be running inside a container 19:21:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:21:32 $ docker top eab5dc3c82b285d421c4a06b42aae1c344b14016527578030ddd42a38bcd2226 -eo pid,comm [Pipeline] { [Pipeline] sh 19:21:32 + go version 19:21:32 go version go1.18.7 linux/arm64 [Pipeline] } 19:21:32 $ docker stop --time=1 eab5dc3c82b285d421c4a06b42aae1c344b14016527578030ddd42a38bcd2226 19:21:34 $ docker rm -f eab5dc3c82b285d421c4a06b42aae1c344b14016527578030ddd42a38bcd2226 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:35 + docker inspect -f . ci-base-image-arm64 19:21:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:21:35 prd-ubuntu20.04-docker-arm64-4c-16g-118499 does not seem to be running inside a container 19:21:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:21:36 $ docker top 70abc53e0d635e827934b1a27132669ca8540fb5a189fd07ebdbe17780a837b6 -eo pid,comm [Pipeline] { [Pipeline] sh 19:21:36 + git config --global --add safe.directory /w/workspace/device-mqtt-go/5 [Pipeline] fileExists [Pipeline] sh 19:21:37 + make test 19:21:37 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:21:39 ? github.com/edgexfoundry/device-mqtt-go [no test files] 19:23:00 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 19:23:00 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 21.8% of statements 19:23:00 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 19:23:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:23:00 GCO_ENABLED=1 GO111MODULE=on go vet ./... 19:23:23 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:23:23 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:23:23 ./bin/test-attribution-txt.sh [Pipeline] echo 19:23:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:23:23 $ docker stop --time=1 70abc53e0d635e827934b1a27132669ca8540fb5a189fd07ebdbe17780a837b6 19:23:24 $ docker rm -f 70abc53e0d635e827934b1a27132669ca8540fb5a189fd07ebdbe17780a837b6 [Pipeline] // withDockerContainer [Pipeline] sh 19:23:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:23:25 Warning: overwriting stash ‘coverage-report’ 19:23:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:23:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:23:26 + ls -al . 19:23:26 total 192 19:23:26 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 19:21 . 19:23:26 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 19:19 .. 19:23:26 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 19:19 .dockerignore 19:23:26 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 19:19 .git 19:23:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 19:19 .github 19:23:26 -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 19:19 .gitignore 19:23:26 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 19:19 .golangci.yml 19:23:26 -rw-rw-r-- 1 jenkins jenkins 9293 Nov 7 19:19 Attribution.txt 19:23:26 -rw-rw-r-- 1 jenkins jenkins 13162 Nov 7 19:19 CHANGELOG.md 19:23:26 -rw-rw-r-- 1 jenkins jenkins 1752 Nov 7 19:19 Dockerfile 19:23:26 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 19:19 GOVERNANCE.md 19:23:26 -rw-rw-r-- 1 jenkins jenkins 678 Nov 7 19:19 Jenkinsfile 19:23:26 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 19:19 LICENSE 19:23:26 -rw-rw-r-- 1 jenkins jenkins 2126 Nov 7 19:19 Makefile 19:23:26 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 19:19 OWNERS.md 19:23:26 -rw-rw-r-- 1 jenkins jenkins 3165 Nov 7 19:19 README.md 19:23:26 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 19:17 VERSION 19:23:26 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 19:19 bin 19:23:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 19:19 cmd 19:23:26 -rw-r--r-- 1 jenkins jenkins 17887 Nov 7 19:23 coverage.out 19:23:26 -rw-rw-r-- 1 jenkins jenkins 3470 Nov 7 19:19 go.mod 19:23:26 -rw-rw-r-- 1 jenkins jenkins 45060 Nov 7 19:19 go.sum 19:23:26 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 19:19 internal 19:23:26 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 19:19 mock 19:23:26 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 19:19 snap 19:23:26 -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 19:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:23:27 + 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=a600b2ce95d727f578d733e1e00f4575b4b78053 --label arch=arm64 --label version=0.0.0 . 19:23:27 Sending build context to Docker daemon 3.259MB 19:23:27 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 19:23:27 Step 2/24 : FROM ${BASE} AS builder 19:23:27 ---> e85e378ed920 19:23:27 Step 3/24 : ARG ADD_BUILD_TAGS="" 19:23:27 ---> Running in 4b6e4ac6626c 19:23:28 Removing intermediate container 4b6e4ac6626c 19:23:28 ---> f2dfd7cca1a8 19:23:28 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:23:28 ---> Running in 0b69b01824cc 19:23:28 Removing intermediate container 0b69b01824cc 19:23:28 ---> 54a9ccc43030 19:23:28 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:23:28 ---> Running in 386bce128599 19:23:28 Removing intermediate container 386bce128599 19:23:28 ---> 617a1e14fa0c 19:23:28 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 19:23:28 ---> Running in 3c180da150df 19:23:29 Removing intermediate container 3c180da150df 19:23:29 ---> 55cca6ca9ead 19:23:29 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:23:29 ---> Running in 982f37a5067e 19:23:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:23:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:23:31 OK: 226 MiB in 55 packages 19:23:32 Removing intermediate container 982f37a5067e 19:23:32 ---> 1974fa6407d1 19:23:32 Step 8/24 : WORKDIR /device-mqtt-go 19:23:32 ---> Running in ac5e62516331 19:23:32 Removing intermediate container ac5e62516331 19:23:32 ---> d5509f42144f 19:23:32 Step 9/24 : COPY go.mod vendor* ./ 19:23:32 ---> 891b36fefcfa 19:23:32 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:23:33 ---> Running in 4b16ba216f17 19:23:34 Removing intermediate container 4b16ba216f17 19:23:34 ---> 99cb42bdd9c3 19:23:34 Step 11/24 : COPY . . 19:23:35 ---> 41acc2bb1690 19:23:35 Step 12/24 : RUN $MAKE 19:23:35 ---> Running in dfea7c181ab1 19:23:36 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 19:26:13 Removing intermediate container dfea7c181ab1 19:26:13 ---> 7bf90fd00231 19:26:13 Step 13/24 : FROM alpine:3.16 19:26:13 3.16: Pulling from library/alpine 19:26:13 9b18e9b68314: Already exists 19:26:13 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:26:13 Status: Downloaded newer image for alpine:3.16 19:26:13 ---> a6215f271958 19:26:13 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 19:26:13 ---> Running in 9d3ea755f007 19:26:13 Removing intermediate container 9d3ea755f007 19:26:13 ---> a92c27b6b09d 19:26:13 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 19:26:13 ---> Running in e41bd155a58d 19:26:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:26:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:26:13 (1/6) Installing dumb-init (1.2.5-r1) 19:26:13 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:26:13 (3/6) Installing libsodium (1.0.18-r0) 19:26:13 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:26:13 (5/6) Installing libzmq (4.3.4-r0) 19:26:13 (6/6) Installing zeromq (4.3.4-r0) 19:26:13 Executing busybox-1.35.0-r17.trigger 19:26:13 OK: 8 MiB in 20 packages 19:26:13 Removing intermediate container e41bd155a58d 19:26:13 ---> 0b0588aedfe4 19:26:13 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 19:26:13 ---> 28ad95521018 19:26:13 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 19:26:13 ---> ed170bb1590c 19:26:13 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 19:26:13 ---> cac171750cf5 19:26:13 Step 19/24 : EXPOSE 59982 19:26:13 ---> Running in 6c38602497a0 19:26:13 Removing intermediate container 6c38602497a0 19:26:13 ---> dc0462ddc269 19:26:13 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 19:26:13 ---> Running in 4aeb14161a74 19:26:13 Removing intermediate container 4aeb14161a74 19:26:13 ---> a17e96cea0e6 19:26:13 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:26:13 ---> Running in 9cf6342c8cde 19:26:13 Removing intermediate container 9cf6342c8cde 19:26:13 ---> b2015c697c02 19:26:13 Step 22/24 : LABEL arch=arm64 19:26:13 ---> Running in 7281aa1951a1 19:26:13 Removing intermediate container 7281aa1951a1 19:26:13 ---> 308fbebb8fcd 19:26:13 Step 23/24 : LABEL git_sha=a600b2ce95d727f578d733e1e00f4575b4b78053 19:26:13 ---> Running in f2246df728a7 19:26:13 Removing intermediate container f2246df728a7 19:26:13 ---> 458b57ae2f4d 19:26:13 Step 24/24 : LABEL version=0.0.0 19:26:13 ---> Running in 14b2ea3e74fb 19:26:13 Removing intermediate container 14b2ea3e74fb 19:26:13 ---> fe7fb142036c 19:26:13 [Warning] One or more build-args [ARCH] were not consumed 19:26:13 Successfully built fe7fb142036c 19:26:13 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:26:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:26:13 19:26:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:26:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:26:14 arm64: Pulling from edgex-lftools-log-publisher 19:26:14 8998bd30e6a1: Pulling fs layer 19:26:14 04944245beec: Pulling fs layer 19:26:14 699f458cf7ca: Pulling fs layer 19:26:14 765212b225bb: Pulling fs layer 19:26:14 f23df028b6ca: Pulling fs layer 19:26:14 d65c8cfc05b1: Pulling fs layer 19:26:14 2437ff75d9bd: Pulling fs layer 19:26:14 f23df028b6ca: Waiting 19:26:14 d65c8cfc05b1: Waiting 19:26:14 2437ff75d9bd: Waiting 19:26:14 765212b225bb: Waiting 19:26:14 04944245beec: Verifying Checksum 19:26:14 04944245beec: Download complete 19:26:14 765212b225bb: Download complete 19:26:14 f23df028b6ca: Download complete 19:26:14 d65c8cfc05b1: Verifying Checksum 19:26:14 d65c8cfc05b1: Download complete 19:26:14 699f458cf7ca: Verifying Checksum 19:26:14 699f458cf7ca: Download complete 19:26:14 8998bd30e6a1: Download complete 19:26:17 2437ff75d9bd: Verifying Checksum 19:26:17 2437ff75d9bd: Download complete 19:26:19 8998bd30e6a1: Pull complete 19:26:20 04944245beec: Pull complete 19:26:21 699f458cf7ca: Pull complete 19:26:22 765212b225bb: Pull complete 19:26:22 f23df028b6ca: Pull complete 19:26:23 d65c8cfc05b1: Pull complete 19:26:38 2437ff75d9bd: Pull complete 19:26:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:26:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:26:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:26:38 prd-ubuntu20.04-docker-arm64-4c-16g-118499 does not seem to be running inside a container 19:26:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:26:40 $ docker top 7c5a742236292c9388afb441f54a6279c1b3c5bbe517596853a516aa82e3f7b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:26:41 ---> job-cost.sh 19:26:41 lf-activate-venv: SKIPPING 19:26:41 INFO: No Stack... 19:26:41 INFO: Retrieving Pricing Info for: v3-standard-4 19:26:42 INFO: Archiving Costs [Pipeline] sh 19:26:43 + cat /w/workspace/device-mqtt-go/5/archives/cost.csv 19:26:43 + cut -d, -f6 [Pipeline] lock 19:26:43 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-5-stack-cost] 19:26:43 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-5-stack-cost] did not exist. Created. 19:26:43 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:26:43 /w/workspace/device-mqtt-go/5@tmp/durable-e858b498/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:26:44 + echo total: 0.10999999940395355 [Pipeline] stash 19:26:44 Warning: overwriting stash ‘stack-cost’ 19:26:44 Stashed 1 file(s) [Pipeline] } 19:26:44 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-5-stack-cost] [Pipeline] // lock [Pipeline] } 19:26:44 $ docker stop --time=1 7c5a742236292c9388afb441f54a6279c1b3c5bbe517596853a516aa82e3f7b0 19:26:46 $ docker rm -f 7c5a742236292c9388afb441f54a6279c1b3c5bbe517596853a516aa82e3f7b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 19:26:46 provisioning config files... 19:26:46 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config2897601075982746944tmp [Pipeline] { [Pipeline] sh 19:26:46 + set +x 19:26:46 + bash -s -- 19:26:46 + curl -s https://codecov.io/bash 19:26:46 19:26:46 _____ _ 19:26:46 / ____| | | 19:26:46 | | ___ __| | ___ ___ _____ __ 19:26:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:26:46 | |___| (_) | (_| | __/ (_| (_) \ V / 19:26:46 \_____\___/ \__,_|\___|\___\___/ \_/ 19:26:46 Bash-1.0.6 19:26:46 19:26:46 19:26:46 ==> git version 2.25.1 found 19:26:46 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 19:26:46 Release-Date: 2020-01-08 19:26:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:26:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:26:46 ==> Jenkins CI detected. 19:26:46 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-429 19:26:46 project root: . 19:26:46 --> token set from env 19:26:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:26:46 ==> Running gcov in . (disable via -X gcov) 19:26:46 ==> Python coveragepy not found 19:26:46 ==> Searching for coverage reports in: 19:26:46 + . 19:26:46 -> Found 1 reports 19:26:46 ==> Detecting git/mercurial file structure 19:26:47 ==> Reading reports 19:26:47 + ./coverage.out bytes=17887 19:26:47 ==> Appending adjustments 19:26:47 https://docs.codecov.io/docs/fixing-reports 19:26:47 + Found adjustments 19:26:47 ==> Gzipping contents 19:26:47 4.0K /tmp/codecov.Fee5HF.gz 19:26:47 ==> Uploading reports 19:26:47 url: https://codecov.io 19:26:47 query: branch=PR-429&commit=1e90b1c583ac841122016e49627b7c67bdccd677&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= 19:26:47 -> Pinging Codecov 19:26:47 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-429&commit=1e90b1c583ac841122016e49627b7c67bdccd677&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= 19:26:47 -> Uploading to 19:26:47 https://storage.googleapis.com/codecov/v4/raw/2022-11-07/7D719EC7BBE17E464838252E33014C33/1e90b1c583ac841122016e49627b7c67bdccd677/be6bf9c8-b4ed-4b62-a46c-4e6b60a1c1a2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T192647Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=32738e9a8660364647de5ca6f51dd8e3a329e22a4e46a049edff7dd8ba770b37 19:26:47 % Total % Received % Xferd Average Speed Time Time Time Current 19:26:47 Dload Upload Total Spent Left Speed 19:26:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3201 0 0 100 3201 0 14418 --:--:-- --:--:-- --:--:-- 14354 100 3201 0 0 100 3201 0 11271 --:--:-- --:--:-- --:--:-- 11231 19:26:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/1e90b1c583ac841122016e49627b7c67bdccd677 [Pipeline] } 19:26:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:26:48 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives ] 19:26:48 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives 19:26:48 total 16 19:26:48 drwxr-xr-x 3 root root 4096 Nov 7 19:19 . 19:26:48 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 19:19 .. 19:26:48 drwxr-xr-x 2 root root 4096 Nov 7 19:19 cost 19:26:48 -rw-r--r-- 1 root root 86 Nov 7 19:19 cost.csv 19:26:48 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives 19:26:48 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives 19:26:48 total 16 19:26:48 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 19:19 . 19:26:48 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 19:19 .. 19:26:48 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 19:19 cost 19:26:48 -rw-r--r-- 1 jenkins jenkins 86 Nov 7 19:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:26:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:26:49 ---> package-listing.sh 19:26:49 ++ tr '[:upper:]' '[:lower:]' 19:26:49 ++ facter osfamily 19:26:49 + OS_FAMILY=debian 19:26:49 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-429 19:26:49 + START_PACKAGES=/tmp/packages_start.txt 19:26:49 + END_PACKAGES=/tmp/packages_end.txt 19:26:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:26:49 + PACKAGES=/tmp/packages_start.txt 19:26:49 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' 19:26:49 + PACKAGES=/tmp/packages_end.txt 19:26:49 + case "${OS_FAMILY}" in 19:26:49 + dpkg -l 19:26:49 + grep '^ii' 19:26:49 + '[' -f /tmp/packages_start.txt ']' 19:26:49 + '[' -f /tmp/packages_end.txt ']' 19:26:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:26:49 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' 19:26:49 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/ 19:26:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/ [Pipeline] echo 19:26:49 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-429/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:26:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:26:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:26:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:26:50 prd-ubuntu20.04-docker-8c-8g-118498 does not seem to be running inside a container 19:26:50 $ 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-429/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-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:26:50 $ docker top fda739163d613e80e8e2a57fdcb7d51c4b4257612ad95449cf82777ba8897458 -eo pid,comm [Pipeline] { [Pipeline] sh 19:26:51 + touch /tmp/pre-build-complete [Pipeline] sh 19:26:51 + mkdir -p /var/log/sysstat [Pipeline] sh 19:26:51 + ls /var/log/sa-host 19:26:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:26:51 provisioning config files... 19:26:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config946933944098649499tmp [Pipeline] { [Pipeline] echo 19:26:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:26:52 ---> create-netrc.sh [Pipeline] } 19:26:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:26:52 ---> python-tools-install.sh [Pipeline] echo 19:26:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:26:52 ---> sudo-logs.sh 19:26:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:26:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:26:53 ---> job-cost.sh 19:26:53 lf-activate-venv: SKIPPING 19:26:53 DEBUG: total: 0.2199999988079071 19:26:53 INFO: Retrieving Stack Cost... 19:26:53 INFO: Retrieving Pricing Info for: v3-standard-8 19:26:54 INFO: Archiving Costs [Pipeline] echo 19:26:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:26:54 ---> logs-deploy.sh 19:26:54 lf-activate-venv: SKIPPING 19:26:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-429/5 19:26:54 INFO: archiving workspace using pattern(s): 19:26:55 Archives upload complete. 19:26:55 INFO: archiving logs to Nexus 19:26:56 ---> uname -a: 19:26:56 Linux prd-ubuntu20-04-docker-8c-8g-118498 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 19:26:56 19:26:56 19:26:56 ---> lscpu: 19:26:56 Architecture: x86_64 19:26:56 CPU op-mode(s): 32-bit, 64-bit 19:26:56 Byte Order: Little Endian 19:26:56 Address sizes: 40 bits physical, 48 bits virtual 19:26:56 CPU(s): 8 19:26:56 On-line CPU(s) list: 0-7 19:26:56 Thread(s) per core: 1 19:26:56 Core(s) per socket: 1 19:26:56 Socket(s): 8 19:26:56 NUMA node(s): 1 19:26:56 Vendor ID: AuthenticAMD 19:26:56 CPU family: 23 19:26:56 Model: 49 19:26:56 Model name: AMD EPYC-Rome Processor 19:26:56 Stepping: 0 19:26:56 CPU MHz: 2799.998 19:26:56 BogoMIPS: 5599.99 19:26:56 Virtualization: AMD-V 19:26:56 Hypervisor vendor: KVM 19:26:56 Virtualization type: full 19:26:56 L1d cache: 256 KiB 19:26:56 L1i cache: 256 KiB 19:26:56 L2 cache: 4 MiB 19:26:56 L3 cache: 128 MiB 19:26:56 NUMA node0 CPU(s): 0-7 19:26:56 Vulnerability Itlb multihit: Not affected 19:26:56 Vulnerability L1tf: Not affected 19:26:56 Vulnerability Mds: Not affected 19:26:56 Vulnerability Meltdown: Not affected 19:26:56 Vulnerability Mmio stale data: Not affected 19:26:56 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:26:56 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:26:56 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 19:26:56 Vulnerability Srbds: Not affected 19:26:56 Vulnerability Tsx async abort: Not affected 19:26:56 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 19:26:56 19:26:56 19:26:56 ---> nproc: 19:26:56 8 19:26:56 19:26:56 19:26:56 ---> df -h: 19:26:56 Filesystem Size Used Avail Use% Mounted on 19:26:56 overlay 155G 12G 144G 8% / 19:26:56 tmpfs 64M 0 64M 0% /dev 19:26:56 tmpfs 16G 0 16G 0% /sys/fs/cgroup 19:26:56 shm 64M 0 64M 0% /dev/shm 19:26:56 /dev/vda1 155G 12G 144G 8% /facter-os 19:26:56 19:26:56 19:26:56 ---> sar -b -r -n DEV: 19:26:56 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-118498) 11/07/22 _x86_64_ (8 CPU) 19:26:56 19:26:56 19:16:48 LINUX RESTART (8 CPU) 19:26:56 19:26:56 19:17:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:26:56 19:18:02 407.17 48.63 358.54 0.00 5424.30 141597.20 0.00 19:26:56 19:19:01 162.11 0.68 161.44 0.00 28.06 53379.87 0.00 19:26:56 19:20:01 95.07 0.03 95.03 0.00 5.33 26251.77 0.00 19:26:56 19:21:01 1.23 0.00 1.23 0.00 0.00 14.93 0.00 19:26:56 19:22:01 26.49 7.78 18.71 0.00 909.16 2306.03 0.00 19:26:56 19:23:01 14.53 1.58 12.95 0.00 1980.20 2534.38 0.00 19:26:56 19:24:01 1.20 0.00 1.20 0.00 0.00 13.15 0.00 19:26:56 19:25:01 1.58 0.00 1.58 0.00 0.00 16.53 0.00 19:26:56 19:26:01 0.92 0.00 0.92 0.00 0.00 10.40 0.00 19:26:56 Average: 78.91 6.54 72.36 0.00 930.78 25117.78 0.00 19:26:56 19:26:56 19:17:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:26:56 19:18:02 28865884 31555484 755016 2.30 93480 2832732 1981604 5.84 1069836 2543880 230836 19:26:56 19:19:01 28263188 31547612 759268 2.31 141828 3343220 2025944 5.97 1228236 2947544 24068 19:26:56 19:20:01 27787376 31578740 726344 2.21 151716 3793496 1728340 5.09 1217968 3383108 12 19:26:56 19:21:01 27787040 31578524 726268 2.21 151748 3793504 1728340 5.09 1217604 3383116 240 19:26:56 19:22:01 27587640 31540124 747748 2.27 168848 3937088 1831128 5.40 1324892 3455724 20180 19:26:56 19:23:01 27500484 31566932 721776 2.19 170224 4042600 1799724 5.30 1366004 3496804 172 19:26:56 19:24:01 27507872 31574376 714360 2.17 170272 4042604 1799724 5.30 1358796 3496808 164 19:26:56 19:25:01 27508092 31574632 714072 2.17 170296 4042604 1799724 5.30 1358812 3496820 156 19:26:56 19:26:01 27508268 31574844 713992 2.17 170328 4042608 1799724 5.30 1358832 3496824 168 19:26:56 Average: 27812872 31565696 730983 2.22 154304 3763384 1832695 5.40 1277887 3300070 30666 19:26:56 19:26:56 19:17:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:26:56 19:18:02 ens3 747.13 470.70 7706.24 119.25 0.00 0.00 0.00 0.00 19:26:56 19:18:02 vethc5d5b37 120.73 171.90 11.82 1150.80 0.00 0.00 0.00 0.09 19:26:56 19:18:02 lo 7.13 7.13 0.69 0.69 0.00 0.00 0.00 0.00 19:26:56 19:18:02 docker0 126.66 179.65 10.71 1261.91 0.00 0.00 0.00 0.00 19:26:56 19:19:01 ens3 84.94 52.13 657.85 18.50 0.00 0.00 0.00 0.00 19:26:56 19:19:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 19:26:56 19:19:01 docker0 28.50 43.04 2.34 619.48 0.00 0.00 0.00 0.00 19:26:56 19:20:01 ens3 110.88 68.07 2592.59 11.50 0.00 0.00 0.00 0.00 19:26:56 19:20:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 19:26:56 19:20:01 docker0 2.22 4.55 0.15 57.97 0.00 0.00 0.00 0.00 19:26:56 19:21:01 ens3 0.15 0.12 0.01 0.01 0.00 0.00 0.00 0.00 19:26:56 19:21:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:26:56 19:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:56 19:22:01 ens3 87.72 54.10 1141.29 3.80 0.00 0.00 0.00 0.00 19:26:56 19:22:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 19:26:56 19:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:56 19:23:01 ens3 13.95 8.27 204.12 0.94 0.00 0.00 0.00 0.00 19:26:56 19:23:01 lo 0.27 0.27 0.02 0.02 0.00 0.00 0.00 0.00 19:26:56 19:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:56 19:24:01 ens3 0.02 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:56 19:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:56 19:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:56 19:25:01 ens3 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 19:26:56 19:25:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:26:56 19:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:56 19:26:01 ens3 0.05 0.03 0.00 0.00 0.00 0.00 0.00 0.00 19:26:56 19:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:56 19:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:26:56 Average: ens3 116.37 72.78 1370.67 17.14 0.00 0.00 0.00 0.00 19:26:56 Average: lo 1.14 1.14 0.11 0.11 0.00 0.00 0.00 0.00 19:26:56 Average: docker0 17.50 25.26 1.47 215.13 0.00 0.00 0.00 0.00 19:26:56 19:26:56 19:26:56 ---> sar -P ALL: 19:26:56 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-118498) 11/07/22 _x86_64_ (8 CPU) 19:26:56 19:26:56 19:16:48 LINUX RESTART (8 CPU) 19:26:56 19:26:56 19:17:01 CPU %user %nice %system %iowait %steal %idle 19:26:56 19:18:02 all 10.45 0.00 3.93 1.75 0.06 83.80 19:26:56 19:18:02 0 10.39 0.00 4.33 3.65 0.05 81.57 19:26:56 19:18:02 1 11.31 0.00 3.90 0.39 0.07 84.33 19:26:56 19:18:02 2 10.00 0.00 2.91 2.44 0.05 84.59 19:26:56 19:18:02 3 10.35 0.00 3.03 0.34 0.07 86.22 19:26:56 19:18:02 4 8.17 0.00 4.19 3.41 0.05 84.18 19:26:56 19:18:02 5 11.87 0.00 4.30 2.39 0.05 81.38 19:26:56 19:18:02 6 8.49 0.00 3.62 0.67 0.05 87.17 19:26:56 19:18:02 7 13.06 0.00 5.16 0.73 0.08 80.97 19:26:56 19:19:01 all 37.33 0.00 7.13 1.14 0.09 54.32 19:26:56 19:19:01 0 36.55 0.00 7.64 0.55 0.10 55.15 19:26:56 19:19:01 1 38.03 0.00 6.96 0.19 0.10 54.72 19:26:56 19:19:01 2 37.39 0.00 8.27 3.47 0.09 50.78 19:26:56 19:19:01 3 36.87 0.00 6.51 0.15 0.09 56.39 19:26:56 19:19:01 4 38.58 0.00 6.55 0.15 0.09 54.63 19:26:56 19:19:01 5 36.68 0.00 7.26 0.62 0.09 55.35 19:26:56 19:19:01 6 37.69 0.00 6.52 0.17 0.09 55.54 19:26:56 19:19:01 7 36.86 0.00 7.32 3.81 0.09 51.93 19:26:56 19:20:01 all 3.32 0.00 1.46 0.62 0.02 94.58 19:26:56 19:20:01 0 2.55 0.00 1.34 0.62 0.02 95.47 19:26:56 19:20:01 1 3.13 0.00 1.34 0.28 0.02 95.23 19:26:56 19:20:01 2 2.96 0.00 2.17 0.69 0.02 94.17 19:26:56 19:20:01 3 5.18 0.00 1.21 0.10 0.03 93.48 19:26:56 19:20:01 4 2.61 0.00 0.96 0.34 0.02 96.08 19:26:56 19:20:01 5 3.57 0.00 1.96 2.28 0.02 92.17 19:26:56 19:20:01 6 3.12 0.00 0.94 0.57 0.02 95.36 19:26:56 19:20:01 7 3.38 0.00 1.78 0.13 0.02 94.69 19:26:56 19:21:01 all 0.28 0.00 0.01 0.00 0.00 99.70 19:26:56 19:21:01 0 0.03 0.00 0.02 0.02 0.00 99.93 19:26:56 19:21:01 1 0.00 0.00 0.00 0.00 0.00 100.00 19:26:56 19:21:01 2 0.05 0.00 0.00 0.00 0.02 99.93 19:26:56 19:21:01 3 2.02 0.00 0.02 0.00 0.00 97.96 19:26:56 19:21:01 4 0.02 0.00 0.02 0.00 0.00 99.97 19:26:56 19:21:01 5 0.05 0.00 0.03 0.02 0.00 99.90 19:26:56 19:21:01 6 0.02 0.00 0.02 0.00 0.00 99.97 19:26:56 19:21:01 7 0.00 0.00 0.02 0.00 0.00 99.98 19:26:56 19:22:01 all 1.00 0.00 0.68 0.18 0.01 98.13 19:26:56 19:22:01 0 0.53 0.00 0.25 0.68 0.02 98.52 19:26:56 19:22:01 1 1.18 0.00 0.50 0.02 0.00 98.30 19:26:56 19:22:01 2 0.92 0.00 1.91 0.13 0.00 97.04 19:26:56 19:22:01 3 2.21 0.00 0.48 0.02 0.02 97.27 19:26:56 19:22:01 4 0.79 0.00 0.33 0.18 0.02 98.68 19:26:56 19:22:01 5 0.87 0.00 0.45 0.07 0.02 98.60 19:26:56 19:22:01 6 0.52 0.00 0.75 0.00 0.02 98.71 19:26:56 19:22:01 7 0.99 0.00 0.77 0.32 0.02 97.91 19:26:56 19:23:01 all 0.34 0.00 0.15 0.10 0.00 99.40 19:26:56 19:23:01 0 0.12 0.00 0.15 0.35 0.00 99.38 19:26:56 19:23:01 1 0.39 0.00 0.07 0.02 0.00 99.53 19:26:56 19:23:01 2 0.32 0.00 0.27 0.18 0.00 99.23 19:26:56 19:23:01 3 1.00 0.00 0.30 0.00 0.02 98.68 19:26:56 19:23:01 4 0.05 0.00 0.08 0.25 0.00 99.62 19:26:56 19:23:01 5 0.35 0.00 0.13 0.00 0.00 99.52 19:26:56 19:23:01 6 0.33 0.00 0.12 0.02 0.00 99.53 19:26:56 19:23:01 7 0.17 0.00 0.07 0.02 0.02 99.73 19:26:56 19:24:01 all 0.03 0.00 0.01 0.00 0.00 99.96 19:26:56 19:24:01 0 0.02 0.00 0.03 0.02 0.00 99.93 19:26:56 19:24:01 1 0.00 0.00 0.00 0.00 0.00 100.00 19:26:56 19:24:01 2 0.03 0.00 0.00 0.00 0.02 99.95 19:26:56 19:24:01 3 0.03 0.00 0.03 0.00 0.00 99.93 19:26:56 19:24:01 4 0.07 0.00 0.00 0.02 0.00 99.92 19:26:56 19:24:01 5 0.00 0.00 0.00 0.00 0.00 100.00 19:26:56 19:24:01 6 0.02 0.00 0.00 0.00 0.00 99.98 19:26:56 19:24:01 7 0.05 0.00 0.02 0.00 0.00 99.93 19:26:56 19:25:01 all 0.02 0.00 0.02 0.00 0.00 99.96 19:26:56 19:25:01 0 0.02 0.00 0.03 0.02 0.00 99.93 19:26:56 19:25:01 1 0.02 0.00 0.02 0.00 0.00 99.97 19:26:56 19:25:01 2 0.00 0.00 0.02 0.00 0.00 99.98 19:26:56 19:25:01 3 0.02 0.00 0.00 0.00 0.00 99.98 19:26:56 19:25:01 4 0.03 0.00 0.02 0.02 0.00 99.93 19:26:56 19:25:01 5 0.05 0.00 0.03 0.00 0.00 99.92 19:26:56 19:25:01 6 0.00 0.00 0.02 0.00 0.00 99.98 19:26:56 19:25:01 7 0.03 0.00 0.02 0.00 0.00 99.95 19:26:56 19:26:01 all 0.03 0.00 0.01 0.00 0.00 99.95 19:26:56 19:26:01 0 0.03 0.00 0.02 0.02 0.00 99.93 19:26:56 19:26:01 1 0.02 0.00 0.00 0.00 0.00 99.98 19:26:56 19:26:01 2 0.03 0.00 0.02 0.00 0.00 99.95 19:26:56 19:26:01 3 0.02 0.00 0.03 0.00 0.02 99.93 19:26:56 19:26:01 4 0.03 0.00 0.00 0.02 0.00 99.95 19:26:56 19:26:01 5 0.03 0.00 0.02 0.00 0.00 99.95 19:26:56 19:26:01 6 0.02 0.00 0.00 0.00 0.00 99.98 19:26:56 19:26:01 7 0.02 0.00 0.03 0.00 0.00 99.95 19:26:56 Average: all 5.77 0.00 1.47 0.42 0.02 92.31 19:26:56 Average: 0 5.48 0.00 1.52 0.66 0.02 92.32 19:26:56 Average: 1 5.93 0.00 1.41 0.10 0.02 92.55 19:26:56 Average: 2 5.64 0.00 1.71 0.76 0.02 91.87 19:26:56 Average: 3 6.32 0.00 1.27 0.07 0.03 92.31 19:26:56 Average: 4 5.50 0.00 1.33 0.48 0.02 92.67 19:26:56 Average: 5 5.85 0.00 1.56 0.60 0.02 91.97 19:26:56 Average: 6 5.50 0.00 1.32 0.16 0.02 93.01 19:26:56 Average: 7 5.95 0.00 1.66 0.55 0.02 91.81 19:26:56 19:26:56 19:26:56