Pull request #408 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 99b4e2dd8c0cbd38845803a79412f19676026d49+bdc8d5482e185b094ce26a93e774e43e884677e1 (0efb7d1729a3c56d84aaf38055f01a418b76c4a6) 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-ssh13091402360423508728.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-ssh3526780026441245626.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-408/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-408/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16645431872825000844.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-408/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7190710117027899653.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-ssh5925426026343402065.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 8213865985cc96b4d65921cf96fa8a01761a1acb The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-408/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-408/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11182640723903279486.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 8213865985cc96b4d65921cf96fa8a01761a1acb (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 8213865985cc96b4d65921cf96fa8a01761a1acb # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.2" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21909 in /w/workspace/gexfoundry_device-mqtt-go_PR-408 [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-408 # 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 bdc8d5482e185b094ce26a93e774e43e884677e1 into PR head commit 99b4e2dd8c0cbd38845803a79412f19676026d49 Merge succeeded, producing 99b4e2dd8c0cbd38845803a79412f19676026d49 Checking out Revision 99b4e2dd8c0cbd38845803a79412f19676026d49 (PR-408) > 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/408/head:refs/remotes/origin/PR-408 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 99b4e2dd8c0cbd38845803a79412f19676026d49 # 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 bdc8d5482e185b094ce26a93e774e43e884677e1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 99b4e2dd8c0cbd38845803a79412f19676026d49 # timeout=10 Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/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:36:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:36:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:36:45 ========================================================= 01:36:45 EdgeX Global Pipelines Version Info 01:36:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:36:46 ------------------- 01:36:46 stable info: 01:36:46 ------------------- 01:36:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:36:46 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 01:36:46 Message: update stable to v1.0.238 01:36:47 ------------------- 01:36:47 experimental info: 01:36:47 ------------------- 01:36:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:36:47 Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e 01:36:47 Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:36:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:36:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:36:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:36:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:36:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:36:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:36:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:36:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:36:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:36:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:36:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:36:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:36:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:36:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:36:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:36:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:36:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:36:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:36:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:36:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:36:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:36:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-408 [Pipeline] echo 01:36:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-408 [Pipeline] echo 01:36:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-408 [Pipeline] echo 01:36:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 99b4e2dd8c0cbd38845803a79412f19676026d49 [Pipeline] echo 01:36:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 99b4e2d [Pipeline] echo 01:36:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:36:49 provisioning config files... 01:36:49 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-408@tmp/config1071828810490026298tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:36:49 ---> docker-login.sh 01:36:49 nexus3.edgexfoundry.org:10001 01:36:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:49 Configure a credential helper to remove this warning. See 01:36:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:49 01:36:49 Login Succeeded 01:36:49 nexus3.edgexfoundry.org:10002 01:36:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:50 Configure a credential helper to remove this warning. See 01:36:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:50 01:36:50 Login Succeeded 01:36:50 nexus3.edgexfoundry.org:10003 01:36:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:50 Configure a credential helper to remove this warning. See 01:36:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:50 01:36:50 Login Succeeded 01:36:50 nexus3.edgexfoundry.org:10004 01:36:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:50 Configure a credential helper to remove this warning. See 01:36:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:50 01:36:50 Login Succeeded 01:36:50 docker.io 01:36:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:36:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:36:50 Configure a credential helper to remove this warning. See 01:36:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:36:50 01:36:50 Login Succeeded 01:36:50 ---> docker-login.sh ends [Pipeline] } 01:36:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:36:51 + git rev-list -1 --merges 99b4e2dd8c0cbd38845803a79412f19676026d49~1..99b4e2dd8c0cbd38845803a79412f19676026d49 [Pipeline] echo 01:36:51 -----------> git rev-list -1 --merges 99b4e2dd8c0cbd38845803a79412f19676026d49~1..99b4e2dd8c0cbd38845803a79412f19676026d49 99b4e2dd8c0cbd38845803a79412f19676026d49 [false] [Pipeline] sh 01:36:52 + git log --format=format:%s -1 99b4e2dd8c0cbd38845803a79412f19676026d49 [Pipeline] echo 01:36:52 ========================================================= 01:36:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:36:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:36:52 + git log --format=format:%s -1 99b4e2dd8c0cbd38845803a79412f19676026d49 [Pipeline] echo 01:36:52 [semverPrep] GIT_COMMIT: 99b4e2dd8c0cbd38845803a79412f19676026d49, Commit Message: build(deps): bump github.com/canonical/edgex-snap-hooks/v2 [Pipeline] echo 01:36:52 [semverPrep] This is not a build commit. [Pipeline] sh 01:36:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:36:52 + grep -v github /etc/ssh/ssh_known_hosts 01:36:52 + [ -e /tmp/ssh_known_hosts ] 01:36:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:36:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:36:52 + sudo tee -a /etc/ssh/ssh_known_hosts 01:36:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:36:53 01:36:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:36:53 0.1.4: Pulling from edgex-devops/py-git-semver 01:36:53 b85a868b505f: Pulling fs layer 01:36:53 e2be974225ed: Pulling fs layer 01:36:53 339a4e72a1f5: Pulling fs layer 01:36:53 988bab9f4d93: Pulling fs layer 01:36:53 1469e6f7b9e6: Pulling fs layer 01:36:53 eaf3925da568: Pulling fs layer 01:36:53 bab4dde63d76: Pulling fs layer 01:36:53 bde34c3a00c8: Pulling fs layer 01:36:53 988bab9f4d93: Waiting 01:36:53 1469e6f7b9e6: Waiting 01:36:53 b352a97aabf1: Pulling fs layer 01:36:53 4872d77fe225: Pulling fs layer 01:36:53 5851b861e8e6: Pulling fs layer 01:36:53 eaf3925da568: Waiting 01:36:53 bab4dde63d76: Waiting 01:36:53 bde34c3a00c8: Waiting 01:36:53 4872d77fe225: Waiting 01:36:53 5851b861e8e6: Waiting 01:36:53 b352a97aabf1: Waiting 01:36:53 e2be974225ed: Download complete 01:36:53 988bab9f4d93: Verifying Checksum 01:36:53 988bab9f4d93: Download complete 01:36:54 1469e6f7b9e6: Verifying Checksum 01:36:54 1469e6f7b9e6: Download complete 01:36:54 339a4e72a1f5: Verifying Checksum 01:36:54 339a4e72a1f5: Download complete 01:36:54 eaf3925da568: Verifying Checksum 01:36:54 eaf3925da568: Download complete 01:36:54 bde34c3a00c8: Download complete 01:36:54 b352a97aabf1: Download complete 01:36:54 4872d77fe225: Verifying Checksum 01:36:54 4872d77fe225: Download complete 01:36:54 b85a868b505f: Verifying Checksum 01:36:54 b85a868b505f: Download complete 01:36:54 bab4dde63d76: Verifying Checksum 01:36:54 bab4dde63d76: Download complete 01:36:55 b85a868b505f: Pull complete 01:36:55 e2be974225ed: Pull complete 01:36:56 339a4e72a1f5: Pull complete 01:36:56 988bab9f4d93: Pull complete 01:36:56 1469e6f7b9e6: Pull complete 01:36:56 eaf3925da568: Pull complete 01:36:58 bab4dde63d76: Pull complete 01:36:58 bde34c3a00c8: Pull complete 01:36:58 b352a97aabf1: Pull complete 01:36:58 4872d77fe225: Pull complete 01:36:59 5851b861e8e6: Pull complete 01:36:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:36:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:36:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:36:59 prd-ubuntu20.04-docker-8c-8g-21909 does not seem to be running inside a container 01:36:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-408 -v /w/workspace/gexfoundry_device-mqtt-go_PR-408:/w/workspace/gexfoundry_device-mqtt-go_PR-408:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-408@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-408@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:37:00 $ docker top d9c5f1e3f90803ea03f82621c19fdb6038c9da065f5afdb1e47d62fd12bd8aac -eo pid,comm 01:37:00 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:37:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:37:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:37:01 [ssh-agent] Looking for ssh-agent implementation... 01:37:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:37:01 $ docker exec d9c5f1e3f90803ea03f82621c19fdb6038c9da065f5afdb1e47d62fd12bd8aac ssh-agent 01:37:01 SSH_AUTH_SOCK=/tmp/ssh-frjmxH7dwSdx/agent.33 01:37:01 SSH_AGENT_PID=39 01:37:01 Running ssh-add (command line suppressed) 01:37:01 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-408@tmp/private_key_8765684761486066516.key (/w/workspace/gexfoundry_device-mqtt-go_PR-408@tmp/private_key_8765684761486066516.key) 01:37:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:37:01 + git tag --points-at HEAD [Pipeline] } 01:37:01 $ docker exec --env ******** --env ******** d9c5f1e3f90803ea03f82621c19fdb6038c9da065f5afdb1e47d62fd12bd8aac ssh-agent -k 01:37:01 unset SSH_AUTH_SOCK; 01:37:01 unset SSH_AGENT_PID; 01:37:01 echo Agent pid 39 killed; 01:37:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:37:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:37:02 [ssh-agent] Looking for ssh-agent implementation... 01:37:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:37:02 $ docker exec d9c5f1e3f90803ea03f82621c19fdb6038c9da065f5afdb1e47d62fd12bd8aac ssh-agent 01:37:02 SSH_AUTH_SOCK=/tmp/ssh-DCcLkyGNeLUt/agent.72 01:37:02 SSH_AGENT_PID=79 01:37:02 Running ssh-add (command line suppressed) 01:37:02 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-408@tmp/private_key_777929703427089698.key (/w/workspace/gexfoundry_device-mqtt-go_PR-408@tmp/private_key_777929703427089698.key) 01:37:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:37:02 + git semver init 01:37:03 2022-08-04 01:37:03,016 [run_init] DEBUG init version:0.0.0 force:False 01:37:03 2022-08-04 01:37:03,017 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-408/.semver 01:37:03 2022-08-04 01:37:03,017 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-408/.semver 01:37:03 2022-08-04 01:37:03,017 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-408/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-408, universal_newlines=False, shell=None, istream=None) 01:37:04 2022-08-04 01:37:03,792 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-408/.git/info/exclude 01:37:04 2022-08-04 01:37:03,793 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-408/.semver/PR-408 with force:False 01:37:04 2022-08-04 01:37:03,793 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-408/.semver/PR-408 01:37:04 2022-08-04 01:37:03,797 [execute] INFO git cat-file --batch-check 01:37:04 2022-08-04 01:37:03,798 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-408/.semver, universal_newlines=False, shell=None, istream=) 01:37:04 2022-08-04 01:37:03,803 [execute] INFO git cat-file --batch 01:37:04 2022-08-04 01:37:03,803 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-408/.semver, universal_newlines=False, shell=None, istream=) 01:37:04 2022-08-04 01:37:03,806 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-408/.semver/PR-408 01:37:04 0.0.0 [Pipeline] } 01:37:04 $ docker exec --env ******** --env ******** d9c5f1e3f90803ea03f82621c19fdb6038c9da065f5afdb1e47d62fd12bd8aac ssh-agent -k 01:37:04 unset SSH_AUTH_SOCK; 01:37:04 unset SSH_AGENT_PID; 01:37:04 echo Agent pid 79 killed; 01:37:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:37:04 + git semver [Pipeline] } 01:37:04 $ docker stop --time=1 d9c5f1e3f90803ea03f82621c19fdb6038c9da065f5afdb1e47d62fd12bd8aac 01:37:06 $ docker rm -f d9c5f1e3f90803ea03f82621c19fdb6038c9da065f5afdb1e47d62fd12bd8aac [Pipeline] // withDockerContainer [Pipeline] sh 01:37:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:37:06 Stashed 1 file(s) [Pipeline] echo 01:37:06 [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:37:07 provisioning config files... 01:37:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-408@tmp/config3824812461257944532tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:37:07 ---> docker-login.sh 01:37:07 nexus3.edgexfoundry.org:10001 01:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:07 Configure a credential helper to remove this warning. See 01:37:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:07 01:37:07 Login Succeeded 01:37:07 nexus3.edgexfoundry.org:10002 01:37:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:08 Configure a credential helper to remove this warning. See 01:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:08 01:37:08 Login Succeeded 01:37:08 nexus3.edgexfoundry.org:10003 01:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:08 Configure a credential helper to remove this warning. See 01:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:08 01:37:08 Login Succeeded 01:37:08 nexus3.edgexfoundry.org:10004 01:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:08 Configure a credential helper to remove this warning. See 01:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:08 01:37:08 Login Succeeded 01:37:08 docker.io 01:37:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:37:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:37:08 Configure a credential helper to remove this warning. See 01:37:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:37:08 01:37:08 Login Succeeded 01:37:08 ---> docker-login.sh ends [Pipeline] } 01:37:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:37:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:37:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:37:09 ========================================================= 01:37:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:37:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:09 + 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:37:09 Sending build context to Docker daemon 6.087MB 01:37:09 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:37:09 Step 2/12 : FROM ${BASE} AS builder 01:37:09 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:37:09 2408cc74d12b: Pulling fs layer 01:37:09 ea60b727a1ce: Pulling fs layer 01:37:09 30c4a7721957: Pulling fs layer 01:37:09 370296b7ddb6: Pulling fs layer 01:37:09 7c6cee850709: Pulling fs layer 01:37:09 39a5fcdaea64: Pulling fs layer 01:37:09 d94ebbe4e438: Pulling fs layer 01:37:09 bcfd1f05c69d: Pulling fs layer 01:37:09 59ccb84bbe0f: Pulling fs layer 01:37:09 59ccb84bbe0f: Waiting 01:37:09 370296b7ddb6: Waiting 01:37:09 7c6cee850709: Waiting 01:37:09 d94ebbe4e438: Waiting 01:37:09 bcfd1f05c69d: Waiting 01:37:09 39a5fcdaea64: Waiting 01:37:09 30c4a7721957: Verifying Checksum 01:37:09 30c4a7721957: Download complete 01:37:09 ea60b727a1ce: Verifying Checksum 01:37:09 ea60b727a1ce: Download complete 01:37:09 7c6cee850709: Verifying Checksum 01:37:09 7c6cee850709: Download complete 01:37:09 39a5fcdaea64: Verifying Checksum 01:37:09 39a5fcdaea64: Download complete 01:37:09 2408cc74d12b: Download complete 01:37:09 d94ebbe4e438: Download complete 01:37:09 2408cc74d12b: Pull complete 01:37:10 ea60b727a1ce: Pull complete 01:37:10 30c4a7721957: Pull complete 01:37:10 59ccb84bbe0f: Verifying Checksum 01:37:10 59ccb84bbe0f: Download complete 01:37:10 bcfd1f05c69d: Verifying Checksum 01:37:10 bcfd1f05c69d: Download complete 01:37:10 370296b7ddb6: Verifying Checksum 01:37:10 370296b7ddb6: Download complete 01:37:14 370296b7ddb6: Pull complete 01:37:14 7c6cee850709: Pull complete 01:37:14 39a5fcdaea64: Pull complete 01:37:15 d94ebbe4e438: Pull complete 01:37:17 bcfd1f05c69d: Pull complete 01:37:17 59ccb84bbe0f: Pull complete 01:37:18 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 01:37:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:37:18 ---> a4fb48ad2a94 01:37:18 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:37:20 ---> Running in f834109b058e 01:37:20 Removing intermediate container f834109b058e 01:37:20 ---> 7f9ffceeb7d4 01:37:20 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:37:20 ---> Running in 8e3888bff975 01:37:20 Removing intermediate container 8e3888bff975 01:37:20 ---> ef3c14f666a1 01:37:20 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:37:20 ---> Running in f25def181270 01:37:20 Removing intermediate container f25def181270 01:37:20 ---> 07c35ea0dfa5 01:37:20 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:37:20 ---> Running in 726992700bf9 01:37:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:37:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:37:22 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:37:22 Still waiting to schedule task 01:37:22 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:37:22 (2/4) Installing libedit (20210910.3.1-r0) 01:37:22 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:37:22 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:37:22 Executing busybox-1.35.0-r13.trigger 01:37:22 OK: 216 MiB in 55 packages 01:37:23 Removing intermediate container 726992700bf9 01:37:23 ---> 3d103495fe14 01:37:23 Step 7/12 : WORKDIR /device-mqtt-go 01:37:23 ---> Running in 6b598445c53c 01:37:23 Removing intermediate container 6b598445c53c 01:37:23 ---> 8f00195693f7 01:37:23 Step 8/12 : COPY go.mod vendor* ./ 01:37:23 ---> c7add3798014 01:37:23 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:37:23 ---> Running in 37b06be28e95 01:37:38 Removing intermediate container 37b06be28e95 01:37:38 ---> 91fbe72fe5f3 01:37:38 Step 10/12 : COPY . . 01:37:38 ---> d5fdc15e77ca 01:37:38 Step 11/12 : ARG MAKE='make build' 01:37:38 ---> Running in 02c4ae5888e5 01:37:38 Removing intermediate container 02c4ae5888e5 01:37:38 ---> 50132fcb5ad5 01:37:38 Step 12/12 : RUN $MAKE 01:37:38 ---> Running in 23cd358199b4 01:37:38 noop 01:37:39 Removing intermediate container 23cd358199b4 01:37:39 ---> 3852ca948609 01:37:39 Successfully built 3852ca948609 01:37:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:39 + docker inspect -f . ci-base-image-x86_64 01:37:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:39 prd-ubuntu20.04-docker-8c-8g-21909 does not seem to be running inside a container 01:37:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-408 -v /w/workspace/gexfoundry_device-mqtt-go_PR-408:/w/workspace/gexfoundry_device-mqtt-go_PR-408:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-408@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-408@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:37:40 $ docker top 8502f14369c92f4f59a5168f3f112bea8055c03ad4b76f28b147e3cc01d6fa72 -eo pid,comm [Pipeline] { [Pipeline] sh 01:37:40 + go version 01:37:40 go version go1.18.3 linux/amd64 [Pipeline] } 01:37:40 $ docker stop --time=1 8502f14369c92f4f59a5168f3f112bea8055c03ad4b76f28b147e3cc01d6fa72 01:37:42 $ docker rm -f 8502f14369c92f4f59a5168f3f112bea8055c03ad4b76f28b147e3cc01d6fa72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:42 + docker inspect -f . ci-base-image-x86_64 01:37:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:42 prd-ubuntu20.04-docker-8c-8g-21909 does not seem to be running inside a container 01:37:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/gexfoundry_device-mqtt-go_PR-408 -v /w/workspace/gexfoundry_device-mqtt-go_PR-408:/w/workspace/gexfoundry_device-mqtt-go_PR-408:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-408@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-408@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:37:43 $ docker top 4262ac6a32fb4f72329ab0205888774550d9bc7db34183a2d888557ca4d4f45b -eo pid,comm [Pipeline] { [Pipeline] sh 01:37:43 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-408 [Pipeline] fileExists [Pipeline] sh 01:37:44 + make test 01:37:44 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:37:44 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:37:54 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:37:54 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.8% of statements 01:37:54 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:38:02 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:38:02 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:38:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:38:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:38:05 ./bin/test-attribution-txt.sh 01:38:05 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 01:38:05 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 01:38:05 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 01:38:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:38:05 $ docker stop --time=1 4262ac6a32fb4f72329ab0205888774550d9bc7db34183a2d888557ca4d4f45b 01:38:06 $ docker rm -f 4262ac6a32fb4f72329ab0205888774550d9bc7db34183a2d888557ca4d4f45b [Pipeline] // withDockerContainer [Pipeline] sh 01:38:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:38:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:38:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:38:08 + ls -al . 01:38:08 total 180 01:38:08 drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 01:37 . 01:38:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 01:36 .. 01:38:08 -rw-rw-r-- 1 jenkins jenkins 140 Aug 4 01:36 .dockerignore 01:38:08 drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 01:37 .git 01:38:08 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 01:36 .github 01:38:08 -rw-rw-r-- 1 jenkins jenkins 329 Aug 4 01:36 .gitignore 01:38:08 -rw-rw-r-- 1 jenkins jenkins 41 Aug 4 01:36 .golangci.yml 01:38:08 drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 01:37 .semver 01:38:08 -rw-rw-r-- 1 jenkins jenkins 8917 Aug 4 01:36 Attribution.txt 01:38:08 -rw-rw-r-- 1 jenkins jenkins 11365 Aug 4 01:36 CHANGELOG.md 01:38:08 -rw-rw-r-- 1 jenkins jenkins 1932 Aug 4 01:36 Dockerfile 01:38:08 -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 01:36 GOVERNANCE.md 01:38:08 -rw-rw-r-- 1 jenkins jenkins 678 Aug 4 01:36 Jenkinsfile 01:38:08 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 4 01:36 LICENSE 01:38:08 -rw-rw-r-- 1 jenkins jenkins 1917 Aug 4 01:36 Makefile 01:38:08 -rw-rw-r-- 1 jenkins jenkins 620 Aug 4 01:36 OWNERS.md 01:38:08 -rw-rw-r-- 1 jenkins jenkins 2501 Aug 4 01:36 README.md 01:38:08 -rw-rw-r-- 1 jenkins jenkins 5 Aug 4 01:37 VERSION 01:38:08 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 01:36 bin 01:38:08 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 01:36 cmd 01:38:08 -rw-r--r-- 1 jenkins jenkins 17887 Aug 4 01:37 coverage.out 01:38:08 -rw-rw-r-- 1 jenkins jenkins 3452 Aug 4 01:36 go.mod 01:38:08 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 4 01:36 go.sum 01:38:08 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 01:36 internal 01:38:08 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 01:36 mock 01:38:08 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 01:36 snap 01:38:08 -rw-rw-r-- 1 jenkins jenkins 227 Aug 4 01:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:08 + 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=99b4e2dd8c0cbd38845803a79412f19676026d49 --label arch=amd64 --label version=0.0.0 . 01:38:08 Sending build context to Docker daemon 6.106MB 01:38:08 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 01:38:08 Step 2/24 : FROM ${BASE} AS builder 01:38:08 ---> 3852ca948609 01:38:08 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:38:08 ---> Running in 528e6344e97f 01:38:09 Removing intermediate container 528e6344e97f 01:38:09 ---> 3a68464d6296 01:38:09 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:38:09 ---> Running in 19d59760ff50 01:38:09 Removing intermediate container 19d59760ff50 01:38:09 ---> 38dee69ee520 01:38:09 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:38:09 ---> Running in 132b03df59d4 01:38:09 Removing intermediate container 132b03df59d4 01:38:09 ---> 6f83679a1dfa 01:38:09 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:38:09 ---> Running in b40c6c2c2c4e 01:38:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:38:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:38:11 OK: 216 MiB in 55 packages 01:38:11 Removing intermediate container b40c6c2c2c4e 01:38:11 ---> 0c8a8bed1331 01:38:11 Step 7/24 : WORKDIR /device-mqtt-go 01:38:11 ---> Running in 4226c00dba71 01:38:11 Removing intermediate container 4226c00dba71 01:38:11 ---> 79569ca88aff 01:38:11 Step 8/24 : COPY go.mod vendor* ./ 01:38:11 ---> f6097e0c94f2 01:38:11 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:38:11 ---> Running in 338941e4e872 01:38:12 Removing intermediate container 338941e4e872 01:38:12 ---> f29a56496385 01:38:12 Step 10/24 : COPY . . 01:38:13 ---> e7d3d1edffee 01:38:13 Step 11/24 : ARG MAKE='make build' 01:38:13 ---> Running in c772ddf90cdd 01:38:13 Removing intermediate container c772ddf90cdd 01:38:13 ---> b5a8d51423af 01:38:13 Step 12/24 : RUN $MAKE 01:38:13 ---> Running in 32fa1d3aaa14 01:38:13 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:38:35 Removing intermediate container 32fa1d3aaa14 01:38:35 ---> 110722db5bb4 01:38:35 Step 13/24 : FROM alpine:3.16 01:38:35 3.16: Pulling from library/alpine 01:38:35 530afca65e2e: Pulling fs layer 01:38:35 530afca65e2e: Download complete 01:38:35 530afca65e2e: Pull complete 01:38:35 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 01:38:35 Status: Downloaded newer image for alpine:3.16 01:38:35 ---> d7d3d98c851f 01:38:35 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:38:35 ---> Running in ce23fb96c160 01:38:35 Removing intermediate container ce23fb96c160 01:38:35 ---> 19b3fa0ae21e 01:38:35 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:38:35 ---> Running in 42aca118a2fe 01:38:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:38:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:38:35 (1/6) Installing dumb-init (1.2.5-r1) 01:38:35 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:38:35 (3/6) Installing libsodium (1.0.18-r0) 01:38:35 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:38:35 (5/6) Installing libzmq (4.3.4-r0) 01:38:35 (6/6) Installing zeromq (4.3.4-r0) 01:38:35 Executing busybox-1.35.0-r15.trigger 01:38:35 OK: 8 MiB in 20 packages 01:38:36 Removing intermediate container 42aca118a2fe 01:38:36 ---> cf335977a899 01:38:36 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:38:36 ---> 5f37fb75e00f 01:38:36 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:38:36 ---> 9440f5c0a958 01:38:36 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:38:37 ---> 14b65bdecabe 01:38:37 Step 19/24 : EXPOSE 59982 01:38:37 ---> Running in ddbbfdea7300 01:38:37 Removing intermediate container ddbbfdea7300 01:38:37 ---> ef66fefa1124 01:38:37 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:38:37 ---> Running in 4de82c55486b 01:38:37 Removing intermediate container 4de82c55486b 01:38:37 ---> 8adc38090d82 01:38:37 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:38:37 ---> Running in 5685a405b609 01:38:37 Removing intermediate container 5685a405b609 01:38:37 ---> 7c1590577b01 01:38:37 Step 22/24 : LABEL arch=amd64 01:38:37 ---> Running in fc79fe2c7b3c 01:38:37 Removing intermediate container fc79fe2c7b3c 01:38:37 ---> 01abde7c770b 01:38:37 Step 23/24 : LABEL git_sha=99b4e2dd8c0cbd38845803a79412f19676026d49 01:38:37 ---> Running in 0a5bcfe65759 01:38:37 Removing intermediate container 0a5bcfe65759 01:38:37 ---> 912c7b06c90a 01:38:37 Step 24/24 : LABEL version=0.0.0 01:38:37 ---> Running in 0f593fea6294 01:38:37 Removing intermediate container 0f593fea6294 01:38:37 ---> 71fb31f44329 01:38:37 [Warning] One or more build-args [ARCH] were not consumed 01:38:37 Successfully built 71fb31f44329 01:38:37 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:38:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:38:38 01:38:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:38:39 latest: Pulling from edgex-lftools-log-publisher 01:38:39 5eb5b503b376: Pulling fs layer 01:38:39 5c69ac0246d0: Pulling fs layer 01:38:39 ec43610c2a17: Pulling fs layer 01:38:39 3a2ae6a8a46f: Pulling fs layer 01:38:39 33b1e0a273af: Pulling fs layer 01:38:39 5d3b04190fa2: Pulling fs layer 01:38:39 2f39f015ded8: Pulling fs layer 01:38:39 33b1e0a273af: Waiting 01:38:39 5d3b04190fa2: Waiting 01:38:39 5c69ac0246d0: Download complete 01:38:39 3a2ae6a8a46f: Verifying Checksum 01:38:39 3a2ae6a8a46f: Download complete 01:38:39 33b1e0a273af: Verifying Checksum 01:38:39 33b1e0a273af: Download complete 01:38:39 ec43610c2a17: Verifying Checksum 01:38:39 ec43610c2a17: Download complete 01:38:39 5d3b04190fa2: Verifying Checksum 01:38:39 5d3b04190fa2: Download complete 01:38:39 5eb5b503b376: Verifying Checksum 01:38:39 5eb5b503b376: Download complete 01:38:40 2f39f015ded8: Verifying Checksum 01:38:40 2f39f015ded8: Download complete 01:38:41 5eb5b503b376: Pull complete 01:38:41 5c69ac0246d0: Pull complete 01:38:41 ec43610c2a17: Pull complete 01:38:41 3a2ae6a8a46f: Pull complete 01:38:41 33b1e0a273af: Pull complete 01:38:42 5d3b04190fa2: Pull complete 01:38:47 2f39f015ded8: Pull complete 01:38:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:38:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:38:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:38:47 prd-ubuntu20.04-docker-8c-8g-21909 does not seem to be running inside a container 01:38:47 $ 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-408 -v /w/workspace/gexfoundry_device-mqtt-go_PR-408:/w/workspace/gexfoundry_device-mqtt-go_PR-408:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-408@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-408@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:38:49 $ docker top 46d0bf202bfa8633417cc7277d11d861e842872799cda4aeec1401d1075ac4e2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:38:49 ---> job-cost.sh 01:38:49 lf-activate-venv: SKIPPING 01:38:49 INFO: No Stack... 01:38:50 INFO: Retrieving Pricing Info for: v3-standard-8 01:38:50 INFO: Archiving Costs [Pipeline] sh 01:38:50 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-408/archives/cost.csv 01:38:50 + cut -d, -f6 [Pipeline] lock 01:38:50 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-408-1-stack-cost] 01:38:50 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-408-1-stack-cost] did not exist. Created. 01:38:50 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-408-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:38:51 + echo total: 0.2199999988079071 [Pipeline] stash 01:38:51 Stashed 1 file(s) [Pipeline] } 01:38:51 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-408-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:38:51 $ docker stop --time=1 46d0bf202bfa8633417cc7277d11d861e842872799cda4aeec1401d1075ac4e2 01:38:52 $ docker rm -f 46d0bf202bfa8633417cc7277d11d861e842872799cda4aeec1401d1075ac4e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:40:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21911 in /w/workspace/gexfoundry_device-mqtt-go_PR-408 [Pipeline] { [Pipeline] ws 01:40:34 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:40:34 Selected Git installation does not exist. Using Default 01:40:34 The recommended git tool is: NONE 01:40:42 using credential edgex-jenkins-ssh 01:40:42 Cloning the remote Git repository 01:40:42 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:40:42 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:40:42 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:40:42 > git --version # timeout=10 01:40:42 > git --version # 'git version 2.25.1' 01:40:42 using GIT_SSH to set credentials SSH Credentials for GitHub 01:40:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:40:44 Merging remotes/origin/main commit bdc8d5482e185b094ce26a93e774e43e884677e1 into PR head commit 99b4e2dd8c0cbd38845803a79412f19676026d49 01:40:44 Merge succeeded, producing 99b4e2dd8c0cbd38845803a79412f19676026d49 01:40:44 Checking out Revision 99b4e2dd8c0cbd38845803a79412f19676026d49 (PR-408) 01:40:43 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:40:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:40:43 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:40:43 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:40:43 using GIT_SSH to set credentials SSH Credentials for GitHub 01:40:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/408/head:refs/remotes/origin/PR-408 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:40:44 > git config core.sparsecheckout # timeout=10 01:40:44 > git checkout -f 99b4e2dd8c0cbd38845803a79412f19676026d49 # timeout=10 01:40:44 > git remote # timeout=10 01:40:44 > git config --get remote.origin.url # timeout=10 01:40:44 using GIT_SSH to set credentials SSH Credentials for GitHub 01:40:44 > git merge bdc8d5482e185b094ce26a93e774e43e884677e1 # timeout=10 01:40:44 > git rev-parse HEAD^{commit} # timeout=10 01:40:44 > git config core.sparsecheckout # timeout=10 01:40:44 > git checkout -f 99b4e2dd8c0cbd38845803a79412f19676026d49 # timeout=10 01:40:48 Commit message: "build(deps): bump github.com/canonical/edgex-snap-hooks/v2" 01:40:48 > git --version # timeout=10 01:40:48 > git --version # 'git version 2.25.1' 01:40:48 fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:40:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:40:49 % Total % Received % Xferd Average Speed Time Time Time Current 01:40:49 Dload Upload Total Spent Left Speed 01:40:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 227k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh 01:40:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:40:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:40:51 + sudo tee /etc/docker/daemon.new 01:40:51 { 01:40:51 "registry-mirrors": [ 01:40:51 "https://nexus3.edgexfoundry.org:10001" 01:40:51 ], 01:40:51 "bip": "10.250.0.254/24", 01:40:51 "hosts": [ 01:40:51 "tcp://0.0.0.0:5555", 01:40:51 "unix:///var/run/docker.sock" 01:40:51 ], 01:40:51 "mtu": 1458, 01:40:51 "selinux-enabled": true, 01:40:51 "seccomp-profile": "/etc/docker/seccomp.json" 01:40:51 } [Pipeline] sh 01:40:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:40:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:41:10 provisioning config files... 01:41:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config9216204035260581011tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:41:10 ---> docker-login.sh 01:41:10 nexus3.edgexfoundry.org:10001 01:41:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:11 Configure a credential helper to remove this warning. See 01:41:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:11 01:41:11 Login Succeeded 01:41:11 nexus3.edgexfoundry.org:10002 01:41:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:12 Configure a credential helper to remove this warning. See 01:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:12 01:41:12 Login Succeeded 01:41:12 nexus3.edgexfoundry.org:10003 01:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:12 Configure a credential helper to remove this warning. See 01:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:12 01:41:12 Login Succeeded 01:41:12 nexus3.edgexfoundry.org:10004 01:41:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:12 Configure a credential helper to remove this warning. See 01:41:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:12 01:41:12 Login Succeeded 01:41:12 docker.io 01:41:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:41:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:41:13 Configure a credential helper to remove this warning. See 01:41:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:41:13 01:41:13 Login Succeeded 01:41:13 ---> docker-login.sh ends [Pipeline] } 01:41:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:41:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:41:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:41:14 ========================================================= 01:41:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:41:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:14 + 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:41:14 Sending build context to Docker daemon 3.144MB 01:41:14 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 01:41:14 Step 2/12 : FROM ${BASE} AS builder 01:41:15 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:41:15 b3c136eddcbf: Pulling fs layer 01:41:15 c0a3192eca97: Pulling fs layer 01:41:15 a050256f5b6f: Pulling fs layer 01:41:15 656be50a0ddc: Pulling fs layer 01:41:15 2bbca73fdf42: Pulling fs layer 01:41:15 46d945488cbd: Pulling fs layer 01:41:15 8a5474983e97: Pulling fs layer 01:41:15 329c88fbcd65: Pulling fs layer 01:41:15 656be50a0ddc: Waiting 01:41:15 2bbca73fdf42: Waiting 01:41:15 46d945488cbd: Waiting 01:41:15 8a5474983e97: Waiting 01:41:15 329c88fbcd65: Waiting 01:41:15 a050256f5b6f: Verifying Checksum 01:41:15 a050256f5b6f: Download complete 01:41:15 c0a3192eca97: Verifying Checksum 01:41:15 c0a3192eca97: Download complete 01:41:15 2bbca73fdf42: Verifying Checksum 01:41:15 2bbca73fdf42: Download complete 01:41:15 46d945488cbd: Download complete 01:41:15 b3c136eddcbf: Verifying Checksum 01:41:16 b3c136eddcbf: Pull complete 01:41:16 329c88fbcd65: Verifying Checksum 01:41:16 329c88fbcd65: Download complete 01:41:16 c0a3192eca97: Pull complete 01:41:16 a050256f5b6f: Pull complete 01:41:17 8a5474983e97: Verifying Checksum 01:41:17 8a5474983e97: Download complete 01:41:17 656be50a0ddc: Verifying Checksum 01:41:17 656be50a0ddc: Download complete 01:41:30 656be50a0ddc: Pull complete 01:41:30 2bbca73fdf42: Pull complete 01:41:30 46d945488cbd: Pull complete 01:41:36 8a5474983e97: Pull complete 01:41:38 329c88fbcd65: Pull complete 01:41:38 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 01:41:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:41:38 ---> ff4287adb874 01:41:38 Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:41:40 ---> Running in 05489e3af367 01:41:40 Removing intermediate container 05489e3af367 01:41:40 ---> 38e643a5a418 01:41:40 Step 4/12 : ARG ALPINE_PKG_EXTRA="" 01:41:40 ---> Running in 4634a85c8b93 01:41:41 Removing intermediate container 4634a85c8b93 01:41:41 ---> 199f1195fa81 01:41:41 Step 5/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:41:41 ---> Running in a2255cee994d 01:41:43 Removing intermediate container a2255cee994d 01:41:43 ---> b161d9ef7f56 01:41:43 Step 6/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:41:43 ---> Running in 33918032b18e 01:41:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:41:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:41:47 (1/4) Installing openssh-keygen (9.0_p1-r2) 01:41:47 (2/4) Installing libedit (20210910.3.1-r0) 01:41:47 (3/4) Installing openssh-client-common (9.0_p1-r2) 01:41:47 (4/4) Installing openssh-client-default (9.0_p1-r2) 01:41:47 Executing busybox-1.35.0-r13.trigger 01:41:47 OK: 226 MiB in 55 packages 01:41:48 Removing intermediate container 33918032b18e 01:41:48 ---> e1411eb0a0dd 01:41:48 Step 7/12 : WORKDIR /device-mqtt-go 01:41:48 ---> Running in 5e1095906c8c 01:41:48 Removing intermediate container 5e1095906c8c 01:41:48 ---> 0baf8c67b044 01:41:48 Step 8/12 : COPY go.mod vendor* ./ 01:41:49 ---> 15526d2fb53c 01:41:49 Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:41:49 ---> Running in 40f8a6b048d1 01:42:46 Removing intermediate container 40f8a6b048d1 01:42:46 ---> 6d357318771c 01:42:46 Step 10/12 : COPY . . 01:42:46 ---> 24b8dd157d8e 01:42:46 Step 11/12 : ARG MAKE='make build' 01:42:46 ---> Running in 7763f43cc1ef 01:42:46 Removing intermediate container 7763f43cc1ef 01:42:46 ---> 0beb8a4d95cf 01:42:46 Step 12/12 : RUN $MAKE 01:42:46 ---> Running in 15f154d6198d 01:42:46 noop 01:42:46 Removing intermediate container 15f154d6198d 01:42:46 ---> 3e44aa420112 01:42:46 Successfully built 3e44aa420112 01:42:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:46 + docker inspect -f . ci-base-image-arm64 01:42:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:42:46 prd-ubuntu20.04-docker-arm64-4c-16g-21911 does not seem to be running inside a container 01:42:47 $ 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:42:48 $ docker top 55a7fe865fcdd933524a88dddb849f8cb23b70d5bd8ce3232580929fe489f383 -eo pid,comm [Pipeline] { [Pipeline] sh 01:42:49 + go version 01:42:49 go version go1.18.3 linux/arm64 [Pipeline] } 01:42:49 $ docker stop --time=1 55a7fe865fcdd933524a88dddb849f8cb23b70d5bd8ce3232580929fe489f383 01:42:51 $ docker rm -f 55a7fe865fcdd933524a88dddb849f8cb23b70d5bd8ce3232580929fe489f383 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:51 + docker inspect -f . ci-base-image-arm64 01:42:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:42:52 prd-ubuntu20.04-docker-arm64-4c-16g-21911 does not seem to be running inside a container 01:42:52 $ 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:42:53 $ docker top 0dfa41a61b81eee8228999f921d71f5533b00c6f40f9d70e1e60cb341864a3c9 -eo pid,comm [Pipeline] { [Pipeline] sh 01:42:54 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:42:55 + make test 01:42:55 GCO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:42:57 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:44:34 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:44:34 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 21.8% of statements 01:44:34 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:44:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:44:34 GCO_ENABLED=1 GO111MODULE=on go vet ./... 01:44:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:44:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:44:49 ./bin/test-attribution-txt.sh 01:44:49 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 01:44:49 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 01:44:49 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 01:44:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:44:49 $ docker stop --time=1 0dfa41a61b81eee8228999f921d71f5533b00c6f40f9d70e1e60cb341864a3c9 01:44:51 $ docker rm -f 0dfa41a61b81eee8228999f921d71f5533b00c6f40f9d70e1e60cb341864a3c9 [Pipeline] // withDockerContainer [Pipeline] sh 01:44:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:44:52 Warning: overwriting stash ‘coverage-report’ 01:44:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:44:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:44:54 + ls -al . 01:44:54 total 176 01:44:54 drwxrwxr-x 9 jenkins jenkins 4096 Aug 4 01:42 . 01:44:54 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 01:40 .. 01:44:54 -rw-rw-r-- 1 jenkins jenkins 140 Aug 4 01:40 .dockerignore 01:44:54 drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 01:40 .git 01:44:54 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 01:40 .github 01:44:54 -rw-rw-r-- 1 jenkins jenkins 329 Aug 4 01:40 .gitignore 01:44:54 -rw-rw-r-- 1 jenkins jenkins 41 Aug 4 01:40 .golangci.yml 01:44:54 -rw-rw-r-- 1 jenkins jenkins 8917 Aug 4 01:40 Attribution.txt 01:44:54 -rw-rw-r-- 1 jenkins jenkins 11365 Aug 4 01:40 CHANGELOG.md 01:44:54 -rw-rw-r-- 1 jenkins jenkins 1932 Aug 4 01:40 Dockerfile 01:44:54 -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 01:40 GOVERNANCE.md 01:44:54 -rw-rw-r-- 1 jenkins jenkins 678 Aug 4 01:40 Jenkinsfile 01:44:54 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 4 01:40 LICENSE 01:44:54 -rw-rw-r-- 1 jenkins jenkins 1917 Aug 4 01:40 Makefile 01:44:54 -rw-rw-r-- 1 jenkins jenkins 620 Aug 4 01:40 OWNERS.md 01:44:54 -rw-rw-r-- 1 jenkins jenkins 2501 Aug 4 01:40 README.md 01:44:54 -rw-rw-r-- 1 jenkins jenkins 5 Aug 4 01:37 VERSION 01:44:54 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 01:40 bin 01:44:54 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 01:40 cmd 01:44:54 -rw-r--r-- 1 jenkins jenkins 17887 Aug 4 01:44 coverage.out 01:44:54 -rw-rw-r-- 1 jenkins jenkins 3452 Aug 4 01:40 go.mod 01:44:54 -rw-rw-r-- 1 jenkins jenkins 36716 Aug 4 01:40 go.sum 01:44:54 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 01:40 internal 01:44:54 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 01:40 mock 01:44:54 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 01:40 snap 01:44:54 -rw-rw-r-- 1 jenkins jenkins 227 Aug 4 01:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:54 + 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=99b4e2dd8c0cbd38845803a79412f19676026d49 --label arch=arm64 --label version=0.0.0 . 01:44:54 Sending build context to Docker daemon 3.162MB 01:44:54 Step 1/24 : ARG BASE=golang:1.18-alpine3.16 01:44:54 Step 2/24 : FROM ${BASE} AS builder 01:44:54 ---> 3e44aa420112 01:44:54 Step 3/24 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:44:55 ---> Running in 1d17e8af17fb 01:44:55 Removing intermediate container 1d17e8af17fb 01:44:55 ---> f7a57b0fba7d 01:44:55 Step 4/24 : ARG ALPINE_PKG_EXTRA="" 01:44:55 ---> Running in c9b77e925485 01:44:55 Removing intermediate container c9b77e925485 01:44:55 ---> 1e2aca950f02 01:44:55 Step 5/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 01:44:55 ---> Running in f63210a53937 01:44:57 Removing intermediate container f63210a53937 01:44:57 ---> db2c65421495 01:44:57 Step 6/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:44:57 ---> Running in 66cba578886a 01:44:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:44:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:45:00 OK: 226 MiB in 55 packages 01:45:01 Removing intermediate container 66cba578886a 01:45:01 ---> 610fca62140a 01:45:01 Step 7/24 : WORKDIR /device-mqtt-go 01:45:01 ---> Running in 197af013f394 01:45:01 Removing intermediate container 197af013f394 01:45:01 ---> 1a36748c53a3 01:45:01 Step 8/24 : COPY go.mod vendor* ./ 01:45:02 ---> f60528c93994 01:45:02 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:45:02 ---> Running in 14d4eae7a000 01:45:04 Removing intermediate container 14d4eae7a000 01:45:04 ---> 45af559c4209 01:45:04 Step 10/24 : COPY . . 01:45:05 ---> 69df48417145 01:45:05 Step 11/24 : ARG MAKE='make build' 01:45:05 ---> Running in 69dd3fa01ecd 01:45:05 Removing intermediate container 69dd3fa01ecd 01:45:05 ---> c826d30351fb 01:45:05 Step 12/24 : RUN $MAKE 01:45:05 ---> Running in c6841d472bd4 01:45:06 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:47:28 Removing intermediate container c6841d472bd4 01:47:28 ---> ebef6068bba6 01:47:28 Step 13/24 : FROM alpine:3.16 01:47:28 3.16: Pulling from library/alpine 01:47:28 f97344484467: Pulling fs layer 01:47:28 f97344484467: Download complete 01:47:28 f97344484467: Pull complete 01:47:28 Digest: sha256:7580ece7963bfa863801466c0a488f11c86f85d9988051a9f9c68cb27f6b7872 01:47:28 Status: Downloaded newer image for alpine:3.16 01:47:28 ---> 3d81c46cd875 01:47:28 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:47:28 ---> Running in d3290802b854 01:47:28 Removing intermediate container d3290802b854 01:47:28 ---> ddc2851baa4b 01:47:28 Step 15/24 : RUN apk add --update --no-cache zeromq dumb-init 01:47:28 ---> Running in 47be010e8959 01:47:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:47:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:47:28 (1/6) Installing dumb-init (1.2.5-r1) 01:47:28 (2/6) Installing libgcc (11.2.1_git20220219-r2) 01:47:28 (3/6) Installing libsodium (1.0.18-r0) 01:47:28 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 01:47:28 (5/6) Installing libzmq (4.3.4-r0) 01:47:28 (6/6) Installing zeromq (4.3.4-r0) 01:47:28 Executing busybox-1.35.0-r15.trigger 01:47:28 OK: 8 MiB in 20 packages 01:47:29 Removing intermediate container 47be010e8959 01:47:29 ---> 812517570a33 01:47:29 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:47:31 ---> 2a3010918597 01:47:31 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:47:31 ---> a602147974f2 01:47:31 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:47:32 ---> fcfacc89cf41 01:47:32 Step 19/24 : EXPOSE 59982 01:47:32 ---> Running in f4a10d0bd61c 01:47:32 Removing intermediate container f4a10d0bd61c 01:47:32 ---> 34a06c857360 01:47:32 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:47:32 ---> Running in 49d089ad86ed 01:47:32 Removing intermediate container 49d089ad86ed 01:47:32 ---> a7d1cd2f0f66 01:47:32 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:47:33 ---> Running in 6a4e20607bf2 01:47:33 Removing intermediate container 6a4e20607bf2 01:47:33 ---> 011e41fc628c 01:47:33 Step 22/24 : LABEL arch=arm64 01:47:33 ---> Running in 553e31ac858f 01:47:33 Removing intermediate container 553e31ac858f 01:47:33 ---> 9188f45c1027 01:47:33 Step 23/24 : LABEL git_sha=99b4e2dd8c0cbd38845803a79412f19676026d49 01:47:33 ---> Running in cf6b3d16b43e 01:47:34 Removing intermediate container cf6b3d16b43e 01:47:34 ---> 0af103dbacf3 01:47:34 Step 24/24 : LABEL version=0.0.0 01:47:34 ---> Running in 863d155ce40f 01:47:34 Removing intermediate container 863d155ce40f 01:47:34 ---> 429f8d8ae0ab 01:47:34 [Warning] One or more build-args [ARCH] were not consumed 01:47:34 Successfully built 429f8d8ae0ab 01:47:34 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:47:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:47:35 01:47:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:47:36 arm64: Pulling from edgex-lftools-log-publisher 01:47:36 8998bd30e6a1: Pulling fs layer 01:47:36 04944245beec: Pulling fs layer 01:47:36 699f458cf7ca: Pulling fs layer 01:47:36 765212b225bb: Pulling fs layer 01:47:36 f23df028b6ca: Pulling fs layer 01:47:36 d65c8cfc05b1: Pulling fs layer 01:47:36 2437ff75d9bd: Pulling fs layer 01:47:36 765212b225bb: Waiting 01:47:36 f23df028b6ca: Waiting 01:47:36 d65c8cfc05b1: Waiting 01:47:36 2437ff75d9bd: Waiting 01:47:36 04944245beec: Verifying Checksum 01:47:36 04944245beec: Download complete 01:47:36 765212b225bb: Verifying Checksum 01:47:36 765212b225bb: Download complete 01:47:36 f23df028b6ca: Verifying Checksum 01:47:36 f23df028b6ca: Download complete 01:47:36 d65c8cfc05b1: Download complete 01:47:36 699f458cf7ca: Verifying Checksum 01:47:36 699f458cf7ca: Download complete 01:47:36 8998bd30e6a1: Verifying Checksum 01:47:36 8998bd30e6a1: Download complete 01:47:39 2437ff75d9bd: Verifying Checksum 01:47:39 2437ff75d9bd: Download complete 01:47:41 8998bd30e6a1: Pull complete 01:47:41 04944245beec: Pull complete 01:47:43 699f458cf7ca: Pull complete 01:47:43 765212b225bb: Pull complete 01:47:44 f23df028b6ca: Pull complete 01:47:44 d65c8cfc05b1: Pull complete 01:47:59 2437ff75d9bd: Pull complete 01:47:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:47:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:47:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:59 prd-ubuntu20.04-docker-arm64-4c-16g-21911 does not seem to be running inside a container 01:47:59 $ 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:48:02 $ docker top 721704d5f2d94a6186ed58000f45f8654aa7f1fdf17c38132c14927041c3866d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:48:03 ---> job-cost.sh 01:48:03 lf-activate-venv: SKIPPING 01:48:03 INFO: No Stack... 01:48:03 INFO: Retrieving Pricing Info for: v3-standard-4 01:48:04 INFO: Archiving Costs [Pipeline] sh 01:48:05 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:48:05 + cut -d, -f6 [Pipeline] lock 01:48:05 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-408-1-stack-cost] 01:48:05 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-408-1-stack-cost] did not exist. Created. 01:48:05 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-408-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:48:06 /w/workspace/device-mqtt-go/1@tmp/durable-bc5ac9b2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:48:07 + echo total: 0.10999999940395355 [Pipeline] stash 01:48:07 Warning: overwriting stash ‘stack-cost’ 01:48:07 Stashed 1 file(s) [Pipeline] } 01:48:07 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-408-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:48:07 $ docker stop --time=1 721704d5f2d94a6186ed58000f45f8654aa7f1fdf17c38132c14927041c3866d 01:48:08 $ docker rm -f 721704d5f2d94a6186ed58000f45f8654aa7f1fdf17c38132c14927041c3866d [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:48:09 provisioning config files... 01:48:09 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-408@tmp/config6865003060166818796tmp [Pipeline] { [Pipeline] sh 01:48:10 + set +x 01:48:10 + curl -s https://codecov.io/bash 01:48:10 + bash -s -- 01:48:10 01:48:10 _____ _ 01:48:10 / ____| | | 01:48:10 | | ___ __| | ___ ___ _____ __ 01:48:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:48:10 | |___| (_) | (_| | __/ (_| (_) \ V / 01:48:10 \_____\___/ \__,_|\___|\___\___/ \_/ 01:48:10 Bash-1.0.6 01:48:10 01:48:10 01:48:10 ==> git version 2.25.1 found 01:48:10 ==> 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:48:10 Release-Date: 2020-01-08 01:48:10 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:48:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:48:10 ==> Jenkins CI detected. 01:48:10 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-408 01:48:10 project root: . 01:48:10 --> token set from env 01:48:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:48:10 ==> Running gcov in . (disable via -X gcov) 01:48:10 ==> Python coveragepy not found 01:48:10 ==> Searching for coverage reports in: 01:48:10 + . 01:48:10 -> Found 1 reports 01:48:10 ==> Detecting git/mercurial file structure 01:48:10 ==> Reading reports 01:48:10 + ./coverage.out bytes=17887 01:48:10 ==> Appending adjustments 01:48:10 https://docs.codecov.io/docs/fixing-reports 01:48:10 + Found adjustments 01:48:10 ==> Gzipping contents 01:48:10 4.0K /tmp/codecov.TtxKxw.gz 01:48:10 ==> Uploading reports 01:48:10 url: https://codecov.io 01:48:10 query: branch=PR-408&commit=99b4e2dd8c0cbd38845803a79412f19676026d49&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-408%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=408&job=&cmd_args= 01:48:10 -> Pinging Codecov 01:48:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-408&commit=99b4e2dd8c0cbd38845803a79412f19676026d49&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-408%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=408&job=&cmd_args= 01:48:10 -> Uploading to 01:48:10 https://storage.googleapis.com/codecov/v4/raw/2022-08-04/7D719EC7BBE17E464838252E33014C33/99b4e2dd8c0cbd38845803a79412f19676026d49/661a0179-b32f-4ba2-baf8-ace8fd0a4601.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220804%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220804T014810Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d180dc57e33703bcde451a8397a37762acc0f4d29372684e1856a568d068d330 01:48:10 % Total % Received % Xferd Average Speed Time Time Time Current 01:48:10 Dload Upload Total Spent Left Speed 01:48:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3203 0 0 100 3203 0 12178 --:--:-- --:--:-- --:--:-- 12225 01:48:10 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-mqtt-go/commit/99b4e2dd8c0cbd38845803a79412f19676026d49 [Pipeline] } 01:48:10 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:48:12 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-408/archives ] 01:48:12 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-408/archives 01:48:12 total 16 01:48:12 drwxr-xr-x 3 root root 4096 Aug 4 01:38 . 01:48:12 drwxrwxr-x 11 jenkins jenkins 4096 Aug 4 01:38 .. 01:48:12 drwxr-xr-x 2 root root 4096 Aug 4 01:38 cost 01:48:12 -rw-r--r-- 1 root root 86 Aug 4 01:38 cost.csv 01:48:12 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-408/archives 01:48:12 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-408/archives 01:48:12 total 16 01:48:12 drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 01:38 . 01:48:12 drwxrwxr-x 11 jenkins jenkins 4096 Aug 4 01:38 .. 01:48:12 drwxr-xr-x 2 jenkins jenkins 4096 Aug 4 01:38 cost 01:48:12 -rw-r--r-- 1 jenkins jenkins 86 Aug 4 01:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:48:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:48:13 ---> package-listing.sh 01:48:13 ++ facter osfamily 01:48:13 ++ tr '[:upper:]' '[:lower:]' 01:48:14 + OS_FAMILY=debian 01:48:14 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-408 01:48:14 + START_PACKAGES=/tmp/packages_start.txt 01:48:14 + END_PACKAGES=/tmp/packages_end.txt 01:48:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:48:14 + PACKAGES=/tmp/packages_start.txt 01:48:14 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-408 ']' 01:48:14 + PACKAGES=/tmp/packages_end.txt 01:48:14 + case "${OS_FAMILY}" in 01:48:14 + dpkg -l 01:48:14 + grep '^ii' 01:48:14 + '[' -f /tmp/packages_start.txt ']' 01:48:14 + '[' -f /tmp/packages_end.txt ']' 01:48:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:48:14 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-408 ']' 01:48:14 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-408/archives/ 01:48:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-408/archives/ [Pipeline] echo 01:48:14 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-408/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:48:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:48:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:15 prd-ubuntu20.04-docker-8c-8g-21909 does not seem to be running inside a container 01:48:15 $ 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-408/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-408 -v /w/workspace/gexfoundry_device-mqtt-go_PR-408:/w/workspace/gexfoundry_device-mqtt-go_PR-408:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-408@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-408@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:48:15 $ docker top daf433857d96a96965cfe481e457b2c0d08421d6792de4ad39ec2f0b6997a25e -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:16 + touch /tmp/pre-build-complete [Pipeline] sh 01:48:16 + mkdir -p /var/log/sysstat [Pipeline] sh 01:48:16 + ls /var/log/sa-host 01:48:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:48:16 provisioning config files... 01:48:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-408@tmp/config6413548756582806789tmp [Pipeline] { [Pipeline] echo 01:48:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:48:17 ---> create-netrc.sh [Pipeline] } 01:48:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:48:17 ---> python-tools-install.sh [Pipeline] echo 01:48:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:48:18 ---> sudo-logs.sh 01:48:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:48:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:48:18 ---> job-cost.sh 01:48:18 lf-activate-venv: SKIPPING 01:48:18 DEBUG: total: 0.2199999988079071 01:48:18 INFO: Retrieving Stack Cost... 01:48:18 INFO: Retrieving Pricing Info for: v3-standard-8 01:48:19 INFO: Archiving Costs [Pipeline] echo 01:48:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:48:19 ---> logs-deploy.sh 01:48:19 lf-activate-venv: SKIPPING 01:48:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-408/1 01:48:19 INFO: archiving workspace using pattern(s): 01:48:20 Archives upload complete. 01:48:20 INFO: archiving logs to Nexus 01:48:21 ---> uname -a: 01:48:21 Linux prd-ubuntu20-04-docker-8c-8g-21909 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 01:48:21 01:48:21 01:48:21 ---> lscpu: 01:48:21 Architecture: x86_64 01:48:21 CPU op-mode(s): 32-bit, 64-bit 01:48:21 Byte Order: Little Endian 01:48:21 Address sizes: 40 bits physical, 48 bits virtual 01:48:21 CPU(s): 8 01:48:21 On-line CPU(s) list: 0-7 01:48:21 Thread(s) per core: 1 01:48:21 Core(s) per socket: 1 01:48:21 Socket(s): 8 01:48:21 NUMA node(s): 1 01:48:21 Vendor ID: AuthenticAMD 01:48:21 CPU family: 23 01:48:21 Model: 49 01:48:21 Model name: AMD EPYC-Rome Processor 01:48:21 Stepping: 0 01:48:21 CPU MHz: 2799.994 01:48:21 BogoMIPS: 5599.98 01:48:21 Virtualization: AMD-V 01:48:21 Hypervisor vendor: KVM 01:48:21 Virtualization type: full 01:48:21 L1d cache: 256 KiB 01:48:21 L1i cache: 256 KiB 01:48:21 L2 cache: 4 MiB 01:48:21 L3 cache: 128 MiB 01:48:21 NUMA node0 CPU(s): 0-7 01:48:21 Vulnerability Itlb multihit: Not affected 01:48:21 Vulnerability L1tf: Not affected 01:48:21 Vulnerability Mds: Not affected 01:48:21 Vulnerability Meltdown: Not affected 01:48:21 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 01:48:21 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 01:48:21 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 01:48:21 Vulnerability Srbds: Not affected 01:48:21 Vulnerability Tsx async abort: Not affected 01:48:21 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:48:21 01:48:21 01:48:21 ---> nproc: 01:48:21 8 01:48:21 01:48:21 01:48:21 ---> df -h: 01:48:21 Filesystem Size Used Avail Use% Mounted on 01:48:21 overlay 155G 11G 145G 7% / 01:48:21 tmpfs 64M 0 64M 0% /dev 01:48:21 tmpfs 16G 0 16G 0% /sys/fs/cgroup 01:48:21 shm 64M 0 64M 0% /dev/shm 01:48:21 /dev/vda1 155G 11G 145G 7% /facter-os 01:48:21 01:48:21 01:48:21 ---> sar -b -r -n DEV: 01:48:21 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-21909) 08/04/22 _x86_64_ (8 CPU) 01:48:21 01:48:21 01:36:08 LINUX RESTART (8 CPU) 01:48:21 01:48:21 01:37:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 01:48:21 01:38:01 173.92 1.98 171.94 0.00 39.86 62159.09 0.00 01:48:21 01:39:01 173.06 0.12 172.94 0.00 6.80 39334.89 0.00 01:48:21 01:40:01 1.35 0.00 1.35 0.00 0.00 16.15 0.00 01:48:21 01:41:01 1.58 0.00 1.58 0.00 0.00 17.86 0.00 01:48:21 01:42:01 1.18 0.02 1.17 0.00 0.13 14.13 0.00 01:48:21 01:43:01 1.53 0.00 1.53 0.00 0.00 18.40 0.00 01:48:21 01:44:01 1.03 0.00 1.03 0.00 0.00 12.93 0.00 01:48:21 01:45:01 1.32 0.00 1.32 0.00 0.00 16.53 0.00 01:48:21 01:46:01 0.90 0.00 0.90 0.00 0.00 10.26 0.00 01:48:21 01:47:01 1.87 0.00 1.87 0.00 0.00 26.26 0.00 01:48:21 01:48:01 0.95 0.00 0.95 0.00 0.00 10.93 0.00 01:48:21 Average: 32.39 0.19 32.20 0.00 4.20 9159.38 0.00 01:48:21 01:48:21 01:37:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 01:48:21 01:38:01 27802620 31330424 962844 2.93 162228 3555852 2454936 7.23 1672064 2938456 129384 01:48:21 01:39:01 27652104 31791460 502696 1.53 174656 4116164 1845784 5.44 1267776 3455116 156 01:48:21 01:40:01 27652188 31791688 502360 1.53 174688 4116168 1845784 5.44 1268288 3455120 16 01:48:21 01:41:01 27654328 31793908 500048 1.52 174720 4116168 1845784 5.44 1265372 3455200 20 01:48:21 01:42:01 27654696 31794328 499536 1.52 174784 4116168 1845784 5.44 1265124 3455208 12 01:48:21 01:43:01 27656612 31796316 497360 1.51 174820 4116176 1845784 5.44 1262428 3455212 28 01:48:21 01:44:01 27660864 31800860 492708 1.50 174844 4116184 1845784 5.44 1258496 3455440 8 01:48:21 01:45:01 27661620 31801652 491844 1.50 174888 4116188 1845784 5.44 1257696 3455444 16 01:48:21 01:46:01 27661748 31801864 491848 1.50 174912 4116188 1845784 5.44 1257716 3455484 8 01:48:21 01:47:01 27661724 31801828 491804 1.50 174984 4116156 1845784 5.44 1258028 3455464 12 01:48:21 01:48:01 27661432 31801608 492004 1.50 174996 4116172 1845784 5.44 1258024 3455468 20 01:48:21 Average: 27670903 31755085 538641 1.64 173684 4065235 1901161 5.60 1299183 3408328 11789 01:48:21 01:48:21 01:37:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 01:48:21 01:38:01 ens3 378.02 265.34 5594.19 93.07 0.00 0.00 0.00 0.00 01:48:21 01:38:01 lo 2.78 2.78 0.27 0.27 0.00 0.00 0.00 0.00 01:48:21 01:38:01 docker0 121.50 155.08 10.37 1553.02 0.00 0.00 0.00 0.00 01:48:21 01:38:01 vethf7058c2 0.00 0.17 0.00 0.01 0.00 0.00 0.00 0.00 01:48:21 01:39:01 ens3 178.47 120.36 2698.89 65.27 0.00 0.00 0.00 0.00 01:48:21 01:39:01 lo 2.13 2.13 0.21 0.21 0.00 0.00 0.00 0.00 01:48:21 01:39:01 docker0 9.53 14.70 0.57 98.68 0.00 0.00 0.00 0.00 01:48:21 01:40:01 ens3 2.55 0.98 1.86 0.30 0.00 0.00 0.00 0.00 01:48:21 01:40:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:48:21 01:40:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:48:21 01:41:01 ens3 0.53 0.32 0.27 0.20 0.00 0.00 0.00 0.00 01:48:21 01:41:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:48:21 01:41:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:48:21 01:42:01 ens3 0.22 0.18 0.08 0.07 0.00 0.00 0.00 0.00 01:48:21 01:42:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:48:21 01:42:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:48:21 01:43:01 ens3 0.43 0.07 0.05 0.01 0.00 0.00 0.00 0.00 01:48:21 01:43:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:48:21 01:43:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:48:21 01:44:01 ens3 0.48 0.40 0.26 0.21 0.00 0.00 0.00 0.00 01:48:21 01:44:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:48:21 01:44:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:48:21 01:45:01 ens3 0.15 0.13 0.01 0.01 0.00 0.00 0.00 0.00 01:48:21 01:45:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:48:21 01:45:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:48:21 01:46:01 ens3 0.07 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:48:21 01:46:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:48:21 01:46:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:48:21 01:47:01 ens3 0.23 0.25 0.08 0.08 0.00 0.00 0.00 0.00 01:48:21 01:47:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 01:48:21 01:47:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:48:21 01:48:01 ens3 0.27 0.05 0.13 0.00 0.00 0.00 0.00 0.00 01:48:21 01:48:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:48:21 01:48:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 01:48:21 Average: ens3 50.54 34.93 746.81 14.35 0.00 0.00 0.00 0.00 01:48:21 Average: lo 0.52 0.52 0.05 0.05 0.00 0.00 0.00 0.00 01:48:21 Average: docker0 11.75 15.22 0.98 148.02 0.00 0.00 0.00 0.00 01:48:21 01:48:21 01:48:21 ---> sar -P ALL: 01:48:21 Linux 5.4.0-94-generic (prd-ubuntu20-04-docker-8c-8g-21909) 08/04/22 _x86_64_ (8 CPU) 01:48:21 01:48:21 01:36:08 LINUX RESTART (8 CPU) 01:48:21 01:48:21 01:37:02 CPU %user %nice %system %iowait %steal %idle 01:48:21 01:38:01 all 28.16 0.00 6.58 1.13 0.08 64.05 01:48:21 01:38:01 0 28.93 0.00 7.09 1.58 0.07 62.33 01:48:21 01:38:01 1 28.09 0.00 6.32 0.16 0.09 65.35 01:48:21 01:38:01 2 28.76 0.00 5.72 0.53 0.07 64.91 01:48:21 01:38:01 3 27.48 0.00 6.97 2.45 0.09 63.01 01:48:21 01:38:01 4 29.01 0.00 6.78 0.22 0.09 63.89 01:48:21 01:38:01 5 27.29 0.00 6.24 0.91 0.09 65.47 01:48:21 01:38:01 6 27.45 0.00 6.68 0.46 0.09 65.32 01:48:21 01:38:01 7 28.27 0.00 6.86 2.71 0.09 62.07 01:48:21 01:39:01 all 24.06 0.00 5.74 0.88 0.08 69.24 01:48:21 01:39:01 0 23.40 0.00 6.01 2.11 0.08 68.40 01:48:21 01:39:01 1 23.48 0.00 5.93 0.24 0.07 70.29 01:48:21 01:39:01 2 25.37 0.00 5.90 0.29 0.08 68.36 01:48:21 01:39:01 3 23.73 0.00 5.48 0.12 0.08 70.59 01:48:21 01:39:01 4 23.85 0.00 4.83 0.05 0.07 71.20 01:48:21 01:39:01 5 24.44 0.00 5.74 1.17 0.07 68.58 01:48:21 01:39:01 6 24.15 0.00 6.08 1.40 0.07 68.30 01:48:21 01:39:01 7 24.07 0.00 5.93 1.70 0.08 68.22 01:48:21 01:40:01 all 0.27 0.00 0.02 0.00 0.00 99.70 01:48:21 01:40:01 0 0.02 0.00 0.03 0.02 0.00 99.93 01:48:21 01:40:01 1 0.05 0.00 0.03 0.00 0.02 99.90 01:48:21 01:40:01 2 0.03 0.00 0.02 0.00 0.00 99.95 01:48:21 01:40:01 3 0.03 0.00 0.03 0.00 0.00 99.93 01:48:21 01:40:01 4 0.02 0.00 0.02 0.00 0.00 99.97 01:48:21 01:40:01 5 1.97 0.00 0.00 0.00 0.02 98.01 01:48:21 01:40:01 6 0.00 0.00 0.00 0.02 0.00 99.98 01:48:21 01:40:01 7 0.02 0.00 0.00 0.00 0.00 99.98 01:48:21 01:41:01 all 0.22 0.00 0.02 0.01 0.00 99.74 01:48:21 01:41:01 0 0.03 0.00 0.03 0.03 0.00 99.90 01:48:21 01:41:01 1 0.05 0.00 0.02 0.00 0.02 99.92 01:48:21 01:41:01 2 0.00 0.00 0.00 0.00 0.00 100.00 01:48:21 01:41:01 3 0.03 0.00 0.02 0.00 0.02 99.93 01:48:21 01:41:01 4 0.03 0.00 0.00 0.00 0.00 99.97 01:48:21 01:41:01 5 1.60 0.00 0.10 0.00 0.00 98.30 01:48:21 01:41:01 6 0.02 0.00 0.02 0.03 0.00 99.93 01:48:21 01:41:01 7 0.02 0.00 0.00 0.00 0.00 99.98 01:48:21 01:42:01 all 0.01 0.00 0.01 0.00 0.00 99.97 01:48:21 01:42:01 0 0.02 0.00 0.02 0.00 0.00 99.97 01:48:21 01:42:01 1 0.02 0.00 0.03 0.02 0.02 99.92 01:48:21 01:42:01 2 0.00 0.00 0.02 0.00 0.00 99.98 01:48:21 01:42:01 3 0.02 0.00 0.03 0.00 0.00 99.95 01:48:21 01:42:01 4 0.02 0.00 0.00 0.00 0.00 99.98 01:48:21 01:42:01 5 0.02 0.00 0.02 0.00 0.00 99.97 01:48:21 01:42:01 6 0.00 0.00 0.00 0.02 0.00 99.98 01:48:21 01:42:01 7 0.02 0.00 0.00 0.00 0.00 99.98 01:48:21 01:43:01 all 0.03 0.00 0.01 0.00 0.01 99.95 01:48:21 01:43:01 0 0.03 0.00 0.02 0.02 0.02 99.92 01:48:21 01:43:01 1 0.07 0.00 0.03 0.00 0.02 99.88 01:48:21 01:43:01 2 0.03 0.00 0.00 0.00 0.02 99.95 01:48:21 01:43:01 3 0.02 0.00 0.02 0.00 0.00 99.97 01:48:21 01:43:01 4 0.02 0.00 0.02 0.00 0.00 99.97 01:48:21 01:43:01 5 0.00 0.00 0.00 0.00 0.02 99.98 01:48:21 01:43:01 6 0.02 0.00 0.00 0.02 0.02 99.95 01:48:21 01:43:01 7 0.02 0.00 0.02 0.00 0.00 99.97 01:48:21 01:44:01 all 0.02 0.00 0.02 0.00 0.01 99.95 01:48:21 01:44:01 0 0.00 0.00 0.03 0.02 0.00 99.95 01:48:21 01:44:01 1 0.05 0.00 0.02 0.00 0.02 99.92 01:48:21 01:44:01 2 0.02 0.00 0.05 0.00 0.00 99.93 01:48:21 01:44:01 3 0.02 0.00 0.02 0.00 0.02 99.95 01:48:21 01:44:01 4 0.02 0.00 0.02 0.00 0.02 99.95 01:48:21 01:44:01 5 0.02 0.00 0.00 0.00 0.00 99.98 01:48:21 01:44:01 6 0.02 0.00 0.00 0.02 0.00 99.97 01:48:21 01:44:01 7 0.00 0.00 0.02 0.00 0.02 99.97 01:48:21 01:45:01 all 0.03 0.00 0.01 0.01 0.00 99.95 01:48:21 01:45:01 0 0.02 0.00 0.00 0.03 0.00 99.95 01:48:21 01:45:01 1 0.07 0.00 0.02 0.00 0.02 99.90 01:48:21 01:45:01 2 0.05 0.00 0.02 0.00 0.02 99.92 01:48:21 01:45:01 3 0.03 0.00 0.02 0.00 0.00 99.95 01:48:21 01:45:01 4 0.03 0.00 0.02 0.00 0.00 99.95 01:48:21 01:45:01 5 0.00 0.00 0.00 0.00 0.00 100.00 01:48:21 01:45:01 6 0.00 0.00 0.03 0.02 0.00 99.95 01:48:21 01:45:01 7 0.00 0.00 0.00 0.00 0.00 100.00 01:48:21 01:46:01 all 0.01 0.00 0.01 0.00 0.00 99.97 01:48:21 01:46:01 0 0.03 0.00 0.02 0.00 0.02 99.93 01:48:21 01:46:01 1 0.02 0.00 0.02 0.00 0.02 99.95 01:48:21 01:46:01 2 0.02 0.00 0.02 0.00 0.00 99.97 01:48:21 01:46:01 3 0.02 0.00 0.02 0.00 0.00 99.97 01:48:21 01:46:01 4 0.00 0.00 0.00 0.00 0.00 100.00 01:48:21 01:46:01 5 0.00 0.00 0.00 0.00 0.00 100.00 01:48:21 01:46:01 6 0.02 0.00 0.02 0.02 0.00 99.95 01:48:21 01:46:01 7 0.00 0.00 0.00 0.00 0.00 100.00 01:48:21 01:47:01 all 0.01 0.00 0.01 0.01 0.00 99.96 01:48:21 01:47:01 0 0.02 0.00 0.02 0.03 0.00 99.93 01:48:21 01:47:01 1 0.02 0.00 0.00 0.00 0.00 99.98 01:48:21 01:47:01 2 0.02 0.00 0.02 0.02 0.02 99.93 01:48:21 01:47:01 3 0.03 0.00 0.02 0.00 0.02 99.93 01:48:21 01:47:01 4 0.02 0.00 0.03 0.00 0.00 99.95 01:48:21 01:47:01 5 0.00 0.00 0.00 0.00 0.00 100.00 01:48:21 01:47:01 6 0.02 0.00 0.00 0.03 0.00 99.95 01:48:21 01:47:01 7 0.00 0.00 0.00 0.00 0.00 100.00 01:48:21 01:48:01 all 0.02 0.00 0.01 0.00 0.01 99.96 01:48:21 01:48:01 0 0.05 0.00 0.02 0.00 0.03 99.90 01:48:21 01:48:01 1 0.02 0.00 0.00 0.00 0.00 99.98 01:48:21 01:48:01 2 0.03 0.00 0.03 0.00 0.00 99.93 01:48:21 01:48:01 3 0.02 0.00 0.00 0.00 0.02 99.97 01:48:21 01:48:01 4 0.02 0.00 0.00 0.02 0.00 99.97 01:48:21 01:48:01 5 0.00 0.00 0.00 0.00 0.02 99.98 01:48:21 01:48:01 6 0.03 0.00 0.02 0.00 0.00 99.95 01:48:21 01:48:01 7 0.02 0.00 0.00 0.00 0.00 99.98 01:48:21 01:48:21 Average: CPU %user %nice %system %iowait %steal %idle 01:48:21 Average: all 4.72 0.00 1.11 0.18 0.02 93.97 01:48:21 Average: 0 4.69 0.00 1.19 0.34 0.02 93.76 01:48:21 Average: 1 4.62 0.00 1.11 0.04 0.02 94.21 01:48:21 Average: 2 4.85 0.00 1.05 0.07 0.02 94.00 01:48:21 Average: 3 4.58 0.00 1.12 0.23 0.02 94.05 01:48:21 Average: 4 4.73 0.00 1.04 0.03 0.02 94.19 01:48:21 Average: 5 4.97 0.00 1.08 0.19 0.02 93.74 01:48:21 Average: 6 4.62 0.00 1.15 0.18 0.02 94.03 01:48:21 Average: 7 4.66 0.00 1.14 0.39 0.02 93.80 01:48:21 01:48:21 01:48:21