Pull request #404 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2ca61002020938e88d8b66c341c551ce673e6a99+d22688ce7a8934592a13fb64b21226b5e27cedca (f72df93d9282de72aeb3aafa3ba83bfea30c5705) 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-ssh8817116904906027727.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-ssh2455145503468421243.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-404/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-404/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5770489710879226605.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-404/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11896361305697013912.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-ssh10163023516704245855.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-404/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-404/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13572875271520602898.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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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-20353 in /w/workspace/gexfoundry_device-mqtt-go_PR-404 [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-404 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit d22688ce7a8934592a13fb64b21226b5e27cedca into PR head commit 2ca61002020938e88d8b66c341c551ce673e6a99 Merge succeeded, producing 2ca61002020938e88d8b66c341c551ce673e6a99 Checking out Revision 2ca61002020938e88d8b66c341c551ce673e6a99 (PR-404) > 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/404/head:refs/remotes/origin/PR-404 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2ca61002020938e88d8b66c341c551ce673e6a99 # 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 d22688ce7a8934592a13fb64b21226b5e27cedca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2ca61002020938e88d8b66c341c551ce673e6a99 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 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 01:33:21 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:33:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:33:22 ========================================================= 01:33:22 EdgeX Global Pipelines Version Info 01:33:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:33:22 ------------------- 01:33:22 stable info: 01:33:22 ------------------- 01:33:22 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:33:22 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 01:33:22 Message: update stable to v1.0.238 01:33:23 ------------------- 01:33:23 experimental info: 01:33:23 ------------------- 01:33:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:33:23 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 01:33:23 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:33:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:33:23 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:33:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:33:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:33:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:33:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-404 [Pipeline] echo 01:33:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-404 [Pipeline] echo 01:33:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-404 [Pipeline] echo 01:33:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2ca61002020938e88d8b66c341c551ce673e6a99 [Pipeline] echo 01:33:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2ca6100 [Pipeline] echo 01:33:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:33:25 provisioning config files... 01:33:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-404@tmp/config9033973368228594567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:33:25 ---> docker-login.sh 01:33:25 nexus3.edgexfoundry.org:10001 01:33:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:26 Configure a credential helper to remove this warning. See 01:33:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:26 01:33:26 Login Succeeded 01:33:26 nexus3.edgexfoundry.org:10002 01:33:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:26 Configure a credential helper to remove this warning. See 01:33:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:26 01:33:26 Login Succeeded 01:33:26 nexus3.edgexfoundry.org:10003 01:33:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:26 Configure a credential helper to remove this warning. See 01:33:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:26 01:33:26 Login Succeeded 01:33:26 nexus3.edgexfoundry.org:10004 01:33:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:26 Configure a credential helper to remove this warning. See 01:33:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:26 01:33:26 Login Succeeded 01:33:26 docker.io 01:33:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:27 Configure a credential helper to remove this warning. See 01:33:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:27 01:33:27 Login Succeeded 01:33:27 ---> docker-login.sh ends [Pipeline] } 01:33:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:33:27 + git rev-list -1 --merges 2ca61002020938e88d8b66c341c551ce673e6a99~1..2ca61002020938e88d8b66c341c551ce673e6a99 [Pipeline] echo 01:33:27 -----------> git rev-list -1 --merges 2ca61002020938e88d8b66c341c551ce673e6a99~1..2ca61002020938e88d8b66c341c551ce673e6a99 2ca61002020938e88d8b66c341c551ce673e6a99 [false] [Pipeline] sh 01:33:28 + git log --format=format:%s -1 2ca61002020938e88d8b66c341c551ce673e6a99 [Pipeline] echo 01:33:28 ========================================================= 01:33:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:33:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:33:28 + git log --format=format:%s -1 2ca61002020938e88d8b66c341c551ce673e6a99 [Pipeline] echo 01:33:28 [semverPrep] GIT_COMMIT: 2ca61002020938e88d8b66c341c551ce673e6a99, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 01:33:28 [semverPrep] This is not a build commit. [Pipeline] sh 01:33:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:33:29 + grep -v github /etc/ssh/ssh_known_hosts 01:33:29 + [ -e /tmp/ssh_known_hosts ] 01:33:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:33:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:33:29 + sudo tee -a /etc/ssh/ssh_known_hosts 01:33:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:33:29 01:33:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:33:30 0.1.4: Pulling from edgex-devops/py-git-semver 01:33:30 b85a868b505f: Pulling fs layer 01:33:30 e2be974225ed: Pulling fs layer 01:33:30 339a4e72a1f5: Pulling fs layer 01:33:30 988bab9f4d93: Pulling fs layer 01:33:30 1469e6f7b9e6: Pulling fs layer 01:33:30 eaf3925da568: Pulling fs layer 01:33:30 bab4dde63d76: Pulling fs layer 01:33:30 bde34c3a00c8: Pulling fs layer 01:33:30 b352a97aabf1: Pulling fs layer 01:33:30 4872d77fe225: Pulling fs layer 01:33:30 5851b861e8e6: Pulling fs layer 01:33:30 1469e6f7b9e6: Waiting 01:33:30 eaf3925da568: Waiting 01:33:30 988bab9f4d93: Waiting 01:33:30 b352a97aabf1: Waiting 01:33:30 bab4dde63d76: Waiting 01:33:30 4872d77fe225: Waiting 01:33:30 5851b861e8e6: Waiting 01:33:30 bde34c3a00c8: Waiting 01:33:30 e2be974225ed: Download complete 01:33:30 988bab9f4d93: Download complete 01:33:30 1469e6f7b9e6: Verifying Checksum 01:33:30 1469e6f7b9e6: Download complete 01:33:30 eaf3925da568: Verifying Checksum 01:33:30 eaf3925da568: Download complete 01:33:30 339a4e72a1f5: Verifying Checksum 01:33:30 339a4e72a1f5: Download complete 01:33:30 bde34c3a00c8: Verifying Checksum 01:33:30 bde34c3a00c8: Download complete 01:33:30 b352a97aabf1: Verifying Checksum 01:33:30 b352a97aabf1: Download complete 01:33:30 4872d77fe225: Download complete 01:33:30 5851b861e8e6: Verifying Checksum 01:33:30 5851b861e8e6: Download complete 01:33:30 b85a868b505f: Verifying Checksum 01:33:30 b85a868b505f: Download complete 01:33:30 bab4dde63d76: Verifying Checksum 01:33:30 bab4dde63d76: Download complete 01:33:32 b85a868b505f: Pull complete 01:33:32 e2be974225ed: Pull complete 01:33:32 339a4e72a1f5: Pull complete 01:33:32 988bab9f4d93: Pull complete 01:33:33 1469e6f7b9e6: Pull complete 01:33:33 eaf3925da568: Pull complete 01:33:35 bab4dde63d76: Pull complete 01:33:35 bde34c3a00c8: Pull complete 01:33:35 b352a97aabf1: Pull complete 01:33:35 4872d77fe225: Pull complete 01:33:35 5851b861e8e6: Pull complete 01:33:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:33:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:33:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:33:36 prd-ubuntu20.04-docker-8c-8g-20353 does not seem to be running inside a container 01:33:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-404 -v /w/workspace/gexfoundry_device-mqtt-go_PR-404:/w/workspace/gexfoundry_device-mqtt-go_PR-404:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-404@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-404@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:33:38 $ docker top 611acc7c701f34d9c1fd4c076566e45c4946dd3dc4afe9c4c610e5fd86dedcc2 -eo pid,comm 01:33:39 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). 01:33:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:33:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:33:39 [ssh-agent] Looking for ssh-agent implementation... 01:33:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:33:39 $ docker exec 611acc7c701f34d9c1fd4c076566e45c4946dd3dc4afe9c4c610e5fd86dedcc2 ssh-agent 01:33:39 SSH_AUTH_SOCK=/tmp/ssh-6YbkmuNGNAqL/agent.33 01:33:39 SSH_AGENT_PID=39 01:33:39 Running ssh-add (command line suppressed) 01:33:39 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-404@tmp/private_key_43202722794359335.key (/w/workspace/gexfoundry_device-mqtt-go_PR-404@tmp/private_key_43202722794359335.key) 01:33:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:33:39 + git tag --points-at HEAD [Pipeline] } 01:33:39 $ docker exec --env ******** --env ******** 611acc7c701f34d9c1fd4c076566e45c4946dd3dc4afe9c4c610e5fd86dedcc2 ssh-agent -k 01:33:40 unset SSH_AUTH_SOCK; 01:33:40 unset SSH_AGENT_PID; 01:33:40 echo Agent pid 39 killed; 01:33:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:33:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:33:40 [ssh-agent] Looking for ssh-agent implementation... 01:33:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:33:40 $ docker exec 611acc7c701f34d9c1fd4c076566e45c4946dd3dc4afe9c4c610e5fd86dedcc2 ssh-agent 01:33:40 SSH_AUTH_SOCK=/tmp/ssh-HxOPpfNlVuDG/agent.71 01:33:40 SSH_AGENT_PID=77 01:33:40 Running ssh-add (command line suppressed) 01:33:40 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-404@tmp/private_key_773186814200937163.key (/w/workspace/gexfoundry_device-mqtt-go_PR-404@tmp/private_key_773186814200937163.key) 01:33:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:33:40 + git semver init 01:33:41 2022-07-18 01:33:41,099 [run_init] DEBUG init version:0.0.0 force:False 01:33:41 2022-07-18 01:33:41,100 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-404/.semver 01:33:41 2022-07-18 01:33:41,100 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-404/.semver 01:33:41 2022-07-18 01:33:41,101 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-404/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-404, universal_newlines=False, shell=None, istream=None) 01:33:42 2022-07-18 01:33:41,774 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-404/.git/info/exclude 01:33:42 2022-07-18 01:33:41,774 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-404/.semver/PR-404 with force:False 01:33:42 2022-07-18 01:33:41,775 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-404/.semver/PR-404 01:33:42 2022-07-18 01:33:41,779 [execute] INFO git cat-file --batch-check 01:33:42 2022-07-18 01:33:41,780 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-404/.semver, universal_newlines=False, shell=None, istream=) 01:33:42 2022-07-18 01:33:41,787 [execute] INFO git cat-file --batch 01:33:42 2022-07-18 01:33:41,787 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-404/.semver, universal_newlines=False, shell=None, istream=) 01:33:42 2022-07-18 01:33:41,793 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-404/.semver/PR-404 01:33:42 0.0.0 [Pipeline] } 01:33:42 $ docker exec --env ******** --env ******** 611acc7c701f34d9c1fd4c076566e45c4946dd3dc4afe9c4c610e5fd86dedcc2 ssh-agent -k 01:33:42 unset SSH_AUTH_SOCK; 01:33:42 unset SSH_AGENT_PID; 01:33:42 echo Agent pid 77 killed; 01:33:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:33:42 + git semver [Pipeline] } 01:33:42 $ docker stop --time=1 611acc7c701f34d9c1fd4c076566e45c4946dd3dc4afe9c4c610e5fd86dedcc2 01:33:44 $ docker rm -f 611acc7c701f34d9c1fd4c076566e45c4946dd3dc4afe9c4c610e5fd86dedcc2 [Pipeline] // withDockerContainer [Pipeline] sh 01:33:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:33:45 Stashed 1 file(s) [Pipeline] echo 01:33:45 [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 01:33:45 provisioning config files... 01:33:45 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-404@tmp/config5481923055913100826tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:33:46 ---> docker-login.sh 01:33:46 nexus3.edgexfoundry.org:10001 01:33:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:46 Configure a credential helper to remove this warning. See 01:33:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:46 01:33:46 Login Succeeded 01:33:46 nexus3.edgexfoundry.org:10002 01:33:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:46 Configure a credential helper to remove this warning. See 01:33:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:46 01:33:46 Login Succeeded 01:33:46 nexus3.edgexfoundry.org:10003 01:33:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:46 Configure a credential helper to remove this warning. See 01:33:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:46 01:33:46 Login Succeeded 01:33:46 nexus3.edgexfoundry.org:10004 01:33:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:46 Configure a credential helper to remove this warning. See 01:33:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:46 01:33:46 Login Succeeded 01:33:46 docker.io 01:33:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:46 Configure a credential helper to remove this warning. See 01:33:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:46 01:33:46 Login Succeeded 01:33:46 ---> docker-login.sh ends [Pipeline] } 01:33:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:33:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:33:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:33:47 ========================================================= 01:33:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:33:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:47 + 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 . 01:33:47 Sending build context to Docker daemon 6.059MB 01:33:47 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:33:47 Step 2/12 : FROM ${BASE} AS builder 01:33:47 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:33:47 2408cc74d12b: Pulling fs layer 01:33:47 ea60b727a1ce: Pulling fs layer 01:33:47 30c4a7721957: Pulling fs layer 01:33:47 370296b7ddb6: Pulling fs layer 01:33:47 7c6cee850709: Pulling fs layer 01:33:47 39a5fcdaea64: Pulling fs layer 01:33:47 d94ebbe4e438: Pulling fs layer 01:33:47 370296b7ddb6: Waiting 01:33:47 7c6cee850709: Waiting 01:33:47 39a5fcdaea64: Waiting 01:33:47 bcfd1f05c69d: Pulling fs layer 01:33:47 59ccb84bbe0f: Pulling fs layer 01:33:47 bcfd1f05c69d: Waiting 01:33:47 30c4a7721957: Download complete 01:33:47 ea60b727a1ce: Verifying Checksum 01:33:47 ea60b727a1ce: Download complete 01:33:47 7c6cee850709: Verifying Checksum 01:33:47 7c6cee850709: Download complete 01:33:47 39a5fcdaea64: Verifying Checksum 01:33:47 39a5fcdaea64: Download complete 01:33:47 2408cc74d12b: Verifying Checksum 01:33:47 2408cc74d12b: Download complete 01:33:47 d94ebbe4e438: Verifying Checksum 01:33:47 d94ebbe4e438: Download complete 01:33:47 2408cc74d12b: Pull complete 01:33:48 ea60b727a1ce: Pull complete 01:33:48 30c4a7721957: Pull complete 01:33:48 59ccb84bbe0f: Verifying Checksum 01:33:48 370296b7ddb6: Verifying Checksum 01:33:48 370296b7ddb6: Download complete 01:33:48 bcfd1f05c69d: Verifying Checksum 01:33:48 bcfd1f05c69d: Download complete 01:33:53 370296b7ddb6: Pull complete 01:33:53 7c6cee850709: Pull complete 01:33:53 39a5fcdaea64: Pull complete 01:33:53 d94ebbe4e438: Pull complete 01:33:55 bcfd1f05c69d: Pull complete 01:33:56 59ccb84bbe0f: Pull complete 01:33:56 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 01:33:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:33:56 ---> a4fb48ad2a94 01:33:56 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:34:00 Still waiting to schedule task 01:34:00 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:34:01 ---> Running in 6239f9437180 01:34:01 Removing intermediate container 6239f9437180 01:34:01 ---> 129b028a9bc9 01:34:01 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:34:01 ---> Running in 4ed2f6bd877b 01:34:01 Removing intermediate container 4ed2f6bd877b 01:34:01 ---> 4485215c72a0 01:34:01 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:34:01 ---> Running in 7bd9e94f6c4b 01:34:01 Removing intermediate container 7bd9e94f6c4b 01:34:01 ---> fd57a2daaa81 01:34:01 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:34:01 ---> Running in b4e644fb3287 01:34:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:34:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:34:02 (1/4) Installing openssh-keygen (9.0_p1-r1) 01:34:02 (2/4) Installing libedit (20210910.3.1-r0) 01:34:02 (3/4) Installing openssh-client-common (9.0_p1-r1) 01:34:03 (4/4) Installing openssh-client-default (9.0_p1-r1) 01:34:03 Executing busybox-1.35.0-r13.trigger 01:34:03 OK: 216 MiB in 55 packages 01:34:03 Removing intermediate container b4e644fb3287 01:34:03 ---> 1c2012fac5fc 01:34:03 Step 7/12 : WORKDIR /device-mqtt-go 01:34:03 ---> Running in 18c99dd86103 01:34:03 Removing intermediate container 18c99dd86103 01:34:03 ---> 52613559e58f 01:34:03 Step 8/12 : COPY go.mod vendor* ./ 01:34:03 ---> 4257f9a6fec2 01:34:03 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:34:03 ---> Running in 0a674d28b94f 01:34:22 Removing intermediate container 0a674d28b94f 01:34:22 ---> 8c335f92b5c0 01:34:22 Step 10/12 : COPY . . 01:34:22 ---> d6821f703ab2 01:34:22 Step 11/12 : ARG MAKE='make build' 01:34:22 ---> Running in 44376fb89163 01:34:22 Removing intermediate container 44376fb89163 01:34:22 ---> 7c6198c3e371 01:34:22 Step 12/12 : RUN $MAKE 01:34:22 ---> Running in cce02c28af0b 01:34:22 noop 01:34:22 Removing intermediate container cce02c28af0b 01:34:22 ---> 993634e1f9e8 01:34:22 Successfully built 993634e1f9e8 01:34:22 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:22 + docker inspect -f . ci-base-image-x86_64 01:34:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:34:22 prd-ubuntu20.04-docker-8c-8g-20353 does not seem to be running inside a container 01:34:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-404 -v /w/workspace/gexfoundry_device-mqtt-go_PR-404:/w/workspace/gexfoundry_device-mqtt-go_PR-404:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-404@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-404@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 ******** ci-base-image-x86_64 cat 01:34:23 $ docker top bd3e91f5f38caad3587220cc67b24a4bdf562fc13c03413816a9abc34a200c54 -eo pid,comm [Pipeline] { [Pipeline] sh 01:34:23 + go version 01:34:23 go version go1.18.3 linux/amd64 [Pipeline] } 01:34:23 $ docker stop --time=1 bd3e91f5f38caad3587220cc67b24a4bdf562fc13c03413816a9abc34a200c54 01:34:24 $ docker rm -f bd3e91f5f38caad3587220cc67b24a4bdf562fc13c03413816a9abc34a200c54 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:25 + docker inspect -f . ci-base-image-x86_64 01:34:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:34:25 prd-ubuntu20.04-docker-8c-8g-20353 does not seem to be running inside a container 01:34:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-mqtt-go_PR-404 -v /w/workspace/gexfoundry_device-mqtt-go_PR-404:/w/workspace/gexfoundry_device-mqtt-go_PR-404:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-404@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-404@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 ******** ci-base-image-x86_64 cat 01:34:26 $ docker top 36a2cefa48b7714e084afab7ee00965ffadc141fbd76a730982493a3c8d1d7b5 -eo pid,comm [Pipeline] { [Pipeline] sh 01:34:26 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-404 [Pipeline] fileExists [Pipeline] sh 01:34:26 + make test 01:34:26 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:34:27 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:34:37 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:34:37 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 01:34:37 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:34:44 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." 01:34:44 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:34:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:34:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:34:47 ./bin/test-attribution-txt.sh [Pipeline] echo 01:34:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:34:47 $ docker stop --time=1 36a2cefa48b7714e084afab7ee00965ffadc141fbd76a730982493a3c8d1d7b5 01:34:49 $ docker rm -f 36a2cefa48b7714e084afab7ee00965ffadc141fbd76a730982493a3c8d1d7b5 [Pipeline] // withDockerContainer [Pipeline] sh 01:34:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:34:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:34:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:34:51 + ls -al . 01:34:51 total 180 01:34:51 drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 01:34 . 01:34:51 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 01:33 .. 01:34:51 -rw-rw-r-- 1 jenkins jenkins 140 Jul 18 01:33 .dockerignore 01:34:51 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 01:34 .git 01:34:51 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:33 .github 01:34:51 -rw-rw-r-- 1 jenkins jenkins 329 Jul 18 01:33 .gitignore 01:34:51 -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 01:33 .golangci.yml 01:34:51 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 01:33 .semver 01:34:51 -rw-rw-r-- 1 jenkins jenkins 8917 Jul 18 01:33 Attribution.txt 01:34:51 -rw-rw-r-- 1 jenkins jenkins 11365 Jul 18 01:33 CHANGELOG.md 01:34:51 -rw-rw-r-- 1 jenkins jenkins 1932 Jul 18 01:33 Dockerfile 01:34:51 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 01:33 GOVERNANCE.md 01:34:51 -rw-rw-r-- 1 jenkins jenkins 678 Jul 18 01:33 Jenkinsfile 01:34:51 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 01:33 LICENSE 01:34:51 -rw-rw-r-- 1 jenkins jenkins 1917 Jul 18 01:33 Makefile 01:34:51 -rw-rw-r-- 1 jenkins jenkins 620 Jul 18 01:33 OWNERS.md 01:34:51 -rw-rw-r-- 1 jenkins jenkins 2501 Jul 18 01:33 README.md 01:34:51 -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 01:33 VERSION 01:34:51 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 01:33 bin 01:34:51 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:33 cmd 01:34:51 -rw-r--r-- 1 jenkins jenkins 17887 Jul 18 01:34 coverage.out 01:34:51 -rw-rw-r-- 1 jenkins jenkins 3315 Jul 18 01:33 go.mod 01:34:51 -rw-rw-r-- 1 jenkins jenkins 35353 Jul 18 01:33 go.sum 01:34:51 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:33 internal 01:34:51 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 01:33 mock 01:34:51 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 01:33 snap 01:34:51 -rw-rw-r-- 1 jenkins jenkins 227 Jul 18 01:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:51 + 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=2ca61002020938e88d8b66c341c551ce673e6a99 --label arch=amd64 --label version=0.0.0 . 01:34:51 Sending build context to Docker daemon 6.077MB 01:34:51 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 01:34:51 Step 2/24 : FROM ${BASE} AS builder 01:34:51 ---> 993634e1f9e8 01:34:51 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:34:51 ---> Running in a124018db0d0 01:34:51 Removing intermediate container a124018db0d0 01:34:51 ---> 0a18a9d2b27e 01:34:51 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:34:51 ---> Running in 00eeb43d2f46 01:34:51 Removing intermediate container 00eeb43d2f46 01:34:51 ---> 0e55da559438 01:34:51 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:34:52 ---> Running in 5f64f47c261c 01:34:52 Removing intermediate container 5f64f47c261c 01:34:52 ---> d93550ca39ea 01:34:52 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:34:52 ---> Running in 3aade6531e76 01:34:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:34:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:34:54 OK: 216 MiB in 55 packages 01:34:54 Removing intermediate container 3aade6531e76 01:34:54 ---> 0a4b0151171f 01:34:54 Step 7/24 : WORKDIR /device-mqtt-go 01:34:54 ---> Running in d5ec7ee2fd6d 01:34:54 Removing intermediate container d5ec7ee2fd6d 01:34:54 ---> 6539beb3da53 01:34:54 Step 8/24 : COPY go.mod vendor* ./ 01:34:54 ---> 753286b32041 01:34:54 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:34:54 ---> Running in 78fb45533d31 01:34:55 Removing intermediate container 78fb45533d31 01:34:55 ---> 2c958820245a 01:34:55 Step 10/24 : COPY . . 01:34:55 ---> ea87b29440b3 01:34:55 Step 11/24 : ARG MAKE='make build' 01:34:55 ---> Running in 802d2d8ca9f0 01:34:55 Removing intermediate container 802d2d8ca9f0 01:34:55 ---> dc2b18498f18 01:34:55 Step 12/24 : RUN $MAKE 01:34:55 ---> Running in 54e62b800673 01:34:55 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 01:35:17 Removing intermediate container 54e62b800673 01:35:17 ---> 19cab84caed6 01:35:17 Step 13/24 : FROM alpine:3.16 01:35:17 3.16: Pulling from library/alpine 01:35:18 2408cc74d12b: Already exists 01:35:18 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 01:35:18 Status: Downloaded newer image for alpine:3.16 01:35:18 ---> e66264b98777 01:35:18 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:35:18 ---> Running in dc42a71def6a 01:35:18 Removing intermediate container dc42a71def6a 01:35:18 ---> 5ce9736e4f00 01:35:18 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:35:18 ---> Running in beed0ce83827 01:35:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:35:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:35:19 (1/6) Installing dumb-init (1.2.5-r1) 01:35:19 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:35:19 (3/6) Installing libsodium (1.0.18-r0) 01:35:19 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:35:19 (5/6) Installing libzmq (4.3.4-r0) 01:35:19 (6/6) Installing zeromq (4.3.4-r0) 01:35:19 Executing busybox-1.35.0-r13.trigger 01:35:19 OK: 8 MiB in 20 packages 01:35:19 Removing intermediate container beed0ce83827 01:35:19 ---> 6edf54fd4753 01:35:19 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:35:20 ---> 7b488206b812 01:35:20 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:35:20 ---> b5a990d7253a 01:35:20 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:35:20 ---> 6e8bf08a9e95 01:35:20 Step 19/24 : EXPOSE 59982 01:35:20 ---> Running in 2741a8515393 01:35:20 Removing intermediate container 2741a8515393 01:35:20 ---> d70099ac29e4 01:35:20 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:35:20 ---> Running in 6749c07f12f7 01:35:20 Removing intermediate container 6749c07f12f7 01:35:20 ---> 7f8e7cb4439a 01:35:20 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:35:20 ---> Running in ac7b9715be22 01:35:20 Removing intermediate container ac7b9715be22 01:35:20 ---> d313988a223c 01:35:20 Step 22/24 : LABEL arch=amd64 01:35:20 ---> Running in dc110949ce66 01:35:20 Removing intermediate container dc110949ce66 01:35:20 ---> 2fb794ff56ea 01:35:20 Step 23/24 : LABEL git_sha=2ca61002020938e88d8b66c341c551ce673e6a99 01:35:20 ---> Running in ea16728ee7c6 01:35:20 Removing intermediate container ea16728ee7c6 01:35:20 ---> 6fc54bb91e71 01:35:20 Step 24/24 : LABEL version=0.0.0 01:35:20 ---> Running in 079d678d5900 01:35:20 Removing intermediate container 079d678d5900 01:35:20 ---> f23ba64c6820 01:35:20 [Warning] One or more build-args [ARCH] were not consumed 01:35:20 Successfully built f23ba64c6820 01:35:20 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 01:35:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:35:21 01:35:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:35:22 latest: Pulling from edgex-lftools-log-publisher 01:35:22 5eb5b503b376: Pulling fs layer 01:35:22 5c69ac0246d0: Pulling fs layer 01:35:22 ec43610c2a17: Pulling fs layer 01:35:22 3a2ae6a8a46f: Pulling fs layer 01:35:22 33b1e0a273af: Pulling fs layer 01:35:22 5d3b04190fa2: Pulling fs layer 01:35:22 2f39f015ded8: Pulling fs layer 01:35:22 3a2ae6a8a46f: Waiting 01:35:22 33b1e0a273af: Waiting 01:35:22 5d3b04190fa2: Waiting 01:35:22 2f39f015ded8: Waiting 01:35:22 5c69ac0246d0: Download complete 01:35:22 3a2ae6a8a46f: Download complete 01:35:22 ec43610c2a17: Verifying Checksum 01:35:22 ec43610c2a17: Download complete 01:35:22 33b1e0a273af: Verifying Checksum 01:35:22 33b1e0a273af: Download complete 01:35:22 5d3b04190fa2: Verifying Checksum 01:35:22 5d3b04190fa2: Download complete 01:35:22 5eb5b503b376: Verifying Checksum 01:35:22 5eb5b503b376: Download complete 01:35:23 2f39f015ded8: Download complete 01:35:23 5eb5b503b376: Pull complete 01:35:24 5c69ac0246d0: Pull complete 01:35:24 ec43610c2a17: Pull complete 01:35:24 3a2ae6a8a46f: Pull complete 01:35:24 33b1e0a273af: Pull complete 01:35:24 5d3b04190fa2: Pull complete 01:35:30 2f39f015ded8: Pull complete 01:35:30 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:35:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:35:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:35:30 prd-ubuntu20.04-docker-8c-8g-20353 does not seem to be running inside a container 01:35:30 $ 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-404 -v /w/workspace/gexfoundry_device-mqtt-go_PR-404:/w/workspace/gexfoundry_device-mqtt-go_PR-404:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-404@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-404@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-lftools-log-publisher:latest cat 01:35:33 $ docker top c8746c582523f47c95389d332d82c86997f17d71b13278f773119a905c8572f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:35:33 ---> job-cost.sh 01:35:33 lf-activate-venv: SKIPPING 01:35:33 INFO: No Stack... 01:35:34 INFO: Retrieving Pricing Info for: v3-standard-8 01:35:34 INFO: Archiving Costs [Pipeline] sh 01:35:34 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-404/archives/cost.csv 01:35:34 + cut -d, -f6 [Pipeline] lock 01:35:34 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-404-1-stack-cost] 01:35:34 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-404-1-stack-cost] did not exist. Created. 01:35:34 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-404-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:35:35 + echo total: 0.2199999988079071 [Pipeline] stash 01:35:35 Stashed 1 file(s) [Pipeline] } 01:35:35 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-404-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:35:35 $ docker stop --time=1 c8746c582523f47c95389d332d82c86997f17d71b13278f773119a905c8572f8 01:35:36 $ docker rm -f c8746c582523f47c95389d332d82c86997f17d71b13278f773119a905c8572f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:37:35 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20354 in /w/workspace/gexfoundry_device-mqtt-go_PR-404 [Pipeline] { [Pipeline] ws 01:37:35 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:37:35 Selected Git installation does not exist. Using Default 01:37:35 The recommended git tool is: NONE 01:37:43 using credential edgex-jenkins-ssh 01:37:43 Cloning the remote Git repository 01:37:43 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:37:43 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:37:43 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:37:43 > git --version # timeout=10 01:37:43 > git --version # 'git version 2.25.1' 01:37:43 using GIT_SSH to set credentials SSH Credentials for GitHub 01:37:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:37:44 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:37:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:37:44 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:37:44 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:37:44 using GIT_SSH to set credentials SSH Credentials for GitHub 01:37:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/404/head:refs/remotes/origin/PR-404 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:37:45 Merging remotes/origin/main commit d22688ce7a8934592a13fb64b21226b5e27cedca into PR head commit 2ca61002020938e88d8b66c341c551ce673e6a99 01:37:45 Merge succeeded, producing 2ca61002020938e88d8b66c341c551ce673e6a99 01:37:45 Checking out Revision 2ca61002020938e88d8b66c341c551ce673e6a99 (PR-404) 01:37:45 > git config core.sparsecheckout # timeout=10 01:37:45 > git checkout -f 2ca61002020938e88d8b66c341c551ce673e6a99 # timeout=10 01:37:45 > git remote # timeout=10 01:37:45 > git config --get remote.origin.url # timeout=10 01:37:45 using GIT_SSH to set credentials SSH Credentials for GitHub 01:37:45 > git merge d22688ce7a8934592a13fb64b21226b5e27cedca # timeout=10 01:37:45 > git rev-parse HEAD^{commit} # timeout=10 01:37:45 > git config core.sparsecheckout # timeout=10 01:37:45 > git checkout -f 2ca61002020938e88d8b66c341c551ce673e6a99 # timeout=10 01:37:49 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v2" 01:37:49 > git --version # timeout=10 01:37:49 > git --version # 'git version 2.25.1' 01:37:49 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:37:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:37:50 % Total % Received % Xferd Average Speed Time Time Time Current 01:37:50 Dload Upload Total Spent Left Speed 01:37:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 81131 0 --:--:-- --:--:-- --:--:-- 81668 [Pipeline] sh 01:37:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:37:52 + sudo tee /etc/docker/daemon.new 01:37:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:37:52 { 01:37:52 "registry-mirrors": [ 01:37:52 "https://nexus3.edgexfoundry.org:10001" 01:37:52 ], 01:37:52 "bip": "10.250.0.254/24", 01:37:52 "hosts": [ 01:37:52 "tcp://0.0.0.0:5555", 01:37:52 "unix:///var/run/docker.sock" 01:37:52 ], 01:37:52 "mtu": 1458, 01:37:52 "selinux-enabled": true, 01:37:52 "seccomp-profile": "/etc/docker/seccomp.json" 01:37:52 } [Pipeline] sh 01:37:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:37:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:38:11 provisioning config files... 01:38:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config7920594087261226879tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:38:11 ---> docker-login.sh 01:38:11 nexus3.edgexfoundry.org:10001 01:38:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:12 Configure a credential helper to remove this warning. See 01:38:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:12 01:38:12 Login Succeeded 01:38:12 nexus3.edgexfoundry.org:10002 01:38:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:13 Configure a credential helper to remove this warning. See 01:38:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:13 01:38:13 Login Succeeded 01:38:13 nexus3.edgexfoundry.org:10003 01:38:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:13 Configure a credential helper to remove this warning. See 01:38:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:13 01:38:13 Login Succeeded 01:38:13 nexus3.edgexfoundry.org:10004 01:38:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:13 Configure a credential helper to remove this warning. See 01:38:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:13 01:38:13 Login Succeeded 01:38:13 docker.io 01:38:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:38:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:38:14 Configure a credential helper to remove this warning. See 01:38:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:38:14 01:38:14 Login Succeeded 01:38:14 ---> docker-login.sh ends [Pipeline] } 01:38:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:38:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:38:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:38:15 ========================================================= 01:38:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:38:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:15 + 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 . 01:38:16 Sending build context to Docker daemon 3.128MB 01:38:16 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:38:16 Step 2/12 : FROM ${BASE} AS builder 01:38:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:38:16 b3c136eddcbf: Pulling fs layer 01:38:16 c0a3192eca97: Pulling fs layer 01:38:16 a050256f5b6f: Pulling fs layer 01:38:16 656be50a0ddc: Pulling fs layer 01:38:16 2bbca73fdf42: Pulling fs layer 01:38:16 46d945488cbd: Pulling fs layer 01:38:16 8a5474983e97: Pulling fs layer 01:38:16 329c88fbcd65: Pulling fs layer 01:38:16 656be50a0ddc: Waiting 01:38:16 8a5474983e97: Waiting 01:38:16 2bbca73fdf42: Waiting 01:38:16 46d945488cbd: Waiting 01:38:16 329c88fbcd65: Waiting 01:38:16 a050256f5b6f: Verifying Checksum 01:38:16 a050256f5b6f: Download complete 01:38:16 c0a3192eca97: Verifying Checksum 01:38:16 c0a3192eca97: Download complete 01:38:16 2bbca73fdf42: Verifying Checksum 01:38:16 2bbca73fdf42: Download complete 01:38:16 46d945488cbd: Verifying Checksum 01:38:16 46d945488cbd: Download complete 01:38:16 b3c136eddcbf: Verifying Checksum 01:38:16 b3c136eddcbf: Download complete 01:38:17 b3c136eddcbf: Pull complete 01:38:17 329c88fbcd65: Verifying Checksum 01:38:17 329c88fbcd65: Download complete 01:38:17 c0a3192eca97: Pull complete 01:38:18 a050256f5b6f: Pull complete 01:38:18 8a5474983e97: Verifying Checksum 01:38:18 8a5474983e97: Download complete 01:38:19 656be50a0ddc: Verifying Checksum 01:38:19 656be50a0ddc: Download complete 01:38:31 656be50a0ddc: Pull complete 01:38:31 2bbca73fdf42: Pull complete 01:38:31 46d945488cbd: Pull complete 01:38:38 8a5474983e97: Pull complete 01:38:39 329c88fbcd65: Pull complete 01:38:39 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 01:38:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:38:39 ---> ff4287adb874 01:38:39 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:38:41 ---> Running in e65ee3b8314a 01:38:41 Removing intermediate container e65ee3b8314a 01:38:41 ---> 0833425c2235 01:38:41 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:38:41 ---> Running in 46bca48d7f05 01:38:41 Removing intermediate container 46bca48d7f05 01:38:41 ---> 4f06319e8d7d 01:38:41 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:38:42 ---> Running in 03fc63b8a9c7 01:38:44 Removing intermediate container 03fc63b8a9c7 01:38:44 ---> 5cd6ffcd4ab6 01:38:44 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:38:44 ---> Running in 39c24793665b 01:38:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:38:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:38:47 (1/4) Installing openssh-keygen (9.0_p1-r1) 01:38:48 (2/4) Installing libedit (20210910.3.1-r0) 01:38:48 (3/4) Installing openssh-client-common (9.0_p1-r1) 01:38:48 (4/4) Installing openssh-client-default (9.0_p1-r1) 01:38:48 Executing busybox-1.35.0-r13.trigger 01:38:48 OK: 226 MiB in 55 packages 01:38:49 Removing intermediate container 39c24793665b 01:38:49 ---> a05f1effdd48 01:38:49 Step 7/12 : WORKDIR /device-mqtt-go 01:38:49 ---> Running in 8b6df513562a 01:38:50 Removing intermediate container 8b6df513562a 01:38:50 ---> dd75bbf094e5 01:38:50 Step 8/12 : COPY go.mod vendor* ./ 01:38:50 ---> 51e6be6a4e78 01:38:50 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:38:50 ---> Running in 949b517eb50f 01:39:37 Removing intermediate container 949b517eb50f 01:39:37 ---> 79c5c0223a56 01:39:37 Step 10/12 : COPY . . 01:39:37 ---> 0493e8554ef8 01:39:37 Step 11/12 : ARG MAKE='make build' 01:39:37 ---> Running in 3d1fe8e0b607 01:39:37 Removing intermediate container 3d1fe8e0b607 01:39:37 ---> 8845c49f97c8 01:39:37 Step 12/12 : RUN $MAKE 01:39:37 ---> Running in a59b0ee2b38b 01:39:39 noop 01:39:39 Removing intermediate container a59b0ee2b38b 01:39:39 ---> a3ea52481e5c 01:39:39 Successfully built a3ea52481e5c 01:39:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:40 + docker inspect -f . ci-base-image-arm64 01:39:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:39:40 prd-ubuntu20.04-docker-arm64-4c-16g-20354 does not seem to be running inside a container 01:39:40 $ 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 ******** ci-base-image-arm64 cat 01:39:41 $ docker top 6125c83de2951a7251d1d60d114e9458e65e7259355aa95b9df11ed889917dfc -eo pid,comm [Pipeline] { [Pipeline] sh 01:39:42 + go version 01:39:42 go version go1.18.3 linux/arm64 [Pipeline] } 01:39:43 $ docker stop --time=1 6125c83de2951a7251d1d60d114e9458e65e7259355aa95b9df11ed889917dfc 01:39:44 $ docker rm -f 6125c83de2951a7251d1d60d114e9458e65e7259355aa95b9df11ed889917dfc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:39:45 + docker inspect -f . ci-base-image-arm64 01:39:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:39:46 prd-ubuntu20.04-docker-arm64-4c-16g-20354 does not seem to be running inside a container 01:39:46 $ 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 ******** ci-base-image-arm64 cat 01:39:47 $ docker top 2d6f304ec1670a482a1edaee14b0b0e5937d72648a49fc7348a1a692f843b080 -eo pid,comm [Pipeline] { [Pipeline] sh 01:39:48 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:39:49 + make test 01:39:49 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:39:50 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:41:12 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:41:12 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.068s coverage: 21.8% of statements 01:41:12 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:41:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:41:13 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:41:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:41:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:41:35 ./bin/test-attribution-txt.sh [Pipeline] echo 01:41:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:41:35 $ docker stop --time=1 2d6f304ec1670a482a1edaee14b0b0e5937d72648a49fc7348a1a692f843b080 01:41:37 $ docker rm -f 2d6f304ec1670a482a1edaee14b0b0e5937d72648a49fc7348a1a692f843b080 [Pipeline] // withDockerContainer [Pipeline] sh 01:41:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:41:38 Warning: overwriting stash ‘coverage-report’ 01:41:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:41:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:41:39 + ls -al . 01:41:39 total 176 01:41:39 drwxrwxr-x 9 jenkins jenkins 4096 Jul 18 01:39 . 01:41:39 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 01:37 .. 01:41:39 -rw-rw-r-- 1 jenkins jenkins 140 Jul 18 01:37 .dockerignore 01:41:39 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 01:37 .git 01:41:39 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:37 .github 01:41:39 -rw-rw-r-- 1 jenkins jenkins 329 Jul 18 01:37 .gitignore 01:41:39 -rw-rw-r-- 1 jenkins jenkins 41 Jul 18 01:37 .golangci.yml 01:41:39 -rw-rw-r-- 1 jenkins jenkins 8917 Jul 18 01:37 Attribution.txt 01:41:39 -rw-rw-r-- 1 jenkins jenkins 11365 Jul 18 01:37 CHANGELOG.md 01:41:39 -rw-rw-r-- 1 jenkins jenkins 1932 Jul 18 01:37 Dockerfile 01:41:39 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 01:37 GOVERNANCE.md 01:41:39 -rw-rw-r-- 1 jenkins jenkins 678 Jul 18 01:37 Jenkinsfile 01:41:39 -rw-rw-r-- 1 jenkins jenkins 11340 Jul 18 01:37 LICENSE 01:41:39 -rw-rw-r-- 1 jenkins jenkins 1917 Jul 18 01:37 Makefile 01:41:39 -rw-rw-r-- 1 jenkins jenkins 620 Jul 18 01:37 OWNERS.md 01:41:39 -rw-rw-r-- 1 jenkins jenkins 2501 Jul 18 01:37 README.md 01:41:39 -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 01:33 VERSION 01:41:39 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 01:37 bin 01:41:39 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:37 cmd 01:41:39 -rw-r--r-- 1 jenkins jenkins 17887 Jul 18 01:41 coverage.out 01:41:39 -rw-rw-r-- 1 jenkins jenkins 3315 Jul 18 01:37 go.mod 01:41:39 -rw-rw-r-- 1 jenkins jenkins 35353 Jul 18 01:37 go.sum 01:41:39 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 01:37 internal 01:41:39 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 01:37 mock 01:41:39 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 01:37 snap 01:41:39 -rw-rw-r-- 1 jenkins jenkins 227 Jul 18 01:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:40 + 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=2ca61002020938e88d8b66c341c551ce673e6a99 --label arch=arm64 --label version=0.0.0 . 01:41:40 Sending build context to Docker daemon 3.147MB 01:41:40 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 01:41:40 Step 2/24 : FROM ${BASE} AS builder 01:41:40 ---> a3ea52481e5c 01:41:40 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:41:40 ---> Running in 1de21bd4e45d 01:41:40 Removing intermediate container 1de21bd4e45d 01:41:40 ---> e5172c839b99 01:41:40 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:41:40 ---> Running in 7696e501b225 01:41:41 Removing intermediate container 7696e501b225 01:41:41 ---> 33b49f5b7485 01:41:41 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:41:41 ---> Running in 1f2ed70ddccb 01:41:43 Removing intermediate container 1f2ed70ddccb 01:41:43 ---> b003413040e2 01:41:43 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:41:43 ---> Running in 54283ea7f341 01:41:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:41:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:41:46 OK: 226 MiB in 55 packages 01:41:46 Removing intermediate container 54283ea7f341 01:41:46 ---> 4aed0a42197d 01:41:46 Step 7/24 : WORKDIR /device-mqtt-go 01:41:46 ---> Running in ed36a7f82df8 01:41:47 Removing intermediate container ed36a7f82df8 01:41:47 ---> d968c8f7affd 01:41:47 Step 8/24 : COPY go.mod vendor* ./ 01:41:47 ---> 71e81e570e5f 01:41:47 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:41:47 ---> Running in dedbc1d23d55 01:41:49 Removing intermediate container dedbc1d23d55 01:41:49 ---> 5275de32f8e5 01:41:49 Step 10/24 : COPY . . 01:41:50 ---> d1f55fb5175b 01:41:50 Step 11/24 : ARG MAKE='make build' 01:41:50 ---> Running in 95952d9b0467 01:41:51 Removing intermediate container 95952d9b0467 01:41:51 ---> 5426e631b3df 01:41:51 Step 12/24 : RUN $MAKE 01:41:51 ---> Running in 40303cdc12f3 01:41:52 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 01:44:14 Removing intermediate container 40303cdc12f3 01:44:14 ---> f962fb6474d5 01:44:14 Step 13/24 : FROM alpine:3.16 01:44:14 3.16: Pulling from library/alpine 01:44:14 b3c136eddcbf: Already exists 01:44:14 Digest: sha256:686d8c9dfa6f3ccfc8230bc3178d23f84eeaf7e457f36f271ab1acc53015037c 01:44:14 Status: Downloaded newer image for alpine:3.16 01:44:14 ---> 6e30ab57aeee 01:44:14 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:44:14 ---> Running in 8c586a2b2f3e 01:44:14 Removing intermediate container 8c586a2b2f3e 01:44:14 ---> 9df9397baafc 01:44:14 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:44:14 ---> Running in 34b26d38d022 01:44:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:44:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:44:14 (1/6) Installing dumb-init (1.2.5-r1) 01:44:14 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:44:14 (3/6) Installing libsodium (1.0.18-r0) 01:44:14 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:44:14 (5/6) Installing libzmq (4.3.4-r0) 01:44:14 (6/6) Installing zeromq (4.3.4-r0) 01:44:14 Executing busybox-1.35.0-r13.trigger 01:44:14 OK: 8 MiB in 20 packages 01:44:14 Removing intermediate container 34b26d38d022 01:44:14 ---> 5eb95cd6d826 01:44:14 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:44:14 ---> b342bad0bbcb 01:44:14 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:44:14 ---> 351e125fc55e 01:44:14 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:44:14 ---> 85b960ca20f9 01:44:14 Step 19/24 : EXPOSE 59982 01:44:14 ---> Running in 1124e692817e 01:44:14 Removing intermediate container 1124e692817e 01:44:14 ---> 959b0f1dd251 01:44:14 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:44:14 ---> Running in dce719425eec 01:44:14 Removing intermediate container dce719425eec 01:44:14 ---> 9454b4a873ee 01:44:14 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:44:14 ---> Running in b1bd70a7406a 01:44:14 Removing intermediate container b1bd70a7406a 01:44:14 ---> 42d82f7a1f23 01:44:14 Step 22/24 : LABEL arch=arm64 01:44:14 ---> Running in 6bb6a2964036 01:44:14 Removing intermediate container 6bb6a2964036 01:44:14 ---> 1bf21317e95e 01:44:14 Step 23/24 : LABEL git_sha=2ca61002020938e88d8b66c341c551ce673e6a99 01:44:14 ---> Running in 9b8c0a498f03 01:44:14 Removing intermediate container 9b8c0a498f03 01:44:14 ---> 18d9f0e6c49c 01:44:14 Step 24/24 : LABEL version=0.0.0 01:44:14 ---> Running in 0ce00a806b84 01:44:14 Removing intermediate container 0ce00a806b84 01:44:14 ---> fdc36c8f71b8 01:44:14 [Warning] One or more build-args [ARCH] were not consumed 01:44:14 Successfully built fdc36c8f71b8 01:44:14 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:44:14 01:44:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:44:15 arm64: Pulling from edgex-lftools-log-publisher 01:44:15 8998bd30e6a1: Pulling fs layer 01:44:15 04944245beec: Pulling fs layer 01:44:15 699f458cf7ca: Pulling fs layer 01:44:15 765212b225bb: Pulling fs layer 01:44:15 f23df028b6ca: Pulling fs layer 01:44:15 d65c8cfc05b1: Pulling fs layer 01:44:15 2437ff75d9bd: Pulling fs layer 01:44:15 765212b225bb: Waiting 01:44:15 f23df028b6ca: Waiting 01:44:15 d65c8cfc05b1: Waiting 01:44:15 2437ff75d9bd: Waiting 01:44:15 04944245beec: Verifying Checksum 01:44:15 04944245beec: Download complete 01:44:15 765212b225bb: Verifying Checksum 01:44:15 765212b225bb: Download complete 01:44:15 f23df028b6ca: Verifying Checksum 01:44:15 f23df028b6ca: Download complete 01:44:15 d65c8cfc05b1: Verifying Checksum 01:44:15 d65c8cfc05b1: Download complete 01:44:15 699f458cf7ca: Verifying Checksum 01:44:15 699f458cf7ca: Download complete 01:44:16 8998bd30e6a1: Verifying Checksum 01:44:16 8998bd30e6a1: Download complete 01:44:18 2437ff75d9bd: Verifying Checksum 01:44:18 2437ff75d9bd: Download complete 01:44:20 8998bd30e6a1: Pull complete 01:44:21 04944245beec: Pull complete 01:44:22 699f458cf7ca: Pull complete 01:44:23 765212b225bb: Pull complete 01:44:23 f23df028b6ca: Pull complete 01:44:23 d65c8cfc05b1: Pull complete 01:44:39 2437ff75d9bd: Pull complete 01:44:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:44:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:44:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:39 prd-ubuntu20.04-docker-arm64-4c-16g-20354 does not seem to be running inside a container 01:44:39 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:44:42 $ docker top c0eb8ef75496feec4e63f87628479a0c626baacd640160782f63f0aeded996a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:44:43 ---> job-cost.sh 01:44:43 lf-activate-venv: SKIPPING 01:44:43 INFO: No Stack... 01:44:43 INFO: Retrieving Pricing Info for: v3-standard-4 01:44:44 INFO: Archiving Costs [Pipeline] sh 01:44:45 + + cut -d,cat -f6 /w/workspace/device-mqtt-go/1/archives/cost.csv 01:44:45 [Pipeline] lock 01:44:45 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-404-1-stack-cost] 01:44:45 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-404-1-stack-cost] did not exist. Created. 01:44:45 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-404-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:44:45 /w/workspace/device-mqtt-go/1@tmp/durable-0ebf89cb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:44:46 + echo total: 0.10999999940395355 [Pipeline] stash 01:44:46 Warning: overwriting stash ‘stack-cost’ 01:44:46 Stashed 1 file(s) [Pipeline] } 01:44:46 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-404-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:44:46 $ docker stop --time=1 c0eb8ef75496feec4e63f87628479a0c626baacd640160782f63f0aeded996a0 01:44:48 $ docker rm -f c0eb8ef75496feec4e63f87628479a0c626baacd640160782f63f0aeded996a0 [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 01:44:49 provisioning config files... 01:44:49 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-404@tmp/config6822661354520307944tmp [Pipeline] { [Pipeline] sh 01:44:49 + set +x 01:44:49 + curl -s https://codecov.io/bash 01:44:49 + bash -s -- 01:44:49 01:44:49 _____ _ 01:44:49 / ____| | | 01:44:49 | | ___ __| | ___ ___ _____ __ 01:44:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:44:49 | |___| (_) | (_| | __/ (_| (_) \ V / 01:44:49 \_____\___/ \__,_|\___|\___\___/ \_/ 01:44:49 Bash-1.0.6 01:44:49 01:44:49 01:44:49 ==> git version 2.25.1 found 01:44:49 ==> 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 01:44:49 Release-Date: 2020-01-08 01:44:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:44:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:44:49 ==> Jenkins CI detected. 01:44:49 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-404 01:44:49 project root: . 01:44:49 --> token set from env 01:44:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:44:49 ==> Running gcov in . (disable via -X gcov) 01:44:49 ==> Python coveragepy not found 01:44:49 ==> Searching for coverage reports in: 01:44:49 + . 01:44:49 -> Found 1 reports 01:44:49 ==> Detecting git/mercurial file structure 01:44:49 ==> Reading reports 01:44:49 + ./coverage.out bytes=17887 01:44:49 ==> Appending adjustments 01:44:49 https://docs.codecov.io/docs/fixing-reports 01:44:50 + Found adjustments 01:44:50 ==> Gzipping contents 01:44:50 4.0K /tmp/codecov.2BhxCT.gz 01:44:50 ==> Uploading reports 01:44:50 url: https://codecov.io 01:44:50 query: branch=PR-404&commit=2ca61002020938e88d8b66c341c551ce673e6a99&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-404%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=404&job=&cmd_args= 01:44:50 -> Pinging Codecov 01:44:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-404&commit=2ca61002020938e88d8b66c341c551ce673e6a99&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-404%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=404&job=&cmd_args= 01:44:50 -> Uploading to 01:44:50 https://storage.googleapis.com/codecov/v4/raw/2022-07-18/7D719EC7BBE17E464838252E33014C33/2ca61002020938e88d8b66c341c551ce673e6a99/b1f96982-c241-4ccb-9c2c-a7b364e28a60.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20220718%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220718T014450Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1f4257928c90f7d88137c23cb673dae25deca8f440b575a9377d4dc06541b3e7 01:44:50 % Total % Received % Xferd Average Speed Time Time Time Current 01:44:50 Dload Upload Total Spent Left Speed 01:44:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3217 0 0 100 3217 0 11530 --:--:-- --:--:-- --:--:-- 11530 01:44:50 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/2ca61002020938e88d8b66c341c551ce673e6a99 [Pipeline] } 01:44:50 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 01:44:52 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-404/archives ] 01:44:52 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-404/archives 01:44:52 total 16 01:44:52 drwxr-xr-x 3 root root 4096 Jul 18 01:35 . 01:44:52 drwxrwxr-x 11 jenkins jenkins 4096 Jul 18 01:35 .. 01:44:52 drwxr-xr-x 2 root root 4096 Jul 18 01:35 cost 01:44:52 -rw-r--r-- 1 root root 85 Jul 18 01:35 cost.csv 01:44:52 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-404/archives 01:44:52 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-404/archives 01:44:52 total 16 01:44:52 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 01:35 . 01:44:52 drwxrwxr-x 11 jenkins jenkins 4096 Jul 18 01:35 .. 01:44:52 drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 01:35 cost 01:44:52 -rw-r--r-- 1 jenkins jenkins 85 Jul 18 01:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:44:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:44:53 ---> package-listing.sh 01:44:53 ++ facter osfamily 01:44:53 ++ tr '[:upper:]' '[:lower:]' 01:44:53 + OS_FAMILY=debian 01:44:53 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-404 01:44:53 + START_PACKAGES=/tmp/packages_start.txt 01:44:53 + END_PACKAGES=/tmp/packages_end.txt 01:44:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:44:53 + PACKAGES=/tmp/packages_start.txt 01:44:53 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-404 ']' 01:44:53 + PACKAGES=/tmp/packages_end.txt 01:44:53 + case "${OS_FAMILY}" in 01:44:53 + dpkg -l 01:44:53 + grep '^ii' 01:44:53 + '[' -f /tmp/packages_start.txt ']' 01:44:53 + '[' -f /tmp/packages_end.txt ']' 01:44:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:44:53 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-404 ']' 01:44:53 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-404/archives/ 01:44:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-404/archives/ [Pipeline] echo 01:44:53 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-404/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:44:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:44:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:54 prd-ubuntu20.04-docker-8c-8g-20353 does not seem to be running inside a container 01:44:54 $ 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-404/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-404 -v /w/workspace/gexfoundry_device-mqtt-go_PR-404:/w/workspace/gexfoundry_device-mqtt-go_PR-404:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-404@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-404@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:44:55 $ docker top 3327b8bfd833ede989e9247da73450c8daa55f451e2becffdd4a8c3d222728a3 -eo pid,comm [Pipeline] { [Pipeline] sh 01:44:55 + touch /tmp/pre-build-complete [Pipeline] sh 01:44:55 + mkdir -p /var/log/sysstat [Pipeline] sh 01:44:56 + ls /var/log/sa-host 01:44:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:44:56 provisioning config files... 01:44:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-404@tmp/config8300086580509321027tmp [Pipeline] { [Pipeline] echo 01:44:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:44:56 ---> create-netrc.sh [Pipeline] } 01:44:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:44:57 ---> python-tools-install.sh [Pipeline] echo 01:44:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:44:57 ---> sudo-logs.sh 01:44:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:44:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:44:57 ---> job-cost.sh 01:44:57 lf-activate-venv: SKIPPING 01:44:57 DEBUG: total: 0.2199999988079071 01:44:57 INFO: Retrieving Stack Cost... 01:44:58 INFO: Retrieving Pricing Info for: v3-standard-8 01:44:58 INFO: Archiving Costs [Pipeline] echo 01:44:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:44:59 ---> logs-deploy.sh 01:44:59 lf-activate-venv: SKIPPING 01:44:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-404/1 01:44:59 INFO: archiving workspace using pattern(s): 01:45:00 Archives upload complete. 01:45:00 INFO: archiving logs to Nexus 01:45:00 ---> uname -a: 01:45:00 Linux prd-ubuntu20-04-docker-8c-8g-20353 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 01:45:00 01:45:00 01:45:00 ---> lscpu: 01:45:00 Architecture: x86_64 01:45:00 CPU op-mode(s): 32-bit, 64-bit 01:45:00 Byte Order: Little Endian 01:45:00 Address sizes: 40 bits physical, 48 bits virtual 01:45:00 CPU(s): 8 01:45:00 On-line CPU(s) list: 0-7 01:45:00 Thread(s) per core: 1 01:45:00 Core(s) per socket: 1 01:45:00 Socket(s): 8 01:45:00 NUMA node(s): 1 01:45:00 Vendor ID: AuthenticAMD 01:45:00 CPU family: 23 01:45:00 Model: 49 01:45:00 Model name: AMD EPYC-Rome Processor 01:45:00 Stepping: 0 01:45:00 CPU MHz: 2799.864 01:45:00 BogoMIPS: 5599.72 01:45:00 Virtualization: AMD-V 01:45:00 Hypervisor vendor: KVM 01:45:00 Virtualization type: full 01:45:00 L1d cache: 256 KiB 01:45:00 L1i cache: 256 KiB 01:45:00 L2 cache: 4 MiB 01:45:00 L3 cache: 128 MiB 01:45:00 NUMA node0 CPU(s): 0-7 01:45:00 Vulnerability Itlb multihit: Not affected 01:45:00 Vulnerability L1tf: Not affected 01:45:00 Vulnerability Mds: Not affected 01:45:00 Vulnerability Meltdown: Not affected 01:45:00 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:45:00 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:45:00 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 01:45:00 Vulnerability Srbds: Not affected 01:45:00 Vulnerability Tsx async abort: Not affected 01:45:00 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 01:45:00 01:45:00 01:45:00 ---> nproc: 01:45:00 8 01:45:00 01:45:00 01:45:00 ---> df -h: 01:45:00 Filesystem Size Used Avail Use% Mounted on 01:45:00 overlay 155G 11G 145G 7% / 01:45:00 tmpfs 64M 0 64M 0% /dev 01:45:00 tmpfs 16G 0 16G 0% /sys/fs/cgroup 01:45:00 shm 64M 0 64M 0% /dev/shm 01:45:00 /dev/vda1 155G 11G 145G 7% /facter-os 01:45:00 01:45:00 01:45:00 ---> sar -b -r -n DEV: 01:45:00 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20353) 07/18/22 _x86_64_ (8 CPU) 01:45:00 01:45:00 01:32:40 LINUX RESTART (8 CPU) 01:45:00 01:45:00 01:33:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:45:00 01:34:01 364.57 45.46 319.11 0.00 4089.85 165523.61 0.00 01:45:00 01:35:01 180.35 1.43 178.92 0.00 21.86 37685.99 0.00 01:45:00 01:36:01 106.35 0.00 106.35 0.00 0.00 32768.01 0.00 01:45:00 01:37:01 4.25 1.57 2.68 0.00 49.06 34.01 0.00 01:45:00 01:38:01 1.15 0.02 1.13 0.00 0.13 13.86 0.00 01:45:00 01:39:01 1.48 0.00 1.48 0.00 0.00 18.13 0.00 01:45:00 01:40:01 1.03 0.00 1.03 0.00 0.00 12.13 0.00 01:45:00 01:41:01 1.07 0.00 1.07 0.00 0.00 13.86 0.00 01:45:00 01:42:01 1.07 0.00 1.07 0.00 0.00 12.53 0.00 01:45:00 01:43:01 1.75 0.00 1.75 0.00 0.00 25.06 0.00 01:45:00 01:44:01 1.12 0.00 1.12 0.00 0.00 13.73 0.00 01:45:00 Average: 60.38 4.41 55.97 0.00 378.26 21465.54 0.00 01:45:00 01:45:00 01:33:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:45:00 01:34:01 28838896 31738940 567436 1.73 118144 3051156 2610844 7.69 1149956 2520316 376 01:45:00 01:35:01 28179180 31634692 656136 2.00 162628 3495036 2551960 7.52 1425028 2819148 115632 01:45:00 01:36:01 27706644 31770068 523324 1.59 172496 4045928 1812176 5.34 1284944 3386168 408 01:45:00 01:37:01 27704180 31770116 523032 1.59 172556 4047400 1812176 5.34 1289548 3385716 8 01:45:00 01:38:01 27711172 31777140 515968 1.57 172596 4047396 1812176 5.34 1280840 3385700 20 01:45:00 01:39:01 27711448 31777424 515584 1.57 172624 4047416 1812176 5.34 1280592 3385704 44 01:45:00 01:40:01 27719968 31786016 506984 1.54 172652 4047416 1812176 5.34 1271908 3385704 16 01:45:00 01:41:01 27720104 31786588 506960 1.54 172688 4047424 1812176 5.34 1271480 3386128 180 01:45:00 01:42:01 27720056 31786620 506880 1.54 172704 4047424 1812176 5.34 1271768 3386144 20 01:45:00 01:43:01 27719756 31786408 507088 1.54 172760 4047400 1812176 5.34 1271492 3386200 76 01:45:00 01:44:01 27719708 31786424 507032 1.54 172788 4047408 1812176 5.34 1272112 3386212 12 01:45:00 Average: 27859192 31763676 530584 1.61 166785 3906491 1952035 5.75 1279061 3255740 10617 01:45:00 01:45:00 01:33:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:45:00 01:34:01 vethf6847f7 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:45:00 01:34:01 ens3 620.31 410.11 6378.91 103.43 0.00 0.00 0.00 0.00 01:45:00 01:34:01 vethf627fda 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:45:00 01:34:01 docker0 3.78 3.33 0.38 45.56 0.00 0.00 0.00 0.00 01:45:00 01:34:01 lo 6.73 6.73 0.65 0.65 0.00 0.00 0.00 0.00 01:45:00 01:35:01 ens3 216.16 169.91 1148.00 78.82 0.00 0.00 0.00 0.00 01:45:00 01:35:01 docker0 108.65 130.43 8.64 1092.32 0.00 0.00 0.00 0.00 01:45:00 01:35:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 01:45:00 01:35:01 veth7cec440 0.00 0.13 0.00 0.01 0.00 0.00 0.00 0.00 01:45:00 01:36:01 ens3 120.70 88.92 2585.68 56.97 0.00 0.00 0.00 0.00 01:45:00 01:36:01 docker0 3.02 6.28 0.19 58.05 0.00 0.00 0.00 0.00 01:45:00 01:36:01 lo 1.60 1.60 0.16 0.16 0.00 0.00 0.00 0.00 01:45:00 01:37:01 ens3 9.30 6.07 7.57 6.06 0.00 0.00 0.00 0.00 01:45:00 01:37:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:45:00 01:37:01 lo 0.33 0.33 0.03 0.03 0.00 0.00 0.00 0.00 01:45:00 01:38:01 ens3 0.53 0.27 0.32 0.20 0.00 0.00 0.00 0.00 01:45:00 01:38:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:45:00 01:38:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:45:00 01:39:01 ens3 0.28 0.20 0.09 0.07 0.00 0.00 0.00 0.00 01:45:00 01:39:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:45:00 01:39:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:45:00 01:40:01 ens3 0.10 0.00 0.01 0.00 0.00 0.00 0.00 0.00 01:45:00 01:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:45:00 01:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:45:00 01:41:01 ens3 0.22 0.13 0.02 0.01 0.00 0.00 0.00 0.00 01:45:00 01:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:45:00 01:41:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:45:00 01:42:01 ens3 0.22 0.08 0.06 0.00 0.00 0.00 0.00 0.00 01:45:00 01:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:45:00 01:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:45:00 01:43:01 ens3 0.45 0.10 0.05 0.01 0.00 0.00 0.00 0.00 01:45:00 01:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:45:00 01:43:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:45:00 01:44:01 ens3 0.65 0.38 0.34 0.27 0.00 0.00 0.00 0.00 01:45:00 01:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:45:00 01:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:45:00 Average: ens3 88.08 61.47 920.09 22.35 0.00 0.00 0.00 0.00 01:45:00 Average: docker0 10.50 12.73 0.84 108.72 0.00 0.00 0.00 0.00 01:45:00 Average: lo 0.88 0.88 0.08 0.08 0.00 0.00 0.00 0.00 01:45:00 01:45:00 01:45:00 ---> sar -P ALL: 01:45:00 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-20353) 07/18/22 _x86_64_ (8 CPU) 01:45:00 01:45:00 01:32:40 LINUX RESTART (8 CPU) 01:45:00 01:45:00 01:33:01 CPU %user %nice %system %iowait %steal %idle 01:45:00 01:34:01 all 10.71 0.00 4.16 4.46 0.06 80.61 01:45:00 01:34:01 0 10.70 0.00 3.48 4.94 0.05 80.84 01:45:00 01:34:01 1 9.92 0.00 5.09 9.21 0.05 75.73 01:45:00 01:34:01 2 13.38 0.00 3.52 1.13 0.07 81.91 01:45:00 01:34:01 3 9.00 0.00 4.58 2.99 0.07 83.37 01:45:00 01:34:01 4 12.14 0.00 3.60 3.72 0.05 80.49 01:45:00 01:34:01 5 11.02 0.00 4.31 1.41 0.08 83.18 01:45:00 01:34:01 6 9.17 0.00 2.97 1.57 0.05 86.25 01:45:00 01:34:01 7 10.32 0.00 5.73 10.76 0.07 73.12 01:45:00 01:35:01 all 29.43 0.00 6.14 2.08 0.08 62.26 01:45:00 01:35:01 0 25.67 0.00 5.19 3.86 0.07 65.21 01:45:00 01:35:01 1 30.24 0.00 6.20 0.59 0.10 62.86 01:45:00 01:35:01 2 30.25 0.00 5.74 1.18 0.08 62.75 01:45:00 01:35:01 3 29.84 0.00 6.46 1.35 0.07 62.28 01:45:00 01:35:01 4 30.77 0.00 6.84 0.61 0.07 61.71 01:45:00 01:35:01 5 30.80 0.00 6.24 0.45 0.07 62.44 01:45:00 01:35:01 6 27.96 0.00 5.90 0.29 0.07 65.78 01:45:00 01:35:01 7 29.90 0.00 6.55 8.35 0.13 55.07 01:45:00 01:36:01 all 13.30 0.00 3.00 1.42 0.04 82.23 01:45:00 01:36:01 0 12.13 0.00 2.16 2.70 0.05 82.96 01:45:00 01:36:01 1 14.10 0.00 2.69 0.12 0.03 83.06 01:45:00 01:36:01 2 15.42 0.00 2.79 0.00 0.03 81.75 01:45:00 01:36:01 3 12.35 0.00 3.74 7.52 0.07 76.32 01:45:00 01:36:01 4 14.19 0.00 3.24 0.34 0.03 82.20 01:45:00 01:36:01 5 13.09 0.00 3.10 0.24 0.05 83.53 01:45:00 01:36:01 6 12.94 0.00 3.03 0.32 0.03 83.67 01:45:00 01:36:01 7 12.17 0.00 3.28 0.13 0.05 84.36 01:45:00 01:37:01 all 0.25 0.00 0.03 0.02 0.01 99.69 01:45:00 01:37:01 0 0.17 0.00 0.00 0.07 0.00 99.77 01:45:00 01:37:01 1 0.07 0.00 0.03 0.00 0.00 99.90 01:45:00 01:37:01 2 0.27 0.00 0.05 0.00 0.02 99.67 01:45:00 01:37:01 3 0.03 0.00 0.02 0.05 0.02 99.88 01:45:00 01:37:01 4 0.40 0.00 0.05 0.03 0.00 99.52 01:45:00 01:37:01 5 0.67 0.00 0.03 0.00 0.00 99.30 01:45:00 01:37:01 6 0.13 0.00 0.03 0.00 0.00 99.83 01:45:00 01:37:01 7 0.25 0.00 0.05 0.00 0.02 99.68 01:45:00 01:38:01 all 0.04 0.00 0.03 0.01 0.01 99.91 01:45:00 01:38:01 0 0.02 0.00 0.02 0.05 0.00 99.92 01:45:00 01:38:01 1 0.03 0.00 0.02 0.00 0.00 99.95 01:45:00 01:38:01 2 0.07 0.00 0.02 0.00 0.02 99.90 01:45:00 01:38:01 3 0.08 0.00 0.03 0.00 0.00 99.88 01:45:00 01:38:01 4 0.05 0.00 0.03 0.00 0.00 99.92 01:45:00 01:38:01 5 0.02 0.00 0.02 0.00 0.02 99.95 01:45:00 01:38:01 6 0.03 0.00 0.03 0.02 0.02 99.90 01:45:00 01:38:01 7 0.05 0.00 0.05 0.00 0.00 99.90 01:45:00 01:39:01 all 0.01 0.00 0.01 0.00 0.01 99.97 01:45:00 01:39:01 0 0.02 0.00 0.00 0.02 0.02 99.95 01:45:00 01:39:01 1 0.00 0.00 0.00 0.00 0.00 100.00 01:45:00 01:39:01 2 0.02 0.00 0.03 0.00 0.03 99.92 01:45:00 01:39:01 3 0.02 0.00 0.03 0.02 0.02 99.92 01:45:00 01:39:01 4 0.00 0.00 0.00 0.00 0.00 100.00 01:45:00 01:39:01 5 0.02 0.00 0.02 0.00 0.00 99.97 01:45:00 01:39:01 6 0.02 0.00 0.00 0.00 0.00 99.98 01:45:00 01:39:01 7 0.00 0.00 0.00 0.00 0.00 100.00 01:45:00 01:40:01 all 0.02 0.00 0.01 0.01 0.00 99.96 01:45:00 01:40:01 0 0.02 0.00 0.03 0.03 0.00 99.92 01:45:00 01:40:01 1 0.02 0.00 0.00 0.00 0.00 99.98 01:45:00 01:40:01 2 0.05 0.00 0.03 0.00 0.02 99.90 01:45:00 01:40:01 3 0.00 0.00 0.00 0.02 0.00 99.98 01:45:00 01:40:01 4 0.05 0.00 0.02 0.00 0.00 99.93 01:45:00 01:40:01 5 0.00 0.00 0.00 0.00 0.02 99.98 01:45:00 01:40:01 6 0.03 0.00 0.02 0.00 0.00 99.95 01:45:00 01:40:01 7 0.00 0.00 0.00 0.00 0.00 100.00 01:45:00 01:41:01 all 0.01 0.00 0.01 0.00 0.01 99.97 01:45:00 01:41:01 0 0.00 0.00 0.00 0.02 0.00 99.98 01:45:00 01:41:01 1 0.00 0.00 0.02 0.00 0.02 99.97 01:45:00 01:41:01 2 0.03 0.00 0.02 0.00 0.02 99.93 01:45:00 01:41:01 3 0.00 0.00 0.00 0.00 0.00 100.00 01:45:00 01:41:01 4 0.02 0.00 0.00 0.00 0.02 99.97 01:45:00 01:41:01 5 0.00 0.00 0.02 0.00 0.00 99.98 01:45:00 01:41:01 6 0.03 0.00 0.00 0.00 0.02 99.95 01:45:00 01:41:01 7 0.02 0.00 0.00 0.00 0.00 99.98 01:45:00 01:42:01 all 0.02 0.00 0.01 0.00 0.01 99.96 01:45:00 01:42:01 0 0.02 0.00 0.00 0.00 0.02 99.97 01:45:00 01:42:01 1 0.02 0.00 0.00 0.00 0.00 99.98 01:45:00 01:42:01 2 0.03 0.00 0.02 0.00 0.02 99.93 01:45:00 01:42:01 3 0.02 0.00 0.00 0.02 0.02 99.95 01:45:00 01:42:01 4 0.02 0.00 0.00 0.00 0.00 99.98 01:45:00 01:42:01 5 0.02 0.00 0.00 0.00 0.00 99.98 01:45:00 01:42:01 6 0.03 0.00 0.03 0.00 0.02 99.92 01:45:00 01:42:01 7 0.00 0.00 0.00 0.00 0.00 100.00 01:45:00 01:43:01 all 0.02 0.00 0.01 0.01 0.01 99.96 01:45:00 01:43:01 0 0.00 0.00 0.02 0.07 0.00 99.92 01:45:00 01:43:01 1 0.00 0.00 0.00 0.00 0.00 100.00 01:45:00 01:43:01 2 0.03 0.00 0.02 0.00 0.03 99.92 01:45:00 01:43:01 3 0.02 0.00 0.00 0.02 0.00 99.97 01:45:00 01:43:01 4 0.02 0.00 0.02 0.00 0.00 99.97 01:45:00 01:43:01 5 0.02 0.00 0.02 0.00 0.02 99.95 01:45:00 01:43:01 6 0.03 0.00 0.00 0.00 0.00 99.97 01:45:00 01:43:01 7 0.03 0.00 0.00 0.00 0.00 99.97 01:45:00 01:44:01 all 0.02 0.00 0.01 0.00 0.01 99.96 01:45:00 01:44:01 0 0.02 0.00 0.00 0.02 0.00 99.97 01:45:00 01:44:01 1 0.00 0.00 0.00 0.00 0.00 100.00 01:45:00 01:44:01 2 0.10 0.00 0.02 0.00 0.02 99.87 01:45:00 01:44:01 3 0.02 0.00 0.00 0.02 0.02 99.95 01:45:00 01:44:01 4 0.00 0.00 0.02 0.00 0.00 99.98 01:45:00 01:44:01 5 0.03 0.00 0.00 0.00 0.00 99.97 01:45:00 01:44:01 6 0.02 0.00 0.00 0.00 0.02 99.97 01:45:00 01:44:01 7 0.00 0.00 0.03 0.00 0.02 99.95 01:45:00 01:45:00 Average: CPU %user %nice %system %iowait %steal %idle 01:45:00 Average: all 4.86 0.00 1.21 0.72 0.02 93.19 01:45:00 Average: 0 4.39 0.00 0.98 1.06 0.02 93.54 01:45:00 Average: 1 4.91 0.00 1.27 0.89 0.02 92.91 01:45:00 Average: 2 5.39 0.00 1.11 0.21 0.03 93.27 01:45:00 Average: 3 4.63 0.00 1.34 1.08 0.02 92.93 01:45:00 Average: 4 5.20 0.00 1.25 0.42 0.02 93.12 01:45:00 Average: 5 5.03 0.00 1.24 0.19 0.02 93.51 01:45:00 Average: 6 4.55 0.00 1.08 0.20 0.02 94.15 01:45:00 Average: 7 4.75 0.00 1.41 1.73 0.03 92.07 01:45:00 01:45:00 01:45:00