Pull request #437 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f43ab75e463b1d50644a12a930e8c2107d3602dd+e1750a3b15eb2e9b81f68c2c10258d3a0a85e413 (91c23fc306cf6b6269a6b52e5e38fdfbe794fb4b) 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-ssh11414718408987215241.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-ssh1856792253309094721.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-437/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-437/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3768776093679189081.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-ssh1167384900712046165.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-437/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-437/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5844150153585089473.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118469 in /w/workspace/gexfoundry_device-mqtt-go_PR-437 [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-437 # 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/437/head:refs/remotes/origin/PR-437 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e1750a3b15eb2e9b81f68c2c10258d3a0a85e413 into PR head commit f43ab75e463b1d50644a12a930e8c2107d3602dd Merge succeeded, producing f43ab75e463b1d50644a12a930e8c2107d3602dd Checking out Revision f43ab75e463b1d50644a12a930e8c2107d3602dd (PR-437) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:29:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:29:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:29:13 ========================================================= 17:29:13 EdgeX Global Pipelines Version Info 17:29:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f f43ab75e463b1d50644a12a930e8c2107d3602dd # 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 e1750a3b15eb2e9b81f68c2c10258d3a0a85e413 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f43ab75e463b1d50644a12a930e8c2107d3602dd # timeout=10 > git rev-list --no-walk 581e484cb850c5566fa3c3832359332443ec4b66 # timeout=10 17:29:14 ------------------- 17:29:14 stable info: 17:29:14 ------------------- 17:29:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:29:14 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:29:14 Message: update stable to v1.0.244 17:29:14 ------------------- 17:29:14 experimental info: 17:29:14 ------------------- 17:29:14 Commited By: **** collab-it+edgex@linuxfoundation.org 17:29:14 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:29:14 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-437 [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-437 [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-437 [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f43ab75e463b1d50644a12a930e8c2107d3602dd [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f43ab75 [Pipeline] echo 17:29:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:29:15 provisioning config files... 17:29:15 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-437@tmp/config9590555097089324780tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:15 ---> docker-login.sh 17:29:15 nexus3.edgexfoundry.org:10001 17:29:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:16 Configure a credential helper to remove this warning. See 17:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:16 17:29:16 Login Succeeded 17:29:16 nexus3.edgexfoundry.org:10002 17:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:16 Configure a credential helper to remove this warning. See 17:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:16 17:29:16 Login Succeeded 17:29:16 nexus3.edgexfoundry.org:10003 17:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:16 Configure a credential helper to remove this warning. See 17:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:16 17:29:16 Login Succeeded 17:29:16 nexus3.edgexfoundry.org:10004 17:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:16 Configure a credential helper to remove this warning. See 17:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:16 17:29:16 Login Succeeded 17:29:16 docker.io 17:29:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:16 Configure a credential helper to remove this warning. See 17:29:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:16 17:29:16 Login Succeeded 17:29:16 ---> docker-login.sh ends [Pipeline] } 17:29:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:29:17 + git rev-list -1 --merges f43ab75e463b1d50644a12a930e8c2107d3602dd~1..f43ab75e463b1d50644a12a930e8c2107d3602dd [Pipeline] echo 17:29:17 -----------> git rev-list -1 --merges f43ab75e463b1d50644a12a930e8c2107d3602dd~1..f43ab75e463b1d50644a12a930e8c2107d3602dd f43ab75e463b1d50644a12a930e8c2107d3602dd [false] [Pipeline] sh 17:29:17 + git log --format=format:%s -1 f43ab75e463b1d50644a12a930e8c2107d3602dd [Pipeline] echo 17:29:17 ========================================================= 17:29:17 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:29:17 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:29:17 + git log --format=format:%s -1 f43ab75e463b1d50644a12a930e8c2107d3602dd [Pipeline] echo 17:29:17 [semverPrep] GIT_COMMIT: f43ab75e463b1d50644a12a930e8c2107d3602dd, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 17:29:17 [semverPrep] This is not a build commit. [Pipeline] sh 17:29:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:29:18 + grep -v github /etc/ssh/ssh_known_hosts 17:29:18 + [ -e /tmp/ssh_known_hosts ] 17:29:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:29:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:29:18 + sudo tee -a /etc/ssh/ssh_known_hosts 17:29:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:29:18 17:29:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:29:18 0.1.4: Pulling from edgex-devops/py-git-semver 17:29:18 b85a868b505f: Pulling fs layer 17:29:18 e2be974225ed: Pulling fs layer 17:29:18 339a4e72a1f5: Pulling fs layer 17:29:18 988bab9f4d93: Pulling fs layer 17:29:18 1469e6f7b9e6: Pulling fs layer 17:29:18 eaf3925da568: Pulling fs layer 17:29:18 bab4dde63d76: Pulling fs layer 17:29:18 bde34c3a00c8: Pulling fs layer 17:29:18 b352a97aabf1: Pulling fs layer 17:29:18 4872d77fe225: Pulling fs layer 17:29:18 5851b861e8e6: Pulling fs layer 17:29:18 bde34c3a00c8: Waiting 17:29:18 988bab9f4d93: Waiting 17:29:18 4872d77fe225: Waiting 17:29:18 1469e6f7b9e6: Waiting 17:29:18 eaf3925da568: Waiting 17:29:18 5851b861e8e6: Waiting 17:29:18 bab4dde63d76: Waiting 17:29:18 b352a97aabf1: Waiting 17:29:18 e2be974225ed: Download complete 17:29:18 988bab9f4d93: Download complete 17:29:19 1469e6f7b9e6: Verifying Checksum 17:29:19 1469e6f7b9e6: Download complete 17:29:19 eaf3925da568: Download complete 17:29:19 339a4e72a1f5: Verifying Checksum 17:29:19 339a4e72a1f5: Download complete 17:29:19 bde34c3a00c8: Verifying Checksum 17:29:19 bde34c3a00c8: Download complete 17:29:19 b352a97aabf1: Download complete 17:29:19 4872d77fe225: Download complete 17:29:19 5851b861e8e6: Verifying Checksum 17:29:19 5851b861e8e6: Download complete 17:29:19 b85a868b505f: Verifying Checksum 17:29:19 b85a868b505f: Download complete 17:29:19 bab4dde63d76: Verifying Checksum 17:29:19 bab4dde63d76: Download complete 17:29:20 b85a868b505f: Pull complete 17:29:20 e2be974225ed: Pull complete 17:29:20 339a4e72a1f5: Pull complete 17:29:20 988bab9f4d93: Pull complete 17:29:21 1469e6f7b9e6: Pull complete 17:29:21 eaf3925da568: Pull complete 17:29:22 bab4dde63d76: Pull complete 17:29:23 bde34c3a00c8: Pull complete 17:29:23 b352a97aabf1: Pull complete 17:29:23 4872d77fe225: Pull complete 17:29:23 5851b861e8e6: Pull complete 17:29:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:29:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:29:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:29:23 prd-ubuntu20.04-docker-8c-8g-118469 does not seem to be running inside a container 17:29:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-437 -v /w/workspace/gexfoundry_device-mqtt-go_PR-437:/w/workspace/gexfoundry_device-mqtt-go_PR-437:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-437@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-437@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:29:27 $ docker top 26e9cf43a44d8b4d3c4fad75b6b5f14fd775ab18f0bd2ecd836b40431148efa1 -eo pid,comm 17:29:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:29:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:29:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:29:27 [ssh-agent] Looking for ssh-agent implementation... 17:29:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:29:27 $ docker exec 26e9cf43a44d8b4d3c4fad75b6b5f14fd775ab18f0bd2ecd836b40431148efa1 ssh-agent 17:29:27 SSH_AUTH_SOCK=/tmp/ssh-QPoojlNNgCDG/agent.32 17:29:27 SSH_AGENT_PID=38 17:29:27 Running ssh-add (command line suppressed) 17:29:27 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-437@tmp/private_key_4822103955065925410.key (/w/workspace/gexfoundry_device-mqtt-go_PR-437@tmp/private_key_4822103955065925410.key) 17:29:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:29:28 + git tag --points-at HEAD [Pipeline] } 17:29:28 $ docker exec --env ******** --env ******** 26e9cf43a44d8b4d3c4fad75b6b5f14fd775ab18f0bd2ecd836b40431148efa1 ssh-agent -k 17:29:28 unset SSH_AUTH_SOCK; 17:29:28 unset SSH_AGENT_PID; 17:29:28 echo Agent pid 38 killed; 17:29:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:29:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:29:28 [ssh-agent] Looking for ssh-agent implementation... 17:29:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:29:28 $ docker exec 26e9cf43a44d8b4d3c4fad75b6b5f14fd775ab18f0bd2ecd836b40431148efa1 ssh-agent 17:29:28 SSH_AUTH_SOCK=/tmp/ssh-29lVzbgPWNuG/agent.70 17:29:28 SSH_AGENT_PID=76 17:29:28 Running ssh-add (command line suppressed) 17:29:28 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-437@tmp/private_key_8893377657731367967.key (/w/workspace/gexfoundry_device-mqtt-go_PR-437@tmp/private_key_8893377657731367967.key) 17:29:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:29:28 + git semver init 17:29:29 2022-11-07 17:29:29,099 [run_init] DEBUG init version:0.0.0 force:False 17:29:29 2022-11-07 17:29:29,101 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-437/.semver 17:29:29 2022-11-07 17:29:29,101 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-437/.semver 17:29:29 2022-11-07 17:29:29,102 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-437/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-437, universal_newlines=False, shell=None, istream=None) 17:29:30 2022-11-07 17:29:30,043 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-437/.git/info/exclude 17:29:30 2022-11-07 17:29:30,044 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-437/.semver/PR-437 with force:False 17:29:30 2022-11-07 17:29:30,044 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-437/.semver/PR-437 17:29:30 2022-11-07 17:29:30,046 [execute] INFO git cat-file --batch-check 17:29:30 2022-11-07 17:29:30,047 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-437/.semver, universal_newlines=False, shell=None, istream=) 17:29:30 2022-11-07 17:29:30,053 [execute] INFO git cat-file --batch 17:29:30 2022-11-07 17:29:30,053 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-437/.semver, universal_newlines=False, shell=None, istream=) 17:29:30 2022-11-07 17:29:30,059 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-437/.semver/PR-437 17:29:30 0.0.0 [Pipeline] } 17:29:30 $ docker exec --env ******** --env ******** 26e9cf43a44d8b4d3c4fad75b6b5f14fd775ab18f0bd2ecd836b40431148efa1 ssh-agent -k 17:29:30 unset SSH_AUTH_SOCK; 17:29:30 unset SSH_AGENT_PID; 17:29:30 echo Agent pid 76 killed; 17:29:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:29:30 + git semver [Pipeline] } 17:29:30 $ docker stop --time=1 26e9cf43a44d8b4d3c4fad75b6b5f14fd775ab18f0bd2ecd836b40431148efa1 17:29:32 $ docker rm -f 26e9cf43a44d8b4d3c4fad75b6b5f14fd775ab18f0bd2ecd836b40431148efa1 [Pipeline] // withDockerContainer [Pipeline] sh 17:29:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:29:32 Stashed 1 file(s) [Pipeline] echo 17:29:32 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:29:32 provisioning config files... 17:29:32 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-437@tmp/config17814406634454477502tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:29:32 ---> docker-login.sh 17:29:32 nexus3.edgexfoundry.org:10001 17:29:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:32 Configure a credential helper to remove this warning. See 17:29:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:32 17:29:32 Login Succeeded 17:29:32 nexus3.edgexfoundry.org:10002 17:29:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:33 Configure a credential helper to remove this warning. See 17:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:33 17:29:33 Login Succeeded 17:29:33 nexus3.edgexfoundry.org:10003 17:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:33 Configure a credential helper to remove this warning. See 17:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:33 17:29:33 Login Succeeded 17:29:33 nexus3.edgexfoundry.org:10004 17:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:33 Configure a credential helper to remove this warning. See 17:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:33 17:29:33 Login Succeeded 17:29:33 docker.io 17:29:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:29:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:29:33 Configure a credential helper to remove this warning. See 17:29:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:29:33 17:29:33 Login Succeeded 17:29:33 ---> docker-login.sh ends [Pipeline] } 17:29:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:29:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:29:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:29:33 ========================================================= 17:29:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:29:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:34 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:29:34 Sending build context to Docker daemon 6.214MB 17:29:34 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:29:34 Step 2/12 : FROM ${BASE} AS builder 17:29:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:29:34 213ec9aee27d: Pulling fs layer 17:29:34 4583459ba037: Pulling fs layer 17:29:34 93c1e223e6f2: Pulling fs layer 17:29:34 53926ce57604: Pulling fs layer 17:29:34 21b2b0c7a3f4: Pulling fs layer 17:29:34 22ff95d597cd: Pulling fs layer 17:29:34 12d6caf4c0d1: Pulling fs layer 17:29:34 96b7cbca73a9: Pulling fs layer 17:29:34 a7acece74701: Pulling fs layer 17:29:34 21b2b0c7a3f4: Waiting 17:29:34 22ff95d597cd: Waiting 17:29:34 12d6caf4c0d1: Waiting 17:29:34 96b7cbca73a9: Waiting 17:29:34 a7acece74701: Waiting 17:29:34 53926ce57604: Waiting 17:29:34 93c1e223e6f2: Verifying Checksum 17:29:34 93c1e223e6f2: Download complete 17:29:34 4583459ba037: Verifying Checksum 17:29:34 4583459ba037: Download complete 17:29:34 21b2b0c7a3f4: Verifying Checksum 17:29:34 21b2b0c7a3f4: Download complete 17:29:34 22ff95d597cd: Verifying Checksum 17:29:34 22ff95d597cd: Download complete 17:29:34 213ec9aee27d: Verifying Checksum 17:29:34 213ec9aee27d: Download complete 17:29:34 12d6caf4c0d1: Download complete 17:29:34 213ec9aee27d: Pull complete 17:29:34 4583459ba037: Pull complete 17:29:34 93c1e223e6f2: Pull complete 17:29:35 96b7cbca73a9: Verifying Checksum 17:29:35 96b7cbca73a9: Download complete 17:29:35 a7acece74701: Verifying Checksum 17:29:35 a7acece74701: Download complete 17:29:35 53926ce57604: Verifying Checksum 17:29:35 53926ce57604: Download complete 17:29:39 53926ce57604: Pull complete 17:29:39 21b2b0c7a3f4: Pull complete 17:29:39 22ff95d597cd: Pull complete 17:29:39 12d6caf4c0d1: Pull complete 17:29:41 96b7cbca73a9: Pull complete 17:29:41 a7acece74701: Pull complete 17:29:41 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:29:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:29:41 ---> db6d94c90886 17:29:41 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:29:47 Still waiting to schedule task 17:29:47 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 17:29:48 ---> Running in 555423fb7cad 17:29:48 Removing intermediate container 555423fb7cad 17:29:48 ---> f8954e9c43e4 17:29:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:29:48 ---> Running in e07d3abcfdf0 17:29:48 Removing intermediate container e07d3abcfdf0 17:29:48 ---> 70252e6a525c 17:29:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:29:48 ---> Running in 4794d2efec63 17:29:48 Removing intermediate container 4794d2efec63 17:29:48 ---> 12ffe43c6e12 17:29:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:29:48 ---> Running in 0efeedce7d93 17:29:48 Removing intermediate container 0efeedce7d93 17:29:48 ---> 7fb8503a2059 17:29:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:29:48 ---> Running in 60ab1fd004db 17:29:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:29:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:29:49 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:29:49 (2/4) Installing libedit (20210910.3.1-r0) 17:29:49 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:29:49 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:29:49 Executing busybox-1.35.0-r17.trigger 17:29:49 OK: 216 MiB in 55 packages 17:29:49 Removing intermediate container 60ab1fd004db 17:29:49 ---> 5ddf367846f1 17:29:49 Step 8/12 : WORKDIR /device-mqtt-go 17:29:49 ---> Running in 294df9fc5f84 17:29:49 Removing intermediate container 294df9fc5f84 17:29:49 ---> 250cc07630a0 17:29:49 Step 9/12 : COPY go.mod vendor* ./ 17:29:49 ---> 86b5e81b8017 17:29:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:29:49 ---> Running in 362d217d8002 17:30:21 Removing intermediate container 362d217d8002 17:30:21 ---> fc8084a520cf 17:30:21 Step 11/12 : COPY . . 17:30:21 ---> 6641e0a54af3 17:30:21 Step 12/12 : RUN $MAKE 17:30:21 ---> Running in d34db03293b4 17:30:21 noop 17:30:21 Removing intermediate container d34db03293b4 17:30:21 ---> 7eba150924b9 17:30:21 Successfully built 7eba150924b9 17:30:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:22 + docker inspect -f . ci-base-image-x86_64 17:30:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:22 prd-ubuntu20.04-docker-8c-8g-118469 does not seem to be running inside a container 17:30:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-437 -v /w/workspace/gexfoundry_device-mqtt-go_PR-437:/w/workspace/gexfoundry_device-mqtt-go_PR-437:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-437@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-437@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:30:22 $ docker top d1fc8028028c5cb060e605c4a0683bea9fb77aee205d10e93b79532fd6e02ba4 -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:22 + go version 17:30:22 go version go1.18.7 linux/amd64 [Pipeline] } 17:30:22 $ docker stop --time=1 d1fc8028028c5cb060e605c4a0683bea9fb77aee205d10e93b79532fd6e02ba4 17:30:24 $ docker rm -f d1fc8028028c5cb060e605c4a0683bea9fb77aee205d10e93b79532fd6e02ba4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:24 + docker inspect -f . ci-base-image-x86_64 17:30:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:24 prd-ubuntu20.04-docker-8c-8g-118469 does not seem to be running inside a container 17:30:24 $ 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-437 -v /w/workspace/gexfoundry_device-mqtt-go_PR-437:/w/workspace/gexfoundry_device-mqtt-go_PR-437:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-437@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-437@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:30:25 $ docker top 9491c278f104c125a4b4c37cc7ff0bf666c24e2d359ef6b69cebcb7e3cfc19ee -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:25 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-437 [Pipeline] fileExists [Pipeline] sh 17:30:25 + make test 17:30:25 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:30:26 ? github.com/edgexfoundry/device-mqtt-go [no test files] 17:30:34 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 17:30:34 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 21.8% of statements 17:30:34 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 17:30:40 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:30:40 GCO_ENABLED=1 GO111MODULE=on go vet ./... 17:30:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:30:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:30:44 ./bin/test-attribution-txt.sh [Pipeline] echo 17:30:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:30:44 $ docker stop --time=1 9491c278f104c125a4b4c37cc7ff0bf666c24e2d359ef6b69cebcb7e3cfc19ee 17:30:47 $ docker rm -f 9491c278f104c125a4b4c37cc7ff0bf666c24e2d359ef6b69cebcb7e3cfc19ee [Pipeline] // withDockerContainer [Pipeline] sh 17:30:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:30:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:30:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:30:48 + ls -al . 17:30:48 total 196 17:30:48 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 17:30 . 17:30:48 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:29 .. 17:30:48 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 17:29 .dockerignore 17:30:48 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 17:30 .git 17:30:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:29 .github 17:30:48 -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 17:29 .gitignore 17:30:48 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 17:29 .golangci.yml 17:30:48 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 17:29 .semver 17:30:48 -rw-rw-r-- 1 jenkins jenkins 9293 Nov 7 17:29 Attribution.txt 17:30:48 -rw-rw-r-- 1 jenkins jenkins 13162 Nov 7 17:29 CHANGELOG.md 17:30:48 -rw-rw-r-- 1 jenkins jenkins 1752 Nov 7 17:29 Dockerfile 17:30:48 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 17:29 GOVERNANCE.md 17:30:48 -rw-rw-r-- 1 jenkins jenkins 678 Nov 7 17:29 Jenkinsfile 17:30:48 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 17:29 LICENSE 17:30:48 -rw-rw-r-- 1 jenkins jenkins 2126 Nov 7 17:29 Makefile 17:30:48 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 17:29 OWNERS.md 17:30:48 -rw-rw-r-- 1 jenkins jenkins 3165 Nov 7 17:29 README.md 17:30:48 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 17:29 VERSION 17:30:48 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:29 bin 17:30:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:29 cmd 17:30:48 -rw-r--r-- 1 jenkins jenkins 17887 Nov 7 17:30 coverage.out 17:30:48 -rw-rw-r-- 1 jenkins jenkins 3470 Nov 7 17:29 go.mod 17:30:48 -rw-rw-r-- 1 jenkins jenkins 45060 Nov 7 17:29 go.sum 17:30:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:29 internal 17:30:48 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:29 mock 17:30:48 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:29 snap 17:30:48 -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 17:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:48 + 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=f43ab75e463b1d50644a12a930e8c2107d3602dd --label arch=amd64 --label version=0.0.0 . 17:30:48 Sending build context to Docker daemon 6.233MB 17:30:48 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 17:30:48 Step 2/24 : FROM ${BASE} AS builder 17:30:48 ---> 7eba150924b9 17:30:48 Step 3/24 : ARG ADD_BUILD_TAGS="" 17:30:49 ---> Running in 07daa0483559 17:30:49 Removing intermediate container 07daa0483559 17:30:49 ---> 9b499b03ac5b 17:30:49 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:30:49 ---> Running in 2299fd5f9533 17:30:49 Removing intermediate container 2299fd5f9533 17:30:49 ---> 889fa45e8cab 17:30:49 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:30:49 ---> Running in 3a10c9ce6310 17:30:49 Removing intermediate container 3a10c9ce6310 17:30:49 ---> 152f4e6298ca 17:30:49 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 17:30:49 ---> Running in e809b880025e 17:30:49 Removing intermediate container e809b880025e 17:30:49 ---> 9095f63ac775 17:30:49 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:30:49 ---> Running in c8baae5421d7 17:30:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:30:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:30:50 OK: 216 MiB in 55 packages 17:30:50 Removing intermediate container c8baae5421d7 17:30:50 ---> 446a57a41109 17:30:50 Step 8/24 : WORKDIR /device-mqtt-go 17:30:50 ---> Running in f6e755c1a3f6 17:30:50 Removing intermediate container f6e755c1a3f6 17:30:50 ---> 08075659bc26 17:30:50 Step 9/24 : COPY go.mod vendor* ./ 17:30:50 ---> 33a7daa1f245 17:30:50 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:30:50 ---> Running in 1160da57aeeb 17:30:51 Removing intermediate container 1160da57aeeb 17:30:51 ---> 9cdf3b9f1a5a 17:30:51 Step 11/24 : COPY . . 17:30:51 ---> 5093b629b14f 17:30:51 Step 12/24 : RUN $MAKE 17:30:51 ---> Running in 2d512f84813f 17:30:52 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 17:31:14 Removing intermediate container 2d512f84813f 17:31:14 ---> 6ede5cfeab43 17:31:14 Step 13/24 : FROM alpine:3.16 17:31:14 3.16: Pulling from library/alpine 17:31:14 213ec9aee27d: Already exists 17:31:14 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:31:14 Status: Downloaded newer image for alpine:3.16 17:31:14 ---> 9c6f07244728 17:31:14 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 17:31:14 ---> Running in dded00796064 17:31:14 Removing intermediate container dded00796064 17:31:14 ---> 94774cc93adc 17:31:14 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 17:31:14 ---> Running in bbdd55bed5af 17:31:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:31:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:31:15 (1/6) Installing dumb-init (1.2.5-r1) 17:31:15 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:31:15 (3/6) Installing libsodium (1.0.18-r0) 17:31:15 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:31:15 (5/6) Installing libzmq (4.3.4-r0) 17:31:15 (6/6) Installing zeromq (4.3.4-r0) 17:31:15 Executing busybox-1.35.0-r17.trigger 17:31:15 OK: 8 MiB in 20 packages 17:31:15 Removing intermediate container bbdd55bed5af 17:31:15 ---> df444a6ed1c4 17:31:15 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 17:31:16 ---> 8250fbcbde68 17:31:16 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 17:31:16 ---> 6d880cb7dd59 17:31:16 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 17:31:16 ---> 3b36355ac2c2 17:31:16 Step 19/24 : EXPOSE 59982 17:31:16 ---> Running in 56b3293eeb91 17:31:16 Removing intermediate container 56b3293eeb91 17:31:16 ---> 4f40c8d135db 17:31:16 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 17:31:16 ---> Running in 6258c531fa63 17:31:16 Removing intermediate container 6258c531fa63 17:31:16 ---> 0ddd93814553 17:31:16 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:31:16 ---> Running in 4fdadf8818ed 17:31:17 Removing intermediate container 4fdadf8818ed 17:31:17 ---> 5446492491a7 17:31:17 Step 22/24 : LABEL arch=amd64 17:31:17 ---> Running in eb2b7d89dd67 17:31:17 Removing intermediate container eb2b7d89dd67 17:31:17 ---> f70931c40252 17:31:17 Step 23/24 : LABEL git_sha=f43ab75e463b1d50644a12a930e8c2107d3602dd 17:31:17 ---> Running in ca206c67d9a4 17:31:17 Removing intermediate container ca206c67d9a4 17:31:17 ---> 7e64c48a782c 17:31:17 Step 24/24 : LABEL version=0.0.0 17:31:17 ---> Running in aaaacb29738e 17:31:17 Removing intermediate container aaaacb29738e 17:31:17 ---> 910885e643c1 17:31:17 [Warning] One or more build-args [ARCH] were not consumed 17:31:17 Successfully built 910885e643c1 17:31:17 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:31:17 17:31:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:31:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:31:18 latest: Pulling from edgex-lftools-log-publisher 17:31:18 5eb5b503b376: Pulling fs layer 17:31:18 5c69ac0246d0: Pulling fs layer 17:31:18 ec43610c2a17: Pulling fs layer 17:31:18 3a2ae6a8a46f: Pulling fs layer 17:31:18 33b1e0a273af: Pulling fs layer 17:31:18 3a2ae6a8a46f: Waiting 17:31:18 5d3b04190fa2: Pulling fs layer 17:31:18 2f39f015ded8: Pulling fs layer 17:31:18 33b1e0a273af: Waiting 17:31:18 5d3b04190fa2: Waiting 17:31:18 5c69ac0246d0: Verifying Checksum 17:31:18 5c69ac0246d0: Download complete 17:31:18 3a2ae6a8a46f: Verifying Checksum 17:31:18 3a2ae6a8a46f: Download complete 17:31:18 33b1e0a273af: Verifying Checksum 17:31:18 33b1e0a273af: Download complete 17:31:18 5d3b04190fa2: Verifying Checksum 17:31:18 ec43610c2a17: Verifying Checksum 17:31:18 ec43610c2a17: Download complete 17:31:18 5d3b04190fa2: Download complete 17:31:18 5eb5b503b376: Verifying Checksum 17:31:18 5eb5b503b376: Download complete 17:31:18 2f39f015ded8: Download complete 17:31:19 5eb5b503b376: Pull complete 17:31:19 5c69ac0246d0: Pull complete 17:31:20 ec43610c2a17: Pull complete 17:31:20 3a2ae6a8a46f: Pull complete 17:31:20 33b1e0a273af: Pull complete 17:31:20 5d3b04190fa2: Pull complete 17:31:24 2f39f015ded8: Pull complete 17:31:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:31:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:31:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:31:24 prd-ubuntu20.04-docker-8c-8g-118469 does not seem to be running inside a container 17:31:24 $ 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-437 -v /w/workspace/gexfoundry_device-mqtt-go_PR-437:/w/workspace/gexfoundry_device-mqtt-go_PR-437:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-437@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-437@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:31:29 $ docker top b1944b16844ad146a3c7ebca22ca3de1ac318c97645fd2b4541be63708d0c402 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:31:30 ---> job-cost.sh 17:31:30 lf-activate-venv: SKIPPING 17:31:30 INFO: No Stack... 17:31:30 INFO: Retrieving Pricing Info for: v3-standard-8 17:31:31 INFO: Archiving Costs [Pipeline] sh 17:31:31 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-437/archives/cost.csv 17:31:31 + cut -d, -f6 [Pipeline] lock 17:31:31 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-437-2-stack-cost] 17:31:31 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-437-2-stack-cost] did not exist. Created. 17:31:31 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-437-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:31:31 + echo total: 0.2199999988079071 [Pipeline] stash 17:31:31 Stashed 1 file(s) [Pipeline] } 17:31:31 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-437-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:31:31 $ docker stop --time=1 b1944b16844ad146a3c7ebca22ca3de1ac318c97645fd2b4541be63708d0c402 17:31:32 $ docker rm -f b1944b16844ad146a3c7ebca22ca3de1ac318c97645fd2b4541be63708d0c402 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:32:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118474 in /w/workspace/gexfoundry_device-mqtt-go_PR-437 [Pipeline] { [Pipeline] ws 17:32:10 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 17:32:10 Selected Git installation does not exist. Using Default 17:32:10 The recommended git tool is: NONE 17:32:22 using credential edgex-jenkins-ssh 17:32:22 Cloning the remote Git repository 17:32:23 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 17:32:23 > git init /w/workspace/device-mqtt-go/2 # timeout=10 17:32:23 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 17:32:23 > git --version # timeout=10 17:32:23 > git --version # 'git version 2.25.1' 17:32:23 using GIT_SSH to set credentials SSH Credentials for GitHub 17:32:23 Verifying host key using known hosts file 17:32:24 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 17:32:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:32:25 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 17:32:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:32:27 Merging remotes/origin/main commit e1750a3b15eb2e9b81f68c2c10258d3a0a85e413 into PR head commit f43ab75e463b1d50644a12a930e8c2107d3602dd 17:32:27 Merge succeeded, producing f43ab75e463b1d50644a12a930e8c2107d3602dd 17:32:27 Checking out Revision f43ab75e463b1d50644a12a930e8c2107d3602dd (PR-437) 17:32:26 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 17:32:26 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 17:32:26 using GIT_SSH to set credentials SSH Credentials for GitHub 17:32:26 Verifying host key using known hosts file 17:32:26 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 17:32:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/437/head:refs/remotes/origin/PR-437 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:32:27 > git config core.sparsecheckout # timeout=10 17:32:27 > git checkout -f f43ab75e463b1d50644a12a930e8c2107d3602dd # timeout=10 17:32:27 > git remote # timeout=10 17:32:27 > git config --get remote.origin.url # timeout=10 17:32:27 using GIT_SSH to set credentials SSH Credentials for GitHub 17:32:27 Verifying host key using known hosts file 17:32:27 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 17:32:27 > git merge e1750a3b15eb2e9b81f68c2c10258d3a0a85e413 # timeout=10 17:32:27 > git rev-parse HEAD^{commit} # timeout=10 17:32:27 > git config core.sparsecheckout # timeout=10 17:32:27 > git checkout -f f43ab75e463b1d50644a12a930e8c2107d3602dd # timeout=10 17:32:28 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:32:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:32:29 % Total % Received % Xferd Average Speed Time Time Time Current 17:32:29 Dload Upload Total Spent Left Speed 17:32:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 173k 0 --:--:-- --:--:-- --:--:-- 173k [Pipeline] sh 17:32:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:32:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:32:30 + sudo tee /etc/docker/daemon.new 17:32:30 { 17:32:30 "registry-mirrors": [ 17:32:30 "https://nexus3.edgexfoundry.org:10001" 17:32:30 ], 17:32:30 "bip": "10.250.0.254/24", 17:32:30 "hosts": [ 17:32:30 "tcp://0.0.0.0:5555", 17:32:30 "unix:///var/run/docker.sock" 17:32:30 ], 17:32:30 "mtu": 1458, 17:32:30 "selinux-enabled": true, 17:32:30 "seccomp-profile": "/etc/docker/seccomp.json" 17:32:30 } [Pipeline] sh 17:32:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:32:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:32:49 provisioning config files... 17:32:49 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config16442105112578362715tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:32:50 ---> docker-login.sh 17:32:50 nexus3.edgexfoundry.org:10001 17:32:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:50 Configure a credential helper to remove this warning. See 17:32:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:50 17:32:50 Login Succeeded 17:32:50 nexus3.edgexfoundry.org:10002 17:32:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:51 Configure a credential helper to remove this warning. See 17:32:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:51 17:32:51 Login Succeeded 17:32:51 nexus3.edgexfoundry.org:10003 17:32:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:51 Configure a credential helper to remove this warning. See 17:32:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:51 17:32:51 Login Succeeded 17:32:51 nexus3.edgexfoundry.org:10004 17:32:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:52 Configure a credential helper to remove this warning. See 17:32:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:52 17:32:52 Login Succeeded 17:32:52 docker.io 17:32:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:32:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:32:52 Configure a credential helper to remove this warning. See 17:32:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:32:52 17:32:52 Login Succeeded 17:32:52 ---> docker-login.sh ends [Pipeline] } 17:32:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:32:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:32:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:32:53 ========================================================= 17:32:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:32:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:32:53 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:32:53 Sending build context to Docker daemon 3.226MB 17:32:54 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:32:54 Step 2/12 : FROM ${BASE} AS builder 17:32:54 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:32:54 9b18e9b68314: Pulling fs layer 17:32:54 35d82f9e3411: Pulling fs layer 17:32:54 e16973657156: Pulling fs layer 17:32:54 fc693d55d65f: Pulling fs layer 17:32:54 7e9fc2657dce: Pulling fs layer 17:32:54 dda99020689f: Pulling fs layer 17:32:54 db1c61fa0a46: Pulling fs layer 17:32:54 891c053d2c06: Pulling fs layer 17:32:54 fc693d55d65f: Waiting 17:32:54 7e9fc2657dce: Waiting 17:32:54 dda99020689f: Waiting 17:32:54 db1c61fa0a46: Waiting 17:32:54 891c053d2c06: Waiting 17:32:54 e16973657156: Verifying Checksum 17:32:54 e16973657156: Download complete 17:32:54 35d82f9e3411: Download complete 17:32:54 7e9fc2657dce: Verifying Checksum 17:32:54 7e9fc2657dce: Download complete 17:32:54 dda99020689f: Download complete 17:32:54 9b18e9b68314: Verifying Checksum 17:32:55 9b18e9b68314: Pull complete 17:32:56 35d82f9e3411: Pull complete 17:32:56 891c053d2c06: Verifying Checksum 17:32:56 891c053d2c06: Download complete 17:32:56 e16973657156: Pull complete 17:32:57 db1c61fa0a46: Verifying Checksum 17:32:57 db1c61fa0a46: Download complete 17:32:58 fc693d55d65f: Verifying Checksum 17:32:58 fc693d55d65f: Download complete 17:33:13 fc693d55d65f: Pull complete 17:33:13 7e9fc2657dce: Pull complete 17:33:13 dda99020689f: Pull complete 17:33:20 db1c61fa0a46: Pull complete 17:33:21 891c053d2c06: Pull complete 17:33:21 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:33:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:33:21 ---> f96f9c87975a 17:33:21 Step 3/12 : ARG ADD_BUILD_TAGS="" 17:33:22 ---> Running in c8a891919168 17:33:23 Removing intermediate container c8a891919168 17:33:23 ---> d2a5ede00ac1 17:33:23 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:33:23 ---> Running in 7e7126e96f2f 17:33:23 Removing intermediate container 7e7126e96f2f 17:33:23 ---> bf4c1d5cfa40 17:33:23 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:33:23 ---> Running in e476a407e94e 17:33:24 Removing intermediate container e476a407e94e 17:33:24 ---> f236e41438f9 17:33:24 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 17:33:24 ---> Running in 9d045341c795 17:33:24 Removing intermediate container 9d045341c795 17:33:24 ---> b4c7d39e7997 17:33:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:33:24 ---> Running in 9af8d0ff88fe 17:33:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:33:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:33:29 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:33:29 (2/4) Installing libedit (20210910.3.1-r0) 17:33:29 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:33:29 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:33:29 Executing busybox-1.35.0-r17.trigger 17:33:29 OK: 226 MiB in 55 packages 17:33:31 Removing intermediate container 9af8d0ff88fe 17:33:31 ---> df4e1d08f42c 17:33:31 Step 8/12 : WORKDIR /device-mqtt-go 17:33:31 ---> Running in d4e4e04fbc38 17:33:31 Removing intermediate container d4e4e04fbc38 17:33:31 ---> ce4e388fb811 17:33:31 Step 9/12 : COPY go.mod vendor* ./ 17:33:32 ---> 0fe11eb3f9f3 17:33:32 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:33:32 ---> Running in 1c60690e94d0 17:34:40 Removing intermediate container 1c60690e94d0 17:34:40 ---> cb141258a831 17:34:40 Step 11/12 : COPY . . 17:34:40 ---> 404e9c11ab6d 17:34:40 Step 12/12 : RUN $MAKE 17:34:40 ---> Running in 0b274884c281 17:34:40 noop 17:34:40 Removing intermediate container 0b274884c281 17:34:40 ---> c9ada585cca2 17:34:40 Successfully built c9ada585cca2 17:34:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:40 + docker inspect -f . ci-base-image-arm64 17:34:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:40 prd-ubuntu20.04-docker-arm64-4c-16g-118474 does not seem to be running inside a container 17:34:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:34:42 $ docker top c6ad44a3b8324da3ac84b2f5aeff175fe6b33a3342ffaedff40b53198eb4d1aa -eo pid,comm [Pipeline] { [Pipeline] sh 17:34:43 + go version 17:34:43 go version go1.18.7 linux/arm64 [Pipeline] } 17:34:43 $ docker stop --time=1 c6ad44a3b8324da3ac84b2f5aeff175fe6b33a3342ffaedff40b53198eb4d1aa 17:34:45 $ docker rm -f c6ad44a3b8324da3ac84b2f5aeff175fe6b33a3342ffaedff40b53198eb4d1aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:34:46 + docker inspect -f . ci-base-image-arm64 17:34:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:34:46 prd-ubuntu20.04-docker-arm64-4c-16g-118474 does not seem to be running inside a container 17:34:46 $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:34:47 $ docker top 509a712ae7227f844d5cb65366c0a32f5e4e25ecb4bab0f78e274fcb6d072c61 -eo pid,comm [Pipeline] { [Pipeline] sh 17:34:48 + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh 17:34:49 + make test 17:34:49 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:34:51 ? github.com/edgexfoundry/device-mqtt-go [no test files] 17:36:43 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 17:36:43 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.087s coverage: 21.8% of statements 17:36:43 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 17:36:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:36:43 GCO_ENABLED=1 GO111MODULE=on go vet ./... 17:37:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:37:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:37:09 ./bin/test-attribution-txt.sh [Pipeline] echo 17:37:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:37:09 $ docker stop --time=1 509a712ae7227f844d5cb65366c0a32f5e4e25ecb4bab0f78e274fcb6d072c61 17:37:11 $ docker rm -f 509a712ae7227f844d5cb65366c0a32f5e4e25ecb4bab0f78e274fcb6d072c61 [Pipeline] // withDockerContainer [Pipeline] sh 17:37:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:37:12 Warning: overwriting stash ‘coverage-report’ 17:37:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:37:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:37:14 + ls -al . 17:37:14 total 192 17:37:14 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 17:34 . 17:37:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:32 .. 17:37:14 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 17:32 .dockerignore 17:37:14 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 17:32 .git 17:37:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:32 .github 17:37:14 -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 17:32 .gitignore 17:37:14 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 17:32 .golangci.yml 17:37:14 -rw-rw-r-- 1 jenkins jenkins 9293 Nov 7 17:32 Attribution.txt 17:37:14 -rw-rw-r-- 1 jenkins jenkins 13162 Nov 7 17:32 CHANGELOG.md 17:37:14 -rw-rw-r-- 1 jenkins jenkins 1752 Nov 7 17:32 Dockerfile 17:37:14 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 17:32 GOVERNANCE.md 17:37:14 -rw-rw-r-- 1 jenkins jenkins 678 Nov 7 17:32 Jenkinsfile 17:37:14 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 17:32 LICENSE 17:37:14 -rw-rw-r-- 1 jenkins jenkins 2126 Nov 7 17:32 Makefile 17:37:14 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 17:32 OWNERS.md 17:37:14 -rw-rw-r-- 1 jenkins jenkins 3165 Nov 7 17:32 README.md 17:37:14 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 17:29 VERSION 17:37:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:32 bin 17:37:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:32 cmd 17:37:14 -rw-r--r-- 1 jenkins jenkins 17887 Nov 7 17:36 coverage.out 17:37:14 -rw-rw-r-- 1 jenkins jenkins 3470 Nov 7 17:32 go.mod 17:37:14 -rw-rw-r-- 1 jenkins jenkins 45060 Nov 7 17:32 go.sum 17:37:14 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 17:32 internal 17:37:14 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 17:32 mock 17:37:14 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 17:32 snap 17:37:14 -rw-rw-r-- 1 jenkins jenkins 227 Nov 7 17:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:37:14 + 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=f43ab75e463b1d50644a12a930e8c2107d3602dd --label arch=arm64 --label version=0.0.0 . 17:37:14 Sending build context to Docker daemon 3.245MB 17:37:15 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 17:37:15 Step 2/24 : FROM ${BASE} AS builder 17:37:15 ---> c9ada585cca2 17:37:15 Step 3/24 : ARG ADD_BUILD_TAGS="" 17:37:15 ---> Running in f1f3a3736297 17:37:15 Removing intermediate container f1f3a3736297 17:37:15 ---> b709af29f710 17:37:15 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 17:37:15 ---> Running in 93f871fc93f4 17:37:15 Removing intermediate container 93f871fc93f4 17:37:15 ---> 18317af90a37 17:37:15 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:37:15 ---> Running in 2a82f638a4bd 17:37:16 Removing intermediate container 2a82f638a4bd 17:37:16 ---> 7239fc38ddf1 17:37:16 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 17:37:16 ---> Running in fd0485c5d56c 17:37:16 Removing intermediate container fd0485c5d56c 17:37:16 ---> 4c18a675892b 17:37:16 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:37:16 ---> Running in bdd5cfcde599 17:37:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:37:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:37:19 OK: 226 MiB in 55 packages 17:37:20 Removing intermediate container bdd5cfcde599 17:37:20 ---> 8a880b711ee7 17:37:20 Step 8/24 : WORKDIR /device-mqtt-go 17:37:20 ---> Running in cb0e7e2506df 17:37:21 Removing intermediate container cb0e7e2506df 17:37:21 ---> a59024f898e9 17:37:21 Step 9/24 : COPY go.mod vendor* ./ 17:37:21 ---> d74ee8f9f53a 17:37:21 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:37:21 ---> Running in 599afc1ac2f0 17:37:24 Removing intermediate container 599afc1ac2f0 17:37:24 ---> 922775acfcd5 17:37:24 Step 11/24 : COPY . . 17:37:24 ---> 9961089b81ff 17:37:24 Step 12/24 : RUN $MAKE 17:37:24 ---> Running in 94ac0100c136 17:37:26 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 17:40:03 Removing intermediate container 94ac0100c136 17:40:03 ---> d54e8dcd4bd4 17:40:03 Step 13/24 : FROM alpine:3.16 17:40:03 3.16: Pulling from library/alpine 17:40:03 9b18e9b68314: Already exists 17:40:03 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 17:40:03 Status: Downloaded newer image for alpine:3.16 17:40:03 ---> a6215f271958 17:40:03 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 17:40:04 ---> Running in 5e560ebc165b 17:40:04 Removing intermediate container 5e560ebc165b 17:40:04 ---> 8b2201921e13 17:40:04 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 17:40:04 ---> Running in d89fde44ae72 17:40:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:40:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:40:07 (1/6) Installing dumb-init (1.2.5-r1) 17:40:07 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:40:07 (3/6) Installing libsodium (1.0.18-r0) 17:40:07 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:40:07 (5/6) Installing libzmq (4.3.4-r0) 17:40:07 (6/6) Installing zeromq (4.3.4-r0) 17:40:07 Executing busybox-1.35.0-r17.trigger 17:40:07 OK: 8 MiB in 20 packages 17:40:08 Removing intermediate container d89fde44ae72 17:40:08 ---> af3b97c6603e 17:40:08 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 17:40:09 ---> ca4b446fb2fa 17:40:09 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 17:40:10 ---> a25848590912 17:40:10 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 17:40:10 ---> bed8b184891e 17:40:10 Step 19/24 : EXPOSE 59982 17:40:10 ---> Running in 0f305008b27d 17:40:10 Removing intermediate container 0f305008b27d 17:40:10 ---> abac7e809c3f 17:40:10 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 17:40:10 ---> Running in 0e7e0c4ae253 17:40:11 Removing intermediate container 0e7e0c4ae253 17:40:11 ---> ffc28672a407 17:40:11 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:40:11 ---> Running in d9184fb7e770 17:40:11 Removing intermediate container d9184fb7e770 17:40:11 ---> 48369ade25e2 17:40:11 Step 22/24 : LABEL arch=arm64 17:40:11 ---> Running in 086acc851253 17:40:12 Removing intermediate container 086acc851253 17:40:12 ---> 38d324568e96 17:40:12 Step 23/24 : LABEL git_sha=f43ab75e463b1d50644a12a930e8c2107d3602dd 17:40:12 ---> Running in 4fb9344df5e6 17:40:12 Removing intermediate container 4fb9344df5e6 17:40:12 ---> d1f660b13a08 17:40:12 Step 24/24 : LABEL version=0.0.0 17:40:12 ---> Running in c24715308847 17:40:12 Removing intermediate container c24715308847 17:40:12 ---> b2925f8e92ee 17:40:12 [Warning] One or more build-args [ARCH] were not consumed 17:40:12 Successfully built b2925f8e92ee 17:40:12 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 17:40:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:40:13 17:40:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:40:13 arm64: Pulling from edgex-lftools-log-publisher 17:40:13 8998bd30e6a1: Pulling fs layer 17:40:13 04944245beec: Pulling fs layer 17:40:13 699f458cf7ca: Pulling fs layer 17:40:13 765212b225bb: Pulling fs layer 17:40:13 f23df028b6ca: Pulling fs layer 17:40:13 d65c8cfc05b1: Pulling fs layer 17:40:13 2437ff75d9bd: Pulling fs layer 17:40:13 765212b225bb: Waiting 17:40:13 f23df028b6ca: Waiting 17:40:13 2437ff75d9bd: Waiting 17:40:13 d65c8cfc05b1: Waiting 17:40:13 04944245beec: Verifying Checksum 17:40:13 04944245beec: Download complete 17:40:13 765212b225bb: Verifying Checksum 17:40:13 765212b225bb: Download complete 17:40:13 f23df028b6ca: Download complete 17:40:13 d65c8cfc05b1: Verifying Checksum 17:40:13 d65c8cfc05b1: Download complete 17:40:14 699f458cf7ca: Download complete 17:40:14 8998bd30e6a1: Verifying Checksum 17:40:14 8998bd30e6a1: Download complete 17:40:17 2437ff75d9bd: Verifying Checksum 17:40:17 2437ff75d9bd: Download complete 17:40:19 8998bd30e6a1: Pull complete 17:40:20 04944245beec: Pull complete 17:40:21 699f458cf7ca: Pull complete 17:40:21 765212b225bb: Pull complete 17:40:22 f23df028b6ca: Pull complete 17:40:22 d65c8cfc05b1: Pull complete 17:40:37 2437ff75d9bd: Pull complete 17:40:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:40:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:40:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:37 prd-ubuntu20.04-docker-arm64-4c-16g-118474 does not seem to be running inside a container 17:40:37 $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@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 17:40:40 $ docker top 8cf3393767517ed2c4b68954e040d7314dc78a7a103a6d655033590d5e593d10 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:40:41 ---> job-cost.sh 17:40:41 lf-activate-venv: SKIPPING 17:40:41 INFO: No Stack... 17:40:41 INFO: Retrieving Pricing Info for: v3-standard-4 17:40:42 INFO: Archiving Costs [Pipeline] sh 17:40:43 + cat /w/workspace/device-mqtt-go/2/archives/cost.csv 17:40:43 + cut -d, -f6 [Pipeline] lock 17:40:43 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-437-2-stack-cost] 17:40:43 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-437-2-stack-cost] did not exist. Created. 17:40:43 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-437-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:40:44 /w/workspace/device-mqtt-go/2@tmp/durable-435d7709/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:40:44 + echo total: 0.10999999940395355 [Pipeline] stash 17:40:44 Warning: overwriting stash ‘stack-cost’ 17:40:44 Stashed 1 file(s) [Pipeline] } 17:40:44 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-437-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:40:45 $ docker stop --time=1 8cf3393767517ed2c4b68954e040d7314dc78a7a103a6d655033590d5e593d10 17:40:46 $ docker rm -f 8cf3393767517ed2c4b68954e040d7314dc78a7a103a6d655033590d5e593d10 [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 17:40:46 provisioning config files... 17:40:46 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-437@tmp/config4703248439115165139tmp [Pipeline] { [Pipeline] sh 17:40:47 + set +x 17:40:47 + bash -s -- 17:40:47 + curl -s https://codecov.io/bash 17:40:47 17:40:47 _____ _ 17:40:47 / ____| | | 17:40:47 | | ___ __| | ___ ___ _____ __ 17:40:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:40:47 | |___| (_) | (_| | __/ (_| (_) \ V / 17:40:47 \_____\___/ \__,_|\___|\___\___/ \_/ 17:40:47 Bash-1.0.6 17:40:47 17:40:47 17:40:47 ==> git version 2.25.1 found 17:40:47 ==> 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 17:40:47 Release-Date: 2020-01-08 17:40:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:40:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:40:47 ==> Jenkins CI detected. 17:40:47 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-437 17:40:47 project root: . 17:40:47 --> token set from env 17:40:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:40:47 ==> Running gcov in . (disable via -X gcov) 17:40:47 ==> Python coveragepy not found 17:40:47 ==> Searching for coverage reports in: 17:40:47 + . 17:40:47 -> Found 1 reports 17:40:47 ==> Detecting git/mercurial file structure 17:40:47 ==> Reading reports 17:40:47 + ./coverage.out bytes=17887 17:40:47 ==> Appending adjustments 17:40:47 https://docs.codecov.io/docs/fixing-reports 17:40:47 + Found adjustments 17:40:47 ==> Gzipping contents 17:40:47 4.0K /tmp/codecov.cnVbR5.gz 17:40:47 ==> Uploading reports 17:40:47 url: https://codecov.io 17:40:47 query: branch=PR-437&commit=f43ab75e463b1d50644a12a930e8c2107d3602dd&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-437%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=437&job=&cmd_args= 17:40:47 -> Pinging Codecov 17:40: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-437&commit=f43ab75e463b1d50644a12a930e8c2107d3602dd&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-437%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=437&job=&cmd_args= 17:40:47 -> Uploading to 17:40:47 https://storage.googleapis.com/codecov/v4/raw/2022-11-07/7D719EC7BBE17E464838252E33014C33/f43ab75e463b1d50644a12a930e8c2107d3602dd/48ddd844-2d01-4086-bf05-4b69787d18f3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T174047Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=afafbb978d872202c28354901c08d29fc3489a85b8ad07c9f8b1850865f4c69d 17:40:47 % Total % Received % Xferd Average Speed Time Time Time Current 17:40:47 Dload Upload Total Spent Left Speed 17:40:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3203 0 0 100 3203 0 13073 --:--:-- --:--:-- --:--:-- 13073 17:40:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/f43ab75e463b1d50644a12a930e8c2107d3602dd [Pipeline] } 17:40: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 17:40:48 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-437/archives ] 17:40:48 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-437/archives 17:40:48 total 16 17:40:48 drwxr-xr-x 3 root root 4096 Nov 7 17:31 . 17:40:48 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 17:31 .. 17:40:48 drwxr-xr-x 2 root root 4096 Nov 7 17:31 cost 17:40:48 -rw-r--r-- 1 root root 86 Nov 7 17:31 cost.csv 17:40:48 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-437/archives 17:40:48 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-437/archives 17:40:48 total 16 17:40:48 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 17:31 . 17:40:48 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 17:31 .. 17:40:48 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 17:31 cost 17:40:48 -rw-r--r-- 1 jenkins jenkins 86 Nov 7 17:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:40:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:40:49 ---> package-listing.sh 17:40:49 ++ facter osfamily 17:40:49 ++ tr '[:upper:]' '[:lower:]' 17:40:50 + OS_FAMILY=debian 17:40:50 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-437 17:40:50 + START_PACKAGES=/tmp/packages_start.txt 17:40:50 + END_PACKAGES=/tmp/packages_end.txt 17:40:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:40:50 + PACKAGES=/tmp/packages_start.txt 17:40:50 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-437 ']' 17:40:50 + PACKAGES=/tmp/packages_end.txt 17:40:50 + case "${OS_FAMILY}" in 17:40:50 + dpkg -l 17:40:50 + grep '^ii' 17:40:50 + '[' -f /tmp/packages_start.txt ']' 17:40:50 + '[' -f /tmp/packages_end.txt ']' 17:40:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:40:50 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-437 ']' 17:40:50 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-437/archives/ 17:40:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-437/archives/ [Pipeline] echo 17:40:50 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-437/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:40:50 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:40:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:51 prd-ubuntu20.04-docker-8c-8g-118469 does not seem to be running inside a container 17:40:51 $ 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-437/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-437 -v /w/workspace/gexfoundry_device-mqtt-go_PR-437:/w/workspace/gexfoundry_device-mqtt-go_PR-437:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-437@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-437@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 17:40:51 $ docker top 77d1830be141644f34590bec9ff94993b5be2b7fb51bcfdba303e3aa09af3426 -eo pid,comm [Pipeline] { [Pipeline] sh 17:40:51 + touch /tmp/pre-build-complete [Pipeline] sh 17:40:51 + mkdir -p /var/log/sysstat [Pipeline] sh 17:40:52 + ls /var/log/sa-host 17:40:52 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:40:52 provisioning config files... 17:40:52 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-437@tmp/config16997006315204603919tmp [Pipeline] { [Pipeline] echo 17:40:52 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:40:52 ---> create-netrc.sh [Pipeline] } 17:40:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:40:52 ---> python-tools-install.sh [Pipeline] echo 17:40:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:40:53 ---> sudo-logs.sh 17:40:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:40:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:40:53 ---> job-cost.sh 17:40:53 lf-activate-venv: SKIPPING 17:40:53 DEBUG: total: 0.2199999988079071 17:40:53 INFO: Retrieving Stack Cost... 17:40:53 INFO: Retrieving Pricing Info for: v3-standard-8 17:40:54 INFO: Archiving Costs [Pipeline] echo 17:40:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:40:54 ---> logs-deploy.sh 17:40:54 lf-activate-venv: SKIPPING 17:40:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-437/2 17:40:54 INFO: archiving workspace using pattern(s): 17:40:55 Archives upload complete. 17:40:55 INFO: archiving logs to Nexus 17:40:56 ---> uname -a: 17:40:56 Linux prd-ubuntu20-04-docker-8c-8g-118469 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 17:40:56 17:40:56 17:40:56 ---> lscpu: 17:40:56 Architecture: x86_64 17:40:56 CPU op-mode(s): 32-bit, 64-bit 17:40:56 Byte Order: Little Endian 17:40:56 Address sizes: 40 bits physical, 48 bits virtual 17:40:56 CPU(s): 8 17:40:56 On-line CPU(s) list: 0-7 17:40:56 Thread(s) per core: 1 17:40:56 Core(s) per socket: 1 17:40:56 Socket(s): 8 17:40:56 NUMA node(s): 1 17:40:56 Vendor ID: AuthenticAMD 17:40:56 CPU family: 23 17:40:56 Model: 49 17:40:56 Model name: AMD EPYC-Rome Processor 17:40:56 Stepping: 0 17:40:56 CPU MHz: 2799.998 17:40:56 BogoMIPS: 5599.99 17:40:56 Virtualization: AMD-V 17:40:56 Hypervisor vendor: KVM 17:40:56 Virtualization type: full 17:40:56 L1d cache: 256 KiB 17:40:56 L1i cache: 256 KiB 17:40:56 L2 cache: 4 MiB 17:40:56 L3 cache: 128 MiB 17:40:56 NUMA node0 CPU(s): 0-7 17:40:56 Vulnerability Itlb multihit: Not affected 17:40:56 Vulnerability L1tf: Not affected 17:40:56 Vulnerability Mds: Not affected 17:40:56 Vulnerability Meltdown: Not affected 17:40:56 Vulnerability Mmio stale data: Not affected 17:40:56 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:40:56 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:40:56 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:40:56 Vulnerability Srbds: Not affected 17:40:56 Vulnerability Tsx async abort: Not affected 17:40: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 17:40:56 17:40:56 17:40:56 ---> nproc: 17:40:56 8 17:40:56 17:40:56 17:40:56 ---> df -h: 17:40:56 Filesystem Size Used Avail Use% Mounted on 17:40:56 overlay 155G 12G 144G 8% / 17:40:56 tmpfs 64M 0 64M 0% /dev 17:40:56 tmpfs 16G 0 16G 0% /sys/fs/cgroup 17:40:56 shm 64M 0 64M 0% /dev/shm 17:40:56 /dev/vda1 155G 12G 144G 8% /facter-os 17:40:56 17:40:56 17:40:56 ---> sar -b -r -n DEV: 17:40:56 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-118469) 11/07/22 _x86_64_ (8 CPU) 17:40:56 17:40:56 17:28:37 LINUX RESTART (8 CPU) 17:40:56 17:40:56 17:29:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:40:56 17:30:01 195.32 39.11 156.21 0.00 4310.75 159199.47 0.00 17:40:56 17:31:01 126.65 1.82 124.83 0.00 41.33 30048.73 0.00 17:40:56 17:32:01 106.73 0.05 106.68 0.00 10.53 33048.23 0.00 17:40:56 17:33:01 1.25 0.00 1.25 0.00 0.00 15.21 0.00 17:40:56 17:34:01 38.93 9.33 29.60 0.00 2884.32 4813.06 0.00 17:40:56 17:35:01 2.35 0.00 2.35 0.00 0.00 27.72 0.00 17:40:56 17:36:01 1.05 0.00 1.05 0.00 0.00 11.60 0.00 17:40:56 17:37:01 1.88 0.00 1.88 0.00 0.00 20.66 0.00 17:40:56 17:38:01 1.35 0.00 1.35 0.00 0.00 15.33 0.00 17:40:56 17:39:01 2.20 0.00 2.20 0.00 0.00 35.73 0.00 17:40:56 17:40:01 0.88 0.00 0.88 0.00 0.00 10.00 0.00 17:40:56 Average: 43.51 4.57 38.93 0.00 658.80 20658.39 0.00 17:40:56 17:40:56 17:29:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:40:56 17:30:01 28589440 31580364 726308 2.21 104684 3108972 1907720 5.62 1123136 2746280 57752 17:40:56 17:31:01 27962384 31247756 1050328 3.19 140880 3337856 2360396 6.96 1598208 2862496 214116 17:40:56 17:32:01 27754816 31547364 752564 2.29 150828 3795132 1801848 5.31 1245464 3382568 308 17:40:56 17:33:01 27754316 31546924 752764 2.29 150852 3795132 1801848 5.31 1245244 3382568 240 17:40:56 17:34:01 27472792 31538780 744456 2.26 169284 4044028 1797528 5.30 1389012 3494336 248 17:40:56 17:35:01 27475276 31541308 742176 2.26 169332 4044024 1797528 5.30 1388628 3494296 8 17:40:56 17:36:01 27475936 31542060 741144 2.25 169376 4044028 1797528 5.30 1387420 3494300 176 17:40:56 17:37:01 27476148 31542356 740784 2.25 169456 4044028 1797528 5.30 1387244 3494300 4 17:40:56 17:38:01 27476160 31542496 740420 2.25 169536 4044036 1797528 5.30 1387396 3494312 128 17:40:56 17:39:01 27475900 31542516 740488 2.25 169628 4044040 1797528 5.30 1387356 3494472 168 17:40:56 17:40:01 27476264 31542904 740072 2.25 169652 4044040 1797528 5.30 1387348 3494472 172 17:40:56 Average: 27671767 31519530 770137 2.34 157592 3849574 1859501 5.48 1356951 3348582 24847 17:40:56 17:40:56 17:29:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:40:56 17:30:01 ens3 764.99 534.14 8226.81 102.22 0.00 0.00 0.00 0.00 17:40:56 17:30:01 lo 6.73 6.73 0.65 0.65 0.00 0.00 0.00 0.00 17:40:56 17:30:01 docker0 154.81 194.23 12.80 1827.36 0.00 0.00 0.00 0.00 17:40:56 17:31:01 ens3 64.67 47.63 86.93 89.05 0.00 0.00 0.00 0.00 17:40:56 17:31:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 17:40:56 17:31:01 veth553fec8 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 17:40:56 17:31:01 docker0 1.85 4.25 0.11 40.58 0.00 0.00 0.00 0.00 17:40:56 17:32:01 ens3 103.68 67.36 2586.07 13.35 0.00 0.00 0.00 0.00 17:40:56 17:32:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 17:40:56 17:32:01 docker0 1.92 3.87 0.14 57.92 0.00 0.00 0.00 0.00 17:40:56 17:33:01 ens3 1.20 0.57 0.53 0.40 0.00 0.00 0.00 0.00 17:40:56 17:33:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:40:56 17:33:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:56 17:34:01 ens3 88.07 54.76 1314.35 4.03 0.00 0.00 0.00 0.00 17:40:56 17:34:01 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 17:40:56 17:34:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:56 17:35:01 ens3 1.90 0.90 0.72 0.48 0.00 0.00 0.00 0.00 17:40:56 17:35:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:40:56 17:35:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:56 17:36:01 ens3 0.48 0.20 0.26 0.19 0.00 0.00 0.00 0.00 17:40:56 17:36:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:56 17:36:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:56 17:37:01 ens3 0.28 0.13 0.02 0.01 0.00 0.00 0.00 0.00 17:40:56 17:37:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:40:56 17:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:56 17:38:01 ens3 0.15 0.00 0.01 0.00 0.00 0.00 0.00 0.00 17:40:56 17:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:56 17:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:56 17:39:01 ens3 0.35 0.10 0.02 0.01 0.00 0.00 0.00 0.00 17:40:56 17:39:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:40:56 17:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:56 17:40:01 ens3 1.00 0.17 0.20 0.07 0.00 0.00 0.00 0.00 17:40:56 17:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:56 17:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:40:56 Average: ens3 93.34 64.18 1110.52 19.07 0.00 0.00 0.00 0.00 17:40:56 Average: lo 0.92 0.92 0.09 0.09 0.00 0.00 0.00 0.00 17:40:56 Average: docker0 14.42 18.40 1.19 175.08 0.00 0.00 0.00 0.00 17:40:56 17:40:56 17:40:56 ---> sar -P ALL: 17:40:56 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-118469) 11/07/22 _x86_64_ (8 CPU) 17:40:56 17:40:56 17:28:37 LINUX RESTART (8 CPU) 17:40:56 17:40:56 17:29:01 CPU %user %nice %system %iowait %steal %idle 17:40:56 17:30:01 all 10.28 0.00 3.51 4.63 0.07 81.51 17:40:56 17:30:01 0 9.45 0.00 2.70 0.18 0.07 87.60 17:40:56 17:30:01 1 10.16 0.00 3.62 0.49 0.05 85.68 17:40:56 17:30:01 2 12.30 0.00 3.15 3.39 0.07 81.10 17:40:56 17:30:01 3 8.93 0.00 3.55 3.33 0.07 84.13 17:40:56 17:30:01 4 9.19 0.00 3.06 6.11 0.07 81.58 17:40:56 17:30:01 5 12.65 0.00 4.21 19.46 0.07 63.61 17:40:56 17:30:01 6 9.71 0.00 3.60 1.72 0.05 84.93 17:40:56 17:30:01 7 9.87 0.00 4.23 2.34 0.08 83.47 17:40:56 17:31:01 all 31.77 0.00 5.82 3.20 0.12 59.09 17:40:56 17:31:01 0 31.64 0.00 6.69 1.52 0.08 60.06 17:40:56 17:31:01 1 32.48 0.00 5.52 1.89 0.08 60.02 17:40:56 17:31:01 2 31.91 0.00 5.92 10.38 0.42 51.36 17:40:56 17:31:01 3 31.75 0.00 5.18 1.48 0.08 61.51 17:40:56 17:31:01 4 32.65 0.00 5.89 1.23 0.07 60.16 17:40:56 17:31:01 5 30.99 0.00 5.49 2.05 0.08 61.38 17:40:56 17:31:01 6 31.08 0.00 5.20 0.15 0.08 63.48 17:40:56 17:31:01 7 31.65 0.00 6.63 6.86 0.07 54.79 17:40:56 17:32:01 all 8.14 0.00 2.33 2.26 0.04 87.24 17:40:56 17:32:01 0 7.61 0.00 2.37 0.02 0.02 89.98 17:40:56 17:32:01 1 6.80 0.00 2.79 13.24 0.05 77.12 17:40:56 17:32:01 2 9.13 0.00 2.41 0.33 0.02 88.11 17:40:56 17:32:01 3 7.88 0.00 2.27 0.02 0.02 89.82 17:40:56 17:32:01 4 8.06 0.00 1.86 0.50 0.03 89.54 17:40:56 17:32:01 5 9.76 0.00 2.73 0.17 0.02 87.32 17:40:56 17:32:01 6 8.07 0.00 2.16 2.32 0.03 87.42 17:40:56 17:32:01 7 7.78 0.00 2.00 1.48 0.12 88.62 17:40:56 17:33:01 all 0.01 0.00 0.01 0.00 0.00 99.97 17:40:56 17:33:01 0 0.03 0.00 0.00 0.00 0.00 99.97 17:40:56 17:33:01 1 0.03 0.00 0.02 0.00 0.00 99.95 17:40:56 17:33:01 2 0.00 0.00 0.00 0.00 0.00 100.00 17:40:56 17:33:01 3 0.00 0.00 0.00 0.00 0.00 100.00 17:40:56 17:33:01 4 0.02 0.00 0.03 0.00 0.00 99.95 17:40:56 17:33:01 5 0.00 0.00 0.00 0.00 0.02 99.98 17:40:56 17:33:01 6 0.02 0.00 0.03 0.00 0.00 99.95 17:40:56 17:33:01 7 0.02 0.00 0.00 0.02 0.00 99.97 17:40:56 17:34:01 all 1.27 0.00 0.81 0.39 0.01 97.52 17:40:56 17:34:01 0 0.70 0.00 0.43 0.03 0.02 98.82 17:40:56 17:34:01 1 1.66 0.00 0.68 0.75 0.02 96.89 17:40:56 17:34:01 2 1.12 0.00 0.65 0.03 0.03 98.17 17:40:56 17:34:01 3 0.92 0.00 2.09 0.03 0.02 96.94 17:40:56 17:34:01 4 1.52 0.00 0.58 0.05 0.02 97.83 17:40:56 17:34:01 5 1.38 0.00 0.75 1.13 0.00 96.73 17:40:56 17:34:01 6 1.19 0.00 0.52 1.02 0.00 97.28 17:40:56 17:34:01 7 1.68 0.00 0.74 0.05 0.02 97.52 17:40:56 17:35:01 all 0.03 0.00 0.01 0.00 0.00 99.95 17:40:56 17:35:01 0 0.02 0.00 0.03 0.00 0.00 99.95 17:40:56 17:35:01 1 0.03 0.00 0.00 0.00 0.00 99.97 17:40:56 17:35:01 2 0.00 0.00 0.03 0.00 0.00 99.97 17:40:56 17:35:01 3 0.00 0.00 0.00 0.00 0.00 100.00 17:40:56 17:35:01 4 0.02 0.00 0.03 0.00 0.00 99.95 17:40:56 17:35:01 5 0.00 0.00 0.00 0.00 0.00 100.00 17:40:56 17:35:01 6 0.12 0.00 0.00 0.02 0.00 99.87 17:40:56 17:35:01 7 0.05 0.00 0.02 0.02 0.00 99.92 17:40:56 17:36:01 all 0.03 0.00 0.01 0.00 0.00 99.95 17:40:56 17:36:01 0 0.03 0.00 0.02 0.00 0.00 99.95 17:40:56 17:36:01 1 0.00 0.00 0.00 0.00 0.00 100.00 17:40:56 17:36:01 2 0.00 0.00 0.00 0.02 0.00 99.98 17:40:56 17:36:01 3 0.03 0.00 0.03 0.00 0.00 99.93 17:40:56 17:36:01 4 0.03 0.00 0.00 0.00 0.00 99.97 17:40:56 17:36:01 5 0.02 0.00 0.00 0.00 0.00 99.98 17:40:56 17:36:01 6 0.12 0.00 0.02 0.02 0.02 99.83 17:40:56 17:36:01 7 0.02 0.00 0.02 0.00 0.02 99.95 17:40:56 17:37:01 all 0.02 0.00 0.01 0.00 0.00 99.96 17:40:56 17:37:01 0 0.00 0.00 0.02 0.00 0.00 99.98 17:40:56 17:37:01 1 0.02 0.00 0.02 0.00 0.02 99.95 17:40:56 17:37:01 2 0.00 0.00 0.00 0.00 0.00 100.00 17:40:56 17:37:01 3 0.00 0.00 0.00 0.00 0.00 100.00 17:40:56 17:37:01 4 0.02 0.00 0.02 0.00 0.00 99.97 17:40:56 17:37:01 5 0.00 0.00 0.00 0.00 0.00 100.00 17:40:56 17:37:01 6 0.03 0.00 0.00 0.03 0.00 99.93 17:40:56 17:37:01 7 0.10 0.00 0.02 0.00 0.00 99.88 17:40:56 17:38:01 all 0.23 0.00 0.01 0.00 0.00 99.75 17:40:56 17:38:01 0 0.00 0.00 0.02 0.00 0.02 99.97 17:40:56 17:38:01 1 1.65 0.00 0.00 0.00 0.00 98.35 17:40:56 17:38:01 2 0.02 0.00 0.00 0.02 0.00 99.97 17:40:56 17:38:01 3 0.03 0.00 0.00 0.00 0.00 99.97 17:40:56 17:38:01 4 0.02 0.00 0.02 0.00 0.00 99.97 17:40:56 17:38:01 5 0.00 0.00 0.00 0.00 0.00 100.00 17:40:56 17:38:01 6 0.03 0.00 0.00 0.02 0.00 99.95 17:40:56 17:38:01 7 0.05 0.00 0.05 0.00 0.02 99.88 17:40:56 17:39:01 all 0.26 0.00 0.01 0.01 0.00 99.72 17:40:56 17:39:01 0 0.03 0.00 0.00 0.00 0.00 99.97 17:40:56 17:39:01 1 1.97 0.00 0.02 0.00 0.00 98.01 17:40:56 17:39:01 2 0.02 0.00 0.02 0.00 0.00 99.97 17:40:56 17:39:01 3 0.00 0.00 0.00 0.00 0.00 100.00 17:40:56 17:39:01 4 0.00 0.00 0.00 0.00 0.00 100.00 17:40:56 17:39:01 5 0.03 0.00 0.00 0.00 0.02 99.95 17:40:56 17:39:01 6 0.00 0.00 0.02 0.03 0.00 99.95 17:40:56 17:39:01 7 0.03 0.00 0.02 0.02 0.00 99.93 17:40:56 17:40:01 all 0.27 0.00 0.01 0.00 0.00 99.72 17:40:56 17:40:01 0 0.00 0.00 0.00 0.00 0.00 100.00 17:40:56 17:40:01 1 1.99 0.00 0.00 0.00 0.00 98.01 17:40:56 17:40:01 2 0.00 0.00 0.00 0.00 0.00 100.00 17:40:56 17:40:01 3 0.03 0.00 0.02 0.00 0.00 99.95 17:40:56 17:40:01 4 0.02 0.00 0.00 0.00 0.00 99.98 17:40:56 17:40:01 5 0.02 0.00 0.00 0.00 0.00 99.98 17:40:56 17:40:01 6 0.03 0.00 0.02 0.00 0.00 99.95 17:40:56 17:40:01 7 0.02 0.00 0.03 0.00 0.02 99.93 17:40:56 17:40:56 Average: CPU %user %nice %system %iowait %steal %idle 17:40:56 Average: all 4.72 0.00 1.13 0.95 0.02 93.18 17:40:56 Average: 0 4.46 0.00 1.11 0.16 0.02 94.25 17:40:56 Average: 1 5.12 0.00 1.14 1.48 0.02 92.25 17:40:56 Average: 2 4.92 0.00 1.10 1.28 0.05 92.65 17:40:56 Average: 3 4.46 0.00 1.18 0.44 0.02 93.90 17:40:56 Average: 4 4.65 0.00 1.04 0.71 0.02 93.59 17:40:56 Average: 5 4.95 0.00 1.19 2.06 0.02 91.78 17:40:56 Average: 6 4.55 0.00 1.04 0.48 0.02 93.91 17:40:56 Average: 7 4.63 0.00 1.24 0.97 0.03 93.13 17:40:56 17:40:56 17:40:56