Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fa87d88a994f5fe2e81ddf427b8127062ba1e917+04dd21c66d30f2f5802ef6ad79267ec69547597f (5fa3f36eb0e891d3ff9f466ddd40a611f1f243db) 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-ssh17221036927454519276.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-ssh2002549427609853959.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-429/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14159664435268529791.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-ssh9658206178146817314.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-429/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-429/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9284352136559165191.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 ‘prd-ubuntu20.04-docker-8c-8g-118789’ Running on prd-ubuntu20.04-docker-8c-8g-118792 in /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-429 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 04dd21c66d30f2f5802ef6ad79267ec69547597f into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 Merge succeeded, producing d4feb1e94f3cbb6ca4029432a036553dea0fd906 Checking out Revision d4feb1e94f3cbb6ca4029432a036553dea0fd906 (PR-429) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 04dd21c66d30f2f5802ef6ad79267ec69547597f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d4feb1e94f3cbb6ca4029432a036553dea0fd906 # timeout=10 Commit message: "Merge commit '04dd21c66d30f2f5802ef6ad79267ec69547597f' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:19:15 Timeout set to expire in 6 hr 0 min [Pipeline] { > git rev-list --no-walk a600b2ce95d727f578d733e1e00f4575b4b78053 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:19:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:19:15 ========================================================= 19:19:15 EdgeX Global Pipelines Version Info 19:19:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:19:15 ------------------- 19:19:15 stable info: 19:19:15 ------------------- 19:19:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:19:15 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 19:19:15 Message: update stable to v1.0.244 19:19:16 ------------------- 19:19:16 experimental info: 19:19:16 ------------------- 19:19:16 Commited By: **** collab-it+edgex@linuxfoundation.org 19:19:16 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 19:19:16 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-429 [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-429 [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-429 [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d4feb1e94f3cbb6ca4029432a036553dea0fd906 [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d4feb1e [Pipeline] echo 19:19:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:19:17 provisioning config files... 19:19:17 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config4983947871412476005tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:17 ---> docker-login.sh 19:19:17 nexus3.edgexfoundry.org:10001 19:19:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:17 Configure a credential helper to remove this warning. See 19:19:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:17 19:19:17 Login Succeeded 19:19:17 nexus3.edgexfoundry.org:10002 19:19:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:17 Configure a credential helper to remove this warning. See 19:19:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:17 19:19:17 Login Succeeded 19:19:17 nexus3.edgexfoundry.org:10003 19:19:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:18 Configure a credential helper to remove this warning. See 19:19:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:18 19:19:18 Login Succeeded 19:19:18 nexus3.edgexfoundry.org:10004 19:19:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:18 Configure a credential helper to remove this warning. See 19:19:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:18 19:19:18 Login Succeeded 19:19:18 docker.io 19:19:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:18 Configure a credential helper to remove this warning. See 19:19:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:18 19:19:18 Login Succeeded 19:19:18 ---> docker-login.sh ends [Pipeline] } 19:19:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:19:18 + git rev-list -1 --merges d4feb1e94f3cbb6ca4029432a036553dea0fd906~1..d4feb1e94f3cbb6ca4029432a036553dea0fd906 [Pipeline] echo 19:19:18 -----------> git rev-list -1 --merges d4feb1e94f3cbb6ca4029432a036553dea0fd906~1..d4feb1e94f3cbb6ca4029432a036553dea0fd906 d4feb1e94f3cbb6ca4029432a036553dea0fd906 19:19:18 d4feb1e94f3cbb6ca4029432a036553dea0fd906 [false] [Pipeline] sh 19:19:19 + git log --format=format:%s -1 d4feb1e94f3cbb6ca4029432a036553dea0fd906 [Pipeline] echo 19:19:19 ========================================================= 19:19:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:19:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:19:19 + git log --format=format:%s -1 d4feb1e94f3cbb6ca4029432a036553dea0fd906 [Pipeline] echo 19:19:19 [semverPrep] GIT_COMMIT: d4feb1e94f3cbb6ca4029432a036553dea0fd906, Commit Message: Merge commit '04dd21c66d30f2f5802ef6ad79267ec69547597f' into HEAD [Pipeline] echo 19:19:19 [semverPrep] This is not a build commit. [Pipeline] sh 19:19:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:19:19 + grep -v github /etc/ssh/ssh_known_hosts 19:19:19 + [ -e /tmp/ssh_known_hosts ] 19:19:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:19:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:19:19 + sudo tee -a /etc/ssh/ssh_known_hosts 19:19:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:19:20 19:19:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:19:20 0.1.4: Pulling from edgex-devops/py-git-semver 19:19:20 b85a868b505f: Pulling fs layer 19:19:20 e2be974225ed: Pulling fs layer 19:19:20 339a4e72a1f5: Pulling fs layer 19:19:20 988bab9f4d93: Pulling fs layer 19:19:20 1469e6f7b9e6: Pulling fs layer 19:19:20 eaf3925da568: Pulling fs layer 19:19:20 bab4dde63d76: Pulling fs layer 19:19:20 bde34c3a00c8: Pulling fs layer 19:19:20 b352a97aabf1: Pulling fs layer 19:19:20 4872d77fe225: Pulling fs layer 19:19:20 5851b861e8e6: Pulling fs layer 19:19:20 1469e6f7b9e6: Waiting 19:19:20 bab4dde63d76: Waiting 19:19:20 bde34c3a00c8: Waiting 19:19:20 b352a97aabf1: Waiting 19:19:20 4872d77fe225: Waiting 19:19:20 5851b861e8e6: Waiting 19:19:20 eaf3925da568: Waiting 19:19:20 988bab9f4d93: Waiting 19:19:20 e2be974225ed: Verifying Checksum 19:19:20 e2be974225ed: Download complete 19:19:20 988bab9f4d93: Verifying Checksum 19:19:20 988bab9f4d93: Download complete 19:19:20 1469e6f7b9e6: Verifying Checksum 19:19:20 1469e6f7b9e6: Download complete 19:19:20 eaf3925da568: Verifying Checksum 19:19:20 eaf3925da568: Download complete 19:19:20 339a4e72a1f5: Verifying Checksum 19:19:20 339a4e72a1f5: Download complete 19:19:20 bde34c3a00c8: Verifying Checksum 19:19:20 bde34c3a00c8: Download complete 19:19:20 b352a97aabf1: Download complete 19:19:20 4872d77fe225: Download complete 19:19:20 5851b861e8e6: Verifying Checksum 19:19:20 5851b861e8e6: Download complete 19:19:20 b85a868b505f: Verifying Checksum 19:19:20 b85a868b505f: Download complete 19:19:21 bab4dde63d76: Verifying Checksum 19:19:21 bab4dde63d76: Download complete 19:19:22 b85a868b505f: Pull complete 19:19:22 e2be974225ed: Pull complete 19:19:22 339a4e72a1f5: Pull complete 19:19:22 988bab9f4d93: Pull complete 19:19:23 1469e6f7b9e6: Pull complete 19:19:23 eaf3925da568: Pull complete 19:19:25 bab4dde63d76: Pull complete 19:19:25 bde34c3a00c8: Pull complete 19:19:25 b352a97aabf1: Pull complete 19:19:25 4872d77fe225: Pull complete 19:19:25 5851b861e8e6: Pull complete 19:19:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:19:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:19:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:19:25 prd-ubuntu20.04-docker-8c-8g-118792 does not seem to be running inside a container 19:19:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 19:19:28 $ docker top 1c3b5dbd26d9f4a39a30c06c70f9f4b796258d69ac0d91dbf5d661c3279a8445 -eo pid,comm 19:19:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 19:19:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:19:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:19:28 [ssh-agent] Looking for ssh-agent implementation... 19:19:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:19:28 $ docker exec 1c3b5dbd26d9f4a39a30c06c70f9f4b796258d69ac0d91dbf5d661c3279a8445 ssh-agent 19:19:28 SSH_AUTH_SOCK=/tmp/ssh-HvPW3xepF8aG/agent.32 19:19:28 SSH_AGENT_PID=38 19:19:28 Running ssh-add (command line suppressed) 19:19:28 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_14689556771904917892.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_14689556771904917892.key) 19:19:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:19:28 + git tag --points-at HEAD [Pipeline] } 19:19:28 $ docker exec --env ******** --env ******** 1c3b5dbd26d9f4a39a30c06c70f9f4b796258d69ac0d91dbf5d661c3279a8445 ssh-agent -k 19:19:28 unset SSH_AUTH_SOCK; 19:19:28 unset SSH_AGENT_PID; 19:19:28 echo Agent pid 38 killed; 19:19:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:19:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:19:28 [ssh-agent] Looking for ssh-agent implementation... 19:19:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:19:29 $ docker exec 1c3b5dbd26d9f4a39a30c06c70f9f4b796258d69ac0d91dbf5d661c3279a8445 ssh-agent 19:19:29 SSH_AUTH_SOCK=/tmp/ssh-IRrvtoAcZ4yh/agent.70 19:19:29 SSH_AGENT_PID=76 19:19:29 Running ssh-add (command line suppressed) 19:19:29 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_1241315604768224029.key (/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/private_key_1241315604768224029.key) 19:19:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:19:29 + git semver init 19:19:29 2022-11-09 19:19:29,779 [run_init] DEBUG init version:0.0.0 force:False 19:19:29 2022-11-09 19:19:29,781 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver 19:19:29 2022-11-09 19:19:29,781 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver 19:19:29 2022-11-09 19:19:29,782 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429, universal_newlines=False, shell=None, istream=None) 19:19:30 2022-11-09 19:19:30,697 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.git/info/exclude 19:19:30 2022-11-09 19:19:30,698 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 with force:False 19:19:30 2022-11-09 19:19:30,698 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 19:19:30 2022-11-09 19:19:30,702 [execute] INFO git cat-file --batch-check 19:19:30 2022-11-09 19:19:30,702 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver, universal_newlines=False, shell=None, istream=) 19:19:30 2022-11-09 19:19:30,709 [execute] INFO git cat-file --batch 19:19:30 2022-11-09 19:19:30,709 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver, universal_newlines=False, shell=None, istream=) 19:19:30 2022-11-09 19:19:30,715 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-429/.semver/PR-429 19:19:30 0.0.0 [Pipeline] } 19:19:30 $ docker exec --env ******** --env ******** 1c3b5dbd26d9f4a39a30c06c70f9f4b796258d69ac0d91dbf5d661c3279a8445 ssh-agent -k 19:19:30 unset SSH_AUTH_SOCK; 19:19:30 unset SSH_AGENT_PID; 19:19:30 echo Agent pid 76 killed; 19:19:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:19:31 + git semver [Pipeline] } 19:19:31 $ docker stop --time=1 1c3b5dbd26d9f4a39a30c06c70f9f4b796258d69ac0d91dbf5d661c3279a8445 19:19:32 $ docker rm -f 1c3b5dbd26d9f4a39a30c06c70f9f4b796258d69ac0d91dbf5d661c3279a8445 [Pipeline] // withDockerContainer [Pipeline] sh 19:19:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:19:33 Stashed 1 file(s) [Pipeline] echo 19:19:33 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:19:33 provisioning config files... 19:19:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config8307157106556949672tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:33 ---> docker-login.sh 19:19:33 nexus3.edgexfoundry.org:10001 19:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:33 Configure a credential helper to remove this warning. See 19:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:33 19:19:33 Login Succeeded 19:19:33 nexus3.edgexfoundry.org:10002 19:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:33 Configure a credential helper to remove this warning. See 19:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:33 19:19:33 Login Succeeded 19:19:33 nexus3.edgexfoundry.org:10003 19:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:33 Configure a credential helper to remove this warning. See 19:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:33 19:19:33 Login Succeeded 19:19:33 nexus3.edgexfoundry.org:10004 19:19:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:33 Configure a credential helper to remove this warning. See 19:19:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:33 19:19:33 Login Succeeded 19:19:33 docker.io 19:19:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:34 Configure a credential helper to remove this warning. See 19:19:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:34 19:19:34 Login Succeeded 19:19:34 ---> docker-login.sh ends [Pipeline] } 19:19:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:19:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:19:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:19:34 ========================================================= 19:19:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 19:19:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19: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 . 19:19:34 Sending build context to Docker daemon 6.226MB 19:19:34 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 19:19:34 Step 2/12 : FROM ${BASE} AS builder 19:19:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 19:19:34 213ec9aee27d: Pulling fs layer 19:19:34 4583459ba037: Pulling fs layer 19:19:34 93c1e223e6f2: Pulling fs layer 19:19:34 53926ce57604: Pulling fs layer 19:19:34 21b2b0c7a3f4: Pulling fs layer 19:19:34 22ff95d597cd: Pulling fs layer 19:19:34 12d6caf4c0d1: Pulling fs layer 19:19:34 96b7cbca73a9: Pulling fs layer 19:19:34 a7acece74701: Pulling fs layer 19:19:34 53926ce57604: Waiting 19:19:34 12d6caf4c0d1: Waiting 19:19:34 96b7cbca73a9: Waiting 19:19:34 a7acece74701: Waiting 19:19:34 21b2b0c7a3f4: Waiting 19:19:34 93c1e223e6f2: Verifying Checksum 19:19:34 4583459ba037: Verifying Checksum 19:19:34 4583459ba037: Download complete 19:19:35 22ff95d597cd: Verifying Checksum 19:19:35 22ff95d597cd: Download complete 19:19:35 213ec9aee27d: Verifying Checksum 19:19:35 213ec9aee27d: Download complete 19:19:35 12d6caf4c0d1: Verifying Checksum 19:19:35 12d6caf4c0d1: Download complete 19:19:35 213ec9aee27d: Pull complete 19:19:35 4583459ba037: Pull complete 19:19:35 93c1e223e6f2: Pull complete 19:19:35 a7acece74701: Verifying Checksum 19:19:35 a7acece74701: Download complete 19:19:35 96b7cbca73a9: Verifying Checksum 19:19:35 96b7cbca73a9: Download complete 19:19:35 53926ce57604: Verifying Checksum 19:19:35 53926ce57604: Download complete 19:19:39 53926ce57604: Pull complete 19:19:39 21b2b0c7a3f4: Pull complete 19:19:39 22ff95d597cd: Pull complete 19:19:39 12d6caf4c0d1: Pull complete 19:19:41 96b7cbca73a9: Pull complete 19:19:42 a7acece74701: Pull complete 19:19:42 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 19:19:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 19:19:42 ---> db6d94c90886 19:19:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 19:19:47 ---> Running in 9d06871fb268 19:19:47 Removing intermediate container 9d06871fb268 19:19:47 ---> 0a6b943c0777 19:19:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:19:47 ---> Running in 8a0df683ffab 19:19:47 Removing intermediate container 8a0df683ffab 19:19:47 ---> e44db6755477 19:19:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:19:47 ---> Running in 3f881f8f81f7 19:19:47 Removing intermediate container 3f881f8f81f7 19:19:47 ---> 021e671cacea 19:19:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 19:19:47 ---> Running in 60916c6dd790 19:19:47 Removing intermediate container 60916c6dd790 19:19:47 ---> 99245b57de97 19:19:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:19:47 ---> Running in c0346dd736a3 19:19:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:19:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:19:47 (1/4) Installing openssh-keygen (9.0_p1-r2) 19:19:47 (2/4) Installing libedit (20210910.3.1-r0) 19:19:47 (3/4) Installing openssh-client-common (9.0_p1-r2) 19:19:47 (4/4) Installing openssh-client-default (9.0_p1-r2) 19:19:47 Executing busybox-1.35.0-r17.trigger 19:19:47 OK: 216 MiB in 55 packages 19:19:48 Removing intermediate container c0346dd736a3 19:19:48 ---> 5bb6a767b477 19:19:48 Step 8/12 : WORKDIR /device-mqtt-go 19:19:48 ---> Running in ec4913ebf2ff 19:19:48 Removing intermediate container ec4913ebf2ff 19:19:48 ---> d7b24843b567 19:19:48 Step 9/12 : COPY go.mod vendor* ./ 19:19:48 ---> 604325d62be9 19:19:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:19:48 ---> Running in 1258554fdfcf 19:19:48 Still waiting to schedule task 19:19:48 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-118790’ 19:20:10 Removing intermediate container 1258554fdfcf 19:20:10 ---> b6eb7cae7d16 19:20:10 Step 11/12 : COPY . . 19:20:10 ---> e7616a5d209d 19:20:10 Step 12/12 : RUN $MAKE 19:20:10 ---> Running in 6d9f62efa201 19:20:10 noop 19:20:11 Removing intermediate container 6d9f62efa201 19:20:11 ---> 5ea21eeda704 19:20:11 Successfully built 5ea21eeda704 19:20:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:11 + docker inspect -f . ci-base-image-x86_64 19:20:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:11 prd-ubuntu20.04-docker-8c-8g-118792 does not seem to be running inside a container 19:20:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:20:11 $ docker top d0dc61df8ef18d7d1138f4232627a051f541395f19ccbab4a96b9d924466b173 -eo pid,comm [Pipeline] { [Pipeline] sh 19:20:12 + go version 19:20:12 go version go1.18.7 linux/amd64 [Pipeline] } 19:20:12 $ docker stop --time=1 d0dc61df8ef18d7d1138f4232627a051f541395f19ccbab4a96b9d924466b173 19:20:13 $ docker rm -f d0dc61df8ef18d7d1138f4232627a051f541395f19ccbab4a96b9d924466b173 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:13 + docker inspect -f . ci-base-image-x86_64 19:20:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:20:13 prd-ubuntu20.04-docker-8c-8g-118792 does not seem to be running inside a container 19:20:14 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:20:14 $ docker top 26ffaa7d8a9fd81fcbb6224777ab1a90482ab895aeb65e49fc9400785d1612de -eo pid,comm [Pipeline] { [Pipeline] sh 19:20:14 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] fileExists [Pipeline] sh 19:20:14 + make test 19:20:14 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:20:15 ? github.com/edgexfoundry/device-mqtt-go [no test files] 19:20:25 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 19:20:25 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 19:20:25 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 19:20:33 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 19:20:33 GCO_ENABLED=1 GO111MODULE=on go vet ./... 19:20:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:20:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:20:36 ./bin/test-attribution-txt.sh [Pipeline] echo 19:20:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:20:36 $ docker stop --time=1 26ffaa7d8a9fd81fcbb6224777ab1a90482ab895aeb65e49fc9400785d1612de 19:20:38 $ docker rm -f 26ffaa7d8a9fd81fcbb6224777ab1a90482ab895aeb65e49fc9400785d1612de [Pipeline] // withDockerContainer [Pipeline] sh 19:20:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:20:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:20:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:20:39 + ls -al . 19:20:39 total 192 19:20:39 drwxrwxr-x 10 jenkins jenkins 4096 Nov 9 19:20 . 19:20:39 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 19:19 .. 19:20:39 -rw-rw-r-- 1 jenkins jenkins 140 Nov 9 19:19 .dockerignore 19:20:39 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 19:20 .git 19:20:39 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 19:19 .github 19:20:39 -rw-rw-r-- 1 jenkins jenkins 329 Nov 9 19:19 .gitignore 19:20:39 -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 19:19 .golangci.yml 19:20:39 drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 19:19 .semver 19:20:39 -rw-rw-r-- 1 jenkins jenkins 9293 Nov 9 19:19 Attribution.txt 19:20:39 -rw-rw-r-- 1 jenkins jenkins 13162 Nov 9 19:19 CHANGELOG.md 19:20:39 -rw-rw-r-- 1 jenkins jenkins 1752 Nov 9 19:19 Dockerfile 19:20:39 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 19:19 GOVERNANCE.md 19:20:39 -rw-rw-r-- 1 jenkins jenkins 678 Nov 9 19:19 Jenkinsfile 19:20:39 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 19:19 LICENSE 19:20:39 -rw-rw-r-- 1 jenkins jenkins 2126 Nov 9 19:19 Makefile 19:20:39 -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 19:19 OWNERS.md 19:20:39 -rw-rw-r-- 1 jenkins jenkins 3165 Nov 9 19:19 README.md 19:20:39 -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 19:19 VERSION 19:20:39 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 19:19 bin 19:20:39 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 19:19 cmd 19:20:39 -rw-r--r-- 1 jenkins jenkins 17887 Nov 9 19:20 coverage.out 19:20:39 -rw-rw-r-- 1 jenkins jenkins 3463 Nov 9 19:19 go.mod 19:20:39 -rw-rw-r-- 1 jenkins jenkins 45046 Nov 9 19:19 go.sum 19:20:39 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 19:19 internal 19:20:39 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 19:19 mock 19:20:39 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 19:19 snap 19:20:39 -rw-rw-r-- 1 jenkins jenkins 227 Nov 9 19:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:40 + 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=d4feb1e94f3cbb6ca4029432a036553dea0fd906 --label arch=amd64 --label version=0.0.0 . 19:20:40 Sending build context to Docker daemon 6.244MB 19:20:40 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 19:20:40 Step 2/24 : FROM ${BASE} AS builder 19:20:40 ---> 5ea21eeda704 19:20:40 Step 3/24 : ARG ADD_BUILD_TAGS="" 19:20:40 ---> Running in 7bb23fc5dff4 19:20:40 Removing intermediate container 7bb23fc5dff4 19:20:40 ---> a4078fca4df5 19:20:40 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:20:40 ---> Running in ef0d2eee698a 19:20:40 Removing intermediate container ef0d2eee698a 19:20:40 ---> cceb4e004102 19:20:40 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:20:40 ---> Running in cbeb2495dd97 19:20:40 Removing intermediate container cbeb2495dd97 19:20:40 ---> db4ba8240223 19:20:40 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 19:20:40 ---> Running in beb8889f2d34 19:20:40 Removing intermediate container beb8889f2d34 19:20:40 ---> 3ac421a8ddc6 19:20:40 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:20:40 ---> Running in 250ca54e13f0 19:20:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:20:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:20:41 OK: 216 MiB in 55 packages 19:20:41 Removing intermediate container 250ca54e13f0 19:20:41 ---> cbcb27b2cd6a 19:20:41 Step 8/24 : WORKDIR /device-mqtt-go 19:20:41 ---> Running in 0ce11426e8cf 19:20:42 Removing intermediate container 0ce11426e8cf 19:20:42 ---> 96c65b7efe03 19:20:42 Step 9/24 : COPY go.mod vendor* ./ 19:20:42 ---> 1fa5d99b7379 19:20:42 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:20:42 ---> Running in f048b5d3b47b 19:20:42 Removing intermediate container f048b5d3b47b 19:20:42 ---> ec4803062ddc 19:20:42 Step 11/24 : COPY . . 19:20:43 ---> 3202cce73131 19:20:43 Step 12/24 : RUN $MAKE 19:20:43 ---> Running in 0dfa840bb2a2 19:20:43 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 19:21:05 Removing intermediate container 0dfa840bb2a2 19:21:05 ---> d113b1b45b72 19:21:05 Step 13/24 : FROM alpine:3.16 19:21:05 3.16: Pulling from library/alpine 19:21:05 213ec9aee27d: Already exists 19:21:05 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:21:05 Status: Downloaded newer image for alpine:3.16 19:21:05 ---> 9c6f07244728 19:21:05 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 19:21:05 ---> Running in 3d01059862ad 19:21:05 Removing intermediate container 3d01059862ad 19:21:05 ---> 3c1849c1d945 19:21:05 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 19:21:05 ---> Running in ae307f43f274 19:21:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 19:21:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 19:21:05 (1/6) Installing dumb-init (1.2.5-r1) 19:21:05 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:21:05 (3/6) Installing libsodium (1.0.18-r0) 19:21:05 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:21:05 (5/6) Installing libzmq (4.3.4-r0) 19:21:05 (6/6) Installing zeromq (4.3.4-r0) 19:21:05 Executing busybox-1.35.0-r17.trigger 19:21:05 OK: 8 MiB in 20 packages 19:21:06 Removing intermediate container ae307f43f274 19:21:06 ---> d444e4529e46 19:21:06 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 19:21:07 ---> a3476f63b66b 19:21:07 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 19:21:07 ---> b29faecfeff9 19:21:07 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 19:21:07 ---> 4e5ff6f8d011 19:21:07 Step 19/24 : EXPOSE 59982 19:21:07 ---> Running in 9633defccd82 19:21:07 Removing intermediate container 9633defccd82 19:21:07 ---> 894e49be7664 19:21:07 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 19:21:07 ---> Running in 5c9939f67b56 19:21:07 Removing intermediate container 5c9939f67b56 19:21:07 ---> c1612701a3e6 19:21:07 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:21:07 ---> Running in 6fdf08d9ac15 19:21:07 Removing intermediate container 6fdf08d9ac15 19:21:07 ---> 737d26390c15 19:21:07 Step 22/24 : LABEL arch=amd64 19:21:07 ---> Running in e39e58da7dca 19:21:07 Removing intermediate container e39e58da7dca 19:21:07 ---> 305518552e5c 19:21:07 Step 23/24 : LABEL git_sha=d4feb1e94f3cbb6ca4029432a036553dea0fd906 19:21:07 ---> Running in e0b20d2e8c79 19:21:07 Removing intermediate container e0b20d2e8c79 19:21:07 ---> 58535bd0cda7 19:21:07 Step 24/24 : LABEL version=0.0.0 19:21:07 ---> Running in eed3af3f77c8 19:21:07 Removing intermediate container eed3af3f77c8 19:21:07 ---> ee9cb91455ce 19:21:07 [Warning] One or more build-args [ARCH] were not consumed 19:21:07 Successfully built ee9cb91455ce 19:21:07 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:21:08 19:21:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:21:08 latest: Pulling from edgex-lftools-log-publisher 19:21:08 5eb5b503b376: Pulling fs layer 19:21:08 5c69ac0246d0: Pulling fs layer 19:21:08 ec43610c2a17: Pulling fs layer 19:21:08 3a2ae6a8a46f: Pulling fs layer 19:21:08 33b1e0a273af: Pulling fs layer 19:21:08 5d3b04190fa2: Pulling fs layer 19:21:08 2f39f015ded8: Pulling fs layer 19:21:08 3a2ae6a8a46f: Waiting 19:21:08 33b1e0a273af: Waiting 19:21:08 5d3b04190fa2: Waiting 19:21:08 2f39f015ded8: Waiting 19:21:08 5c69ac0246d0: Download complete 19:21:08 3a2ae6a8a46f: Verifying Checksum 19:21:08 3a2ae6a8a46f: Download complete 19:21:08 33b1e0a273af: Verifying Checksum 19:21:08 33b1e0a273af: Download complete 19:21:08 5d3b04190fa2: Verifying Checksum 19:21:08 5d3b04190fa2: Download complete 19:21:08 ec43610c2a17: Verifying Checksum 19:21:08 ec43610c2a17: Download complete 19:21:08 5eb5b503b376: Verifying Checksum 19:21:08 5eb5b503b376: Download complete 19:21:09 2f39f015ded8: Download complete 19:21:10 5eb5b503b376: Pull complete 19:21:10 5c69ac0246d0: Pull complete 19:21:10 ec43610c2a17: Pull complete 19:21:10 3a2ae6a8a46f: Pull complete 19:21:11 33b1e0a273af: Pull complete 19:21:11 5d3b04190fa2: Pull complete 19:21:15 2f39f015ded8: Pull complete 19:21:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:21:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:21:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:21:15 prd-ubuntu20.04-docker-8c-8g-118792 does not seem to be running inside a container 19:21:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:21:18 $ docker top 9c5cd607f3aa45d33ffa3098f53ec20edc0dbe17add61c3e3d32f269a0b503cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:21:18 ---> job-cost.sh 19:21:18 lf-activate-venv: SKIPPING 19:21:18 INFO: No Stack... 19:21:18 INFO: Retrieving Pricing Info for: v3-standard-8 19:21:19 INFO: Archiving Costs [Pipeline] sh 19:21:19 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/cost.csv 19:21:19 + cut -d, -f6 [Pipeline] lock 19:21:19 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-6-stack-cost] 19:21:19 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-6-stack-cost] did not exist. Created. 19:21:19 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:21:20 + echo total: 0.2199999988079071 [Pipeline] stash 19:21:20 Stashed 1 file(s) [Pipeline] } 19:21:20 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-6-stack-cost] [Pipeline] // lock [Pipeline] } 19:21:20 $ docker stop --time=1 9c5cd607f3aa45d33ffa3098f53ec20edc0dbe17add61c3e3d32f269a0b503cf 19:21:21 $ docker rm -f 9c5cd607f3aa45d33ffa3098f53ec20edc0dbe17add61c3e3d32f269a0b503cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:23:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118793 in /w/workspace/gexfoundry_device-mqtt-go_PR-429 [Pipeline] { [Pipeline] ws 19:23:23 Running in /w/workspace/device-mqtt-go/6 [Pipeline] { [Pipeline] checkout 19:23:23 Selected Git installation does not exist. Using Default 19:23:23 The recommended git tool is: NONE 19:23:28 using credential edgex-jenkins-ssh 19:23:28 Cloning the remote Git repository 19:23:28 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 19:23:28 > git init /w/workspace/device-mqtt-go/6 # timeout=10 19:23:28 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:23:28 > git --version # timeout=10 19:23:28 > git --version # 'git version 2.25.1' 19:23:28 using GIT_SSH to set credentials SSH Credentials for GitHub 19:23:28 Verifying host key using known hosts file 19:23:29 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 19:23:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:23:30 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:23:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:23:31 Merging remotes/origin/main commit 04dd21c66d30f2f5802ef6ad79267ec69547597f into PR head commit fa87d88a994f5fe2e81ddf427b8127062ba1e917 19:23:32 Merge succeeded, producing 5d52a429f23aa518b7484a83ab2e6fef29263d17 19:23:32 Checking out Revision 5d52a429f23aa518b7484a83ab2e6fef29263d17 (PR-429) 19:23:31 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 19:23:31 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 19:23:31 using GIT_SSH to set credentials SSH Credentials for GitHub 19:23:31 Verifying host key using known hosts file 19:23:31 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 19:23:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/429/head:refs/remotes/origin/PR-429 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:23:31 > git config core.sparsecheckout # timeout=10 19:23:31 > git checkout -f fa87d88a994f5fe2e81ddf427b8127062ba1e917 # timeout=10 19:23:31 > git remote # timeout=10 19:23:31 > git config --get remote.origin.url # timeout=10 19:23:31 using GIT_SSH to set credentials SSH Credentials for GitHub 19:23:31 Verifying host key using known hosts file 19:23:31 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 19:23:31 > git merge 04dd21c66d30f2f5802ef6ad79267ec69547597f # timeout=10 19:23:32 > git rev-parse HEAD^{commit} # timeout=10 19:23:32 > git config core.sparsecheckout # timeout=10 19:23:32 > git checkout -f 5d52a429f23aa518b7484a83ab2e6fef29263d17 # timeout=10 19:23:35 Commit message: "Merge commit '04dd21c66d30f2f5802ef6ad79267ec69547597f' into HEAD" 19:23:35 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:23:35 > git rev-list --no-walk a600b2ce95d727f578d733e1e00f4575b4b78053 # timeout=10 19:23:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:23:36 % Total % Received % Xferd Average Speed Time Time Time Current 19:23:36 Dload Upload Total Spent Left Speed 19:23:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 84013 0 --:--:-- --:--:-- --:--:-- 84577 [Pipeline] sh 19:23:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:23:37 + sudo+ sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:23:37 tee /etc/docker/daemon.new 19:23:37 { 19:23:37 "registry-mirrors": [ 19:23:37 "https://nexus3.edgexfoundry.org:10001" 19:23:37 ], 19:23:37 "bip": "10.250.0.254/24", 19:23:37 "hosts": [ 19:23:37 "tcp://0.0.0.0:5555", 19:23:37 "unix:///var/run/docker.sock" 19:23:37 ], 19:23:37 "mtu": 1458, 19:23:37 "selinux-enabled": true, 19:23:37 "seccomp-profile": "/etc/docker/seccomp.json" 19:23:37 } [Pipeline] sh 19:23:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:23:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:23:56 provisioning config files... 19:23:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/6@tmp/config9426160755120803771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:23:56 ---> docker-login.sh 19:23:56 nexus3.edgexfoundry.org:10001 19:23:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:23:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:23:57 Configure a credential helper to remove this warning. See 19:23:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:23:57 19:23:57 Login Succeeded 19:23:57 nexus3.edgexfoundry.org:10002 19:23:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:23:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:23:57 Configure a credential helper to remove this warning. See 19:23:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:23:57 19:23:57 Login Succeeded 19:23:57 nexus3.edgexfoundry.org:10003 19:23:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:23:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:23:58 Configure a credential helper to remove this warning. See 19:23:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:23:58 19:23:58 Login Succeeded 19:23:58 nexus3.edgexfoundry.org:10004 19:23:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:23:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:23:58 Configure a credential helper to remove this warning. See 19:23:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:23:58 19:23:58 Login Succeeded 19:23:58 docker.io 19:23:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:23:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:23:59 Configure a credential helper to remove this warning. See 19:23:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:23:59 19:23:59 Login Succeeded 19:23:59 ---> docker-login.sh ends [Pipeline] } 19:23:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:23:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:23:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:23:59 ========================================================= 19:23:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:23:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:23:59 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 19:23:59 Sending build context to Docker daemon 3.232MB 19:23:59 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 19:23:59 Step 2/12 : FROM ${BASE} AS builder 19:24:00 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:24:00 9b18e9b68314: Pulling fs layer 19:24:00 35d82f9e3411: Pulling fs layer 19:24:00 e16973657156: Pulling fs layer 19:24:00 fc693d55d65f: Pulling fs layer 19:24:00 7e9fc2657dce: Pulling fs layer 19:24:00 dda99020689f: Pulling fs layer 19:24:00 db1c61fa0a46: Pulling fs layer 19:24:00 891c053d2c06: Pulling fs layer 19:24:00 fc693d55d65f: Waiting 19:24:00 dda99020689f: Waiting 19:24:00 7e9fc2657dce: Waiting 19:24:00 db1c61fa0a46: Waiting 19:24:00 891c053d2c06: Waiting 19:24:00 e16973657156: Verifying Checksum 19:24:00 e16973657156: Download complete 19:24:00 35d82f9e3411: Verifying Checksum 19:24:00 35d82f9e3411: Download complete 19:24:00 7e9fc2657dce: Download complete 19:24:00 dda99020689f: Verifying Checksum 19:24:00 dda99020689f: Download complete 19:24:00 9b18e9b68314: Verifying Checksum 19:24:01 9b18e9b68314: Pull complete 19:24:01 891c053d2c06: Verifying Checksum 19:24:01 891c053d2c06: Download complete 19:24:01 35d82f9e3411: Pull complete 19:24:02 e16973657156: Pull complete 19:24:02 db1c61fa0a46: Verifying Checksum 19:24:02 db1c61fa0a46: Download complete 19:24:03 fc693d55d65f: Verifying Checksum 19:24:03 fc693d55d65f: Download complete 19:24:15 fc693d55d65f: Pull complete 19:24:15 7e9fc2657dce: Pull complete 19:24:15 dda99020689f: Pull complete 19:24:20 db1c61fa0a46: Pull complete 19:24:22 891c053d2c06: Pull complete 19:24:23 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 19:24:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:24:23 ---> f96f9c87975a 19:24:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 19:24:25 ---> Running in 30488814edbb 19:24:25 Removing intermediate container 30488814edbb 19:24:25 ---> 27d68d4c226f 19:24:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:24:25 ---> Running in b721600d226a 19:24:25 Removing intermediate container b721600d226a 19:24:25 ---> a10e8678c303 19:24:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:24:25 ---> Running in 03e9bef1c395 19:24:25 Removing intermediate container 03e9bef1c395 19:24:25 ---> cd338e29620b 19:24:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 19:24:25 ---> Running in c7a39a0edb0c 19:24:26 Removing intermediate container c7a39a0edb0c 19:24:26 ---> 18f8d7bfb9c6 19:24:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:24:26 ---> Running in a1f208081330 19:24:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:24:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:24:28 (1/4) Installing openssh-keygen (9.0_p1-r2) 19:24:28 (2/4) Installing libedit (20210910.3.1-r0) 19:24:28 (3/4) Installing openssh-client-common (9.0_p1-r2) 19:24:28 (4/4) Installing openssh-client-default (9.0_p1-r2) 19:24:28 Executing busybox-1.35.0-r17.trigger 19:24:28 OK: 226 MiB in 55 packages 19:24:29 Removing intermediate container a1f208081330 19:24:29 ---> 37deb0f79a1c 19:24:29 Step 8/12 : WORKDIR /device-mqtt-go 19:24:29 ---> Running in fd83a263519b 19:24:29 Removing intermediate container fd83a263519b 19:24:29 ---> cf4d81ec5b9f 19:24:29 Step 9/12 : COPY go.mod vendor* ./ 19:24:30 ---> 85f826d1b971 19:24:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:24:30 ---> Running in 24ee83758471 19:25:26 Removing intermediate container 24ee83758471 19:25:26 ---> 27d6486eed26 19:25:26 Step 11/12 : COPY . . 19:25:26 ---> ccb09f5bd941 19:25:26 Step 12/12 : RUN $MAKE 19:25:26 ---> Running in bc1400e83ddc 19:25:26 noop 19:25:26 Removing intermediate container bc1400e83ddc 19:25:26 ---> 8090ec670268 19:25:26 Successfully built 8090ec670268 19:25:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:25:27 + docker inspect -f . ci-base-image-arm64 19:25:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:25:27 prd-ubuntu20.04-docker-arm64-4c-16g-118793 does not seem to be running inside a container 19:25:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:25:28 $ docker top 124a71b04bf09abd9879697561587a5ee66971e01ebad70ef9478bf4de755d00 -eo pid,comm [Pipeline] { [Pipeline] sh 19:25:29 + go version 19:25:29 go version go1.18.7 linux/arm64 [Pipeline] } 19:25:29 $ docker stop --time=1 124a71b04bf09abd9879697561587a5ee66971e01ebad70ef9478bf4de755d00 19:25:31 $ docker rm -f 124a71b04bf09abd9879697561587a5ee66971e01ebad70ef9478bf4de755d00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:25:31 + docker inspect -f . ci-base-image-arm64 19:25:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:25:31 prd-ubuntu20.04-docker-arm64-4c-16g-118793 does not seem to be running inside a container 19:25:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:25:33 $ docker top 9551a477ae7755303704b8e5d639ce36c9053104804f9223488cc49e4d26ab56 -eo pid,comm [Pipeline] { [Pipeline] sh 19:25:34 + git config --global --add safe.directory /w/workspace/device-mqtt-go/6 [Pipeline] fileExists [Pipeline] sh 19:25:34 + make test 19:25:34 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 19:25:36 ? github.com/edgexfoundry/device-mqtt-go [no test files] 19:27:13 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 19:27:13 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.072s coverage: 21.8% of statements 19:27:13 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 19:27:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:27:13 GCO_ENABLED=1 GO111MODULE=on go vet ./... 19:27:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:27:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:27:25 ./bin/test-attribution-txt.sh [Pipeline] echo 19:27:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:27:25 $ docker stop --time=1 9551a477ae7755303704b8e5d639ce36c9053104804f9223488cc49e4d26ab56 19:27:27 $ docker rm -f 9551a477ae7755303704b8e5d639ce36c9053104804f9223488cc49e4d26ab56 [Pipeline] // withDockerContainer [Pipeline] sh 19:27:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:27:28 Warning: overwriting stash ‘coverage-report’ 19:27:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:27:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:27:29 + ls -al . 19:27:29 total 188 19:27:29 drwxrwxr-x 9 jenkins jenkins 4096 Nov 9 19:25 . 19:27:29 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 19:23 .. 19:27:29 -rw-rw-r-- 1 jenkins jenkins 140 Nov 9 19:23 .dockerignore 19:27:29 drwxrwxr-x 8 jenkins jenkins 4096 Nov 9 19:23 .git 19:27:29 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 19:23 .github 19:27:29 -rw-rw-r-- 1 jenkins jenkins 329 Nov 9 19:23 .gitignore 19:27:29 -rw-rw-r-- 1 jenkins jenkins 41 Nov 9 19:23 .golangci.yml 19:27:29 -rw-rw-r-- 1 jenkins jenkins 9293 Nov 9 19:23 Attribution.txt 19:27:29 -rw-rw-r-- 1 jenkins jenkins 13162 Nov 9 19:23 CHANGELOG.md 19:27:29 -rw-rw-r-- 1 jenkins jenkins 1752 Nov 9 19:23 Dockerfile 19:27:29 -rw-rw-r-- 1 jenkins jenkins 677 Nov 9 19:23 GOVERNANCE.md 19:27:29 -rw-rw-r-- 1 jenkins jenkins 678 Nov 9 19:23 Jenkinsfile 19:27:29 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 9 19:23 LICENSE 19:27:29 -rw-rw-r-- 1 jenkins jenkins 2126 Nov 9 19:23 Makefile 19:27:29 -rw-rw-r-- 1 jenkins jenkins 620 Nov 9 19:23 OWNERS.md 19:27:29 -rw-rw-r-- 1 jenkins jenkins 3165 Nov 9 19:23 README.md 19:27:29 -rw-rw-r-- 1 jenkins jenkins 5 Nov 9 19:19 VERSION 19:27:29 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 19:23 bin 19:27:29 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 19:23 cmd 19:27:29 -rw-r--r-- 1 jenkins jenkins 17887 Nov 9 19:27 coverage.out 19:27:29 -rw-rw-r-- 1 jenkins jenkins 3463 Nov 9 19:23 go.mod 19:27:29 -rw-rw-r-- 1 jenkins jenkins 45046 Nov 9 19:23 go.sum 19:27:29 drwxrwxr-x 3 jenkins jenkins 4096 Nov 9 19:23 internal 19:27:29 drwxrwxr-x 2 jenkins jenkins 4096 Nov 9 19:23 mock 19:27:29 drwxrwxr-x 4 jenkins jenkins 4096 Nov 9 19:23 snap 19:27:29 -rw-rw-r-- 1 jenkins jenkins 227 Nov 9 19:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:27:29 + 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=5d52a429f23aa518b7484a83ab2e6fef29263d17 --label arch=arm64 --label version=0.0.0 . 19:27:29 Sending build context to Docker daemon 3.25MB 19:27:29 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 19:27:29 Step 2/24 : FROM ${BASE} AS builder 19:27:29 ---> 8090ec670268 19:27:29 Step 3/24 : ARG ADD_BUILD_TAGS="" 19:27:30 ---> Running in a9b90d053ca2 19:27:30 Removing intermediate container a9b90d053ca2 19:27:30 ---> 4ab20a32e999 19:27:30 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 19:27:30 ---> Running in 8f55529c388c 19:27:30 Removing intermediate container 8f55529c388c 19:27:30 ---> 2e0d49f52eb8 19:27:30 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 19:27:30 ---> Running in 53e436ab91d4 19:27:31 Removing intermediate container 53e436ab91d4 19:27:31 ---> e51d0c6cd520 19:27:31 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 19:27:31 ---> Running in 220e6bb9fb61 19:27:31 Removing intermediate container 220e6bb9fb61 19:27:31 ---> 026baa9874b0 19:27:31 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 19:27:31 ---> Running in fe773e9f07dd 19:27:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:27:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:27:33 OK: 226 MiB in 55 packages 19:27:36 Removing intermediate container fe773e9f07dd 19:27:36 ---> c6177ee2ecbd 19:27:36 Step 8/24 : WORKDIR /device-mqtt-go 19:27:36 ---> Running in 6b72b44e3aa1 19:27:36 Removing intermediate container 6b72b44e3aa1 19:27:36 ---> 05cd07419514 19:27:36 Step 9/24 : COPY go.mod vendor* ./ 19:27:37 ---> 11d09e741f88 19:27:37 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:27:37 ---> Running in 6a8558257447 19:27:39 Removing intermediate container 6a8558257447 19:27:39 ---> 7642b0e33c0f 19:27:39 Step 11/24 : COPY . . 19:27:40 ---> d8c9c7cece56 19:27:40 Step 12/24 : RUN $MAKE 19:27:40 ---> Running in e875bd9401e7 19:27:41 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 19:30:03 Removing intermediate container e875bd9401e7 19:30:03 ---> 05902952a8e6 19:30:03 Step 13/24 : FROM alpine:3.16 19:30:03 3.16: Pulling from library/alpine 19:30:03 9b18e9b68314: Already exists 19:30:03 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:30:03 Status: Downloaded newer image for alpine:3.16 19:30:03 ---> a6215f271958 19:30:03 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 19:30:03 ---> Running in 51f38890564b 19:30:03 Removing intermediate container 51f38890564b 19:30:03 ---> 969fb9c29f06 19:30:03 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 19:30:03 ---> Running in 53b698a928cc 19:30:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:30:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:30:03 (1/6) Installing dumb-init (1.2.5-r1) 19:30:03 (2/6) Installing libgcc (11.2.1_git20220219-r2) 19:30:03 (3/6) Installing libsodium (1.0.18-r0) 19:30:03 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 19:30:03 (5/6) Installing libzmq (4.3.4-r0) 19:30:03 (6/6) Installing zeromq (4.3.4-r0) 19:30:03 Executing busybox-1.35.0-r17.trigger 19:30:03 OK: 8 MiB in 20 packages 19:30:04 Removing intermediate container 53b698a928cc 19:30:04 ---> 2d82021ca864 19:30:04 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 19:30:05 ---> f3dca23c7d41 19:30:05 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 19:30:06 ---> 8b5839b5bc0f 19:30:06 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 19:30:06 ---> cff9cf11872f 19:30:06 Step 19/24 : EXPOSE 59982 19:30:06 ---> Running in 9504ad3909ee 19:30:07 Removing intermediate container 9504ad3909ee 19:30:07 ---> 520cde54cb6e 19:30:07 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 19:30:07 ---> Running in 5c875efe163d 19:30:07 Removing intermediate container 5c875efe163d 19:30:07 ---> 713b5b471771 19:30:07 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:30:07 ---> Running in 2e0814e1ffba 19:30:07 Removing intermediate container 2e0814e1ffba 19:30:07 ---> cf559819a9f4 19:30:07 Step 22/24 : LABEL arch=arm64 19:30:08 ---> Running in 80a4ed453c39 19:30:08 Removing intermediate container 80a4ed453c39 19:30:08 ---> 8554c9146233 19:30:08 Step 23/24 : LABEL git_sha=5d52a429f23aa518b7484a83ab2e6fef29263d17 19:30:08 ---> Running in eb21c01074ca 19:30:08 Removing intermediate container eb21c01074ca 19:30:08 ---> fbde8e76a0c8 19:30:08 Step 24/24 : LABEL version=0.0.0 19:30:08 ---> Running in 2272808086b0 19:30:08 Removing intermediate container 2272808086b0 19:30:08 ---> 215e30db9e8b 19:30:08 [Warning] One or more build-args [ARCH] were not consumed 19:30:08 Successfully built 215e30db9e8b 19:30:08 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:30:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:30:09 19:30:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:30:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:30:09 arm64: Pulling from edgex-lftools-log-publisher 19:30:09 8998bd30e6a1: Pulling fs layer 19:30:09 04944245beec: Pulling fs layer 19:30:09 699f458cf7ca: Pulling fs layer 19:30:09 765212b225bb: Pulling fs layer 19:30:09 f23df028b6ca: Pulling fs layer 19:30:09 d65c8cfc05b1: Pulling fs layer 19:30:09 2437ff75d9bd: Pulling fs layer 19:30:09 765212b225bb: Waiting 19:30:09 f23df028b6ca: Waiting 19:30:09 d65c8cfc05b1: Waiting 19:30:09 2437ff75d9bd: Waiting 19:30:09 04944245beec: Verifying Checksum 19:30:09 04944245beec: Download complete 19:30:09 765212b225bb: Download complete 19:30:09 f23df028b6ca: Verifying Checksum 19:30:09 f23df028b6ca: Download complete 19:30:09 d65c8cfc05b1: Verifying Checksum 19:30:09 d65c8cfc05b1: Download complete 19:30:09 699f458cf7ca: Verifying Checksum 19:30:09 699f458cf7ca: Download complete 19:30:10 8998bd30e6a1: Verifying Checksum 19:30:10 8998bd30e6a1: Download complete 19:30:12 2437ff75d9bd: Verifying Checksum 19:30:12 2437ff75d9bd: Download complete 19:30:14 8998bd30e6a1: Pull complete 19:30:14 04944245beec: Pull complete 19:30:16 699f458cf7ca: Pull complete 19:30:16 765212b225bb: Pull complete 19:30:16 f23df028b6ca: Pull complete 19:30:17 d65c8cfc05b1: Pull complete 19:30:32 2437ff75d9bd: Pull complete 19:30:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:30:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:30:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:30:32 prd-ubuntu20.04-docker-arm64-4c-16g-118793 does not seem to be running inside a container 19:30:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:30:34 $ docker top 6b6ad86d5b7e177eacf9d74bc86f2019eb12310926517dd90e43ecbf697537f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:30:35 ---> job-cost.sh 19:30:35 lf-activate-venv: SKIPPING 19:30:35 INFO: No Stack... 19:30:35 INFO: Retrieving Pricing Info for: v3-standard-4 19:30:36 INFO: Archiving Costs [Pipeline] sh 19:30:37 + cat /w/workspace/device-mqtt-go/6/archives/cost.csv 19:30:37 + cut -d, -f6 [Pipeline] lock 19:30:37 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-429-6-stack-cost] 19:30:37 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-6-stack-cost] did not exist. Created. 19:30:37 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-429-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:30:37 /w/workspace/device-mqtt-go/6@tmp/durable-e772bae0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:30:37 + echo total: 0.10999999940395355 [Pipeline] stash 19:30:37 Warning: overwriting stash ‘stack-cost’ 19:30:37 Stashed 1 file(s) [Pipeline] } 19:30:37 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-429-6-stack-cost] [Pipeline] // lock [Pipeline] } 19:30:38 $ docker stop --time=1 6b6ad86d5b7e177eacf9d74bc86f2019eb12310926517dd90e43ecbf697537f5 19:30:39 $ docker rm -f 6b6ad86d5b7e177eacf9d74bc86f2019eb12310926517dd90e43ecbf697537f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 19:30:39 provisioning config files... 19:30:39 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config8280815811235096023tmp [Pipeline] { [Pipeline] sh 19:30:40 + set +x 19:30:40 + curl -s https://codecov.io/bash 19:30:40 + bash -s -- 19:30:40 19:30:40 _____ _ 19:30:40 / ____| | | 19:30:40 | | ___ __| | ___ ___ _____ __ 19:30:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:30:40 | |___| (_) | (_| | __/ (_| (_) \ V / 19:30:40 \_____\___/ \__,_|\___|\___\___/ \_/ 19:30:40 Bash-1.0.6 19:30:40 19:30:40 19:30:40 ==> git version 2.25.1 found 19:30:40 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 19:30:40 Release-Date: 2020-01-08 19:30:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:30:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:30:40 ==> Jenkins CI detected. 19:30:40 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-429 19:30:40 project root: . 19:30:40 --> token set from env 19:30:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:30:40 ==> Running gcov in . (disable via -X gcov) 19:30:40 ==> Python coveragepy not found 19:30:40 ==> Searching for coverage reports in: 19:30:40 + . 19:30:40 -> Found 1 reports 19:30:40 ==> Detecting git/mercurial file structure 19:30:40 ==> Reading reports 19:30:40 + ./coverage.out bytes=17887 19:30:40 ==> Appending adjustments 19:30:40 https://docs.codecov.io/docs/fixing-reports 19:30:40 + Found adjustments 19:30:40 ==> Gzipping contents 19:30:40 4.0K /tmp/codecov.94CLH3.gz 19:30:40 ==> Uploading reports 19:30:40 url: https://codecov.io 19:30:40 query: branch=PR-429&commit=d4feb1e94f3cbb6ca4029432a036553dea0fd906&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= 19:30:40 -> Pinging Codecov 19:30:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-429&commit=d4feb1e94f3cbb6ca4029432a036553dea0fd906&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-429%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=429&job=&cmd_args= 19:30:40 -> Uploading to 19:30:40 https://storage.googleapis.com/codecov/v4/raw/2022-11-09/7D719EC7BBE17E464838252E33014C33/d4feb1e94f3cbb6ca4029432a036553dea0fd906/b49530e8-cb9b-4078-95c4-de7bcdcc8bb1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221109T193040Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2e3197c0ed03174ade47de50b11b6361d5f817dd5ab31bfeed92eb8587cffaae 19:30:40 % Total % Received % Xferd Average Speed Time Time Time Current 19:30:40 Dload Upload Total Spent Left Speed 19:30:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3203 0 0 100 3203 0 12041 --:--:-- --:--:-- --:--:-- 12041 19:30:40 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/d4feb1e94f3cbb6ca4029432a036553dea0fd906 [Pipeline] } 19:30:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:30:41 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives ] 19:30:41 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives 19:30:41 total 16 19:30:41 drwxr-xr-x 3 root root 4096 Nov 9 19:21 . 19:30:41 drwxrwxr-x 11 jenkins jenkins 4096 Nov 9 19:21 .. 19:30:41 drwxr-xr-x 2 root root 4096 Nov 9 19:21 cost 19:30:41 -rw-r--r-- 1 root root 86 Nov 9 19:21 cost.csv 19:30:41 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives 19:30:41 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives 19:30:41 total 16 19:30:41 drwxr-xr-x 3 jenkins jenkins 4096 Nov 9 19:21 . 19:30:41 drwxrwxr-x 11 jenkins jenkins 4096 Nov 9 19:21 .. 19:30:41 drwxr-xr-x 2 jenkins jenkins 4096 Nov 9 19:21 cost 19:30:41 -rw-r--r-- 1 jenkins jenkins 86 Nov 9 19:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:30:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:30:42 ---> package-listing.sh 19:30:42 ++ facter osfamily 19:30:42 ++ tr '[:upper:]' '[:lower:]' 19:30:43 + OS_FAMILY=debian 19:30:43 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-429 19:30:43 + START_PACKAGES=/tmp/packages_start.txt 19:30:43 + END_PACKAGES=/tmp/packages_end.txt 19:30:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:30:43 + PACKAGES=/tmp/packages_start.txt 19:30:43 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' 19:30:43 + PACKAGES=/tmp/packages_end.txt 19:30:43 + case "${OS_FAMILY}" in 19:30:43 + dpkg -l 19:30:43 + grep '^ii' 19:30:43 + '[' -f /tmp/packages_start.txt ']' 19:30:43 + '[' -f /tmp/packages_end.txt ']' 19:30:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:30:43 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-429 ']' 19:30:43 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/ 19:30:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-429/archives/ [Pipeline] echo 19:30:43 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-429/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:30:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:30:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:30:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:30:43 prd-ubuntu20.04-docker-8c-8g-118792 does not seem to be running inside a container 19:30:43 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-429/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-429 -v /w/workspace/gexfoundry_device-mqtt-go_PR-429:/w/workspace/gexfoundry_device-mqtt-go_PR-429:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:30:44 $ docker top 5629b31e83663148f16789a3255a5f2c259289e30cbea01c057da6546dae87a2 -eo pid,comm [Pipeline] { [Pipeline] sh 19:30:44 + touch /tmp/pre-build-complete [Pipeline] sh 19:30:44 + mkdir -p /var/log/sysstat [Pipeline] sh 19:30:45 + ls /var/log/sa-host 19:30:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:30:45 provisioning config files... 19:30:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-429@tmp/config13532282367669595096tmp [Pipeline] { [Pipeline] echo 19:30:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:30:45 ---> create-netrc.sh [Pipeline] } 19:30:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:30:45 ---> python-tools-install.sh [Pipeline] echo 19:30:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:30:46 ---> sudo-logs.sh 19:30:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:30:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:30:46 ---> job-cost.sh 19:30:46 lf-activate-venv: SKIPPING 19:30:46 DEBUG: total: 0.2199999988079071 19:30:46 INFO: Retrieving Stack Cost... 19:30:46 INFO: Retrieving Pricing Info for: v3-standard-8 19:30:47 INFO: Archiving Costs [Pipeline] echo 19:30:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:30:47 ---> logs-deploy.sh 19:30:47 lf-activate-venv: SKIPPING 19:30:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-429/6 19:30:47 INFO: archiving workspace using pattern(s): 19:30:48 Archives upload complete. 19:30:48 INFO: archiving logs to Nexus 19:30:49 ---> uname -a: 19:30:49 Linux prd-ubuntu20-04-docker-8c-8g-118792 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 19:30:49 19:30:49 19:30:49 ---> lscpu: 19:30:49 Architecture: x86_64 19:30:49 CPU op-mode(s): 32-bit, 64-bit 19:30:49 Byte Order: Little Endian 19:30:49 Address sizes: 40 bits physical, 48 bits virtual 19:30:49 CPU(s): 8 19:30:49 On-line CPU(s) list: 0-7 19:30:49 Thread(s) per core: 1 19:30:49 Core(s) per socket: 1 19:30:49 Socket(s): 8 19:30:49 NUMA node(s): 1 19:30:49 Vendor ID: AuthenticAMD 19:30:49 CPU family: 23 19:30:49 Model: 49 19:30:49 Model name: AMD EPYC-Rome Processor 19:30:49 Stepping: 0 19:30:49 CPU MHz: 2799.956 19:30:49 BogoMIPS: 5599.91 19:30:49 Virtualization: AMD-V 19:30:49 Hypervisor vendor: KVM 19:30:49 Virtualization type: full 19:30:49 L1d cache: 256 KiB 19:30:49 L1i cache: 256 KiB 19:30:49 L2 cache: 4 MiB 19:30:49 L3 cache: 128 MiB 19:30:49 NUMA node0 CPU(s): 0-7 19:30:49 Vulnerability Itlb multihit: Not affected 19:30:49 Vulnerability L1tf: Not affected 19:30:49 Vulnerability Mds: Not affected 19:30:49 Vulnerability Meltdown: Not affected 19:30:49 Vulnerability Mmio stale data: Not affected 19:30:49 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 19:30:49 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 19:30:49 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 19:30:49 Vulnerability Srbds: Not affected 19:30:49 Vulnerability Tsx async abort: Not affected 19:30:49 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 19:30:49 19:30:49 19:30:49 ---> nproc: 19:30:49 8 19:30:49 19:30:49 19:30:49 ---> df -h: 19:30:49 Filesystem Size Used Avail Use% Mounted on 19:30:49 overlay 155G 12G 144G 8% / 19:30:49 tmpfs 64M 0 64M 0% /dev 19:30:49 tmpfs 16G 0 16G 0% /sys/fs/cgroup 19:30:49 shm 64M 0 64M 0% /dev/shm 19:30:49 /dev/vda1 155G 12G 144G 8% /facter-os 19:30:49 19:30:49 19:30:49 ---> sar -b -r -n DEV: 19:30:49 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-118792) 11/09/22 _x86_64_ (8 CPU) 19:30:49 19:30:49 19:18:35 LINUX RESTART (8 CPU) 19:30:49 19:30:49 19:19:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 19:30:49 19:20:01 379.92 39.47 340.45 0.00 4307.07 60061.41 0.00 19:30:49 19:21:01 130.99 0.33 130.66 0.00 36.53 33129.01 0.00 19:30:49 19:22:01 99.75 0.03 99.72 0.00 4.53 27636.61 0.00 19:30:49 19:23:01 2.10 0.00 2.10 0.00 0.00 23.73 0.00 19:30:49 19:24:01 11.83 0.97 10.86 0.00 67.46 479.79 0.00 19:30:49 19:25:01 20.95 0.00 20.95 0.00 0.00 1154.21 0.00 19:30:49 19:26:01 21.56 0.00 21.56 0.00 0.00 1325.56 0.00 19:30:49 19:27:01 20.95 0.00 20.95 0.00 0.00 1313.91 0.00 19:30:49 19:28:01 21.21 0.00 21.21 0.00 0.00 1306.32 0.00 19:30:49 19:29:01 36.39 6.78 29.61 0.00 836.66 1550.81 0.00 19:30:49 19:30:01 4.63 0.00 4.63 0.00 0.00 66.79 0.00 19:30:49 Average: 67.73 4.27 63.46 0.00 471.66 11567.12 0.00 19:30:49 19:30:49 19:19:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 19:30:49 19:20:01 28381252 31558976 752308 2.29 115412 3271880 2090168 6.16 1163548 2908728 162392 19:30:49 19:21:01 28311624 31569880 736172 2.24 141288 3320032 1971704 5.81 1183736 2945900 36968 19:30:49 19:22:01 27793080 31582356 721020 2.19 151660 3794168 1798948 5.30 1214928 3381872 176 19:30:49 19:23:01 27793140 31582476 720708 2.19 151732 3794172 1798948 5.30 1214984 3381876 172 19:30:49 19:24:01 27789880 31588928 713516 2.17 154148 3801108 1798368 5.30 1211364 3388768 144 19:30:49 19:25:01 27780376 31592888 709876 2.16 157452 3811000 1814572 5.35 1213988 3398608 5232 19:30:49 19:26:01 27775264 31601540 701028 2.13 160560 3821300 1798028 5.30 1208844 3408892 5028 19:30:49 19:27:01 27762012 31602168 700684 2.13 163960 3831084 1798028 5.30 1212200 3418988 4496 19:30:49 19:28:01 27749600 31602292 700204 2.13 166572 3840956 1798028 5.30 1214892 3428620 4256 19:30:49 19:29:01 27636288 31583296 704296 2.14 183624 3918792 1825316 5.38 1298620 3435364 1528 19:30:49 19:30:01 27637300 31584684 703300 2.14 183668 3918916 1823828 5.38 1297528 3435636 12 19:30:49 Average: 27855438 31586317 714828 2.17 157280 3738492 1846903 5.44 1221330 3321205 20037 19:30:49 19:30:49 19:19:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 19:30:49 19:20:01 docker0 147.91 203.97 12.37 1857.53 0.00 0.00 0.00 0.00 19:30:49 19:20:01 lo 6.71 6.71 0.65 0.65 0.00 0.00 0.00 0.00 19:30:49 19:20:01 ens3 815.23 559.09 8359.14 131.83 0.00 0.00 0.00 0.00 19:30:49 19:21:01 docker0 1.32 2.88 0.08 40.49 0.00 0.00 0.00 0.00 19:30:49 19:21:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 19:30:49 19:21:01 ens3 40.44 25.33 78.99 16.22 0.00 0.00 0.00 0.00 19:30:49 19:22:01 docker0 2.20 4.52 0.15 57.97 0.00 0.00 0.00 0.00 19:30:49 19:22:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 19:30:49 19:22:01 ens3 102.55 70.39 2582.35 12.59 0.00 0.00 0.00 0.00 19:30:49 19:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:49 19:23:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:30:49 19:23:01 ens3 0.73 0.20 0.15 0.07 0.00 0.00 0.00 0.00 19:30:49 19:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:49 19:24:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 19:30:49 19:24:01 ens3 20.55 15.13 34.86 1.42 0.00 0.00 0.00 0.00 19:30:49 19:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:49 19:25:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:30:49 19:25:01 ens3 93.27 61.21 169.36 4.00 0.00 0.00 0.00 0.00 19:30:49 19:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:49 19:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:49 19:26:01 ens3 103.50 66.96 189.87 4.34 0.00 0.00 0.00 0.00 19:30:49 19:27:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:49 19:27:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 19:30:49 19:27:01 ens3 94.95 62.67 173.66 4.04 0.00 0.00 0.00 0.00 19:30:49 19:28:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:49 19:28:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:49 19:28:01 ens3 92.43 60.42 166.87 3.89 0.00 0.00 0.00 0.00 19:30:49 19:29:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:49 19:29:01 lo 0.33 0.33 0.02 0.02 0.00 0.00 0.00 0.00 19:30:49 19:29:01 ens3 72.02 47.54 129.44 3.34 0.00 0.00 0.00 0.00 19:30:49 19:30:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:49 19:30:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 19:30:49 19:30:01 ens3 0.25 0.15 0.13 0.07 0.00 0.00 0.00 0.00 19:30:49 Average: docker0 13.56 18.93 1.13 175.27 0.00 0.00 0.00 0.00 19:30:49 Average: lo 0.90 0.90 0.08 0.08 0.00 0.00 0.00 0.00 19:30:49 Average: ens3 129.50 87.38 1069.38 16.35 0.00 0.00 0.00 0.00 19:30:49 19:30:49 19:30:49 ---> sar -P ALL: 19:30:49 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-118792) 11/09/22 _x86_64_ (8 CPU) 19:30:49 19:30:49 19:18:35 LINUX RESTART (8 CPU) 19:30:49 19:30:49 19:19:02 CPU %user %nice %system %iowait %steal %idle 19:30:49 19:20:01 all 12.00 0.00 4.41 3.15 0.06 80.37 19:30:49 19:20:01 0 10.15 0.00 4.40 1.76 0.05 83.63 19:30:49 19:20:01 1 11.11 0.00 3.81 2.11 0.05 82.92 19:30:49 19:20:01 2 14.74 0.00 5.07 6.87 0.07 73.25 19:30:49 19:20:01 3 12.43 0.00 4.30 1.22 0.07 81.99 19:30:49 19:20:01 4 12.06 0.00 3.30 2.19 0.05 82.39 19:30:49 19:20:01 5 14.84 0.00 3.36 0.53 0.05 81.21 19:30:49 19:20:01 6 10.02 0.00 5.32 8.04 0.05 76.57 19:30:49 19:20:01 7 10.66 0.00 5.75 2.50 0.09 81.00 19:30:49 19:21:01 all 39.91 0.00 6.95 1.52 0.08 51.53 19:30:49 19:21:01 0 38.47 0.00 7.19 0.20 0.07 54.08 19:30:49 19:21:01 1 38.73 0.00 7.35 7.48 0.08 46.35 19:30:49 19:21:01 2 41.34 0.00 6.54 0.29 0.08 51.75 19:30:49 19:21:01 3 40.55 0.00 7.77 1.89 0.07 49.71 19:30:49 19:21:01 4 40.64 0.00 6.56 0.40 0.10 52.29 19:30:49 19:21:01 5 41.24 0.00 6.61 0.10 0.08 51.96 19:30:49 19:21:01 6 39.39 0.00 7.04 1.33 0.10 52.13 19:30:49 19:21:01 7 38.92 0.00 6.53 0.49 0.08 53.98 19:30:49 19:22:01 all 3.67 0.00 1.67 1.04 0.03 93.59 19:30:49 19:22:01 0 3.08 0.00 1.32 0.39 0.03 95.17 19:30:49 19:22:01 1 3.87 0.00 1.68 0.99 0.03 93.43 19:30:49 19:22:01 2 2.25 0.00 2.40 0.92 0.02 94.41 19:30:49 19:22:01 3 4.18 0.00 1.77 0.20 0.03 93.81 19:30:49 19:22:01 4 3.80 0.00 1.57 0.07 0.02 94.54 19:30:49 19:22:01 5 3.19 0.00 1.22 0.00 0.02 95.57 19:30:49 19:22:01 6 4.79 0.00 1.55 5.09 0.03 88.55 19:30:49 19:22:01 7 4.18 0.00 1.88 0.60 0.05 93.28 19:30:49 19:23:01 all 0.09 0.00 0.00 0.01 0.00 99.89 19:30:49 19:23:01 0 0.00 0.00 0.00 0.00 0.00 100.00 19:30:49 19:23:01 1 0.00 0.00 0.00 0.00 0.02 99.98 19:30:49 19:23:01 2 0.00 0.00 0.00 0.00 0.00 100.00 19:30:49 19:23:01 3 0.02 0.00 0.00 0.00 0.00 99.98 19:30:49 19:23:01 4 0.00 0.00 0.00 0.00 0.00 100.00 19:30:49 19:23:01 5 0.00 0.00 0.00 0.00 0.00 100.00 19:30:49 19:23:01 6 0.65 0.00 0.02 0.02 0.00 99.32 19:30:49 19:23:01 7 0.08 0.00 0.02 0.05 0.02 99.83 19:30:49 19:24:01 all 0.14 0.00 0.08 0.08 0.01 99.68 19:30:49 19:24:01 0 0.17 0.00 0.05 0.03 0.00 99.75 19:30:49 19:24:01 1 0.18 0.00 0.05 0.03 0.02 99.72 19:30:49 19:24:01 2 0.07 0.00 0.05 0.02 0.02 99.85 19:30:49 19:24:01 3 0.13 0.00 0.07 0.05 0.02 99.73 19:30:49 19:24:01 4 0.07 0.00 0.05 0.00 0.02 99.87 19:30:49 19:24:01 5 0.17 0.00 0.03 0.02 0.00 99.78 19:30:49 19:24:01 6 0.20 0.00 0.08 0.03 0.02 99.67 19:30:49 19:24:01 7 0.15 0.00 0.25 0.48 0.02 99.10 19:30:49 19:25:01 all 0.26 0.00 0.14 0.19 0.02 99.39 19:30:49 19:25:01 0 0.47 0.00 0.12 0.12 0.02 99.28 19:30:49 19:25:01 1 0.27 0.00 0.08 0.07 0.02 99.57 19:30:49 19:25:01 2 0.12 0.00 0.05 0.03 0.02 99.78 19:30:49 19:25:01 3 0.28 0.00 0.13 0.03 0.02 99.53 19:30:49 19:25:01 4 0.07 0.00 0.15 0.03 0.03 99.72 19:30:49 19:25:01 5 0.33 0.00 0.18 0.05 0.02 99.42 19:30:49 19:25:01 6 0.27 0.00 0.15 0.05 0.00 99.53 19:30:49 19:25:01 7 0.30 0.00 0.22 1.14 0.03 98.31 19:30:49 19:26:01 all 0.31 0.00 0.11 0.20 0.02 99.35 19:30:49 19:26:01 0 0.33 0.00 0.10 0.03 0.02 99.52 19:30:49 19:26:01 1 0.44 0.00 0.08 0.12 0.02 99.35 19:30:49 19:26:01 2 0.25 0.00 0.08 0.03 0.02 99.62 19:30:49 19:26:01 3 0.15 0.00 0.02 0.02 0.02 99.80 19:30:49 19:26:01 4 0.25 0.00 0.10 0.07 0.02 99.57 19:30:49 19:26:01 5 0.50 0.00 0.22 0.10 0.02 99.17 19:30:49 19:26:01 6 0.02 0.00 0.00 0.00 0.00 99.98 19:30:49 19:26:01 7 0.54 0.00 0.32 1.27 0.03 97.84 19:30:49 19:27:01 all 0.30 0.00 0.12 0.20 0.02 99.35 19:30:49 19:27:01 0 0.35 0.00 0.23 0.07 0.02 99.33 19:30:49 19:27:01 1 0.17 0.00 0.07 0.03 0.02 99.72 19:30:49 19:27:01 2 0.22 0.00 0.08 0.03 0.02 99.65 19:30:49 19:27:01 3 0.05 0.00 0.02 0.10 0.02 99.82 19:30:49 19:27:01 4 0.13 0.00 0.08 0.02 0.03 99.73 19:30:49 19:27:01 5 1.01 0.00 0.20 0.12 0.03 98.64 19:30:49 19:27:01 6 0.00 0.00 0.00 0.00 0.02 99.98 19:30:49 19:27:01 7 0.50 0.00 0.25 1.27 0.03 97.94 19:30:49 19:28:01 all 0.53 0.00 0.11 0.20 0.01 99.15 19:30:49 19:28:01 0 0.42 0.00 0.08 0.13 0.02 99.35 19:30:49 19:28:01 1 0.32 0.00 0.15 0.03 0.02 99.48 19:30:49 19:28:01 2 0.37 0.00 0.07 0.08 0.00 99.48 19:30:49 19:28:01 3 0.07 0.00 0.05 0.02 0.02 99.85 19:30:49 19:28:01 4 0.35 0.00 0.20 0.07 0.02 99.37 19:30:49 19:28:01 5 2.32 0.00 0.08 0.08 0.00 97.52 19:30:49 19:28:01 6 0.03 0.00 0.00 0.00 0.00 99.97 19:30:49 19:28:01 7 0.32 0.00 0.25 1.22 0.03 98.17 19:30:49 19:29:01 all 1.16 0.00 0.73 0.27 0.02 97.82 19:30:49 19:29:01 0 1.13 0.00 1.35 0.42 0.02 97.08 19:30:49 19:29:01 1 1.19 0.00 0.43 0.07 0.03 98.28 19:30:49 19:29:01 2 1.40 0.00 0.50 0.08 0.02 98.00 19:30:49 19:29:01 3 0.68 0.00 0.37 0.03 0.02 98.90 19:30:49 19:29:01 4 0.73 0.00 0.63 0.05 0.03 98.55 19:30:49 19:29:01 5 2.92 0.00 0.39 0.10 0.03 96.55 19:30:49 19:29:01 6 0.42 0.00 0.67 0.02 0.00 98.90 19:30:49 19:29:01 7 0.75 0.00 1.49 1.41 0.03 96.32 19:30:49 19:30:01 all 0.29 0.00 0.02 0.01 0.00 99.67 19:30:49 19:30:01 0 0.05 0.00 0.02 0.00 0.00 99.93 19:30:49 19:30:01 1 0.03 0.00 0.02 0.03 0.02 99.90 19:30:49 19:30:01 2 0.03 0.00 0.03 0.02 0.02 99.90 19:30:49 19:30:01 3 0.03 0.00 0.03 0.00 0.00 99.93 19:30:49 19:30:01 4 0.02 0.00 0.03 0.00 0.00 99.95 19:30:49 19:30:01 5 2.04 0.00 0.00 0.00 0.00 97.96 19:30:49 19:30:01 6 0.07 0.00 0.03 0.00 0.00 99.90 19:30:49 19:30:01 7 0.05 0.00 0.02 0.03 0.00 99.90 19:30:49 19:30:49 Average: CPU %user %nice %system %iowait %steal %idle 19:30:49 Average: all 5.28 0.00 1.29 0.62 0.03 92.79 19:30:49 Average: 0 4.91 0.00 1.34 0.28 0.02 93.45 19:30:49 Average: 1 5.07 0.00 1.23 0.99 0.03 92.68 19:30:49 Average: 2 5.47 0.00 1.34 0.75 0.02 92.42 19:30:49 Average: 3 5.27 0.00 1.31 0.32 0.02 93.08 19:30:49 Average: 4 5.23 0.00 1.14 0.26 0.03 93.34 19:30:49 Average: 5 6.16 0.00 1.10 0.10 0.02 92.62 19:30:49 Average: 6 5.02 0.00 1.33 1.31 0.02 92.32 19:30:49 Average: 7 5.08 0.00 1.52 0.95 0.04 92.41 19:30:49 19:30:49 19:30:49