Pull request #441 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of vli11 for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at fcfe150067659d9c2450c08aa60233797868c9db rather than cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 Obtained Jenkinsfile from fcfe150067659d9c2450c08aa60233797868c9db 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-ssh12141501427084933026.key > 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-ssh13230899169205685961.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-441/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-441/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6018658421170859581.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-441/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18235453764961123472.key > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6949626651066599000.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-441/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-441/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11417603844626854381.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-121372 in /w/workspace/gexfoundry_device-mqtt-go_PR-441 [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-441 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit fcfe150067659d9c2450c08aa60233797868c9db into PR head commit cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 Merge succeeded, producing cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 Checking out Revision cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 (PR-441) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/441/head:refs/remotes/origin/PR-441 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge fcfe150067659d9c2450c08aa60233797868c9db # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 # timeout=10 Commit message: "refactor!: Use latest SDK for flattened config stem" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:42:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:42:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:42:24 ========================================================= 18:42:24 EdgeX Global Pipelines Version Info 18:42:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:42:25 ------------------- 18:42:25 stable info: 18:42:25 ------------------- 18:42:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:42:25 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:42:25 Message: update stable to v1.0.244 18:42:25 ------------------- 18:42:25 experimental info: 18:42:25 ------------------- 18:42:25 Commited By: **** collab-it+edgex@linuxfoundation.org 18:42:25 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:42:25 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:42:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-441 [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-441 [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-441 [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cdd73ae [Pipeline] echo 18:42:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:42:27 provisioning config files... 18:42:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp/config4085492026266688620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:27 ---> docker-login.sh 18:42:27 nexus3.edgexfoundry.org:10001 18:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:28 Configure a credential helper to remove this warning. See 18:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:28 18:42:28 Login Succeeded 18:42:28 nexus3.edgexfoundry.org:10002 18:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:28 Configure a credential helper to remove this warning. See 18:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:28 18:42:28 Login Succeeded 18:42:28 nexus3.edgexfoundry.org:10003 18:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:28 Configure a credential helper to remove this warning. See 18:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:28 18:42:28 Login Succeeded 18:42:28 nexus3.edgexfoundry.org:10004 18:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:28 Configure a credential helper to remove this warning. See 18:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:28 18:42:28 Login Succeeded 18:42:28 docker.io 18:42:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:28 Configure a credential helper to remove this warning. See 18:42:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:28 18:42:28 Login Succeeded 18:42:28 ---> docker-login.sh ends [Pipeline] } 18:42:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:42:29 + git rev-list -1 --merges cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8~1..cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 [Pipeline] echo 18:42:29 -----------> git rev-list -1 --merges cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8~1..cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 [false] [Pipeline] sh 18:42:29 + git log --format=format:%s -1 cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 [Pipeline] echo 18:42:29 ========================================================= 18:42:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:42:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:42:30 + git log --format=format:%s -1 cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 [Pipeline] echo 18:42:30 [semverPrep] GIT_COMMIT: cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8, Commit Message: refactor!: Use latest SDK for flattened config stem [Pipeline] echo 18:42:30 [semverPrep] This is not a build commit. [Pipeline] sh 18:42:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:42:30 + grep -v github /etc/ssh/ssh_known_hosts 18:42:30 + [ -e /tmp/ssh_known_hosts ] 18:42:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:42:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:42:30 + sudo tee -a /etc/ssh/ssh_known_hosts 18:42:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:31 18:42:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:31 0.1.4: Pulling from edgex-devops/py-git-semver 18:42:31 b85a868b505f: Pulling fs layer 18:42:31 e2be974225ed: Pulling fs layer 18:42:31 339a4e72a1f5: Pulling fs layer 18:42:31 988bab9f4d93: Pulling fs layer 18:42:31 1469e6f7b9e6: Pulling fs layer 18:42:31 eaf3925da568: Pulling fs layer 18:42:31 bab4dde63d76: Pulling fs layer 18:42:31 bde34c3a00c8: Pulling fs layer 18:42:31 b352a97aabf1: Pulling fs layer 18:42:31 4872d77fe225: Pulling fs layer 18:42:31 988bab9f4d93: Waiting 18:42:31 5851b861e8e6: Pulling fs layer 18:42:31 eaf3925da568: Waiting 18:42:31 bab4dde63d76: Waiting 18:42:31 5851b861e8e6: Waiting 18:42:31 e2be974225ed: Verifying Checksum 18:42:31 e2be974225ed: Download complete 18:42:31 988bab9f4d93: Verifying Checksum 18:42:31 988bab9f4d93: Download complete 18:42:31 339a4e72a1f5: Verifying Checksum 18:42:31 339a4e72a1f5: Download complete 18:42:31 1469e6f7b9e6: Verifying Checksum 18:42:31 1469e6f7b9e6: Download complete 18:42:31 eaf3925da568: Verifying Checksum 18:42:31 eaf3925da568: Download complete 18:42:31 bde34c3a00c8: Verifying Checksum 18:42:31 bde34c3a00c8: Download complete 18:42:31 b352a97aabf1: Download complete 18:42:31 4872d77fe225: Verifying Checksum 18:42:31 4872d77fe225: Download complete 18:42:31 5851b861e8e6: Verifying Checksum 18:42:31 5851b861e8e6: Download complete 18:42:31 b85a868b505f: Verifying Checksum 18:42:31 b85a868b505f: Download complete 18:42:32 bab4dde63d76: Verifying Checksum 18:42:32 bab4dde63d76: Download complete 18:42:33 b85a868b505f: Pull complete 18:42:33 e2be974225ed: Pull complete 18:42:33 339a4e72a1f5: Pull complete 18:42:33 988bab9f4d93: Pull complete 18:42:34 1469e6f7b9e6: Pull complete 18:42:34 eaf3925da568: Pull complete 18:42:36 bab4dde63d76: Pull complete 18:42:36 bde34c3a00c8: Pull complete 18:42:36 b352a97aabf1: Pull complete 18:42:36 4872d77fe225: Pull complete 18:42:36 5851b861e8e6: Pull complete 18:42:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:42:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:42:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:36 prd-ubuntu20.04-docker-8c-8g-121372 does not seem to be running inside a container 18:42:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-441 -v /w/workspace/gexfoundry_device-mqtt-go_PR-441:/w/workspace/gexfoundry_device-mqtt-go_PR-441:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-441@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 18:42:37 $ docker top 6a7aa7ffb3cdff3000f81c472124a0dd10b92ce71e5f79ad6fa8640eb50ef8d0 -eo pid,comm 18:42:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:42:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:42:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:38 [ssh-agent] Looking for ssh-agent implementation... 18:42:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:38 $ docker exec 6a7aa7ffb3cdff3000f81c472124a0dd10b92ce71e5f79ad6fa8640eb50ef8d0 ssh-agent 18:42:38 SSH_AUTH_SOCK=/tmp/ssh-y7LHHicUyhac/agent.33 18:42:38 SSH_AGENT_PID=39 18:42:38 Running ssh-add (command line suppressed) 18:42:38 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp/private_key_379966169979882609.key (/w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp/private_key_379966169979882609.key) 18:42:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:38 + git tag --points-at HEAD [Pipeline] } 18:42:38 $ docker exec --env ******** --env ******** 6a7aa7ffb3cdff3000f81c472124a0dd10b92ce71e5f79ad6fa8640eb50ef8d0 ssh-agent -k 18:42:38 unset SSH_AUTH_SOCK; 18:42:38 unset SSH_AGENT_PID; 18:42:38 echo Agent pid 39 killed; 18:42:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:42:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:39 [ssh-agent] Looking for ssh-agent implementation... 18:42:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:39 $ docker exec 6a7aa7ffb3cdff3000f81c472124a0dd10b92ce71e5f79ad6fa8640eb50ef8d0 ssh-agent 18:42:39 SSH_AUTH_SOCK=/tmp/ssh-AKfRzgnZey93/agent.71 18:42:39 SSH_AGENT_PID=77 18:42:39 Running ssh-add (command line suppressed) 18:42:39 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp/private_key_17316460409406686207.key (/w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp/private_key_17316460409406686207.key) 18:42:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:39 + git semver init 18:42:39 2022-12-15 18:42:39,867 [run_init] DEBUG init version:0.0.0 force:False 18:42:39 2022-12-15 18:42:39,868 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-441/.semver 18:42:39 2022-12-15 18:42:39,868 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-441/.semver 18:42:39 2022-12-15 18:42:39,868 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-441/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-441, universal_newlines=False, shell=None, istream=None) 18:42:40 2022-12-15 18:42:40,786 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-441/.git/info/exclude 18:42:40 2022-12-15 18:42:40,787 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-441/.semver/PR-441 with force:False 18:42:40 2022-12-15 18:42:40,787 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-441/.semver/PR-441 18:42:40 2022-12-15 18:42:40,790 [execute] INFO git cat-file --batch-check 18:42:40 2022-12-15 18:42:40,791 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-441/.semver, universal_newlines=False, shell=None, istream=) 18:42:40 2022-12-15 18:42:40,798 [execute] INFO git cat-file --batch 18:42:40 2022-12-15 18:42:40,798 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-441/.semver, universal_newlines=False, shell=None, istream=) 18:42:40 2022-12-15 18:42:40,803 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-441/.semver/PR-441 18:42:40 0.0.0 [Pipeline] } 18:42:40 $ docker exec --env ******** --env ******** 6a7aa7ffb3cdff3000f81c472124a0dd10b92ce71e5f79ad6fa8640eb50ef8d0 ssh-agent -k 18:42:41 unset SSH_AUTH_SOCK; 18:42:41 unset SSH_AGENT_PID; 18:42:41 echo Agent pid 77 killed; 18:42:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:41 + git semver [Pipeline] } 18:42:41 $ docker stop --time=1 6a7aa7ffb3cdff3000f81c472124a0dd10b92ce71e5f79ad6fa8640eb50ef8d0 18:42:43 $ docker rm -f 6a7aa7ffb3cdff3000f81c472124a0dd10b92ce71e5f79ad6fa8640eb50ef8d0 [Pipeline] // withDockerContainer [Pipeline] sh 18:42:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:42:43 Stashed 1 file(s) [Pipeline] echo 18:42:43 [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 18:42:44 provisioning config files... 18:42:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp/config17928049568383682323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:44 ---> docker-login.sh 18:42:44 nexus3.edgexfoundry.org:10001 18:42:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:44 Configure a credential helper to remove this warning. See 18:42:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:44 18:42:44 Login Succeeded 18:42:44 nexus3.edgexfoundry.org:10002 18:42:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:44 Configure a credential helper to remove this warning. See 18:42:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:44 18:42:44 Login Succeeded 18:42:44 nexus3.edgexfoundry.org:10003 18:42:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:44 Configure a credential helper to remove this warning. See 18:42:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:44 18:42:44 Login Succeeded 18:42:44 nexus3.edgexfoundry.org:10004 18:42:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:44 Configure a credential helper to remove this warning. See 18:42:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:44 18:42:44 Login Succeeded 18:42:44 docker.io 18:42:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:45 Configure a credential helper to remove this warning. See 18:42:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:45 18:42:45 Login Succeeded 18:42:45 ---> docker-login.sh ends [Pipeline] } 18:42:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:42:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:42:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:42:45 ========================================================= 18:42:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:42:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:45 + 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 . 18:42:45 Sending build context to Docker daemon 6.287MB 18:42:45 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:42:45 Step 2/12 : FROM ${BASE} AS builder 18:42:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:42:45 213ec9aee27d: Pulling fs layer 18:42:45 4583459ba037: Pulling fs layer 18:42:45 93c1e223e6f2: Pulling fs layer 18:42:45 53926ce57604: Pulling fs layer 18:42:45 21b2b0c7a3f4: Pulling fs layer 18:42:45 22ff95d597cd: Pulling fs layer 18:42:45 12d6caf4c0d1: Pulling fs layer 18:42:45 96b7cbca73a9: Pulling fs layer 18:42:45 a7acece74701: Pulling fs layer 18:42:45 21b2b0c7a3f4: Waiting 18:42:45 22ff95d597cd: Waiting 18:42:45 12d6caf4c0d1: Waiting 18:42:45 96b7cbca73a9: Waiting 18:42:45 a7acece74701: Waiting 18:42:45 53926ce57604: Waiting 18:42:45 93c1e223e6f2: Verifying Checksum 18:42:45 93c1e223e6f2: Download complete 18:42:45 4583459ba037: Verifying Checksum 18:42:45 4583459ba037: Download complete 18:42:46 21b2b0c7a3f4: Verifying Checksum 18:42:46 21b2b0c7a3f4: Download complete 18:42:46 22ff95d597cd: Verifying Checksum 18:42:46 22ff95d597cd: Download complete 18:42:46 213ec9aee27d: Verifying Checksum 18:42:46 213ec9aee27d: Download complete 18:42:46 12d6caf4c0d1: Verifying Checksum 18:42:46 12d6caf4c0d1: Download complete 18:42:46 213ec9aee27d: Pull complete 18:42:46 4583459ba037: Pull complete 18:42:46 93c1e223e6f2: Pull complete 18:42:47 a7acece74701: Verifying Checksum 18:42:47 a7acece74701: Download complete 18:42:47 53926ce57604: Verifying Checksum 18:42:47 53926ce57604: Download complete 18:42:47 96b7cbca73a9: Verifying Checksum 18:42:47 96b7cbca73a9: Download complete 18:42:51 53926ce57604: Pull complete 18:42:51 21b2b0c7a3f4: Pull complete 18:42:51 22ff95d597cd: Pull complete 18:42:51 12d6caf4c0d1: Pull complete 18:42:53 96b7cbca73a9: Pull complete 18:42:54 a7acece74701: Pull complete 18:42:54 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:42:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:42:54 ---> db6d94c90886 18:42:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:42:56 ---> Running in bebea1dd87b5 18:42:56 Removing intermediate container bebea1dd87b5 18:42:56 ---> 925cd6071a3f 18:42:56 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:42:56 ---> Running in d71a47ca9281 18:42:56 Removing intermediate container d71a47ca9281 18:42:56 ---> 382c18e88200 18:42:56 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:42:56 ---> Running in 31f27fd86e76 18:42:56 Removing intermediate container 31f27fd86e76 18:42:56 ---> 473cad9a2309 18:42:56 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:42:56 ---> Running in 6dcee1714aed 18:42:56 Removing intermediate container 6dcee1714aed 18:42:56 ---> 25c38f672819 18:42:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:42:56 ---> Running in d59a00a47923 18:42:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:42:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:42:57 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:42:57 (2/4) Installing libedit (20210910.3.1-r0) 18:42:57 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:42:57 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:42:57 Executing busybox-1.35.0-r17.trigger 18:42:57 OK: 216 MiB in 55 packages 18:42:57 Removing intermediate container d59a00a47923 18:42:57 ---> 6f563465c66f 18:42:57 Step 8/12 : WORKDIR /device-mqtt-go 18:42:57 ---> Running in 07300eb54557 18:42:57 Removing intermediate container 07300eb54557 18:42:57 ---> 64484507b739 18:42:57 Step 9/12 : COPY go.mod vendor* ./ 18:42:58 ---> f0cdcf93b638 18:42:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:42:58 ---> Running in fc08588a2899 18:42:59 Still waiting to schedule task 18:42:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 18:43:19 Removing intermediate container fc08588a2899 18:43:19 ---> b9428d6805b2 18:43:19 Step 11/12 : COPY . . 18:43:19 ---> 87995c64fd83 18:43:19 Step 12/12 : RUN $MAKE 18:43:19 ---> Running in 5d8d318f3bdb 18:43:19 noop 18:43:19 Removing intermediate container 5d8d318f3bdb 18:43:19 ---> ea1146aea4d7 18:43:19 Successfully built ea1146aea4d7 18:43:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:20 + docker inspect -f . ci-base-image-x86_64 18:43:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:20 prd-ubuntu20.04-docker-8c-8g-121372 does not seem to be running inside a container 18:43:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-441 -v /w/workspace/gexfoundry_device-mqtt-go_PR-441:/w/workspace/gexfoundry_device-mqtt-go_PR-441:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-441@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 18:43:20 $ docker top 506a4feeef8de1590428ad3ac4ac0b4a4b3b2688e6a7f638a51cc36511a51006 -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:21 + go version 18:43:21 go version go1.18.7 linux/amd64 [Pipeline] } 18:43:21 $ docker stop --time=1 506a4feeef8de1590428ad3ac4ac0b4a4b3b2688e6a7f638a51cc36511a51006 18:43:22 $ docker rm -f 506a4feeef8de1590428ad3ac4ac0b4a4b3b2688e6a7f638a51cc36511a51006 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:23 + docker inspect -f . ci-base-image-x86_64 18:43:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:43:23 prd-ubuntu20.04-docker-8c-8g-121372 does not seem to be running inside a container 18:43:23 $ 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-441 -v /w/workspace/gexfoundry_device-mqtt-go_PR-441:/w/workspace/gexfoundry_device-mqtt-go_PR-441:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-441@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 18:43:23 $ docker top 3db00a6d08a8c4e8e78d3f6ecd4b3e60ab11b7e6b03767295c95ef5f6e526d7e -eo pid,comm [Pipeline] { [Pipeline] sh 18:43:24 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-441 [Pipeline] fileExists [Pipeline] sh 18:43:24 + make test 18:43:24 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:43:24 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:43:34 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:43:34 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 21.8% of statements 18:43:34 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:43:41 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." 18:43:41 GCO_ENABLED=1 GO111MODULE=on go vet ./... 18:43:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:43:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:43:44 ./bin/test-attribution-txt.sh [Pipeline] echo 18:43:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:43:44 $ docker stop --time=1 3db00a6d08a8c4e8e78d3f6ecd4b3e60ab11b7e6b03767295c95ef5f6e526d7e 18:43:46 $ docker rm -f 3db00a6d08a8c4e8e78d3f6ecd4b3e60ab11b7e6b03767295c95ef5f6e526d7e [Pipeline] // withDockerContainer [Pipeline] sh 18:43:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:43:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:43:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:43:48 + ls -al . 18:43:48 total 192 18:43:48 drwxrwxr-x 10 jenkins jenkins 4096 Dec 15 18:43 . 18:43:48 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 18:42 .. 18:43:48 -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 18:42 .dockerignore 18:43:48 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 18:43 .git 18:43:48 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 18:42 .github 18:43:48 -rw-rw-r-- 1 jenkins jenkins 329 Dec 15 18:42 .gitignore 18:43:48 -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 18:42 .golangci.yml 18:43:48 drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 18:42 .semver 18:43:48 -rw-rw-r-- 1 jenkins jenkins 9293 Dec 15 18:42 Attribution.txt 18:43:48 -rw-rw-r-- 1 jenkins jenkins 13162 Dec 15 18:42 CHANGELOG.md 18:43:48 -rw-rw-r-- 1 jenkins jenkins 1752 Dec 15 18:42 Dockerfile 18:43:48 -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 18:42 GOVERNANCE.md 18:43:48 -rw-rw-r-- 1 jenkins jenkins 678 Dec 15 18:42 Jenkinsfile 18:43:48 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 18:42 LICENSE 18:43:48 -rw-rw-r-- 1 jenkins jenkins 2126 Dec 15 18:42 Makefile 18:43:48 -rw-rw-r-- 1 jenkins jenkins 620 Dec 15 18:42 OWNERS.md 18:43:48 -rw-rw-r-- 1 jenkins jenkins 3165 Dec 15 18:42 README.md 18:43:48 -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 18:42 VERSION 18:43:48 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 18:42 bin 18:43:48 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 18:42 cmd 18:43:48 -rw-r--r-- 1 jenkins jenkins 17887 Dec 15 18:43 coverage.out 18:43:48 -rw-rw-r-- 1 jenkins jenkins 3464 Dec 15 18:42 go.mod 18:43:48 -rw-rw-r-- 1 jenkins jenkins 45013 Dec 15 18:42 go.sum 18:43:48 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 18:42 internal 18:43:48 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 18:42 mock 18:43:48 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 18:42 snap 18:43:48 -rw-rw-r-- 1 jenkins jenkins 227 Dec 15 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:48 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 --label arch=amd64 --label version=0.0.0 . 18:43:48 Sending build context to Docker daemon 6.305MB 18:43:48 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 18:43:48 Step 2/24 : FROM ${BASE} AS builder 18:43:48 ---> ea1146aea4d7 18:43:48 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:43:48 ---> Running in b31de266f11b 18:43:48 Removing intermediate container b31de266f11b 18:43:48 ---> 794e797e797f 18:43:48 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:43:48 ---> Running in 6b6fe07148cc 18:43:48 Removing intermediate container 6b6fe07148cc 18:43:48 ---> d4fedb5a9ec2 18:43:48 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:43:48 ---> Running in 66ab3629aff6 18:43:49 Removing intermediate container 66ab3629aff6 18:43:49 ---> 164bcac0bfc8 18:43:49 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:43:49 ---> Running in 9a4f3de428a5 18:43:49 Removing intermediate container 9a4f3de428a5 18:43:49 ---> 6c42b4304062 18:43:49 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:43:49 ---> Running in 1420cc9453c1 18:43:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:43:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:43:49 OK: 216 MiB in 55 packages 18:43:50 Removing intermediate container 1420cc9453c1 18:43:50 ---> ae986a9ec7ec 18:43:50 Step 8/24 : WORKDIR /device-mqtt-go 18:43:50 ---> Running in 870687edc32f 18:43:50 Removing intermediate container 870687edc32f 18:43:50 ---> e771db5f058d 18:43:50 Step 9/24 : COPY go.mod vendor* ./ 18:43:50 ---> 9fa758c5f45c 18:43:50 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:43:50 ---> Running in 4ecf9eb92a6d 18:43:50 Removing intermediate container 4ecf9eb92a6d 18:43:50 ---> 7923c9e1697c 18:43:50 Step 11/24 : COPY . . 18:43:51 ---> 6ce56bab5fb0 18:43:51 Step 12/24 : RUN $MAKE 18:43:51 ---> Running in 5c025b0bb6b2 18:43:51 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 18:44:09 Removing intermediate container 5c025b0bb6b2 18:44:09 ---> 8681f00d2eab 18:44:09 Step 13/24 : FROM alpine:3.16 18:44:09 3.16: Pulling from library/alpine 18:44:09 ca7dd9ec2225: Pulling fs layer 18:44:09 ca7dd9ec2225: Verifying Checksum 18:44:09 ca7dd9ec2225: Download complete 18:44:09 ca7dd9ec2225: Pull complete 18:44:09 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:44:09 Status: Downloaded newer image for alpine:3.16 18:44:09 ---> bfe296a52501 18:44:09 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:44:10 ---> Running in 822124b40f94 18:44:10 Removing intermediate container 822124b40f94 18:44:10 ---> 1f8e541ddaee 18:44:10 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 18:44:10 ---> Running in d119fbaff726 18:44:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:44:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:44:10 (1/6) Installing dumb-init (1.2.5-r1) 18:44:10 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:44:10 (3/6) Installing libsodium (1.0.18-r0) 18:44:10 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:44:10 (5/6) Installing libzmq (4.3.4-r0) 18:44:10 (6/6) Installing zeromq (4.3.4-r0) 18:44:10 Executing busybox-1.35.0-r17.trigger 18:44:10 OK: 8 MiB in 20 packages 18:44:11 Removing intermediate container d119fbaff726 18:44:11 ---> e633d30fe025 18:44:11 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:44:11 ---> f612b8350caa 18:44:11 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:44:11 ---> a16f7b1ad8ce 18:44:11 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:44:11 ---> 9fd4d360763f 18:44:11 Step 19/24 : EXPOSE 59982 18:44:11 ---> Running in f8d6c865b0fe 18:44:11 Removing intermediate container f8d6c865b0fe 18:44:11 ---> f4fa96668cb6 18:44:11 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:44:12 ---> Running in b95dd78f19cd 18:44:12 Removing intermediate container b95dd78f19cd 18:44:12 ---> d93538df60e5 18:44:12 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:44:12 ---> Running in 17f0727bbb20 18:44:12 Removing intermediate container 17f0727bbb20 18:44:12 ---> 9f97d92217ff 18:44:12 Step 22/24 : LABEL arch=amd64 18:44:12 ---> Running in c31f2ac0b929 18:44:12 Removing intermediate container c31f2ac0b929 18:44:12 ---> 6d2a9d75b141 18:44:12 Step 23/24 : LABEL git_sha=cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 18:44:12 ---> Running in 82c4e102e75c 18:44:12 Removing intermediate container 82c4e102e75c 18:44:12 ---> ddf288ee60d5 18:44:12 Step 24/24 : LABEL version=0.0.0 18:44:12 ---> Running in 89d78a40964f 18:44:12 Removing intermediate container 89d78a40964f 18:44:12 ---> 952c2b125938 18:44:12 [Warning] One or more build-args [ARCH] were not consumed 18:44:12 Successfully built 952c2b125938 18:44:12 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 18:44:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:13 18:44:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:44:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:14 latest: Pulling from edgex-lftools-log-publisher 18:44:14 5eb5b503b376: Pulling fs layer 18:44:14 5c69ac0246d0: Pulling fs layer 18:44:14 ec43610c2a17: Pulling fs layer 18:44:14 3a2ae6a8a46f: Pulling fs layer 18:44:14 33b1e0a273af: Pulling fs layer 18:44:14 5d3b04190fa2: Pulling fs layer 18:44:14 2f39f015ded8: Pulling fs layer 18:44:14 3a2ae6a8a46f: Waiting 18:44:14 33b1e0a273af: Waiting 18:44:14 2f39f015ded8: Waiting 18:44:14 5d3b04190fa2: Waiting 18:44:14 5c69ac0246d0: Verifying Checksum 18:44:14 5c69ac0246d0: Download complete 18:44:14 3a2ae6a8a46f: Verifying Checksum 18:44:14 3a2ae6a8a46f: Download complete 18:44:14 33b1e0a273af: Verifying Checksum 18:44:14 33b1e0a273af: Download complete 18:44:14 5d3b04190fa2: Verifying Checksum 18:44:14 5d3b04190fa2: Download complete 18:44:14 ec43610c2a17: Verifying Checksum 18:44:14 ec43610c2a17: Download complete 18:44:14 5eb5b503b376: Verifying Checksum 18:44:14 5eb5b503b376: Download complete 18:44:14 2f39f015ded8: Verifying Checksum 18:44:14 2f39f015ded8: Download complete 18:44:15 5eb5b503b376: Pull complete 18:44:15 5c69ac0246d0: Pull complete 18:44:15 ec43610c2a17: Pull complete 18:44:15 3a2ae6a8a46f: Pull complete 18:44:16 33b1e0a273af: Pull complete 18:44:16 5d3b04190fa2: Pull complete 18:44:20 2f39f015ded8: Pull complete 18:44:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:44:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:20 prd-ubuntu20.04-docker-8c-8g-121372 does not seem to be running inside a container 18:44:20 $ 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-441 -v /w/workspace/gexfoundry_device-mqtt-go_PR-441:/w/workspace/gexfoundry_device-mqtt-go_PR-441:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-441@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 18:44:22 $ docker top 1c75457d3b278bbd6006342d46a2964cbd506112e570deb6269972956c20549d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:22 ---> job-cost.sh 18:44:22 lf-activate-venv: SKIPPING 18:44:22 INFO: No Stack... 18:44:23 INFO: Retrieving Pricing Info for: v3-standard-8 18:44:23 INFO: Archiving Costs [Pipeline] sh 18:44:24 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-441/archives/cost.csv 18:44:24 + cut -d, -f6 [Pipeline] lock 18:44:24 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-441-1-stack-cost] 18:44:24 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-441-1-stack-cost] did not exist. Created. 18:44:24 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-441-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:44:24 + echo total: 0.2199999988079071 [Pipeline] stash 18:44:24 Stashed 1 file(s) [Pipeline] } 18:44:24 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-441-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:44:24 $ docker stop --time=1 1c75457d3b278bbd6006342d46a2964cbd506112e570deb6269972956c20549d 18:44:25 $ docker rm -f 1c75457d3b278bbd6006342d46a2964cbd506112e570deb6269972956c20549d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:44:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-121373 in /w/workspace/gexfoundry_device-mqtt-go_PR-441 [Pipeline] { [Pipeline] ws 18:44:26 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 18:44:27 Selected Git installation does not exist. Using Default 18:44:27 The recommended git tool is: NONE 18:44:31 using credential edgex-jenkins-ssh 18:44:31 Cloning the remote Git repository 18:44:31 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 18:44:32 > git init /w/workspace/device-mqtt-go/1 # timeout=10 18:44:32 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:44:32 > git --version # timeout=10 18:44:32 > git --version # 'git version 2.25.1' 18:44:32 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:32 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:33 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:44:33 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:44:34 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:44:34 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:44:34 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/441/head:refs/remotes/origin/PR-441 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:44:34 Merging remotes/origin/main commit fcfe150067659d9c2450c08aa60233797868c9db into PR head commit cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 18:44:35 Merge succeeded, producing cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 18:44:35 Checking out Revision cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 (PR-441) 18:44:34 > git config core.sparsecheckout # timeout=10 18:44:34 > git checkout -f cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 # timeout=10 18:44:34 > git remote # timeout=10 18:44:35 > git config --get remote.origin.url # timeout=10 18:44:35 using GIT_SSH to set credentials SSH Credentials for GitHub 18:44:35 > git merge fcfe150067659d9c2450c08aa60233797868c9db # timeout=10 18:44:35 > git rev-parse HEAD^{commit} # timeout=10 18:44:35 > git config core.sparsecheckout # timeout=10 18:44:35 > git checkout -f cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 # timeout=10 18:44:38 Commit message: "refactor!: Use latest SDK for flattened config stem" 18:44:38 > git --version # timeout=10 18:44:38 > git --version # 'git version 2.25.1' 18:44:38 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:44:39 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:44:39 % Total % Received % Xferd Average Speed Time Time Time Current 18:44:39 Dload Upload Total Spent Left Speed 18:44:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 90432 [Pipeline] sh 18:44:40 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:44:40 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:44:40 + sudo tee /etc/docker/daemon.new 18:44:40 { 18:44:40 "registry-mirrors": [ 18:44:40 "https://nexus3.edgexfoundry.org:10001" 18:44:40 ], 18:44:40 "bip": "10.250.0.254/24", 18:44:40 "hosts": [ 18:44:40 "tcp://0.0.0.0:5555", 18:44:40 "unix:///var/run/docker.sock" 18:44:40 ], 18:44:40 "mtu": 1458, 18:44:40 "selinux-enabled": true, 18:44:40 "seccomp-profile": "/etc/docker/seccomp.json" 18:44:40 } [Pipeline] sh 18:44:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:44:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:44:59 provisioning config files... 18:44:59 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config10127430401176669755tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:45:00 ---> docker-login.sh 18:45:00 nexus3.edgexfoundry.org:10001 18:45:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:00 Configure a credential helper to remove this warning. See 18:45:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:00 18:45:00 Login Succeeded 18:45:00 nexus3.edgexfoundry.org:10002 18:45:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:00 Configure a credential helper to remove this warning. See 18:45:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:00 18:45:00 Login Succeeded 18:45:00 nexus3.edgexfoundry.org:10003 18:45:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:01 Configure a credential helper to remove this warning. See 18:45:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:01 18:45:01 Login Succeeded 18:45:01 nexus3.edgexfoundry.org:10004 18:45:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:01 Configure a credential helper to remove this warning. See 18:45:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:01 18:45:01 Login Succeeded 18:45:01 docker.io 18:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:02 Configure a credential helper to remove this warning. See 18:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:02 18:45:02 Login Succeeded 18:45:02 ---> docker-login.sh ends [Pipeline] } 18:45:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:45:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:45:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:45:02 ========================================================= 18:45:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:45:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45:03 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 18:45:03 Sending build context to Docker daemon 3.287MB 18:45:03 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 18:45:03 Step 2/12 : FROM ${BASE} AS builder 18:45:03 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:45:03 9b18e9b68314: Pulling fs layer 18:45:03 35d82f9e3411: Pulling fs layer 18:45:03 e16973657156: Pulling fs layer 18:45:03 fc693d55d65f: Pulling fs layer 18:45:03 7e9fc2657dce: Pulling fs layer 18:45:03 dda99020689f: Pulling fs layer 18:45:03 db1c61fa0a46: Pulling fs layer 18:45:03 891c053d2c06: Pulling fs layer 18:45:03 7e9fc2657dce: Waiting 18:45:03 dda99020689f: Waiting 18:45:03 db1c61fa0a46: Waiting 18:45:03 891c053d2c06: Waiting 18:45:03 fc693d55d65f: Waiting 18:45:03 e16973657156: Download complete 18:45:03 35d82f9e3411: Download complete 18:45:03 7e9fc2657dce: Verifying Checksum 18:45:03 7e9fc2657dce: Download complete 18:45:03 dda99020689f: Verifying Checksum 18:45:03 dda99020689f: Download complete 18:45:03 9b18e9b68314: Verifying Checksum 18:45:04 9b18e9b68314: Pull complete 18:45:04 891c053d2c06: Verifying Checksum 18:45:04 891c053d2c06: Download complete 18:45:05 35d82f9e3411: Pull complete 18:45:05 e16973657156: Pull complete 18:45:06 db1c61fa0a46: Verifying Checksum 18:45:06 db1c61fa0a46: Download complete 18:45:06 fc693d55d65f: Verifying Checksum 18:45:06 fc693d55d65f: Download complete 18:45:21 fc693d55d65f: Pull complete 18:45:21 7e9fc2657dce: Pull complete 18:45:21 dda99020689f: Pull complete 18:45:27 db1c61fa0a46: Pull complete 18:45:28 891c053d2c06: Pull complete 18:45:28 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:45:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:45:28 ---> f96f9c87975a 18:45:28 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:45:30 ---> Running in c1e4d5cd4c03 18:45:30 Removing intermediate container c1e4d5cd4c03 18:45:30 ---> 49c2a6ccd18f 18:45:30 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:45:30 ---> Running in 449d04897eb5 18:45:31 Removing intermediate container 449d04897eb5 18:45:31 ---> ed6f64d4bf6c 18:45:31 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:45:31 ---> Running in 58faf143694f 18:45:31 Removing intermediate container 58faf143694f 18:45:31 ---> b2a7fe14eda9 18:45:31 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:45:31 ---> Running in c3cb7e61cbd2 18:45:31 Removing intermediate container c3cb7e61cbd2 18:45:31 ---> a1c65164f04a 18:45:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:45:32 ---> Running in 6d3b170734e5 18:45:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:45:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:45:34 (1/4) Installing openssh-keygen (9.0_p1-r2) 18:45:34 (2/4) Installing libedit (20210910.3.1-r0) 18:45:34 (3/4) Installing openssh-client-common (9.0_p1-r2) 18:45:34 (4/4) Installing openssh-client-default (9.0_p1-r2) 18:45:34 Executing busybox-1.35.0-r17.trigger 18:45:34 OK: 226 MiB in 55 packages 18:45:35 Removing intermediate container 6d3b170734e5 18:45:35 ---> c648d6d734c0 18:45:35 Step 8/12 : WORKDIR /device-mqtt-go 18:45:35 ---> Running in 3c186201936c 18:45:35 Removing intermediate container 3c186201936c 18:45:35 ---> ec807a97d64f 18:45:35 Step 9/12 : COPY go.mod vendor* ./ 18:45:36 ---> 09e964e8a9af 18:45:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:45:36 ---> Running in b2a71108c95f 18:46:32 Removing intermediate container b2a71108c95f 18:46:32 ---> d009390de476 18:46:32 Step 11/12 : COPY . . 18:46:32 ---> eed6f011fca8 18:46:32 Step 12/12 : RUN $MAKE 18:46:32 ---> Running in 0adef5614ceb 18:46:32 noop 18:46:32 Removing intermediate container 0adef5614ceb 18:46:32 ---> 8318f92a2455 18:46:32 Successfully built 8318f92a2455 18:46:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:33 + docker inspect -f . ci-base-image-arm64 18:46:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:33 prd-ubuntu20.04-docker-arm64-4c-16g-121373 does not seem to be running inside a container 18:46:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:46:35 $ docker top a757ff2f120bb57db44c98303de2d715256dcd641c1150f534fc983911e40f0c -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:35 + go version 18:46:35 go version go1.18.7 linux/arm64 [Pipeline] } 18:46:35 $ docker stop --time=1 a757ff2f120bb57db44c98303de2d715256dcd641c1150f534fc983911e40f0c 18:46:37 $ docker rm -f a757ff2f120bb57db44c98303de2d715256dcd641c1150f534fc983911e40f0c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:46:38 + docker inspect -f . ci-base-image-arm64 18:46:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:46:38 prd-ubuntu20.04-docker-arm64-4c-16g-121373 does not seem to be running inside a container 18:46:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:46:39 $ docker top bfc9a5cebe8176d16824ca801abadee0c6c241f0aa717ed78674550a550ee810 -eo pid,comm [Pipeline] { [Pipeline] sh 18:46:40 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 18:46:41 + make test 18:46:41 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 18:46:42 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:48:04 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:48:04 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.061s coverage: 21.8% of statements 18:48:04 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:48:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:48:04 GCO_ENABLED=1 GO111MODULE=on go vet ./... 18:48:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:48:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:48:22 ./bin/test-attribution-txt.sh [Pipeline] echo 18:48:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:48:22 $ docker stop --time=1 bfc9a5cebe8176d16824ca801abadee0c6c241f0aa717ed78674550a550ee810 18:48:24 $ docker rm -f bfc9a5cebe8176d16824ca801abadee0c6c241f0aa717ed78674550a550ee810 [Pipeline] // withDockerContainer [Pipeline] sh 18:48:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:48:25 Warning: overwriting stash ‘coverage-report’ 18:48:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:48:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:48:26 + ls -al . 18:48:26 total 188 18:48:26 drwxrwxr-x 9 jenkins jenkins 4096 Dec 15 18:46 . 18:48:26 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 18:44 .. 18:48:26 -rw-rw-r-- 1 jenkins jenkins 140 Dec 15 18:44 .dockerignore 18:48:26 drwxrwxr-x 8 jenkins jenkins 4096 Dec 15 18:44 .git 18:48:26 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 18:44 .github 18:48:26 -rw-rw-r-- 1 jenkins jenkins 329 Dec 15 18:44 .gitignore 18:48:26 -rw-rw-r-- 1 jenkins jenkins 41 Dec 15 18:44 .golangci.yml 18:48:26 -rw-rw-r-- 1 jenkins jenkins 9293 Dec 15 18:44 Attribution.txt 18:48:26 -rw-rw-r-- 1 jenkins jenkins 13162 Dec 15 18:44 CHANGELOG.md 18:48:26 -rw-rw-r-- 1 jenkins jenkins 1752 Dec 15 18:44 Dockerfile 18:48:26 -rw-rw-r-- 1 jenkins jenkins 677 Dec 15 18:44 GOVERNANCE.md 18:48:26 -rw-rw-r-- 1 jenkins jenkins 678 Dec 15 18:44 Jenkinsfile 18:48:26 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 15 18:44 LICENSE 18:48:26 -rw-rw-r-- 1 jenkins jenkins 2126 Dec 15 18:44 Makefile 18:48:26 -rw-rw-r-- 1 jenkins jenkins 620 Dec 15 18:44 OWNERS.md 18:48:26 -rw-rw-r-- 1 jenkins jenkins 3165 Dec 15 18:44 README.md 18:48:26 -rw-rw-r-- 1 jenkins jenkins 5 Dec 15 18:42 VERSION 18:48:26 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 18:44 bin 18:48:26 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 18:44 cmd 18:48:26 -rw-r--r-- 1 jenkins jenkins 17887 Dec 15 18:47 coverage.out 18:48:26 -rw-rw-r-- 1 jenkins jenkins 3464 Dec 15 18:44 go.mod 18:48:26 -rw-rw-r-- 1 jenkins jenkins 45013 Dec 15 18:44 go.sum 18:48:26 drwxrwxr-x 3 jenkins jenkins 4096 Dec 15 18:44 internal 18:48:26 drwxrwxr-x 2 jenkins jenkins 4096 Dec 15 18:44 mock 18:48:26 drwxrwxr-x 4 jenkins jenkins 4096 Dec 15 18:44 snap 18:48:26 -rw-rw-r-- 1 jenkins jenkins 227 Dec 15 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:48:27 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 --label arch=arm64 --label version=0.0.0 . 18:48:27 Sending build context to Docker daemon 3.305MB 18:48:27 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 18:48:27 Step 2/24 : FROM ${BASE} AS builder 18:48:27 ---> 8318f92a2455 18:48:27 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:48:27 ---> Running in d50410c8a029 18:48:28 Removing intermediate container d50410c8a029 18:48:28 ---> 793fd5e94327 18:48:28 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:48:28 ---> Running in 36573b6a679a 18:48:28 Removing intermediate container 36573b6a679a 18:48:28 ---> 656e6583e488 18:48:28 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 18:48:28 ---> Running in bc47efb8f4bd 18:48:28 Removing intermediate container bc47efb8f4bd 18:48:28 ---> 4bddd670e4af 18:48:28 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:48:28 ---> Running in c5263eb61dbc 18:48:29 Removing intermediate container c5263eb61dbc 18:48:29 ---> 1278f3b74f34 18:48:29 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:48:29 ---> Running in c53ec516a23b 18:48:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:48:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:48:31 OK: 226 MiB in 55 packages 18:48:32 Removing intermediate container c53ec516a23b 18:48:32 ---> d3fe8d8c0b2c 18:48:32 Step 8/24 : WORKDIR /device-mqtt-go 18:48:32 ---> Running in 20f2bc816107 18:48:32 Removing intermediate container 20f2bc816107 18:48:32 ---> 9b2ac637fac6 18:48:32 Step 9/24 : COPY go.mod vendor* ./ 18:48:32 ---> 947fdb06057f 18:48:32 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:48:33 ---> Running in 4dcbf0232eb0 18:48:35 Removing intermediate container 4dcbf0232eb0 18:48:35 ---> d441202a6e59 18:48:35 Step 11/24 : COPY . . 18:48:36 ---> 15b95b1ba0ad 18:48:36 Step 12/24 : RUN $MAKE 18:48:36 ---> Running in 1ce4b165c13f 18:48:37 GCO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 18:51:14 Removing intermediate container 1ce4b165c13f 18:51:14 ---> 5e7b330b8fbf 18:51:14 Step 13/24 : FROM alpine:3.16 18:51:14 3.16: Pulling from library/alpine 18:51:14 6875df1f5354: Pulling fs layer 18:51:14 6875df1f5354: Verifying Checksum 18:51:14 6875df1f5354: Download complete 18:51:14 6875df1f5354: Pull complete 18:51:14 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 18:51:14 Status: Downloaded newer image for alpine:3.16 18:51:14 ---> 2b4661558fb8 18:51:14 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:51:14 ---> Running in 66072edcfe96 18:51:14 Removing intermediate container 66072edcfe96 18:51:14 ---> 221498d5afe9 18:51:14 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 18:51:14 ---> Running in 92ea0d48540d 18:51:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:51:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:51:14 (1/6) Installing dumb-init (1.2.5-r1) 18:51:14 (2/6) Installing libgcc (11.2.1_git20220219-r2) 18:51:14 (3/6) Installing libsodium (1.0.18-r0) 18:51:14 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 18:51:14 (5/6) Installing libzmq (4.3.4-r0) 18:51:14 (6/6) Installing zeromq (4.3.4-r0) 18:51:14 Executing busybox-1.35.0-r17.trigger 18:51:14 OK: 8 MiB in 20 packages 18:51:14 Removing intermediate container 92ea0d48540d 18:51:14 ---> a7bca8babfbe 18:51:14 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:51:14 ---> ec5d2d02018f 18:51:14 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:51:14 ---> 1a9a9f569e2c 18:51:14 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:51:14 ---> e13a293c57ef 18:51:14 Step 19/24 : EXPOSE 59982 18:51:14 ---> Running in 5a8b2c1930c9 18:51:14 Removing intermediate container 5a8b2c1930c9 18:51:14 ---> 6622747e21bd 18:51:14 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:51:14 ---> Running in 731fe4906015 18:51:14 Removing intermediate container 731fe4906015 18:51:14 ---> 9af3db6f7764 18:51:14 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:51:14 ---> Running in 2320424c9474 18:51:14 Removing intermediate container 2320424c9474 18:51:14 ---> 911f47ecc8b7 18:51:14 Step 22/24 : LABEL arch=arm64 18:51:14 ---> Running in 03fd1e4f2ebb 18:51:14 Removing intermediate container 03fd1e4f2ebb 18:51:14 ---> 58c91498e423 18:51:14 Step 23/24 : LABEL git_sha=cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 18:51:14 ---> Running in b14986aa2208 18:51:14 Removing intermediate container b14986aa2208 18:51:14 ---> 73f2343f7e44 18:51:14 Step 24/24 : LABEL version=0.0.0 18:51:14 ---> Running in 5d9a3b13e32f 18:51:14 Removing intermediate container 5d9a3b13e32f 18:51:14 ---> dc2d07ac770f 18:51:14 [Warning] One or more build-args [ARCH] were not consumed 18:51:14 Successfully built dc2d07ac770f 18:51:14 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:51:14 18:51:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:51:15 arm64: Pulling from edgex-lftools-log-publisher 18:51:15 8998bd30e6a1: Pulling fs layer 18:51:15 04944245beec: Pulling fs layer 18:51:15 699f458cf7ca: Pulling fs layer 18:51:15 765212b225bb: Pulling fs layer 18:51:15 f23df028b6ca: Pulling fs layer 18:51:15 d65c8cfc05b1: Pulling fs layer 18:51:15 2437ff75d9bd: Pulling fs layer 18:51:15 f23df028b6ca: Waiting 18:51:15 d65c8cfc05b1: Waiting 18:51:15 2437ff75d9bd: Waiting 18:51:15 765212b225bb: Waiting 18:51:15 04944245beec: Verifying Checksum 18:51:15 04944245beec: Download complete 18:51:15 765212b225bb: Verifying Checksum 18:51:15 765212b225bb: Download complete 18:51:15 f23df028b6ca: Verifying Checksum 18:51:15 f23df028b6ca: Download complete 18:51:15 d65c8cfc05b1: Download complete 18:51:15 699f458cf7ca: Verifying Checksum 18:51:16 8998bd30e6a1: Verifying Checksum 18:51:16 8998bd30e6a1: Download complete 18:51:18 2437ff75d9bd: Verifying Checksum 18:51:18 2437ff75d9bd: Download complete 18:51:20 8998bd30e6a1: Pull complete 18:51:20 04944245beec: Pull complete 18:51:21 699f458cf7ca: Pull complete 18:51:21 765212b225bb: Pull complete 18:51:22 f23df028b6ca: Pull complete 18:51:22 d65c8cfc05b1: Pull complete 18:51:37 2437ff75d9bd: Pull complete 18:51:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:51:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:51:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:38 prd-ubuntu20.04-docker-arm64-4c-16g-121373 does not seem to be running inside a container 18:51:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:51:40 $ docker top 796134d7abb96c84d1188c6d2db2b187ca3beab18fee10a79f053d4e28c228a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:51:41 ---> job-cost.sh 18:51:41 lf-activate-venv: SKIPPING 18:51:41 INFO: No Stack... 18:51:42 INFO: Retrieving Pricing Info for: v3-standard-4 18:51:42 INFO: Archiving Costs [Pipeline] sh 18:51:43 + cut -d, -f6 18:51:43 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock 18:51:43 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-441-1-stack-cost] 18:51:43 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-441-1-stack-cost] did not exist. Created. 18:51:43 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-441-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:51:44 /w/workspace/device-mqtt-go/1@tmp/durable-2c4ff7a0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:51:44 + echo total: 0.10999999940395355 [Pipeline] stash 18:51:44 Warning: overwriting stash ‘stack-cost’ 18:51:44 Stashed 1 file(s) [Pipeline] } 18:51:44 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-441-1-stack-cost] [Pipeline] // lock [Pipeline] } 18:51:44 $ docker stop --time=1 796134d7abb96c84d1188c6d2db2b187ca3beab18fee10a79f053d4e28c228a1 18:51:46 $ docker rm -f 796134d7abb96c84d1188c6d2db2b187ca3beab18fee10a79f053d4e28c228a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 18:51:47 provisioning config files... 18:51:47 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp/config1435654680352885539tmp [Pipeline] { [Pipeline] sh 18:51:47 + set +x 18:51:47 + curl -s https://codecov.io/bash 18:51:47 + bash -s -- 18:51:47 18:51:47 _____ _ 18:51:47 / ____| | | 18:51:47 | | ___ __| | ___ ___ _____ __ 18:51:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:51:47 | |___| (_) | (_| | __/ (_| (_) \ V / 18:51:47 \_____\___/ \__,_|\___|\___\___/ \_/ 18:51:47 Bash-1.0.6 18:51:47 18:51:47 18:51:47 ==> git version 2.25.1 found 18:51:47 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:51:47 Release-Date: 2020-01-08 18:51:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:51:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:51:47 ==> Jenkins CI detected. 18:51:47 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-441 18:51:47 project root: . 18:51:47 --> token set from env 18:51:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:51:47 ==> Running gcov in . (disable via -X gcov) 18:51:47 ==> Python coveragepy not found 18:51:47 ==> Searching for coverage reports in: 18:51:47 + . 18:51:47 -> Found 1 reports 18:51:47 ==> Detecting git/mercurial file structure 18:51:47 ==> Reading reports 18:51:48 + ./coverage.out bytes=17887 18:51:48 ==> Appending adjustments 18:51:48 https://docs.codecov.io/docs/fixing-reports 18:51:48 + Found adjustments 18:51:48 ==> Gzipping contents 18:51:48 4.0K /tmp/codecov.xwghVv.gz 18:51:48 ==> Uploading reports 18:51:48 url: https://codecov.io 18:51:48 query: branch=PR-441&commit=cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-441%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=441&job=&cmd_args= 18:51:48 -> Pinging Codecov 18:51:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-441&commit=cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-441%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=441&job=&cmd_args= 18:51:48 -> Uploading to 18:51:48 https://storage.googleapis.com/codecov/v4/raw/2022-12-15/7D719EC7BBE17E464838252E33014C33/cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8/60b2b386-5d8a-4154-bb79-01a6ddd98b91.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221215T185148Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f09de8ee60fb3f7f2aa53fd47ece3aa8b5799642e381a1e1e05a2392231b7033 18:51:48 % Total % Received % Xferd Average Speed Time Time Time Current 18:51:48 Dload Upload Total Spent Left Speed 18:51:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3208 0 0 100 3208 0 13147 --:--:-- --:--:-- --:--:-- 13201 18:51:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/cdd73ae32df8f876fecfc48bb85d2ac8be4a89e8 [Pipeline] } 18:51:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 18:51:50 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-441/archives ] 18:51:50 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-441/archives 18:51:50 total 16 18:51:50 drwxr-xr-x 3 root root 4096 Dec 15 18:44 . 18:51:50 drwxrwxr-x 11 jenkins jenkins 4096 Dec 15 18:44 .. 18:51:50 drwxr-xr-x 2 root root 4096 Dec 15 18:44 cost 18:51:50 -rw-r--r-- 1 root root 86 Dec 15 18:44 cost.csv 18:51:50 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-441/archives 18:51:50 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-441/archives 18:51:50 total 16 18:51:50 drwxr-xr-x 3 jenkins jenkins 4096 Dec 15 18:44 . 18:51:50 drwxrwxr-x 11 jenkins jenkins 4096 Dec 15 18:44 .. 18:51:50 drwxr-xr-x 2 jenkins jenkins 4096 Dec 15 18:44 cost 18:51:50 -rw-r--r-- 1 jenkins jenkins 86 Dec 15 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:51:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:51:51 ---> package-listing.sh 18:51:51 ++ facter osfamily 18:51:51 ++ tr '[:upper:]' '[:lower:]' 18:51:51 + OS_FAMILY=debian 18:51:51 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-441 18:51:51 + START_PACKAGES=/tmp/packages_start.txt 18:51:51 + END_PACKAGES=/tmp/packages_end.txt 18:51:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:51:51 + PACKAGES=/tmp/packages_start.txt 18:51:51 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-441 ']' 18:51:51 + PACKAGES=/tmp/packages_end.txt 18:51:51 + case "${OS_FAMILY}" in 18:51:51 + dpkg -l 18:51:51 + grep '^ii' 18:51:51 + '[' -f /tmp/packages_start.txt ']' 18:51:51 + '[' -f /tmp/packages_end.txt ']' 18:51:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:51:51 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-441 ']' 18:51:51 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-441/archives/ 18:51:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-441/archives/ [Pipeline] echo 18:51:51 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-441/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 18:51:52 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:51:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:52 prd-ubuntu20.04-docker-8c-8g-121372 does not seem to be running inside a container 18:51:52 $ 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-441/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-441 -v /w/workspace/gexfoundry_device-mqtt-go_PR-441:/w/workspace/gexfoundry_device-mqtt-go_PR-441:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:51:53 $ docker top 72f8bfd8b3dea7b7cd36e5ee43a03f8b893ce7b8d005908e9bda89cac563601f -eo pid,comm [Pipeline] { [Pipeline] sh 18:51:53 + touch /tmp/pre-build-complete [Pipeline] sh 18:51:53 + mkdir -p /var/log/sysstat [Pipeline] sh 18:51:54 + ls /var/log/sa-host 18:51:54 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:51:54 provisioning config files... 18:51:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-441@tmp/config3522237640785725869tmp [Pipeline] { [Pipeline] echo 18:51:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:51:54 ---> create-netrc.sh [Pipeline] } 18:51:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:51:55 ---> python-tools-install.sh [Pipeline] echo 18:51:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:51:55 ---> sudo-logs.sh 18:51:55 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:51:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:51:55 ---> job-cost.sh 18:51:55 lf-activate-venv: SKIPPING 18:51:55 DEBUG: total: 0.2199999988079071 18:51:55 INFO: Retrieving Stack Cost... 18:51:56 INFO: Retrieving Pricing Info for: v3-standard-8 18:51:56 INFO: Archiving Costs [Pipeline] echo 18:51:56 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:51:57 ---> logs-deploy.sh 18:51:57 lf-activate-venv: SKIPPING 18:51:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-441/1 18:51:57 INFO: archiving workspace using pattern(s): 18:51:58 Archives upload complete. 18:51:58 INFO: archiving logs to Nexus 18:51:58 ---> uname -a: 18:51:58 Linux prd-ubuntu20-04-docker-8c-8g-121372 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:51:58 18:51:58 18:51:58 ---> lscpu: 18:51:58 Architecture: x86_64 18:51:58 CPU op-mode(s): 32-bit, 64-bit 18:51:58 Byte Order: Little Endian 18:51:58 Address sizes: 40 bits physical, 48 bits virtual 18:51:58 CPU(s): 8 18:51:58 On-line CPU(s) list: 0-7 18:51:58 Thread(s) per core: 1 18:51:58 Core(s) per socket: 1 18:51:58 Socket(s): 8 18:51:58 NUMA node(s): 1 18:51:58 Vendor ID: AuthenticAMD 18:51:58 CPU family: 23 18:51:58 Model: 49 18:51:58 Model name: AMD EPYC-Rome Processor 18:51:58 Stepping: 0 18:51:58 CPU MHz: 2799.994 18:51:58 BogoMIPS: 5599.98 18:51:58 Virtualization: AMD-V 18:51:58 Hypervisor vendor: KVM 18:51:58 Virtualization type: full 18:51:58 L1d cache: 256 KiB 18:51:58 L1i cache: 256 KiB 18:51:58 L2 cache: 4 MiB 18:51:58 L3 cache: 128 MiB 18:51:58 NUMA node0 CPU(s): 0-7 18:51:58 Vulnerability Itlb multihit: Not affected 18:51:58 Vulnerability L1tf: Not affected 18:51:58 Vulnerability Mds: Not affected 18:51:58 Vulnerability Meltdown: Not affected 18:51:58 Vulnerability Mmio stale data: Not affected 18:51:58 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:51:58 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:51:58 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:51:58 Vulnerability Srbds: Not affected 18:51:58 Vulnerability Tsx async abort: Not affected 18:51:58 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 18:51:58 18:51:58 18:51:58 ---> nproc: 18:51:58 8 18:51:58 18:51:58 18:51:58 ---> df -h: 18:51:58 Filesystem Size Used Avail Use% Mounted on 18:51:58 overlay 155G 12G 144G 8% / 18:51:58 tmpfs 64M 0 64M 0% /dev 18:51:58 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:51:58 shm 64M 0 64M 0% /dev/shm 18:51:58 /dev/vda1 155G 12G 144G 8% /facter-os 18:51:58 18:51:58 18:51:58 ---> sar -b -r -n DEV: 18:51:58 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-121372) 12/15/22 _x86_64_ (8 CPU) 18:51:58 18:51:58 18:41:47 LINUX RESTART (8 CPU) 18:51:58 18:51:58 18:42:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:51:58 18:43:02 390.97 47.77 343.20 0.00 5418.19 75871.78 0.00 18:51:58 18:44:01 150.07 1.36 148.71 0.00 21.02 47036.07 0.00 18:51:58 18:45:01 107.10 0.08 107.02 0.00 9.20 33092.48 0.00 18:51:58 18:46:01 1.43 0.00 1.43 0.00 0.00 16.28 0.00 18:51:58 18:47:01 38.04 9.36 28.67 0.00 2888.37 4942.89 0.00 18:51:58 18:48:01 17.80 1.23 16.56 0.00 2270.42 3745.24 0.00 18:51:58 18:49:01 3.45 0.02 3.43 0.00 0.13 89.57 0.00 18:51:58 18:50:01 1.52 0.00 1.52 0.00 0.00 17.19 0.00 18:51:58 18:51:01 0.97 0.00 0.97 0.00 0.00 10.13 0.00 18:51:58 Average: 78.90 6.66 72.25 0.00 1180.81 18259.51 0.00 18:51:58 18:51:58 18:42:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:51:58 18:43:02 29157300 31581752 731924 2.23 76440 2621340 1953648 5.76 999756 2358388 2568 18:51:58 18:44:01 27941340 31242764 1055444 3.21 141200 3355972 2597364 7.65 1609372 2872292 233508 18:51:58 18:45:01 27796764 31591640 707828 2.15 152068 3797504 1751556 5.16 1200536 3385888 164 18:51:58 18:46:01 27797644 31592820 706368 2.15 152100 3797632 1751556 5.16 1198836 3386016 160 18:51:58 18:47:01 27469136 31565128 718792 2.19 170312 4070556 1801472 5.31 1364020 3525388 22332 18:51:58 18:48:01 27275468 31573068 708500 2.15 185092 4251956 1829128 5.39 1518536 3552996 36 18:51:58 18:49:01 27288744 31581484 700664 2.13 183676 4248712 1808396 5.33 1509324 3549792 8 18:51:58 18:50:01 27288800 31581548 700528 2.13 183696 4248716 1808396 5.33 1509352 3549796 44 18:51:58 18:51:01 27288944 31581716 700512 2.13 183708 4248716 1808396 5.33 1509476 3549804 8 18:51:58 Average: 27700460 31543547 747840 2.27 158699 3849012 1901101 5.60 1379912 3303373 28759 18:51:58 18:51:58 18:42:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:51:58 18:43:02 veth600b559 62.20 77.71 6.07 60.36 0.00 0.00 0.00 0.00 18:51:58 18:43:02 ens3 712.35 507.81 6621.39 116.17 0.00 0.00 0.00 0.00 18:51:58 18:43:02 lo 7.13 7.13 0.69 0.69 0.00 0.00 0.00 0.00 18:51:58 18:43:02 docker0 67.78 85.37 5.65 171.57 0.00 0.00 0.00 0.00 18:51:58 18:44:01 ens3 190.14 155.27 1765.63 27.03 0.00 0.00 0.00 0.00 18:51:58 18:44:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 18:51:58 18:44:01 vethcefbe57 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 18:51:58 18:44:01 docker0 129.31 147.95 9.06 1726.93 0.00 0.00 0.00 0.00 18:51:58 18:45:01 ens3 118.91 76.19 2636.41 13.72 0.00 0.00 0.00 0.00 18:51:58 18:45:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 18:51:58 18:45:01 docker0 1.55 3.45 0.12 57.92 0.00 0.00 0.00 0.00 18:51:58 18:46:01 ens3 0.15 0.13 0.01 0.01 0.00 0.00 0.00 0.00 18:51:58 18:46:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:51:58 18:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:51:58 18:47:01 ens3 81.27 44.00 1761.46 3.26 0.00 0.00 0.00 0.00 18:51:58 18:47:01 lo 0.53 0.53 0.05 0.05 0.00 0.00 0.00 0.00 18:51:58 18:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:51:58 18:48:01 ens3 34.69 17.38 984.28 1.30 0.00 0.00 0.00 0.00 18:51:58 18:48:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:51:58 18:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:51:58 18:49:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:51:58 18:49:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:51:58 18:49:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:51:58 18:50:01 ens3 0.15 0.13 0.01 0.01 0.00 0.00 0.00 0.00 18:51:58 18:50:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:51:58 18:50:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:51:58 18:51:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:51:58 18:51:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:51:58 18:51:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:51:58 Average: ens3 126.29 88.87 1529.48 17.93 0.00 0.00 0.00 0.00 18:51:58 Average: lo 1.15 1.15 0.11 0.11 0.00 0.00 0.00 0.00 18:51:58 Average: docker0 21.87 26.08 1.63 214.54 0.00 0.00 0.00 0.00 18:51:58 18:51:58 18:51:58 ---> sar -P ALL: 18:51:58 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-121372) 12/15/22 _x86_64_ (8 CPU) 18:51:58 18:51:58 18:41:47 LINUX RESTART (8 CPU) 18:51:58 18:51:58 18:42:01 CPU %user %nice %system %iowait %steal %idle 18:51:58 18:43:02 all 9.80 0.00 3.82 2.07 0.05 84.26 18:51:58 18:43:02 0 10.17 0.00 2.93 0.42 0.05 86.43 18:51:58 18:43:02 1 10.20 0.00 4.25 0.47 0.05 85.03 18:51:58 18:43:02 2 9.83 0.00 3.25 0.66 0.05 86.21 18:51:58 18:43:02 3 7.15 0.00 5.14 6.23 0.07 81.42 18:51:58 18:43:02 4 11.24 0.00 3.19 5.76 0.05 79.76 18:51:58 18:43:02 5 11.17 0.00 4.11 2.27 0.05 82.40 18:51:58 18:43:02 6 7.49 0.00 4.04 0.39 0.03 88.06 18:51:58 18:43:02 7 11.16 0.00 3.63 0.36 0.07 84.78 18:51:58 18:44:01 all 34.97 0.00 6.68 1.08 0.08 57.20 18:51:58 18:44:01 0 33.40 0.00 6.93 0.15 0.07 59.45 18:51:58 18:44:01 1 34.94 0.00 6.69 0.24 0.09 58.04 18:51:58 18:44:01 2 35.48 0.00 6.75 0.05 0.07 57.64 18:51:58 18:44:01 3 33.79 0.00 6.62 4.07 0.07 55.46 18:51:58 18:44:01 4 35.67 0.00 7.03 1.02 0.09 56.19 18:51:58 18:44:01 5 35.03 0.00 6.78 2.52 0.09 55.58 18:51:58 18:44:01 6 35.11 0.00 6.45 0.15 0.09 58.20 18:51:58 18:44:01 7 36.34 0.00 6.20 0.40 0.07 57.00 18:51:58 18:45:01 all 6.55 0.00 2.08 0.78 0.03 90.57 18:51:58 18:45:01 0 7.57 0.00 2.69 0.12 0.03 89.59 18:51:58 18:45:01 1 7.16 0.00 1.71 0.87 0.02 90.24 18:51:58 18:45:01 2 5.77 0.00 1.97 0.03 0.03 92.19 18:51:58 18:45:01 3 6.12 0.00 1.93 0.03 0.03 91.88 18:51:58 18:45:01 4 6.17 0.00 2.87 2.28 0.03 88.65 18:51:58 18:45:01 5 6.59 0.00 1.58 0.02 0.02 91.80 18:51:58 18:45:01 6 6.74 0.00 1.98 0.75 0.02 90.51 18:51:58 18:45:01 7 6.25 0.00 1.92 2.10 0.03 89.70 18:51:58 18:46:01 all 0.27 0.00 0.02 0.00 0.01 99.69 18:51:58 18:46:01 0 1.95 0.00 0.02 0.00 0.02 98.01 18:51:58 18:46:01 1 0.00 0.00 0.03 0.00 0.02 99.95 18:51:58 18:46:01 2 0.08 0.00 0.00 0.00 0.00 99.92 18:51:58 18:46:01 3 0.03 0.00 0.00 0.00 0.00 99.97 18:51:58 18:46:01 4 0.05 0.00 0.05 0.00 0.03 99.87 18:51:58 18:46:01 5 0.03 0.00 0.02 0.00 0.02 99.93 18:51:58 18:46:01 6 0.00 0.00 0.03 0.00 0.02 99.95 18:51:58 18:46:01 7 0.00 0.00 0.00 0.03 0.00 99.97 18:51:58 18:47:01 all 1.42 0.00 0.76 0.25 0.02 97.56 18:51:58 18:47:01 0 2.87 0.00 0.41 0.21 0.02 96.49 18:51:58 18:47:01 1 1.00 0.00 2.02 0.40 0.02 96.56 18:51:58 18:47:01 2 1.68 0.00 0.85 0.23 0.00 97.23 18:51:58 18:47:01 3 2.15 0.00 0.57 0.03 0.03 97.22 18:51:58 18:47:01 4 1.07 0.00 0.53 0.03 0.02 98.35 18:51:58 18:47:01 5 0.60 0.00 0.33 0.52 0.02 98.53 18:51:58 18:47:01 6 1.08 0.00 0.72 0.25 0.00 97.95 18:51:58 18:47:01 7 0.87 0.00 0.62 0.32 0.03 98.16 18:51:58 18:48:01 all 0.95 0.00 0.62 0.13 0.01 98.29 18:51:58 18:48:01 0 2.31 0.00 0.43 0.02 0.02 97.23 18:51:58 18:48:01 1 0.35 0.00 1.10 0.03 0.00 98.52 18:51:58 18:48:01 2 0.82 0.00 0.32 0.02 0.02 98.83 18:51:58 18:48:01 3 1.17 0.00 0.92 0.05 0.00 97.87 18:51:58 18:48:01 4 0.45 0.00 0.85 0.32 0.02 98.36 18:51:58 18:48:01 5 0.43 0.00 0.30 0.42 0.02 98.83 18:51:58 18:48:01 6 0.73 0.00 0.50 0.17 0.00 98.60 18:51:58 18:48:01 7 1.35 0.00 0.52 0.02 0.02 98.10 18:51:58 18:49:01 all 0.07 0.00 0.05 0.01 0.01 99.85 18:51:58 18:49:01 0 0.05 0.00 0.03 0.00 0.00 99.92 18:51:58 18:49:01 1 0.05 0.00 0.05 0.03 0.00 99.87 18:51:58 18:49:01 2 0.02 0.00 0.05 0.00 0.00 99.93 18:51:58 18:49:01 3 0.05 0.00 0.05 0.00 0.02 99.88 18:51:58 18:49:01 4 0.02 0.00 0.07 0.00 0.00 99.92 18:51:58 18:49:01 5 0.08 0.00 0.03 0.08 0.00 99.80 18:51:58 18:49:01 6 0.07 0.00 0.03 0.00 0.02 99.88 18:51:58 18:49:01 7 0.25 0.00 0.12 0.00 0.02 99.62 18:51:58 18:50:01 all 0.01 0.00 0.01 0.01 0.01 99.96 18:51:58 18:50:01 0 0.00 0.00 0.00 0.00 0.02 99.98 18:51:58 18:50:01 1 0.00 0.00 0.02 0.02 0.02 99.95 18:51:58 18:50:01 2 0.00 0.00 0.00 0.00 0.00 100.00 18:51:58 18:50:01 3 0.02 0.00 0.03 0.00 0.00 99.95 18:51:58 18:50:01 4 0.03 0.00 0.02 0.00 0.02 99.93 18:51:58 18:50:01 5 0.00 0.00 0.00 0.03 0.02 99.95 18:51:58 18:50:01 6 0.00 0.00 0.00 0.00 0.00 100.00 18:51:58 18:50:01 7 0.02 0.00 0.02 0.00 0.02 99.95 18:51:58 18:51:01 all 0.02 0.00 0.00 0.00 0.01 99.97 18:51:58 18:51:01 0 0.00 0.00 0.00 0.00 0.00 100.00 18:51:58 18:51:01 1 0.00 0.00 0.00 0.00 0.02 99.98 18:51:58 18:51:01 2 0.00 0.00 0.00 0.00 0.00 100.00 18:51:58 18:51:01 3 0.02 0.00 0.02 0.00 0.02 99.95 18:51:58 18:51:01 4 0.07 0.00 0.00 0.02 0.00 99.92 18:51:58 18:51:01 5 0.03 0.00 0.00 0.00 0.00 99.97 18:51:58 18:51:01 6 0.02 0.00 0.00 0.00 0.00 99.98 18:51:58 18:51:01 7 0.05 0.00 0.00 0.00 0.02 99.93 18:51:58 Average: all 5.91 0.00 1.54 0.48 0.02 92.04 18:51:58 Average: 0 6.39 0.00 1.47 0.10 0.02 92.01 18:51:58 Average: 1 5.87 0.00 1.74 0.23 0.02 92.13 18:51:58 Average: 2 5.87 0.00 1.45 0.11 0.02 92.56 18:51:58 Average: 3 5.52 0.00 1.68 1.14 0.03 91.63 18:51:58 Average: 4 6.01 0.00 1.61 1.04 0.03 91.32 18:51:58 Average: 5 5.90 0.00 1.44 0.64 0.02 91.99 18:51:58 Average: 6 5.61 0.00 1.51 0.19 0.02 92.67 18:51:58 Average: 7 6.14 0.00 1.43 0.36 0.03 92.05 18:51:58 18:51:58 18:51:58