Pull request #407 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 farshidtz for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 55e3c5155244bbbc6d457c31330974f63a5e47f1+35621d3e3ed5e5519204e5baffde9d6fc275525a (2672b4178ba9be27485dc66447af4c5caec74c70) 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-ssh2055087239994916968.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh10688216734651560613.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-407/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-407/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh785283432657051235.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-407/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14522672594800532309.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh12008796540160540059.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 8213865985cc96b4d65921cf96fa8a01761a1acb 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-407/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-407/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18375608737118060864.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 8213865985cc96b4d65921cf96fa8a01761a1acb (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 8213865985cc96b4d65921cf96fa8a01761a1acb # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.2" > 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 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21885 in /w/workspace/gexfoundry_device-mqtt-go_PR-407 [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-407 # 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 > 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/407/head:refs/remotes/origin/PR-407 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 35621d3e3ed5e5519204e5baffde9d6fc275525a into PR head commit 55e3c5155244bbbc6d457c31330974f63a5e47f1 Merge succeeded, producing 55e3c5155244bbbc6d457c31330974f63a5e47f1 Checking out Revision 55e3c5155244bbbc6d457c31330974f63a5e47f1 (PR-407) > git config core.sparsecheckout # timeout=10 > git checkout -f 55e3c5155244bbbc6d457c31330974f63a5e47f1 # 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 35621d3e3ed5e5519204e5baffde9d6fc275525a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 55e3c5155244bbbc6d457c31330974f63a5e47f1 # timeout=10 Commit message: "ci(snap): Add dependabot config for snap go mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:09:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:09:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:09:39 ========================================================= 17:09:39 EdgeX Global Pipelines Version Info 17:09:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:09:40 ------------------- 17:09:40 stable info: 17:09:40 ------------------- 17:09:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:09:40 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 17:09:40 Message: update stable to v1.0.238 17:09:40 ------------------- 17:09:40 experimental info: 17:09:40 ------------------- 17:09:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:09:40 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 17:09:40 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:09:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 17:09:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 17:09:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:09:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:09:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:09:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:09:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:09:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 17:09:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:09:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:09:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:09:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 17:09:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:09:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:09:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:09:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 17:09:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:09:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:09:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:09:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:09:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 17:09:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 17:09:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:09:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:09:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:09:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:09:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:09:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-407 [Pipeline] echo 17:09:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-407 [Pipeline] echo 17:09:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-407 [Pipeline] echo 17:09:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 55e3c5155244bbbc6d457c31330974f63a5e47f1 [Pipeline] echo 17:09:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 55e3c51 [Pipeline] echo 17:09:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:09:42 provisioning config files... 17:09:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-407@tmp/config4884088146914330911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:09:43 ---> docker-login.sh 17:09:43 nexus3.edgexfoundry.org:10001 17:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:43 Configure a credential helper to remove this warning. See 17:09:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:43 17:09:43 Login Succeeded 17:09:43 nexus3.edgexfoundry.org:10002 17:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:43 Configure a credential helper to remove this warning. See 17:09:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:43 17:09:43 Login Succeeded 17:09:43 nexus3.edgexfoundry.org:10003 17:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:43 Configure a credential helper to remove this warning. See 17:09:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:43 17:09:43 Login Succeeded 17:09:43 nexus3.edgexfoundry.org:10004 17:09:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:44 Configure a credential helper to remove this warning. See 17:09:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:44 17:09:44 Login Succeeded 17:09:44 docker.io 17:09:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:09:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:09:44 Configure a credential helper to remove this warning. See 17:09:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:09:44 17:09:44 Login Succeeded 17:09:44 ---> docker-login.sh ends [Pipeline] } 17:09:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:09:45 + git rev-list -1 --merges 55e3c5155244bbbc6d457c31330974f63a5e47f1~1..55e3c5155244bbbc6d457c31330974f63a5e47f1 [Pipeline] echo 17:09:45 -----------> git rev-list -1 --merges 55e3c5155244bbbc6d457c31330974f63a5e47f1~1..55e3c5155244bbbc6d457c31330974f63a5e47f1 55e3c5155244bbbc6d457c31330974f63a5e47f1 [false] [Pipeline] sh 17:09:45 + git log --format=format:%s -1 55e3c5155244bbbc6d457c31330974f63a5e47f1 [Pipeline] echo 17:09:45 ========================================================= 17:09:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:09:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:09:46 + git log --format=format:%s -1 55e3c5155244bbbc6d457c31330974f63a5e47f1 [Pipeline] echo 17:09:46 [semverPrep] GIT_COMMIT: 55e3c5155244bbbc6d457c31330974f63a5e47f1, Commit Message: ci(snap): Add dependabot config for snap go mods [Pipeline] echo 17:09:46 [semverPrep] This is not a build commit. [Pipeline] sh 17:09:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:09:46 + grep -v github /etc/ssh/ssh_known_hosts 17:09:46 + [ -e /tmp/ssh_known_hosts ] 17:09:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:09:46 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:09:46 sudo tee -a /etc/ssh/ssh_known_hosts 17:09:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:09:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:09:47 17:09:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:09:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:09:47 0.1.4: Pulling from edgex-devops/py-git-semver 17:09:47 b85a868b505f: Pulling fs layer 17:09:47 e2be974225ed: Pulling fs layer 17:09:47 339a4e72a1f5: Pulling fs layer 17:09:47 988bab9f4d93: Pulling fs layer 17:09:47 1469e6f7b9e6: Pulling fs layer 17:09:47 eaf3925da568: Pulling fs layer 17:09:47 bab4dde63d76: Pulling fs layer 17:09:47 bde34c3a00c8: Pulling fs layer 17:09:47 b352a97aabf1: Pulling fs layer 17:09:47 4872d77fe225: Pulling fs layer 17:09:47 5851b861e8e6: Pulling fs layer 17:09:47 1469e6f7b9e6: Waiting 17:09:47 eaf3925da568: Waiting 17:09:47 bab4dde63d76: Waiting 17:09:47 bde34c3a00c8: Waiting 17:09:47 b352a97aabf1: Waiting 17:09:47 4872d77fe225: Waiting 17:09:47 5851b861e8e6: Waiting 17:09:47 988bab9f4d93: Waiting 17:09:47 e2be974225ed: Verifying Checksum 17:09:47 e2be974225ed: Download complete 17:09:47 988bab9f4d93: Verifying Checksum 17:09:47 988bab9f4d93: Download complete 17:09:47 1469e6f7b9e6: Verifying Checksum 17:09:47 1469e6f7b9e6: Download complete 17:09:47 339a4e72a1f5: Verifying Checksum 17:09:47 339a4e72a1f5: Download complete 17:09:47 eaf3925da568: Verifying Checksum 17:09:47 eaf3925da568: Download complete 17:09:47 bde34c3a00c8: Download complete 17:09:47 b352a97aabf1: Verifying Checksum 17:09:47 b352a97aabf1: Download complete 17:09:47 4872d77fe225: Verifying Checksum 17:09:47 4872d77fe225: Download complete 17:09:47 5851b861e8e6: Verifying Checksum 17:09:47 5851b861e8e6: Download complete 17:09:47 b85a868b505f: Verifying Checksum 17:09:47 b85a868b505f: Download complete 17:09:48 bab4dde63d76: Verifying Checksum 17:09:48 bab4dde63d76: Download complete 17:09:49 b85a868b505f: Pull complete 17:09:49 e2be974225ed: Pull complete 17:09:50 339a4e72a1f5: Pull complete 17:09:50 988bab9f4d93: Pull complete 17:09:50 1469e6f7b9e6: Pull complete 17:09:50 eaf3925da568: Pull complete 17:09:52 bab4dde63d76: Pull complete 17:09:52 bde34c3a00c8: Pull complete 17:09:52 b352a97aabf1: Pull complete 17:09:52 4872d77fe225: Pull complete 17:09:52 5851b861e8e6: Pull complete 17:09:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:09:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:09:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:09:53 prd-ubuntu20.04-docker-8c-8g-21885 does not seem to be running inside a container 17:09:53 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-407 -v /w/workspace/gexfoundry_device-mqtt-go_PR-407:/w/workspace/gexfoundry_device-mqtt-go_PR-407:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-407@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-407@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:09:55 $ docker top 0297b907d62fcf261b7cf0e650b3a81b632830a1ccc2db603f22414f300d7259 -eo pid,comm 17:09:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:09:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:09:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:09:55 [ssh-agent] Looking for ssh-agent implementation... 17:09:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:09:55 $ docker exec 0297b907d62fcf261b7cf0e650b3a81b632830a1ccc2db603f22414f300d7259 ssh-agent 17:09:55 SSH_AUTH_SOCK=/tmp/ssh-AXfljXLJGoX5/agent.33 17:09:55 SSH_AGENT_PID=40 17:09:55 Running ssh-add (command line suppressed) 17:09:55 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-407@tmp/private_key_7663397763650399882.key (/w/workspace/gexfoundry_device-mqtt-go_PR-407@tmp/private_key_7663397763650399882.key) 17:09:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:09:56 + git tag --points-at HEAD [Pipeline] } 17:09:56 $ docker exec --env ******** --env ******** 0297b907d62fcf261b7cf0e650b3a81b632830a1ccc2db603f22414f300d7259 ssh-agent -k 17:09:56 unset SSH_AUTH_SOCK; 17:09:56 unset SSH_AGENT_PID; 17:09:56 echo Agent pid 40 killed; 17:09:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:09:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:09:56 [ssh-agent] Looking for ssh-agent implementation... 17:09:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:09:56 $ docker exec 0297b907d62fcf261b7cf0e650b3a81b632830a1ccc2db603f22414f300d7259 ssh-agent 17:09:56 SSH_AUTH_SOCK=/tmp/ssh-bTdeReqDV8MR/agent.74 17:09:56 SSH_AGENT_PID=80 17:09:56 Running ssh-add (command line suppressed) 17:09:56 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-407@tmp/private_key_2352931134470602704.key (/w/workspace/gexfoundry_device-mqtt-go_PR-407@tmp/private_key_2352931134470602704.key) 17:09:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:09:57 + git semver init 17:09:57 2022-08-03 17:09:57,329 [run_init] DEBUG init version:0.0.0 force:False 17:09:57 2022-08-03 17:09:57,330 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-407/.semver 17:09:57 2022-08-03 17:09:57,331 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-407/.semver 17:09:57 2022-08-03 17:09:57,331 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-407/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-407, universal_newlines=False, shell=None, istream=None) 17:09:58 2022-08-03 17:09:58,049 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-407/.git/info/exclude 17:09:58 2022-08-03 17:09:58,049 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-407/.semver/PR-407 with force:False 17:09:58 2022-08-03 17:09:58,049 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-407/.semver/PR-407 17:09:58 2022-08-03 17:09:58,054 [execute] INFO git cat-file --batch-check 17:09:58 2022-08-03 17:09:58,054 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-407/.semver, universal_newlines=False, shell=None, istream=) 17:09:58 2022-08-03 17:09:58,061 [execute] INFO git cat-file --batch 17:09:58 2022-08-03 17:09:58,061 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-407/.semver, universal_newlines=False, shell=None, istream=) 17:09:58 2022-08-03 17:09:58,065 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-407/.semver/PR-407 17:09:58 0.0.0 [Pipeline] } 17:09:58 $ docker exec --env ******** --env ******** 0297b907d62fcf261b7cf0e650b3a81b632830a1ccc2db603f22414f300d7259 ssh-agent -k 17:09:58 unset SSH_AUTH_SOCK; 17:09:58 unset SSH_AGENT_PID; 17:09:58 echo Agent pid 80 killed; 17:09:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:09:58 + git semver [Pipeline] } 17:09:59 $ docker stop --time=1 0297b907d62fcf261b7cf0e650b3a81b632830a1ccc2db603f22414f300d7259 17:10:00 $ docker rm -f 0297b907d62fcf261b7cf0e650b3a81b632830a1ccc2db603f22414f300d7259 [Pipeline] // withDockerContainer [Pipeline] sh 17:10:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:10:01 Stashed 1 file(s) [Pipeline] echo 17:10:01 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:10:01 provisioning config files... 17:10:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-407@tmp/config5619863855122791192tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:10:02 ---> docker-login.sh 17:10:02 nexus3.edgexfoundry.org:10001 17:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:02 Configure a credential helper to remove this warning. See 17:10:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:02 17:10:02 Login Succeeded 17:10:02 nexus3.edgexfoundry.org:10002 17:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:02 Configure a credential helper to remove this warning. See 17:10:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:02 17:10:02 Login Succeeded 17:10:02 nexus3.edgexfoundry.org:10003 17:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:02 Configure a credential helper to remove this warning. See 17:10:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:02 17:10:02 Login Succeeded 17:10:02 nexus3.edgexfoundry.org:10004 17:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:02 Configure a credential helper to remove this warning. See 17:10:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:02 17:10:02 Login Succeeded 17:10:02 docker.io 17:10:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:10:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:10:03 Configure a credential helper to remove this warning. See 17:10:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:10:03 17:10:03 Login Succeeded 17:10:03 ---> docker-login.sh ends [Pipeline] } 17:10:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:10:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:10:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:10:03 ========================================================= 17:10:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:10:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:03 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:10:03 Sending build context to Docker daemon 6.076MB 17:10:03 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:10:03 Step 2/12 : FROM ${BASE} AS builder 17:10:03 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:10:03 2408cc74d12b: Pulling fs layer 17:10:03 ea60b727a1ce: Pulling fs layer 17:10:03 30c4a7721957: Pulling fs layer 17:10:03 370296b7ddb6: Pulling fs layer 17:10:03 7c6cee850709: Pulling fs layer 17:10:03 370296b7ddb6: Waiting 17:10:03 39a5fcdaea64: Pulling fs layer 17:10:03 d94ebbe4e438: Pulling fs layer 17:10:03 bcfd1f05c69d: Pulling fs layer 17:10:03 7c6cee850709: Waiting 17:10:03 39a5fcdaea64: Waiting 17:10:03 bcfd1f05c69d: Waiting 17:10:03 d94ebbe4e438: Waiting 17:10:03 59ccb84bbe0f: Pulling fs layer 17:10:03 59ccb84bbe0f: Waiting 17:10:03 30c4a7721957: Download complete 17:10:03 ea60b727a1ce: Verifying Checksum 17:10:03 ea60b727a1ce: Download complete 17:10:03 7c6cee850709: Download complete 17:10:03 39a5fcdaea64: Verifying Checksum 17:10:03 39a5fcdaea64: Download complete 17:10:04 2408cc74d12b: Verifying Checksum 17:10:04 2408cc74d12b: Download complete 17:10:04 d94ebbe4e438: Download complete 17:10:04 2408cc74d12b: Pull complete 17:10:04 ea60b727a1ce: Pull complete 17:10:04 30c4a7721957: Pull complete 17:10:04 59ccb84bbe0f: Verifying Checksum 17:10:04 59ccb84bbe0f: Download complete 17:10:04 bcfd1f05c69d: Verifying Checksum 17:10:04 bcfd1f05c69d: Download complete 17:10:04 370296b7ddb6: Verifying Checksum 17:10:04 370296b7ddb6: Download complete 17:10:09 370296b7ddb6: Pull complete 17:10:09 7c6cee850709: Pull complete 17:10:09 39a5fcdaea64: Pull complete 17:10:09 d94ebbe4e438: Pull complete 17:10:11 bcfd1f05c69d: Pull complete 17:10:12 59ccb84bbe0f: Pull complete 17:10:12 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 17:10:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:10:12 ---> a4fb48ad2a94 17:10:12 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:10:16 ---> Running in fbd799f2e47a 17:10:16 Removing intermediate container fbd799f2e47a 17:10:16 ---> 63e9d421897a 17:10:16 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:10:16 ---> Running in 5509c527c3de 17:10:16 Removing intermediate container 5509c527c3de 17:10:16 ---> 6a7c552e52a7 17:10:16 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:10:16 ---> Running in a230dca84481 17:10:16 Removing intermediate container a230dca84481 17:10:16 ---> 64f55e4512fd 17:10:16 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:10:16 ---> Running in 350a893a30a8 17:10:16 Still waiting to schedule task 17:10:16 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:10:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:10:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:10:18 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:10:18 (2/4) Installing libedit (20210910.3.1-r0) 17:10:18 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:10:18 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:10:18 Executing busybox-1.35.0-r13.trigger 17:10:18 OK: 216 MiB in 55 packages 17:10:19 Removing intermediate container 350a893a30a8 17:10:19 ---> daa82a5553ad 17:10:19 Step 7/12 : WORKDIR /device-mqtt-go 17:10:19 ---> Running in d58ecd151e94 17:10:19 Removing intermediate container d58ecd151e94 17:10:19 ---> 51a744708ce0 17:10:19 Step 8/12 : COPY go.mod vendor* ./ 17:10:19 ---> 0a6bc8997c33 17:10:19 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:10:19 ---> Running in 2c4f47643988 17:10:41 Removing intermediate container 2c4f47643988 17:10:41 ---> 61d483483ef8 17:10:41 Step 10/12 : COPY . . 17:10:41 ---> fccbfe787489 17:10:41 Step 11/12 : ARG MAKE='make build' 17:10:41 ---> Running in 1fc6d55489df 17:10:41 Removing intermediate container 1fc6d55489df 17:10:41 ---> a2bcd202d32b 17:10:41 Step 12/12 : RUN $MAKE 17:10:41 ---> Running in eb6eddb34659 17:10:42 noop 17:10:43 Removing intermediate container eb6eddb34659 17:10:43 ---> 69ee04802659 17:10:43 Successfully built 69ee04802659 17:10:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:43 + docker inspect -f . ci-base-image-x86_64 17:10:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:10:43 prd-ubuntu20.04-docker-8c-8g-21885 does not seem to be running inside a container 17:10:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-407 -v /w/workspace/gexfoundry_device-mqtt-go_PR-407:/w/workspace/gexfoundry_device-mqtt-go_PR-407:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-407@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-407@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:10:44 $ docker top 348a2ee15e425e510c1b58245be1f75288accee02acacc1e2fa0a89da13f0800 -eo pid,comm [Pipeline] { [Pipeline] sh 17:10:45 + go version 17:10:45 go version go1.18.3 linux/amd64 [Pipeline] } 17:10:45 $ docker stop --time=1 348a2ee15e425e510c1b58245be1f75288accee02acacc1e2fa0a89da13f0800 17:10:46 $ docker rm -f 348a2ee15e425e510c1b58245be1f75288accee02acacc1e2fa0a89da13f0800 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:10:47 + docker inspect -f . ci-base-image-x86_64 17:10:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:10:47 prd-ubuntu20.04-docker-8c-8g-21885 does not seem to be running inside a container 17:10:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-mqtt-go_PR-407 -v /w/workspace/gexfoundry_device-mqtt-go_PR-407:/w/workspace/gexfoundry_device-mqtt-go_PR-407:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-407@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-407@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:10:48 $ docker top 452a267b4f85bbd68fed5a86c02d5a1ff1f3e0798b7745c69affa29d504109e8 -eo pid,comm [Pipeline] { [Pipeline] sh 17:10:48 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-407 [Pipeline] fileExists [Pipeline] sh 17:10:48 + make test 17:10:48 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:10:49 ? github.com/edgexfoundry/device-mqtt-go [no test files] 17:10:59 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 17:10:59 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 17:10:59 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 17:11:05 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 17:11:05 GCO_ENABLED=1 GO111MODULE=on go vet ./... 17:11:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:11:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:11:08 ./bin/test-attribution-txt.sh 17:11:08 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 17:11:08 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 17:11:08 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 17:11:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:11:09 $ docker stop --time=1 452a267b4f85bbd68fed5a86c02d5a1ff1f3e0798b7745c69affa29d504109e8 17:11:11 $ docker rm -f 452a267b4f85bbd68fed5a86c02d5a1ff1f3e0798b7745c69affa29d504109e8 [Pipeline] // withDockerContainer [Pipeline] sh 17:11:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:11:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:11:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:11:12 + ls -al . 17:11:12 total 180 17:11:12 drwxrwxr-x 10 jenkins jenkins 4096 Aug 3 17:10 . 17:11:12 drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 17:09 .. 17:11:12 -rw-rw-r-- 1 jenkins jenkins 140 Aug 3 17:09 .dockerignore 17:11:12 drwxrwxr-x 8 jenkins jenkins 4096 Aug 3 17:10 .git 17:11:12 drwxrwxr-x 3 jenkins jenkins 4096 Aug 3 17:09 .github 17:11:12 -rw-rw-r-- 1 jenkins jenkins 329 Aug 3 17:09 .gitignore 17:11:12 -rw-rw-r-- 1 jenkins jenkins 41 Aug 3 17:09 .golangci.yml 17:11:12 drwxr-xr-x 3 jenkins jenkins 4096 Aug 3 17:09 .semver 17:11:12 -rw-rw-r-- 1 jenkins jenkins 8917 Aug 3 17:09 Attribution.txt 17:11:12 -rw-rw-r-- 1 jenkins jenkins 11365 Aug 3 17:09 CHANGELOG.md 17:11:12 -rw-rw-r-- 1 jenkins jenkins 1932 Aug 3 17:09 Dockerfile 17:11:12 -rw-rw-r-- 1 jenkins jenkins 677 Aug 3 17:09 GOVERNANCE.md 17:11:12 -rw-rw-r-- 1 jenkins jenkins 678 Aug 3 17:09 Jenkinsfile 17:11:12 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 3 17:09 LICENSE 17:11:12 -rw-rw-r-- 1 jenkins jenkins 1917 Aug 3 17:09 Makefile 17:11:12 -rw-rw-r-- 1 jenkins jenkins 620 Aug 3 17:09 OWNERS.md 17:11:12 -rw-rw-r-- 1 jenkins jenkins 2501 Aug 3 17:09 README.md 17:11:12 -rw-rw-r-- 1 jenkins jenkins 5 Aug 3 17:10 VERSION 17:11:12 drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 17:09 bin 17:11:12 drwxrwxr-x 3 jenkins jenkins 4096 Aug 3 17:09 cmd 17:11:12 -rw-r--r-- 1 jenkins jenkins 17887 Aug 3 17:10 coverage.out 17:11:12 -rw-rw-r-- 1 jenkins jenkins 3452 Aug 3 17:09 go.mod 17:11:12 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 3 17:09 go.sum 17:11:12 drwxrwxr-x 3 jenkins jenkins 4096 Aug 3 17:09 internal 17:11:12 drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 17:09 mock 17:11:12 drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 17:09 snap 17:11:12 -rw-rw-r-- 1 jenkins jenkins 227 Aug 3 17:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:12 + 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=55e3c5155244bbbc6d457c31330974f63a5e47f1 --label arch=amd64 --label version=0.0.0 . 17:11:12 Sending build context to Docker daemon 6.094MB 17:11:12 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 17:11:12 Step 2/24 : FROM ${BASE} AS builder 17:11:12 ---> 69ee04802659 17:11:12 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:11:12 ---> Running in 27af9885c296 17:11:13 Removing intermediate container 27af9885c296 17:11:13 ---> a0d19ac1ce2d 17:11:13 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 17:11:13 ---> Running in c68f31dc7bb2 17:11:13 Removing intermediate container c68f31dc7bb2 17:11:13 ---> 4ac3c08c71c8 17:11:13 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:11:13 ---> Running in 01c7e15bee81 17:11:13 Removing intermediate container 01c7e15bee81 17:11:13 ---> cf84109185a2 17:11:13 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:11:13 ---> Running in b863844888a5 17:11:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:11:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:11:15 OK: 216 MiB in 55 packages 17:11:15 Removing intermediate container b863844888a5 17:11:15 ---> f44d80b2de1d 17:11:15 Step 7/24 : WORKDIR /device-mqtt-go 17:11:15 ---> Running in 211eaa7b9a26 17:11:15 Removing intermediate container 211eaa7b9a26 17:11:15 ---> 5b0b4c9a9f3e 17:11:15 Step 8/24 : COPY go.mod vendor* ./ 17:11:15 ---> 1694f487d31a 17:11:15 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:11:15 ---> Running in a0ea619b9b41 17:11:16 Removing intermediate container a0ea619b9b41 17:11:16 ---> 79748a78ac1e 17:11:16 Step 10/24 : COPY . . 17:11:16 ---> 8ac73ea9ec34 17:11:16 Step 11/24 : ARG MAKE='make build' 17:11:16 ---> Running in a471513f19e1 17:11:16 Removing intermediate container a471513f19e1 17:11:16 ---> 3959f6f0159e 17:11:16 Step 12/24 : RUN $MAKE 17:11:16 ---> Running in 9f9d86d0f8d6 17:11:16 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 17:11:38 Removing intermediate container 9f9d86d0f8d6 17:11:38 ---> 0df0fe95b234 17:11:38 Step 13/24 : FROM alpine:3.16 17:11:38 3.16: Pulling from library/alpine 17:11:38 530afca65e2e: Pulling fs layer 17:11:38 530afca65e2e: Verifying Checksum 17:11:38 530afca65e2e: Download complete 17:11:38 530afca65e2e: Pull complete 17:11:38 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 17:11:38 Status: Downloaded newer image for alpine:3.16 17:11:38 ---> d7d3d98c851f 17:11:38 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 17:11:38 ---> Running in c13cba86e5e1 17:11:38 Removing intermediate container c13cba86e5e1 17:11:38 ---> 71d3936c3c0d 17:11:38 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 17:11:38 ---> Running in 7bfb118d957c 17:11:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:11:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:11:39 (1/6) Installing dumb-init (1.2.5-r1) 17:11:39 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:11:39 (3/6) Installing libsodium (1.0.18-r0) 17:11:39 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:11:39 (5/6) Installing libzmq (4.3.4-r0) 17:11:39 (6/6) Installing zeromq (4.3.4-r0) 17:11:39 Executing busybox-1.35.0-r15.trigger 17:11:39 OK: 8 MiB in 20 packages 17:11:39 Removing intermediate container 7bfb118d957c 17:11:39 ---> 8d548fe1ef4e 17:11:39 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 17:11:40 ---> f63db2d5d0b0 17:11:40 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 17:11:40 ---> 06106343bc62 17:11:40 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 17:11:40 ---> a437de61a22d 17:11:40 Step 19/24 : EXPOSE 59982 17:11:40 ---> Running in 5c028bf5c40f 17:11:40 Removing intermediate container 5c028bf5c40f 17:11:40 ---> c6c659797561 17:11:40 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 17:11:40 ---> Running in d521a668094b 17:11:40 Removing intermediate container d521a668094b 17:11:40 ---> 09e589f02bd1 17:11:40 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:11:40 ---> Running in 94ebdb0f7754 17:11:40 Removing intermediate container 94ebdb0f7754 17:11:40 ---> 41f6d60c9216 17:11:40 Step 22/24 : LABEL arch=amd64 17:11:40 ---> Running in 830b006d62f8 17:11:41 Removing intermediate container 830b006d62f8 17:11:41 ---> ede2d511f072 17:11:41 Step 23/24 : LABEL git_sha=55e3c5155244bbbc6d457c31330974f63a5e47f1 17:11:41 ---> Running in 9acc7618a0ba 17:11:41 Removing intermediate container 9acc7618a0ba 17:11:41 ---> e9dfb842b747 17:11:41 Step 24/24 : LABEL version=0.0.0 17:11:41 ---> Running in 8cd834c002be 17:11:41 Removing intermediate container 8cd834c002be 17:11:41 ---> 6961127e89e4 17:11:41 [Warning] One or more build-args [ARCH] were not consumed 17:11:41 Successfully built 6961127e89e4 17:11:41 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:11:41 17:11:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:11:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:11:42 latest: Pulling from edgex-lftools-log-publisher 17:11:42 5eb5b503b376: Pulling fs layer 17:11:42 5c69ac0246d0: Pulling fs layer 17:11:42 ec43610c2a17: Pulling fs layer 17:11:42 3a2ae6a8a46f: Pulling fs layer 17:11:42 33b1e0a273af: Pulling fs layer 17:11:42 5d3b04190fa2: Pulling fs layer 17:11:42 2f39f015ded8: Pulling fs layer 17:11:42 33b1e0a273af: Waiting 17:11:42 5d3b04190fa2: Waiting 17:11:42 3a2ae6a8a46f: Waiting 17:11:42 2f39f015ded8: Waiting 17:11:42 5c69ac0246d0: Verifying Checksum 17:11:42 5c69ac0246d0: Download complete 17:11:42 3a2ae6a8a46f: Verifying Checksum 17:11:42 3a2ae6a8a46f: Download complete 17:11:42 33b1e0a273af: Verifying Checksum 17:11:42 33b1e0a273af: Download complete 17:11:42 5d3b04190fa2: Verifying Checksum 17:11:42 5d3b04190fa2: Download complete 17:11:42 ec43610c2a17: Verifying Checksum 17:11:42 ec43610c2a17: Download complete 17:11:42 5eb5b503b376: Download complete 17:11:43 2f39f015ded8: Download complete 17:11:44 5eb5b503b376: Pull complete 17:11:44 5c69ac0246d0: Pull complete 17:11:44 ec43610c2a17: Pull complete 17:11:44 3a2ae6a8a46f: Pull complete 17:11:44 33b1e0a273af: Pull complete 17:11:44 5d3b04190fa2: Pull complete 17:11:50 2f39f015ded8: Pull complete 17:11:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:11:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:11:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:11:50 prd-ubuntu20.04-docker-8c-8g-21885 does not seem to be running inside a container 17:11:50 $ 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-407 -v /w/workspace/gexfoundry_device-mqtt-go_PR-407:/w/workspace/gexfoundry_device-mqtt-go_PR-407:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-407@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-407@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:11:53 $ docker top f3ea4358fb457b9b8052901e64daa523009fc3cf6a8eed6c99e25355dc38c510 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:11:53 ---> job-cost.sh 17:11:53 lf-activate-venv: SKIPPING 17:11:53 INFO: No Stack... 17:11:53 INFO: Retrieving Pricing Info for: v3-standard-8 17:11:54 INFO: Archiving Costs [Pipeline] sh 17:11:54 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-407/archives/cost.csv 17:11:54 + cut -d, -f6 [Pipeline] lock 17:11:54 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-407-1-stack-cost] 17:11:54 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-407-1-stack-cost] did not exist. Created. 17:11:54 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-407-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:11:55 + echo total: 0.2199999988079071 [Pipeline] stash 17:11:55 Stashed 1 file(s) [Pipeline] } 17:11:55 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-407-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:11:55 $ docker stop --time=1 f3ea4358fb457b9b8052901e64daa523009fc3cf6a8eed6c99e25355dc38c510 17:11:56 $ docker rm -f f3ea4358fb457b9b8052901e64daa523009fc3cf6a8eed6c99e25355dc38c510 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:11:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21887 in /w/workspace/gexfoundry_device-mqtt-go_PR-407 [Pipeline] { [Pipeline] ws 17:11:58 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 17:11:58 Selected Git installation does not exist. Using Default 17:11:58 The recommended git tool is: NONE 17:12:05 using credential edgex-jenkins-ssh 17:12:05 Cloning the remote Git repository 17:12:05 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 17:12:05 > git init /w/workspace/device-mqtt-go/1 # timeout=10 17:12:05 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 17:12:05 > git --version # timeout=10 17:12:05 > git --version # 'git version 2.25.1' 17:12:05 using GIT_SSH to set credentials SSH Credentials for GitHub 17:12:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:12:07 Merging remotes/origin/main commit 35621d3e3ed5e5519204e5baffde9d6fc275525a into PR head commit 55e3c5155244bbbc6d457c31330974f63a5e47f1 17:12:07 Merge succeeded, producing 55e3c5155244bbbc6d457c31330974f63a5e47f1 17:12:07 Checking out Revision 55e3c5155244bbbc6d457c31330974f63a5e47f1 (PR-407) 17:12:06 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 17:12:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:12:06 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 17:12:06 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 17:12:06 using GIT_SSH to set credentials SSH Credentials for GitHub 17:12:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/407/head:refs/remotes/origin/PR-407 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:12:07 > git config core.sparsecheckout # timeout=10 17:12:07 > git checkout -f 55e3c5155244bbbc6d457c31330974f63a5e47f1 # timeout=10 17:12:07 > git remote # timeout=10 17:12:07 > git config --get remote.origin.url # timeout=10 17:12:07 using GIT_SSH to set credentials SSH Credentials for GitHub 17:12:07 > git merge 35621d3e3ed5e5519204e5baffde9d6fc275525a # timeout=10 17:12:07 > git rev-parse HEAD^{commit} # timeout=10 17:12:07 > git config core.sparsecheckout # timeout=10 17:12:07 > git checkout -f 55e3c5155244bbbc6d457c31330974f63a5e47f1 # timeout=10 17:12:11 Commit message: "ci(snap): Add dependabot config for snap go mods" 17:12:11 > git --version # timeout=10 17:12:11 > git --version # 'git version 2.25.1' 17:12:11 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:12:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:12:13 % Total % Received % Xferd Average Speed Time Time Time Current 17:12:13 Dload Upload Total Spent Left Speed 17:12:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 81668 0 --:--:-- --:--:-- --:--:-- 81668 [Pipeline] sh 17:12:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:12:14 + sudo tee /etc/docker/daemon.new 17:12:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:12:14 { 17:12:14 "registry-mirrors": [ 17:12:14 "https://nexus3.edgexfoundry.org:10001" 17:12:14 ], 17:12:14 "bip": "10.250.0.254/24", 17:12:14 "hosts": [ 17:12:14 "tcp://0.0.0.0:5555", 17:12:14 "unix:///var/run/docker.sock" 17:12:14 ], 17:12:14 "mtu": 1458, 17:12:14 "selinux-enabled": true, 17:12:14 "seccomp-profile": "/etc/docker/seccomp.json" 17:12:14 } [Pipeline] sh 17:12:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:12:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:12:33 provisioning config files... 17:12:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config1292199646326000606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:12:33 ---> docker-login.sh 17:12:33 nexus3.edgexfoundry.org:10001 17:12:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:12:34 Configure a credential helper to remove this warning. See 17:12:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:12:34 17:12:34 Login Succeeded 17:12:34 nexus3.edgexfoundry.org:10002 17:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:12:35 Configure a credential helper to remove this warning. See 17:12:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:12:35 17:12:35 Login Succeeded 17:12:35 nexus3.edgexfoundry.org:10003 17:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:12:35 Configure a credential helper to remove this warning. See 17:12:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:12:35 17:12:35 Login Succeeded 17:12:35 nexus3.edgexfoundry.org:10004 17:12:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:12:35 Configure a credential helper to remove this warning. See 17:12:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:12:35 17:12:35 Login Succeeded 17:12:35 docker.io 17:12:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:12:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:12:36 Configure a credential helper to remove this warning. See 17:12:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:12:36 17:12:36 Login Succeeded 17:12:36 ---> docker-login.sh ends [Pipeline] } 17:12:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:12:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:12:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:12:37 ========================================================= 17:12:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:12:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:12:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 17:12:37 Sending build context to Docker daemon 3.137MB 17:12:37 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 17:12:37 Step 2/12 : FROM ${BASE} AS builder 17:12:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:12:38 b3c136eddcbf: Pulling fs layer 17:12:38 c0a3192eca97: Pulling fs layer 17:12:38 a050256f5b6f: Pulling fs layer 17:12:38 656be50a0ddc: Pulling fs layer 17:12:38 2bbca73fdf42: Pulling fs layer 17:12:38 46d945488cbd: Pulling fs layer 17:12:38 8a5474983e97: Pulling fs layer 17:12:38 329c88fbcd65: Pulling fs layer 17:12:38 46d945488cbd: Waiting 17:12:38 8a5474983e97: Waiting 17:12:38 329c88fbcd65: Waiting 17:12:38 656be50a0ddc: Waiting 17:12:38 2bbca73fdf42: Waiting 17:12:38 a050256f5b6f: Verifying Checksum 17:12:38 a050256f5b6f: Download complete 17:12:38 c0a3192eca97: Verifying Checksum 17:12:38 c0a3192eca97: Download complete 17:12:38 2bbca73fdf42: Verifying Checksum 17:12:38 2bbca73fdf42: Download complete 17:12:38 46d945488cbd: Verifying Checksum 17:12:38 46d945488cbd: Download complete 17:12:38 b3c136eddcbf: Verifying Checksum 17:12:39 b3c136eddcbf: Pull complete 17:12:39 329c88fbcd65: Verifying Checksum 17:12:39 329c88fbcd65: Download complete 17:12:39 c0a3192eca97: Pull complete 17:12:40 a050256f5b6f: Pull complete 17:12:40 8a5474983e97: Verifying Checksum 17:12:40 8a5474983e97: Download complete 17:12:41 656be50a0ddc: Verifying Checksum 17:12:41 656be50a0ddc: Download complete 17:12:56 656be50a0ddc: Pull complete 17:12:56 2bbca73fdf42: Pull complete 17:12:56 46d945488cbd: Pull complete 17:13:00 8a5474983e97: Pull complete 17:13:03 329c88fbcd65: Pull complete 17:13:03 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 17:13:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:13:03 ---> ff4287adb874 17:13:03 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:13:03 ---> Running in 0cc0bef12008 17:13:03 Removing intermediate container 0cc0bef12008 17:13:03 ---> d874cd33e843 17:13:03 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 17:13:03 ---> Running in 70a25ce2f2b3 17:13:04 Removing intermediate container 70a25ce2f2b3 17:13:04 ---> fa7f424c8ef6 17:13:04 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:13:04 ---> Running in 4e72d3372ca0 17:13:06 Removing intermediate container 4e72d3372ca0 17:13:06 ---> 534cd7bd871b 17:13:06 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:13:06 ---> Running in be1c1cb035a4 17:13:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:13:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:13:10 (1/4) Installing openssh-keygen (9.0_p1-r2) 17:13:10 (2/4) Installing libedit (20210910.3.1-r0) 17:13:10 (3/4) Installing openssh-client-common (9.0_p1-r2) 17:13:10 (4/4) Installing openssh-client-default (9.0_p1-r2) 17:13:10 Executing busybox-1.35.0-r13.trigger 17:13:10 OK: 226 MiB in 55 packages 17:13:11 Removing intermediate container be1c1cb035a4 17:13:11 ---> c2b6dda36872 17:13:11 Step 7/12 : WORKDIR /device-mqtt-go 17:13:11 ---> Running in 09ec9f1cf142 17:13:11 Removing intermediate container 09ec9f1cf142 17:13:11 ---> 50d3dbc1ac22 17:13:11 Step 8/12 : COPY go.mod vendor* ./ 17:13:12 ---> e75775bb769a 17:13:12 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:13:12 ---> Running in 78843b26ca8d 17:13:59 Removing intermediate container 78843b26ca8d 17:13:59 ---> f3f5dd36402c 17:13:59 Step 10/12 : COPY . . 17:13:59 ---> c0ec322c5d2a 17:13:59 Step 11/12 : ARG MAKE='make build' 17:13:59 ---> Running in 075198370efd 17:14:00 Removing intermediate container 075198370efd 17:14:00 ---> 3471d7298a84 17:14:00 Step 12/12 : RUN $MAKE 17:14:00 ---> Running in c8660044422a 17:14:01 noop 17:14:01 Removing intermediate container c8660044422a 17:14:01 ---> 52c7bd91e8a6 17:14:01 Successfully built 52c7bd91e8a6 17:14:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:02 + docker inspect -f . ci-base-image-arm64 17:14:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:02 prd-ubuntu20.04-docker-arm64-4c-16g-21887 does not seem to be running inside a container 17:14:02 $ 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 ******** -e ******** ci-base-image-arm64 cat 17:14:03 $ docker top da4ca75d23703a8781dc77b7ef4394589335b9e1a11368327a1ab14a9f27fe85 -eo pid,comm [Pipeline] { [Pipeline] sh 17:14:04 + go version 17:14:04 go version go1.18.3 linux/arm64 [Pipeline] } 17:14:04 $ docker stop --time=1 da4ca75d23703a8781dc77b7ef4394589335b9e1a11368327a1ab14a9f27fe85 17:14:06 $ docker rm -f da4ca75d23703a8781dc77b7ef4394589335b9e1a11368327a1ab14a9f27fe85 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:07 + docker inspect -f . ci-base-image-arm64 17:14:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:07 prd-ubuntu20.04-docker-arm64-4c-16g-21887 does not seem to be running inside a container 17:14:07 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -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 ******** -e ******** ci-base-image-arm64 cat 17:14:09 $ docker top 950d0d986790ba9dbd011cb92e560c11fdd819fd1abd5e43bbd8db865b8325b8 -eo pid,comm [Pipeline] { [Pipeline] sh 17:14:10 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 17:14:10 + make test 17:14:10 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 17:14:12 ? github.com/edgexfoundry/device-mqtt-go [no test files] 17:15:34 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 17:15:34 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 21.8% of statements 17:15:34 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 17:15:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:15:34 GCO_ENABLED=1 GO111MODULE=on go vet ./... 17:15:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:15:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:15:52 ./bin/test-attribution-txt.sh 17:15:52 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 17:15:52 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 17:15:52 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 17:15:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:15:52 $ docker stop --time=1 950d0d986790ba9dbd011cb92e560c11fdd819fd1abd5e43bbd8db865b8325b8 17:15:54 $ docker rm -f 950d0d986790ba9dbd011cb92e560c11fdd819fd1abd5e43bbd8db865b8325b8 [Pipeline] // withDockerContainer [Pipeline] sh 17:15:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:15:55 Warning: overwriting stash ‘coverage-report’ 17:15:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:15:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:15:56 + ls -al . 17:15:56 total 176 17:15:56 drwxrwxr-x 9 jenkins jenkins 4096 Aug 3 17:14 . 17:15:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 17:12 .. 17:15:56 -rw-rw-r-- 1 jenkins jenkins 140 Aug 3 17:12 .dockerignore 17:15:56 drwxrwxr-x 8 jenkins jenkins 4096 Aug 3 17:12 .git 17:15:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 3 17:12 .github 17:15:56 -rw-rw-r-- 1 jenkins jenkins 329 Aug 3 17:12 .gitignore 17:15:56 -rw-rw-r-- 1 jenkins jenkins 41 Aug 3 17:12 .golangci.yml 17:15:56 -rw-rw-r-- 1 jenkins jenkins 8917 Aug 3 17:12 Attribution.txt 17:15:56 -rw-rw-r-- 1 jenkins jenkins 11365 Aug 3 17:12 CHANGELOG.md 17:15:56 -rw-rw-r-- 1 jenkins jenkins 1932 Aug 3 17:12 Dockerfile 17:15:56 -rw-rw-r-- 1 jenkins jenkins 677 Aug 3 17:12 GOVERNANCE.md 17:15:56 -rw-rw-r-- 1 jenkins jenkins 678 Aug 3 17:12 Jenkinsfile 17:15:56 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 3 17:12 LICENSE 17:15:56 -rw-rw-r-- 1 jenkins jenkins 1917 Aug 3 17:12 Makefile 17:15:56 -rw-rw-r-- 1 jenkins jenkins 620 Aug 3 17:12 OWNERS.md 17:15:56 -rw-rw-r-- 1 jenkins jenkins 2501 Aug 3 17:12 README.md 17:15:56 -rw-rw-r-- 1 jenkins jenkins 5 Aug 3 17:10 VERSION 17:15:56 drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 17:12 bin 17:15:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 3 17:12 cmd 17:15:56 -rw-r--r-- 1 jenkins jenkins 17887 Aug 3 17:15 coverage.out 17:15:56 -rw-rw-r-- 1 jenkins jenkins 3452 Aug 3 17:12 go.mod 17:15:56 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 3 17:12 go.sum 17:15:56 drwxrwxr-x 3 jenkins jenkins 4096 Aug 3 17:12 internal 17:15:56 drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 17:12 mock 17:15:56 drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 17:12 snap 17:15:56 -rw-rw-r-- 1 jenkins jenkins 227 Aug 3 17:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:57 + 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=55e3c5155244bbbc6d457c31330974f63a5e47f1 --label arch=arm64 --label version=0.0.0 . 17:15:57 Sending build context to Docker daemon 3.155MB 17:15:57 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 17:15:57 Step 2/24 : FROM ${BASE} AS builder 17:15:57 ---> 52c7bd91e8a6 17:15:57 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 17:15:57 ---> Running in 6f74756c959b 17:15:58 Removing intermediate container 6f74756c959b 17:15:58 ---> 6f7591103819 17:15:58 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 17:15:58 ---> Running in ba43565abe3b 17:15:58 Removing intermediate container ba43565abe3b 17:15:58 ---> ed3f266c4660 17:15:58 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 17:15:58 ---> Running in 455628bcd51d 17:16:00 Removing intermediate container 455628bcd51d 17:16:00 ---> 36033a674b44 17:16:00 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 17:16:00 ---> Running in abe8e0423535 17:16:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:16:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:16:02 OK: 226 MiB in 55 packages 17:16:03 Removing intermediate container abe8e0423535 17:16:03 ---> 3764af00995b 17:16:03 Step 7/24 : WORKDIR /device-mqtt-go 17:16:03 ---> Running in 9636952cc486 17:16:04 Removing intermediate container 9636952cc486 17:16:04 ---> 8d1f51489e71 17:16:04 Step 8/24 : COPY go.mod vendor* ./ 17:16:04 ---> bf7fc21f1e90 17:16:04 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:16:04 ---> Running in d948f525b32f 17:16:06 Removing intermediate container d948f525b32f 17:16:06 ---> 5b714d3ee589 17:16:06 Step 10/24 : COPY . . 17:16:07 ---> 5196935dc372 17:16:07 Step 11/24 : ARG MAKE='make build' 17:16:07 ---> Running in 70cdf3ead81d 17:16:07 Removing intermediate container 70cdf3ead81d 17:16:07 ---> 97a7600b047b 17:16:07 Step 12/24 : RUN $MAKE 17:16:07 ---> Running in 59d2d39e3b8e 17:16:08 GCO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-mqtt ./cmd 17:18:15 Removing intermediate container 59d2d39e3b8e 17:18:15 ---> d9ad918a0112 17:18:15 Step 13/24 : FROM alpine:3.16 17:18:15 3.16: Pulling from library/alpine 17:18:15 f97344484467: Pulling fs layer 17:18:15 f97344484467: Pull complete 17:18:15 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 17:18:15 Status: Downloaded newer image for alpine:3.16 17:18:15 ---> 3d81c46cd875 17:18:15 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 17:18:15 ---> Running in f66e1b1db711 17:18:15 Removing intermediate container f66e1b1db711 17:18:15 ---> 1931e8b4fca5 17:18:15 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 17:18:15 ---> Running in 6743018e5e26 17:18:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:18:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:18:15 (1/6) Installing dumb-init (1.2.5-r1) 17:18:15 (2/6) Installing libgcc (11.2.1_git20220219-r2) 17:18:15 (3/6) Installing libsodium (1.0.18-r0) 17:18:15 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 17:18:15 (5/6) Installing libzmq (4.3.4-r0) 17:18:15 (6/6) Installing zeromq (4.3.4-r0) 17:18:15 Executing busybox-1.35.0-r15.trigger 17:18:15 OK: 8 MiB in 20 packages 17:18:15 Removing intermediate container 6743018e5e26 17:18:15 ---> 4381f6cb5ae6 17:18:15 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 17:18:15 ---> 00ad45db128c 17:18:15 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 17:18:15 ---> a264e5d6e67c 17:18:15 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 17:18:16 ---> 2a2e513b1cae 17:18:16 Step 19/24 : EXPOSE 59982 17:18:16 ---> Running in 203b7485b680 17:18:16 Removing intermediate container 203b7485b680 17:18:16 ---> 540477fce854 17:18:16 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 17:18:16 ---> Running in e3be93989322 17:18:17 Removing intermediate container e3be93989322 17:18:17 ---> 6f59e4a8e9c2 17:18:17 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 17:18:17 ---> Running in ee11f30dbd3d 17:18:17 Removing intermediate container ee11f30dbd3d 17:18:17 ---> 3bbce0626784 17:18:17 Step 22/24 : LABEL arch=arm64 17:18:17 ---> Running in 26505f5153d4 17:18:17 Removing intermediate container 26505f5153d4 17:18:17 ---> 9eef78b90257 17:18:17 Step 23/24 : LABEL git_sha=55e3c5155244bbbc6d457c31330974f63a5e47f1 17:18:17 ---> Running in 541b1c0d59f3 17:18:18 Removing intermediate container 541b1c0d59f3 17:18:18 ---> e96041717ae5 17:18:18 Step 24/24 : LABEL version=0.0.0 17:18:18 ---> Running in ff8b7cea7343 17:18:18 Removing intermediate container ff8b7cea7343 17:18:18 ---> 731ac220c4cd 17:18:18 [Warning] One or more build-args [ARCH] were not consumed 17:18:18 Successfully built 731ac220c4cd 17:18:18 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:18:19 17:18:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:18:20 arm64: Pulling from edgex-lftools-log-publisher 17:18:20 8998bd30e6a1: Pulling fs layer 17:18:20 04944245beec: Pulling fs layer 17:18:20 699f458cf7ca: Pulling fs layer 17:18:20 765212b225bb: Pulling fs layer 17:18:20 f23df028b6ca: Pulling fs layer 17:18:20 d65c8cfc05b1: Pulling fs layer 17:18:20 2437ff75d9bd: Pulling fs layer 17:18:20 d65c8cfc05b1: Waiting 17:18:20 2437ff75d9bd: Waiting 17:18:20 765212b225bb: Waiting 17:18:20 f23df028b6ca: Waiting 17:18:20 04944245beec: Verifying Checksum 17:18:20 04944245beec: Download complete 17:18:20 765212b225bb: Verifying Checksum 17:18:20 765212b225bb: Download complete 17:18:20 f23df028b6ca: Verifying Checksum 17:18:20 f23df028b6ca: Download complete 17:18:20 d65c8cfc05b1: Verifying Checksum 17:18:20 d65c8cfc05b1: Download complete 17:18:20 699f458cf7ca: Verifying Checksum 17:18:20 699f458cf7ca: Download complete 17:18:20 8998bd30e6a1: Verifying Checksum 17:18:20 8998bd30e6a1: Download complete 17:18:23 2437ff75d9bd: Verifying Checksum 17:18:23 2437ff75d9bd: Download complete 17:18:24 8998bd30e6a1: Pull complete 17:18:25 04944245beec: Pull complete 17:18:26 699f458cf7ca: Pull complete 17:18:27 765212b225bb: Pull complete 17:18:27 f23df028b6ca: Pull complete 17:18:27 d65c8cfc05b1: Pull complete 17:18:43 2437ff75d9bd: Pull complete 17:18:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:18:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:18:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:18:43 prd-ubuntu20.04-docker-arm64-4c-16g-21887 does not seem to be running inside a container 17:18:43 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:18:46 $ docker top 0fd5d68bacb98f847a46c69777d344d6747e59cc4d9ee736517336aa938432ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:18:47 ---> job-cost.sh 17:18:47 lf-activate-venv: SKIPPING 17:18:47 INFO: No Stack... 17:18:47 INFO: Retrieving Pricing Info for: v3-standard-4 17:18:48 INFO: Archiving Costs [Pipeline] sh 17:18:49 + cut -d,+ -f6 17:18:49 cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock 17:18:49 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-407-1-stack-cost] 17:18:49 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-407-1-stack-cost] did not exist. Created. 17:18:49 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-407-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:18:50 /w/workspace/device-mqtt-go/1@tmp/durable-b503d80d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:18:50 + echo total: 0.10999999940395355 [Pipeline] stash 17:18:50 Warning: overwriting stash ‘stack-cost’ 17:18:50 Stashed 1 file(s) [Pipeline] } 17:18:50 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-407-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:18:50 $ docker stop --time=1 0fd5d68bacb98f847a46c69777d344d6747e59cc4d9ee736517336aa938432ce 17:18:52 $ docker rm -f 0fd5d68bacb98f847a46c69777d344d6747e59cc4d9ee736517336aa938432ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 17:18:53 provisioning config files... 17:18:53 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-407@tmp/config6487136467048010161tmp [Pipeline] { [Pipeline] sh 17:18:53 + set +x 17:18:53 + curl -s https://codecov.io/bash 17:18:53 + bash -s -- 17:18:53 17:18:53 _____ _ 17:18:53 / ____| | | 17:18:53 | | ___ __| | ___ ___ _____ __ 17:18:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:18:53 | |___| (_) | (_| | __/ (_| (_) \ V / 17:18:53 \_____\___/ \__,_|\___|\___\___/ \_/ 17:18:53 Bash-1.0.6 17:18:53 17:18:53 17:18:53 ==> git version 2.25.1 found 17:18:53 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 17:18:53 Release-Date: 2020-01-08 17:18:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:18:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:18:53 ==> Jenkins CI detected. 17:18:53 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-407 17:18:53 project root: . 17:18:53 --> token set from env 17:18:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:18:53 ==> Running gcov in . (disable via -X gcov) 17:18:53 ==> Python coveragepy not found 17:18:53 ==> Searching for coverage reports in: 17:18:53 + . 17:18:53 -> Found 1 reports 17:18:53 ==> Detecting git/mercurial file structure 17:18:53 ==> Reading reports 17:18:53 + ./coverage.out bytes=17887 17:18:53 ==> Appending adjustments 17:18:53 https://docs.codecov.io/docs/fixing-reports 17:18:54 + Found adjustments 17:18:54 ==> Gzipping contents 17:18:54 4.0K /tmp/codecov.Q57GS8.gz 17:18:54 ==> Uploading reports 17:18:54 url: https://codecov.io 17:18:54 query: branch=PR-407&commit=55e3c5155244bbbc6d457c31330974f63a5e47f1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-407%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=407&job=&cmd_args= 17:18:54 -> Pinging Codecov 17:18:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-407&commit=55e3c5155244bbbc6d457c31330974f63a5e47f1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-407%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=407&job=&cmd_args= 17:18:54 -> Uploading to 17:18:54 https://storage.googleapis.com/codecov/v4/raw/2022-08-03/7D719EC7BBE17E464838252E33014C33/55e3c5155244bbbc6d457c31330974f63a5e47f1/3314878b-e32a-4771-aec3-6a06e1c9cd39.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220803%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220803T171854Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=88dcab11856ca4b35b3a7c569255618ea242c186643d171a9d0987d2c72b8899 17:18:54 % Total % Received % Xferd Average Speed Time Time Time Current 17:18:54 Dload Upload Total Spent Left Speed 17:18:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3217 0 0 100 3217 0 14556 --:--:-- --:--:-- --:--:-- 14490 100 3217 0 0 100 3217 0 13573 --:--:-- --:--:-- --:--:-- 13516 17:18:54 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/55e3c5155244bbbc6d457c31330974f63a5e47f1 [Pipeline] } 17:18:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:18:56 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-407/archives ] 17:18:56 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-407/archives 17:18:56 total 16 17:18:56 drwxr-xr-x 3 root root 4096 Aug 3 17:11 . 17:18:56 drwxrwxr-x 11 jenkins jenkins 4096 Aug 3 17:11 .. 17:18:56 drwxr-xr-x 2 root root 4096 Aug 3 17:11 cost 17:18:56 -rw-r--r-- 1 root root 86 Aug 3 17:11 cost.csv 17:18:56 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-407/archives 17:18:56 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-407/archives 17:18:56 total 16 17:18:56 drwxr-xr-x 3 jenkins jenkins 4096 Aug 3 17:11 . 17:18:56 drwxrwxr-x 11 jenkins jenkins 4096 Aug 3 17:11 .. 17:18:56 drwxr-xr-x 2 jenkins jenkins 4096 Aug 3 17:11 cost 17:18:56 -rw-r--r-- 1 jenkins jenkins 86 Aug 3 17:11 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:18:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:18:57 ---> package-listing.sh 17:18:57 ++ facter osfamily 17:18:57 ++ tr '[:upper:]' '[:lower:]' 17:18:57 + OS_FAMILY=debian 17:18:57 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-407 17:18:57 + START_PACKAGES=/tmp/packages_start.txt 17:18:57 + END_PACKAGES=/tmp/packages_end.txt 17:18:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:18:57 + PACKAGES=/tmp/packages_start.txt 17:18:57 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-407 ']' 17:18:57 + PACKAGES=/tmp/packages_end.txt 17:18:57 + case "${OS_FAMILY}" in 17:18:57 + dpkg -l 17:18:57 + grep '^ii' 17:18:57 + '[' -f /tmp/packages_start.txt ']' 17:18:57 + '[' -f /tmp/packages_end.txt ']' 17:18:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:18:57 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-407 ']' 17:18:57 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-407/archives/ 17:18:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-407/archives/ [Pipeline] echo 17:18:57 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-407/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:18:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:18:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:18:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:18:59 prd-ubuntu20.04-docker-8c-8g-21885 does not seem to be running inside a container 17:18:59 $ 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-407/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-407 -v /w/workspace/gexfoundry_device-mqtt-go_PR-407:/w/workspace/gexfoundry_device-mqtt-go_PR-407:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-407@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-407@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:18:59 $ docker top 1cbe8b9e73457b1b2b2cdd3999b378ec375c701aa3ef7311ae828a2f35f0c065 -eo pid,comm [Pipeline] { [Pipeline] sh 17:18:59 + touch /tmp/pre-build-complete [Pipeline] sh 17:19:00 + mkdir -p /var/log/sysstat [Pipeline] sh 17:19:00 + ls /var/log/sa-host 17:19:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:19:00 provisioning config files... 17:19:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-407@tmp/config5720016969323481267tmp [Pipeline] { [Pipeline] echo 17:19:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:19:00 ---> create-netrc.sh [Pipeline] } 17:19:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:19:01 ---> python-tools-install.sh [Pipeline] echo 17:19:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:19:01 ---> sudo-logs.sh 17:19:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:19:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:19:02 ---> job-cost.sh 17:19:02 lf-activate-venv: SKIPPING 17:19:02 DEBUG: total: 0.2199999988079071 17:19:02 INFO: Retrieving Stack Cost... 17:19:02 INFO: Retrieving Pricing Info for: v3-standard-8 17:19:02 INFO: Archiving Costs [Pipeline] echo 17:19:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:19:03 ---> logs-deploy.sh 17:19:03 lf-activate-venv: SKIPPING 17:19:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-407/1 17:19:03 INFO: archiving workspace using pattern(s): 17:19:04 Archives upload complete. 17:19:04 INFO: archiving logs to Nexus 17:19:04 ---> uname -a: 17:19:04 Linux prd-ubuntu20-04-docker-8c-8g-21885 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 17:19:04 17:19:04 17:19:04 ---> lscpu: 17:19:04 Architecture: x86_64 17:19:04 CPU op-mode(s): 32-bit, 64-bit 17:19:04 Byte Order: Little Endian 17:19:04 Address sizes: 40 bits physical, 48 bits virtual 17:19:04 CPU(s): 8 17:19:04 On-line CPU(s) list: 0-7 17:19:04 Thread(s) per core: 1 17:19:04 Core(s) per socket: 1 17:19:04 Socket(s): 8 17:19:04 NUMA node(s): 1 17:19:04 Vendor ID: AuthenticAMD 17:19:04 CPU family: 23 17:19:04 Model: 49 17:19:04 Model name: AMD EPYC-Rome Processor 17:19:04 Stepping: 0 17:19:04 CPU MHz: 2799.998 17:19:04 BogoMIPS: 5599.99 17:19:04 Virtualization: AMD-V 17:19:04 Hypervisor vendor: KVM 17:19:04 Virtualization type: full 17:19:04 L1d cache: 256 KiB 17:19:04 L1i cache: 256 KiB 17:19:04 L2 cache: 4 MiB 17:19:04 L3 cache: 128 MiB 17:19:04 NUMA node0 CPU(s): 0-7 17:19:04 Vulnerability Itlb multihit: Not affected 17:19:04 Vulnerability L1tf: Not affected 17:19:04 Vulnerability Mds: Not affected 17:19:04 Vulnerability Meltdown: Not affected 17:19:04 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:19:04 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 17:19:04 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 17:19:04 Vulnerability Srbds: Not affected 17:19:04 Vulnerability Tsx async abort: Not affected 17:19:04 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 17:19:04 17:19:04 17:19:04 ---> nproc: 17:19:04 8 17:19:04 17:19:04 17:19:04 ---> df -h: 17:19:04 Filesystem Size Used Avail Use% Mounted on 17:19:04 overlay 155G 11G 145G 7% / 17:19:04 tmpfs 64M 0 64M 0% /dev 17:19:04 tmpfs 16G 0 16G 0% /sys/fs/cgroup 17:19:04 shm 64M 0 64M 0% /dev/shm 17:19:04 /dev/vda1 155G 11G 145G 7% /facter-os 17:19:04 17:19:04 17:19:04 ---> sar -b -r -n DEV: 17:19:04 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-21885) 08/03/22 _x86_64_ (8 CPU) 17:19:04 17:19:04 17:09:00 LINUX RESTART (8 CPU) 17:19:04 17:19:04 17:10:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:19:04 17:11:01 169.73 1.14 168.60 0.00 35.25 61820.30 0.00 17:19:04 17:12:01 172.12 0.15 171.97 0.00 8.27 39398.90 0.00 17:19:04 17:13:01 1.57 0.00 1.57 0.00 0.00 22.14 0.00 17:19:04 17:14:01 1.67 0.00 1.67 0.00 0.00 19.73 0.00 17:19:04 17:15:01 0.92 0.02 0.90 0.00 0.13 10.80 0.00 17:19:04 17:16:01 1.18 0.00 1.18 0.00 0.00 14.40 0.00 17:19:04 17:17:01 2.60 1.57 1.03 0.00 49.98 13.46 0.00 17:19:04 17:18:01 1.47 0.00 1.47 0.00 0.00 17.73 0.00 17:19:04 17:19:01 6.63 0.23 6.40 0.00 19.06 123.85 0.00 17:19:04 Average: 39.52 0.34 39.18 0.00 12.48 11176.66 0.00 17:19:04 17:19:04 17:10:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:19:04 17:11:01 28007196 31523320 765900 2.33 160680 3547240 2252164 6.64 1468360 2931936 118808 17:19:04 17:12:01 27636860 31779256 510580 1.55 173724 4117144 1855040 5.47 1272980 3458256 240 17:19:04 17:13:01 27636700 31779148 510516 1.55 173776 4117148 1855040 5.47 1272464 3458264 16 17:19:04 17:14:01 27638896 31781368 508096 1.55 173812 4117152 1855040 5.47 1270800 3458268 24 17:19:04 17:15:01 27644928 31787472 501996 1.53 173828 4117160 1855040 5.47 1265200 3458320 16 17:19:04 17:16:01 27645068 31787628 501752 1.53 173856 4117160 1855040 5.47 1264300 3458320 16 17:19:04 17:17:01 27641860 31786892 502060 1.53 173892 4118660 1871260 5.51 1269656 3457916 212 17:19:04 17:18:01 27642656 31787716 501236 1.52 173908 4118664 1871260 5.51 1268436 3457920 8 17:19:04 17:19:01 27611760 31759492 524820 1.60 174076 4119988 1993096 5.87 1292380 3456228 216 17:19:04 Average: 27678436 31752477 536328 1.63 172395 4054480 1918109 5.65 1293842 3399492 13284 17:19:04 17:19:04 17:10:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:19:04 17:11:01 ens3 352.70 257.33 5537.78 85.10 0.00 0.00 0.00 0.00 17:19:04 17:11:01 lo 1.69 1.69 0.16 0.16 0.00 0.00 0.00 0.00 17:19:04 17:11:01 vethb9e6898 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 17:19:04 17:11:01 docker0 139.64 165.82 11.15 1506.35 0.00 0.00 0.00 0.00 17:19:04 17:12:01 ens3 169.97 115.86 2688.09 67.92 0.00 0.00 0.00 0.00 17:19:04 17:12:01 lo 2.20 2.20 0.21 0.21 0.00 0.00 0.00 0.00 17:19:04 17:12:01 docker0 11.28 16.36 0.67 98.84 0.00 0.00 0.00 0.00 17:19:04 17:13:01 ens3 0.07 0.08 0.00 0.03 0.00 0.00 0.00 0.00 17:19:04 17:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:19:04 17:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:19:04 17:14:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 17:19:04 17:14:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:19:04 17:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:19:04 17:15:01 ens3 0.18 0.12 0.08 0.07 0.00 0.00 0.00 0.00 17:19:04 17:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:19:04 17:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:19:04 17:16:01 ens3 0.08 0.07 0.01 0.01 0.00 0.00 0.00 0.00 17:19:04 17:16:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:19:04 17:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:19:04 17:17:01 ens3 6.78 4.90 5.15 5.75 0.00 0.00 0.00 0.00 17:19:04 17:17:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 17:19:04 17:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:19:04 17:18:01 ens3 0.13 0.12 0.01 0.01 0.00 0.00 0.00 0.00 17:19:04 17:18:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 17:19:04 17:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:19:04 17:19:01 ens3 29.15 15.25 30.55 8.54 0.00 0.00 0.00 0.00 17:19:04 17:19:01 lo 0.60 0.60 0.06 0.06 0.00 0.00 0.00 0.00 17:19:04 17:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:19:04 Average: ens3 61.59 43.36 909.33 18.48 0.00 0.00 0.00 0.00 17:19:04 Average: lo 0.58 0.58 0.05 0.05 0.00 0.00 0.00 0.00 17:19:04 Average: docker0 16.54 19.97 1.30 175.88 0.00 0.00 0.00 0.00 17:19:04 17:19:04 17:19:04 ---> sar -P ALL: 17:19:04 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-21885) 08/03/22 _x86_64_ (8 CPU) 17:19:04 17:19:04 17:09:00 LINUX RESTART (8 CPU) 17:19:04 17:19:04 17:10:02 CPU %user %nice %system %iowait %steal %idle 17:19:04 17:11:01 all 21.42 0.00 5.74 3.28 0.09 69.47 17:19:04 17:11:01 0 21.52 0.00 5.80 6.23 0.10 66.34 17:19:04 17:11:01 1 21.35 0.00 6.16 4.97 0.16 67.36 17:19:04 17:11:01 2 22.03 0.00 6.00 0.53 0.10 71.34 17:19:04 17:11:01 3 21.24 0.00 6.10 6.28 0.07 66.31 17:19:04 17:11:01 4 20.77 0.00 5.46 5.83 0.07 67.87 17:19:04 17:11:01 5 22.37 0.00 5.13 1.18 0.09 71.23 17:19:04 17:11:01 6 20.32 0.00 5.59 1.05 0.07 72.98 17:19:04 17:11:01 7 21.74 0.00 5.64 0.17 0.09 72.36 17:19:04 17:12:01 all 27.59 0.00 5.20 1.32 0.07 65.82 17:19:04 17:12:01 0 26.29 0.00 4.81 0.47 0.07 68.36 17:19:04 17:12:01 1 27.65 0.00 4.68 0.07 0.07 67.54 17:19:04 17:12:01 2 27.70 0.00 5.43 6.82 0.07 59.98 17:19:04 17:12:01 3 27.32 0.00 5.16 1.04 0.08 66.39 17:19:04 17:12:01 4 29.22 0.00 4.81 0.24 0.07 65.67 17:19:04 17:12:01 5 27.36 0.00 5.33 1.47 0.07 65.78 17:19:04 17:12:01 6 27.04 0.00 6.27 0.39 0.07 66.24 17:19:04 17:12:01 7 28.10 0.00 5.12 0.08 0.07 66.63 17:19:04 17:13:01 all 0.06 0.00 0.01 0.01 0.00 99.92 17:19:04 17:13:01 0 0.03 0.00 0.02 0.05 0.02 99.88 17:19:04 17:13:01 1 0.02 0.00 0.02 0.00 0.00 99.97 17:19:04 17:13:01 2 0.03 0.00 0.00 0.00 0.02 99.95 17:19:04 17:13:01 3 0.02 0.00 0.02 0.00 0.00 99.97 17:19:04 17:13:01 4 0.33 0.00 0.00 0.00 0.00 99.67 17:19:04 17:13:01 5 0.00 0.00 0.02 0.00 0.00 99.98 17:19:04 17:13:01 6 0.00 0.00 0.00 0.00 0.00 100.00 17:19:04 17:13:01 7 0.02 0.00 0.02 0.00 0.00 99.97 17:19:04 17:14:01 all 0.27 0.00 0.02 0.00 0.01 99.70 17:19:04 17:14:01 0 0.00 0.00 0.03 0.03 0.02 99.92 17:19:04 17:14:01 1 1.89 0.00 0.02 0.00 0.02 98.08 17:19:04 17:14:01 2 0.03 0.00 0.03 0.00 0.02 99.92 17:19:04 17:14:01 3 0.02 0.00 0.00 0.00 0.02 99.97 17:19:04 17:14:01 4 0.12 0.00 0.02 0.00 0.02 99.85 17:19:04 17:14:01 5 0.02 0.00 0.02 0.00 0.00 99.97 17:19:04 17:14:01 6 0.03 0.00 0.03 0.00 0.02 99.92 17:19:04 17:14:01 7 0.00 0.00 0.02 0.00 0.00 99.98 17:19:04 17:15:01 all 0.28 0.00 0.01 0.00 0.01 99.70 17:19:04 17:15:01 0 0.07 0.00 0.00 0.03 0.02 99.88 17:19:04 17:15:01 1 1.99 0.00 0.02 0.00 0.00 98.00 17:19:04 17:15:01 2 0.03 0.00 0.02 0.00 0.02 99.93 17:19:04 17:15:01 3 0.02 0.00 0.00 0.00 0.00 99.98 17:19:04 17:15:01 4 0.00 0.00 0.00 0.00 0.00 100.00 17:19:04 17:15:01 5 0.03 0.00 0.02 0.00 0.02 99.93 17:19:04 17:15:01 6 0.05 0.00 0.02 0.00 0.00 99.93 17:19:04 17:15:01 7 0.00 0.00 0.00 0.00 0.00 100.00 17:19:04 17:16:01 all 0.22 0.00 0.01 0.00 0.00 99.77 17:19:04 17:16:01 0 0.02 0.00 0.00 0.02 0.00 99.97 17:19:04 17:16:01 1 1.58 0.00 0.00 0.00 0.02 98.40 17:19:04 17:16:01 2 0.02 0.00 0.02 0.00 0.02 99.95 17:19:04 17:16:01 3 0.02 0.00 0.00 0.00 0.00 99.98 17:19:04 17:16:01 4 0.02 0.00 0.02 0.00 0.00 99.97 17:19:04 17:16:01 5 0.03 0.00 0.00 0.00 0.00 99.97 17:19:04 17:16:01 6 0.02 0.00 0.03 0.00 0.00 99.95 17:19:04 17:16:01 7 0.02 0.00 0.00 0.00 0.00 99.98 17:19:04 17:17:01 all 0.20 0.00 0.04 0.01 0.01 99.74 17:19:04 17:17:01 0 0.13 0.00 0.07 0.03 0.00 99.77 17:19:04 17:17:01 1 0.25 0.00 0.02 0.00 0.00 99.73 17:19:04 17:17:01 2 0.47 0.00 0.05 0.00 0.02 99.47 17:19:04 17:17:01 3 0.23 0.00 0.00 0.00 0.00 99.77 17:19:04 17:17:01 4 0.22 0.00 0.03 0.02 0.00 99.73 17:19:04 17:17:01 5 0.03 0.00 0.07 0.00 0.02 99.88 17:19:04 17:17:01 6 0.17 0.00 0.03 0.03 0.02 99.75 17:19:04 17:17:01 7 0.13 0.00 0.05 0.00 0.02 99.80 17:19:04 17:18:01 all 0.02 0.00 0.01 0.02 0.01 99.94 17:19:04 17:18:01 0 0.00 0.00 0.03 0.13 0.02 99.82 17:19:04 17:18:01 1 0.03 0.00 0.00 0.00 0.02 99.95 17:19:04 17:18:01 2 0.03 0.00 0.02 0.00 0.02 99.93 17:19:04 17:18:01 3 0.03 0.00 0.00 0.00 0.02 99.95 17:19:04 17:18:01 4 0.00 0.00 0.00 0.00 0.00 100.00 17:19:04 17:18:01 5 0.02 0.00 0.03 0.00 0.00 99.95 17:19:04 17:18:01 6 0.02 0.00 0.00 0.00 0.00 99.98 17:19:04 17:18:01 7 0.05 0.00 0.02 0.00 0.00 99.93 17:19:04 17:19:01 all 0.50 0.00 0.25 0.04 0.01 99.21 17:19:04 17:19:01 0 0.20 0.00 0.20 0.25 0.00 99.35 17:19:04 17:19:01 1 0.47 0.00 0.37 0.00 0.02 99.15 17:19:04 17:19:01 2 0.62 0.00 0.25 0.00 0.02 99.12 17:19:04 17:19:01 3 0.85 0.00 0.28 0.02 0.00 98.85 17:19:04 17:19:01 4 0.75 0.00 0.23 0.00 0.00 99.02 17:19:04 17:19:01 5 0.35 0.00 0.20 0.02 0.02 99.42 17:19:04 17:19:01 6 0.32 0.00 0.23 0.00 0.00 99.45 17:19:04 17:19:01 7 0.43 0.00 0.22 0.00 0.00 99.35 17:19:04 Average: all 5.53 0.00 1.23 0.51 0.02 92.70 17:19:04 Average: 0 5.29 0.00 1.20 0.79 0.03 92.70 17:19:04 Average: 1 6.05 0.00 1.23 0.54 0.03 92.16 17:19:04 Average: 2 5.59 0.00 1.29 0.81 0.03 92.28 17:19:04 Average: 3 5.45 0.00 1.27 0.80 0.02 92.47 17:19:04 Average: 4 5.63 0.00 1.15 0.66 0.02 92.54 17:19:04 Average: 5 5.50 0.00 1.18 0.29 0.02 93.00 17:19:04 Average: 6 5.26 0.00 1.34 0.16 0.02 93.23 17:19:04 Average: 7 5.52 0.00 1.21 0.03 0.02 93.23 17:19:04 17:19:04 17:19:04