Pull request #639 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2108a7f0be6b4653e5542f63219bf96fe579bd50+2a80116fa1f446abff1b1e1c9092e6aedb73b14f (fc8c9be2f32bfde17f0d07e36a4c6ab49e2924c0) 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-ssh10914727025558803521.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh4824627291394660867.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-639/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-639/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8536333106852314098.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12682273356497227653.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-639/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-639/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9421996328127024141.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [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.21 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-17058 in /w/workspace/gexfoundry_device-mqtt-go_PR-639 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-639 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 2a80116fa1f446abff1b1e1c9092e6aedb73b14f into PR head commit 2108a7f0be6b4653e5542f63219bf96fe579bd50 Merge succeeded, producing 2108a7f0be6b4653e5542f63219bf96fe579bd50 Checking out Revision 2108a7f0be6b4653e5542f63219bf96fe579bd50 (PR-639) Commit message: "build(deps): bump github.com/google/uuid from 1.3.1 to 1.4.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:50:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > 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/639/head:refs/remotes/origin/PR-639 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2108a7f0be6b4653e5542f63219bf96fe579bd50 # 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 2a80116fa1f446abff1b1e1c9092e6aedb73b14f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2108a7f0be6b4653e5542f63219bf96fe579bd50 # timeout=10 > git rev-list --no-walk 9e8d0e01bfed9e817b0bc5fc2b4b7ec5dec77651 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:50:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:50:59 ========================================================= 18:50:59 EdgeX Global Pipelines Version Info 18:50:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:50:59 ------------------- 18:50:59 stable info: 18:50:59 ------------------- 18:50:59 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 18:50:59 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 18:50:59 Message: update stable to v1.0.257 18:51:00 ------------------- 18:51:00 experimental info: 18:51:00 ------------------- 18:51:00 Commited By: **** collab-it+edgex@linuxfoundation.org 18:51:00 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 18:51:00 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:51:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 18:51:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 18:51:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:51:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:51:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:51:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:51:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:51:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:51:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:51:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:51:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:51:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 18:51:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:51:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:51:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:51:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:51:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:51:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:51:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:51:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:51:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:51:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:51:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:51:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:51:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:51:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:51:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:51:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-639 [Pipeline] echo 18:51:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-639 [Pipeline] echo 18:51:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-639 [Pipeline] echo 18:51:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2108a7f0be6b4653e5542f63219bf96fe579bd50 [Pipeline] echo 18:51:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2108a7f [Pipeline] echo 18:51:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:51:01 provisioning config files... 18:51:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp/config4640434871460284129tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:51:01 ---> docker-login.sh 18:51:01 nexus3.edgexfoundry.org:10001 18:51:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:03 Configure a credential helper to remove this warning. See 18:51:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:03 18:51:03 Login Succeeded 18:51:03 nexus3.edgexfoundry.org:10002 18:51:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:03 Configure a credential helper to remove this warning. See 18:51:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:03 18:51:03 Login Succeeded 18:51:03 nexus3.edgexfoundry.org:10003 18:51:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:03 Configure a credential helper to remove this warning. See 18:51:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:03 18:51:03 Login Succeeded 18:51:03 nexus3.edgexfoundry.org:10004 18:51:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:03 Configure a credential helper to remove this warning. See 18:51:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:03 18:51:03 Login Succeeded 18:51:03 docker.io 18:51:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:04 Configure a credential helper to remove this warning. See 18:51:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:04 18:51:04 Login Succeeded 18:51:04 ---> docker-login.sh ends [Pipeline] } 18:51:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:51:04 + git rev-list -1 --merges 2108a7f0be6b4653e5542f63219bf96fe579bd50~1..2108a7f0be6b4653e5542f63219bf96fe579bd50 [Pipeline] echo 18:51:04 -----------> git rev-list -1 --merges 2108a7f0be6b4653e5542f63219bf96fe579bd50~1..2108a7f0be6b4653e5542f63219bf96fe579bd50 2108a7f0be6b4653e5542f63219bf96fe579bd50 [false] [Pipeline] sh 18:51:04 + git log --format=format:%s -1 2108a7f0be6b4653e5542f63219bf96fe579bd50 [Pipeline] echo 18:51:04 ========================================================= 18:51:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:51:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:51:05 + git log --format=format:%s -1 2108a7f0be6b4653e5542f63219bf96fe579bd50 [Pipeline] echo 18:51:05 [semverPrep] GIT_COMMIT: 2108a7f0be6b4653e5542f63219bf96fe579bd50, Commit Message: build(deps): bump github.com/google/uuid from 1.3.1 to 1.4.0 [Pipeline] echo 18:51:05 [semverPrep] This is not a build commit. [Pipeline] sh 18:51:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:51:05 + grep -v github /etc/ssh/ssh_known_hosts 18:51:05 + [ -e /tmp/ssh_known_hosts ] 18:51:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:51:05 + + sudo tee -a /etc/ssh/ssh_known_hosts 18:51:05 echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:51:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:51:05 18:51:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:51:06 0.1.4: Pulling from edgex-devops/py-git-semver 18:51:06 b85a868b505f: Pulling fs layer 18:51:06 e2be974225ed: Pulling fs layer 18:51:06 339a4e72a1f5: Pulling fs layer 18:51:06 988bab9f4d93: Pulling fs layer 18:51:06 1469e6f7b9e6: Pulling fs layer 18:51:06 eaf3925da568: Pulling fs layer 18:51:06 bab4dde63d76: Pulling fs layer 18:51:06 1469e6f7b9e6: Waiting 18:51:06 988bab9f4d93: Waiting 18:51:06 eaf3925da568: Waiting 18:51:06 bde34c3a00c8: Pulling fs layer 18:51:06 b352a97aabf1: Pulling fs layer 18:51:06 4872d77fe225: Pulling fs layer 18:51:06 5851b861e8e6: Pulling fs layer 18:51:06 bab4dde63d76: Waiting 18:51:06 bde34c3a00c8: Waiting 18:51:06 4872d77fe225: Waiting 18:51:06 5851b861e8e6: Waiting 18:51:06 e2be974225ed: Download complete 18:51:06 988bab9f4d93: Download complete 18:51:06 1469e6f7b9e6: Verifying Checksum 18:51:06 1469e6f7b9e6: Download complete 18:51:06 eaf3925da568: Verifying Checksum 18:51:06 eaf3925da568: Download complete 18:51:06 339a4e72a1f5: Verifying Checksum 18:51:06 339a4e72a1f5: Download complete 18:51:06 bde34c3a00c8: Verifying Checksum 18:51:06 bde34c3a00c8: Download complete 18:51:06 b352a97aabf1: Download complete 18:51:06 4872d77fe225: Verifying Checksum 18:51:06 4872d77fe225: Download complete 18:51:06 5851b861e8e6: Download complete 18:51:06 b85a868b505f: Verifying Checksum 18:51:06 b85a868b505f: Download complete 18:51:07 bab4dde63d76: Verifying Checksum 18:51:07 bab4dde63d76: Download complete 18:51:08 b85a868b505f: Pull complete 18:51:08 e2be974225ed: Pull complete 18:51:09 339a4e72a1f5: Pull complete 18:51:09 988bab9f4d93: Pull complete 18:51:10 1469e6f7b9e6: Pull complete 18:51:10 eaf3925da568: Pull complete 18:51:12 bab4dde63d76: Pull complete 18:51:12 bde34c3a00c8: Pull complete 18:51:12 b352a97aabf1: Pull complete 18:51:12 4872d77fe225: Pull complete 18:51:12 5851b861e8e6: Pull complete 18:51:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:51:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:51:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:12 prd-ubuntu20.04-docker-8c-8g-17058 does not seem to be running inside a container 18:51:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-639 -v /w/workspace/gexfoundry_device-mqtt-go_PR-639:/w/workspace/gexfoundry_device-mqtt-go_PR-639:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-639@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-devops/py-git-semver:0.1.4 cat 18:51:15 $ docker top 1f5d06e904e08bf2c85936985e8dd45c9afd6bbcf0b94c11fd93d1075df58048 -eo pid,comm 18:51:15 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:51:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:51:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:51:15 [ssh-agent] Looking for ssh-agent implementation... 18:51:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:51:15 $ docker exec 1f5d06e904e08bf2c85936985e8dd45c9afd6bbcf0b94c11fd93d1075df58048 ssh-agent 18:51:15 SSH_AUTH_SOCK=/tmp/ssh-vDiKjJna3LB1/agent.32 18:51:15 SSH_AGENT_PID=38 18:51:15 Running ssh-add (command line suppressed) 18:51:16 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp/private_key_1334005455038089680.key (/w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp/private_key_1334005455038089680.key) 18:51:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:51:16 + git tag --points-at HEAD [Pipeline] } 18:51:16 $ docker exec --env ******** --env ******** 1f5d06e904e08bf2c85936985e8dd45c9afd6bbcf0b94c11fd93d1075df58048 ssh-agent -k 18:51:16 unset SSH_AUTH_SOCK; 18:51:16 unset SSH_AGENT_PID; 18:51:16 echo Agent pid 38 killed; 18:51:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:51:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:51:16 [ssh-agent] Looking for ssh-agent implementation... 18:51:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:51:16 $ docker exec 1f5d06e904e08bf2c85936985e8dd45c9afd6bbcf0b94c11fd93d1075df58048 ssh-agent 18:51:16 SSH_AUTH_SOCK=/tmp/ssh-3L7iE20oPkdC/agent.70 18:51:16 SSH_AGENT_PID=76 18:51:16 Running ssh-add (command line suppressed) 18:51:16 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp/private_key_12666908992883887621.key (/w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp/private_key_12666908992883887621.key) 18:51:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:51:17 + git semver init 18:51:17 2023-11-08 18:51:17,312 [run_init] DEBUG init version:0.0.0 force:False 18:51:17 2023-11-08 18:51:17,312 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-639/.semver 18:51:17 2023-11-08 18:51:17,313 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-639/.semver 18:51:17 2023-11-08 18:51:17,313 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-639/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-639, universal_newlines=False, shell=None, istream=None) 18:51:18 2023-11-08 18:51:18,248 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-639/.git/info/exclude 18:51:18 2023-11-08 18:51:18,248 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-639/.semver/PR-639 with force:False 18:51:18 2023-11-08 18:51:18,248 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-639/.semver/PR-639 18:51:18 2023-11-08 18:51:18,250 [execute] INFO git cat-file --batch-check 18:51:18 2023-11-08 18:51:18,251 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-639/.semver, universal_newlines=False, shell=None, istream=) 18:51:18 2023-11-08 18:51:18,258 [execute] INFO git cat-file --batch 18:51:18 2023-11-08 18:51:18,259 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-639/.semver, universal_newlines=False, shell=None, istream=) 18:51:18 2023-11-08 18:51:18,264 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-639/.semver/PR-639 18:51:18 0.0.0 [Pipeline] } 18:51:18 $ docker exec --env ******** --env ******** 1f5d06e904e08bf2c85936985e8dd45c9afd6bbcf0b94c11fd93d1075df58048 ssh-agent -k 18:51:18 unset SSH_AUTH_SOCK; 18:51:18 unset SSH_AGENT_PID; 18:51:18 echo Agent pid 76 killed; 18:51:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:51:18 + git semver [Pipeline] } 18:51:19 $ docker stop --time=1 1f5d06e904e08bf2c85936985e8dd45c9afd6bbcf0b94c11fd93d1075df58048 18:51:20 $ docker rm -f --volumes 1f5d06e904e08bf2c85936985e8dd45c9afd6bbcf0b94c11fd93d1075df58048 [Pipeline] // withDockerContainer [Pipeline] sh 18:51:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:51:21 Stashed 1 file(s) [Pipeline] echo 18:51:21 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:51:21 provisioning config files... 18:51:21 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp/config10309653526128211876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:51:21 ---> docker-login.sh 18:51:21 nexus3.edgexfoundry.org:10001 18:51:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:21 Configure a credential helper to remove this warning. See 18:51:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:21 18:51:21 Login Succeeded 18:51:21 nexus3.edgexfoundry.org:10002 18:51:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:21 Configure a credential helper to remove this warning. See 18:51:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:21 18:51:21 Login Succeeded 18:51:21 nexus3.edgexfoundry.org:10003 18:51:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:22 Configure a credential helper to remove this warning. See 18:51:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:22 18:51:22 Login Succeeded 18:51:22 nexus3.edgexfoundry.org:10004 18:51:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:22 Configure a credential helper to remove this warning. See 18:51:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:22 18:51:22 Login Succeeded 18:51:22 docker.io 18:51:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:51:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:51:22 Configure a credential helper to remove this warning. See 18:51:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:51:22 18:51:22 Login Succeeded 18:51:22 ---> docker-login.sh ends [Pipeline] } 18:51:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:51:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:51:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:51:22 ========================================================= 18:51:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:51:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:22 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:51:22 Sending build context to Docker daemon 6.567MB 18:51:22 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:51:22 Step 2/12 : FROM ${BASE} AS builder 18:51:22 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:51:22 7264a8db6415: Pulling fs layer 18:51:22 c4d48a809fc2: Pulling fs layer 18:51:22 4f1c88b9dad5: Pulling fs layer 18:51:22 ad3a456e5733: Pulling fs layer 18:51:22 33e27b845d1e: Pulling fs layer 18:51:22 c68163c4e522: Pulling fs layer 18:51:22 50da416c3ac9: Pulling fs layer 18:51:22 23d2d4c4bb30: Pulling fs layer 18:51:22 ad3a456e5733: Waiting 18:51:22 33e27b845d1e: Waiting 18:51:22 50da416c3ac9: Waiting 18:51:22 c68163c4e522: Waiting 18:51:22 23d2d4c4bb30: Waiting 18:51:22 c4d48a809fc2: Verifying Checksum 18:51:22 c4d48a809fc2: Download complete 18:51:23 ad3a456e5733: Verifying Checksum 18:51:23 33e27b845d1e: Verifying Checksum 18:51:23 33e27b845d1e: Download complete 18:51:23 7264a8db6415: Verifying Checksum 18:51:23 7264a8db6415: Download complete 18:51:23 c68163c4e522: Verifying Checksum 18:51:23 c68163c4e522: Download complete 18:51:23 7264a8db6415: Pull complete 18:51:23 c4d48a809fc2: Pull complete 18:51:23 23d2d4c4bb30: Verifying Checksum 18:51:23 23d2d4c4bb30: Download complete 18:51:23 4f1c88b9dad5: Verifying Checksum 18:51:23 4f1c88b9dad5: Download complete 18:51:23 50da416c3ac9: Verifying Checksum 18:51:23 50da416c3ac9: Download complete 18:51:27 4f1c88b9dad5: Pull complete 18:51:27 ad3a456e5733: Pull complete 18:51:27 33e27b845d1e: Pull complete 18:51:28 c68163c4e522: Pull complete 18:51:30 50da416c3ac9: Pull complete 18:51:30 23d2d4c4bb30: Pull complete 18:51:30 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 18:51:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:51:31 ---> 0786185ac409 18:51:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:51:36 Still waiting to schedule task 18:51:36 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:51:41 ---> Running in 13900343ff07 18:51:41 Removing intermediate container 13900343ff07 18:51:41 ---> d3c38ecc2915 18:51:41 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:51:41 ---> Running in 488d94a11892 18:51:41 Removing intermediate container 488d94a11892 18:51:41 ---> 23e62bd282ef 18:51:41 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:51:41 ---> Running in 7b7db61f4ded 18:51:41 Removing intermediate container 7b7db61f4ded 18:51:41 ---> d7c168da1f4e 18:51:41 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:51:41 ---> Running in df8769c8e65f 18:51:41 Removing intermediate container df8769c8e65f 18:51:41 ---> 04eecf7295a3 18:51:41 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:51:41 ---> Running in c2b2e9e833e2 18:51:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:51:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:51:42 (1/4) Installing openssh-keygen (9.3_p2-r0) 18:51:42 (2/4) Installing libedit (20221030.3.1-r1) 18:51:42 (3/4) Installing openssh-client-common (9.3_p2-r0) 18:51:42 (4/4) Installing openssh-client-default (9.3_p2-r0) 18:51:42 Executing busybox-1.36.1-r2.trigger 18:51:42 OK: 268 MiB in 56 packages 18:51:43 Removing intermediate container c2b2e9e833e2 18:51:43 ---> 9aa1f55e976f 18:51:43 Step 8/12 : WORKDIR /device-mqtt-go 18:51:43 ---> Running in 30ff5fb39a95 18:51:43 Removing intermediate container 30ff5fb39a95 18:51:43 ---> fbd9fb91db0e 18:51:43 Step 9/12 : COPY go.mod vendor* ./ 18:51:43 ---> 943a102cdd14 18:51:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:51:43 ---> Running in 7bee37f14182 18:52:30 Removing intermediate container 7bee37f14182 18:52:30 ---> ec44a97f3a0b 18:52:30 Step 11/12 : COPY . . 18:52:30 ---> 7f448b57a1f7 18:52:30 Step 12/12 : RUN $MAKE 18:52:30 ---> Running in cbcf019390a0 18:52:30 noop 18:52:30 Removing intermediate container cbcf019390a0 18:52:30 ---> e43c28bdabfa 18:52:30 Successfully built e43c28bdabfa 18:52:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:30 + docker inspect -f . ci-base-image-x86_64 18:52:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:30 prd-ubuntu20.04-docker-8c-8g-17058 does not seem to be running inside a container 18:52:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-639 -v /w/workspace/gexfoundry_device-mqtt-go_PR-639:/w/workspace/gexfoundry_device-mqtt-go_PR-639:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:52:31 $ docker top 1c722f3200aa806c24e309a239877f9771613ce0bc7845933f649e7e39fc1161 -eo pid,comm [Pipeline] { [Pipeline] sh 18:52:31 + go version 18:52:31 go version go1.21.0 linux/amd64 [Pipeline] } 18:52:31 $ docker stop --time=1 1c722f3200aa806c24e309a239877f9771613ce0bc7845933f649e7e39fc1161 18:52:32 $ docker rm -f --volumes 1c722f3200aa806c24e309a239877f9771613ce0bc7845933f649e7e39fc1161 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:33 + docker inspect -f . ci-base-image-x86_64 18:52:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:33 prd-ubuntu20.04-docker-8c-8g-17058 does not seem to be running inside a container 18:52:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-639 -v /w/workspace/gexfoundry_device-mqtt-go_PR-639:/w/workspace/gexfoundry_device-mqtt-go_PR-639:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:52:33 $ docker top d8f5199e73760758b41dc779a5c56a426a220b714d99f8c4e30bfaa6c324aded -eo pid,comm [Pipeline] { [Pipeline] sh 18:52:34 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-639 [Pipeline] fileExists [Pipeline] sh 18:52:34 + make test 18:52:34 go test ./... -coverprofile=coverage.out ./... 18:52:36 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:52:46 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:52:46 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:52:46 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements 18:52:53 go vet ./... 18:52:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:52:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:52:56 ./bin/test-attribution-txt.sh [Pipeline] echo 18:52:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:52:56 $ docker stop --time=1 d8f5199e73760758b41dc779a5c56a426a220b714d99f8c4e30bfaa6c324aded 18:53:00 $ docker rm -f --volumes d8f5199e73760758b41dc779a5c56a426a220b714d99f8c4e30bfaa6c324aded [Pipeline] // withDockerContainer [Pipeline] sh 18:53:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:53:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:53:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:53:01 + ls -al . 18:53:01 total 184 18:53:01 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 18:52 . 18:53:01 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:50 .. 18:53:01 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 18:50 .dockerignore 18:53:01 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:52 .git 18:53:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:50 .github 18:53:01 -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 18:50 .gitignore 18:53:01 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 18:50 .golangci.yml 18:53:01 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 18:51 .semver 18:53:01 -rw-rw-r-- 1 jenkins jenkins 10386 Nov 8 18:50 Attribution.txt 18:53:01 -rw-rw-r-- 1 jenkins jenkins 17522 Nov 8 18:50 CHANGELOG.md 18:53:01 -rw-rw-r-- 1 jenkins jenkins 1689 Nov 8 18:50 Dockerfile 18:53:01 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 18:50 GOVERNANCE.md 18:53:01 -rw-rw-r-- 1 jenkins jenkins 657 Nov 8 18:50 Jenkinsfile 18:53:01 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 18:50 LICENSE 18:53:01 -rw-rw-r-- 1 jenkins jenkins 1963 Nov 8 18:50 Makefile 18:53:01 -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 18:50 OWNERS.md 18:53:01 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 8 18:50 README.md 18:53:01 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 18:51 VERSION 18:53:01 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:50 bin 18:53:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:50 cmd 18:53:01 -rw-r--r-- 1 jenkins jenkins 18506 Nov 8 18:52 coverage.out 18:53:01 -rw-rw-r-- 1 jenkins jenkins 3775 Nov 8 18:50 go.mod 18:53:01 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 8 18:50 go.sum 18:53:01 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:50 internal 18:53:01 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:50 mock 18:53:01 -rw-rw-r-- 1 jenkins jenkins 227 Nov 8 18:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:01 + 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=2108a7f0be6b4653e5542f63219bf96fe579bd50 --label arch=amd64 --label version=0.0.0 . 18:53:01 Sending build context to Docker daemon 6.586MB 18:53:01 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 18:53:01 Step 2/24 : FROM ${BASE} AS builder 18:53:01 ---> e43c28bdabfa 18:53:01 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:53:01 ---> Running in ba95ec7ba4f6 18:53:01 Removing intermediate container ba95ec7ba4f6 18:53:01 ---> 6cb8e96653a6 18:53:01 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:53:01 ---> Running in 7a22dcb8d01b 18:53:02 Removing intermediate container 7a22dcb8d01b 18:53:02 ---> 30f3dd593885 18:53:02 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:53:02 ---> Running in 23cf7994df04 18:53:02 Removing intermediate container 23cf7994df04 18:53:02 ---> b89dacf59703 18:53:02 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:53:02 ---> Running in e8cf5dd2e714 18:53:02 Removing intermediate container e8cf5dd2e714 18:53:02 ---> f2532d6f1681 18:53:02 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:53:02 ---> Running in 22057dbaf2b7 18:53:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:53:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:53:05 OK: 268 MiB in 56 packages 18:53:05 Removing intermediate container 22057dbaf2b7 18:53:05 ---> e4747cf58b04 18:53:05 Step 8/24 : WORKDIR /device-mqtt-go 18:53:05 ---> Running in 5ffa7d92a7cd 18:53:05 Removing intermediate container 5ffa7d92a7cd 18:53:05 ---> e92a10767da1 18:53:05 Step 9/24 : COPY go.mod vendor* ./ 18:53:05 ---> 32d12819d3ba 18:53:05 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:53:05 ---> Running in e5ffb5958625 18:53:05 Removing intermediate container e5ffb5958625 18:53:05 ---> bf5d7805ea83 18:53:05 Step 11/24 : COPY . . 18:53:05 ---> 5bf43401af9e 18:53:05 Step 12/24 : RUN $MAKE 18:53:05 ---> Running in 3ff30923e9ee 18:53:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 18:53:26 Removing intermediate container 3ff30923e9ee 18:53:26 ---> 1e2ab2adaabd 18:53:26 Step 13/24 : FROM alpine:3.18 18:53:26 3.18: Pulling from library/alpine 18:53:26 96526aa774ef: Pulling fs layer 18:53:26 96526aa774ef: Verifying Checksum 18:53:26 96526aa774ef: Download complete 18:53:26 96526aa774ef: Pull complete 18:53:26 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:53:26 Status: Downloaded newer image for alpine:3.18 18:53:26 ---> 8ca4688f4f35 18:53:26 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 18:53:26 ---> Running in 86a052cc7538 18:53:26 Removing intermediate container 86a052cc7538 18:53:26 ---> 48a055f8bd18 18:53:26 Step 15/24 : RUN apk add --update --no-cache dumb-init 18:53:26 ---> Running in 4097073b2542 18:53:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:53:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:53:27 (1/1) Installing dumb-init (1.2.5-r2) 18:53:27 Executing busybox-1.36.1-r2.trigger 18:53:27 OK: 7 MiB in 16 packages 18:53:27 Removing intermediate container 4097073b2542 18:53:27 ---> 9c4b953bd185 18:53:27 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 18:53:28 ---> 8dbd43acbb66 18:53:28 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 18:53:28 ---> 57c76a952e3a 18:53:28 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 18:53:28 ---> 88e183ab69da 18:53:28 Step 19/24 : EXPOSE 59982 18:53:28 ---> Running in 9337642ea8dd 18:53:28 Removing intermediate container 9337642ea8dd 18:53:28 ---> 38995699513a 18:53:28 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 18:53:28 ---> Running in 0fabb74986a9 18:53:28 Removing intermediate container 0fabb74986a9 18:53:28 ---> 6de5d604abdd 18:53:28 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:53:28 ---> Running in bff71c371c0a 18:53:28 Removing intermediate container bff71c371c0a 18:53:28 ---> afbf141cf2ed 18:53:28 Step 22/24 : LABEL arch=amd64 18:53:28 ---> Running in 66f8ea2f0aea 18:53:29 Removing intermediate container 66f8ea2f0aea 18:53:29 ---> caf762104cb5 18:53:29 Step 23/24 : LABEL git_sha=2108a7f0be6b4653e5542f63219bf96fe579bd50 18:53:29 ---> Running in 5afb5204140c 18:53:29 Removing intermediate container 5afb5204140c 18:53:29 ---> 7f8d01ac5c43 18:53:29 Step 24/24 : LABEL version=0.0.0 18:53:29 ---> Running in f0842130ec42 18:53:29 Removing intermediate container f0842130ec42 18:53:29 ---> 30f820ee556a 18:53:29 [Warning] One or more build-args [ARCH] were not consumed 18:53:29 Successfully built 30f820ee556a 18:53:29 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:53:29 18:53:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:53:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:53:29 latest: Pulling from edgex-lftools-log-publisher 18:53:29 5eb5b503b376: Pulling fs layer 18:53:29 5c69ac0246d0: Pulling fs layer 18:53:29 ec43610c2a17: Pulling fs layer 18:53:29 3a2ae6a8a46f: Pulling fs layer 18:53:29 33b1e0a273af: Pulling fs layer 18:53:29 5d3b04190fa2: Pulling fs layer 18:53:29 2f39f015ded8: Pulling fs layer 18:53:29 5d3b04190fa2: Waiting 18:53:29 3a2ae6a8a46f: Waiting 18:53:29 2f39f015ded8: Waiting 18:53:29 33b1e0a273af: Waiting 18:53:29 5c69ac0246d0: Download complete 18:53:29 3a2ae6a8a46f: Download complete 18:53:29 33b1e0a273af: Verifying Checksum 18:53:29 33b1e0a273af: Download complete 18:53:29 ec43610c2a17: Verifying Checksum 18:53:29 ec43610c2a17: Download complete 18:53:30 5d3b04190fa2: Verifying Checksum 18:53:30 5d3b04190fa2: Download complete 18:53:30 5eb5b503b376: Verifying Checksum 18:53:30 5eb5b503b376: Download complete 18:53:30 2f39f015ded8: Download complete 18:53:31 5eb5b503b376: Pull complete 18:53:31 5c69ac0246d0: Pull complete 18:53:31 ec43610c2a17: Pull complete 18:53:32 3a2ae6a8a46f: Pull complete 18:53:32 33b1e0a273af: Pull complete 18:53:32 5d3b04190fa2: Pull complete 18:53:36 2f39f015ded8: Pull complete 18:53:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:53:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:53:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:53:36 prd-ubuntu20.04-docker-8c-8g-17058 does not seem to be running inside a container 18:53:36 $ 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-639 -v /w/workspace/gexfoundry_device-mqtt-go_PR-639:/w/workspace/gexfoundry_device-mqtt-go_PR-639:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 18:53:44 $ docker top 7b6137eb0c85701235306d72ed72f653adde24005286fb3257e069457ceec66a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:53:45 ---> job-cost.sh 18:53:45 lf-activate-venv: SKIPPING 18:53:45 INFO: No Stack... 18:53:45 INFO: Retrieving Pricing Info for: v3-standard-8 18:53:45 INFO: Archiving Costs [Pipeline] sh 18:53:45 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-639/archives/cost.csv 18:53:45 + cut -d, -f6 [Pipeline] lock 18:53:46 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-639-6-stack-cost] 18:53:46 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-639-6-stack-cost] did not exist. Created. 18:53:46 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-639-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:53:46 + echo total: 0.2199999988079071 [Pipeline] stash 18:53:46 Stashed 1 file(s) [Pipeline] } 18:53:46 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-639-6-stack-cost] [Pipeline] // lock [Pipeline] } 18:53:46 $ docker stop --time=1 7b6137eb0c85701235306d72ed72f653adde24005286fb3257e069457ceec66a 18:53:47 $ docker rm -f --volumes 7b6137eb0c85701235306d72ed72f653adde24005286fb3257e069457ceec66a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:54:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17066 in /w/workspace/gexfoundry_device-mqtt-go_PR-639 [Pipeline] { [Pipeline] ws 18:54:17 Running in /w/workspace/device-mqtt-go/6 [Pipeline] { [Pipeline] checkout 18:54:17 The recommended git tool is: git 18:54:23 using credential edgex-jenkins-ssh 18:54:23 Cloning the remote Git repository 18:54:23 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 18:54:23 > git init /w/workspace/device-mqtt-go/6 # timeout=10 18:54:23 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:54:23 > git --version # timeout=10 18:54:23 > git --version # 'git version 2.25.1' 18:54:23 using GIT_SSH to set credentials SSH Credentials for GitHub 18:54:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:54:25 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:54:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:54:26 Merging remotes/origin/main commit 2a80116fa1f446abff1b1e1c9092e6aedb73b14f into PR head commit 2108a7f0be6b4653e5542f63219bf96fe579bd50 18:54:27 Merge succeeded, producing 2108a7f0be6b4653e5542f63219bf96fe579bd50 18:54:27 Checking out Revision 2108a7f0be6b4653e5542f63219bf96fe579bd50 (PR-639) 18:54:26 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 18:54:26 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 18:54:26 using GIT_SSH to set credentials SSH Credentials for GitHub 18:54:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/639/head:refs/remotes/origin/PR-639 +refs/heads/main:refs/remotes/origin/main # timeout=10 18:54:26 > git config core.sparsecheckout # timeout=10 18:54:27 > git checkout -f 2108a7f0be6b4653e5542f63219bf96fe579bd50 # timeout=10 18:54:27 > git remote # timeout=10 18:54:27 > git config --get remote.origin.url # timeout=10 18:54:27 using GIT_SSH to set credentials SSH Credentials for GitHub 18:54:27 > git merge 2a80116fa1f446abff1b1e1c9092e6aedb73b14f # timeout=10 18:54:27 > git rev-parse HEAD^{commit} # timeout=10 18:54:27 > git config core.sparsecheckout # timeout=10 18:54:27 > git checkout -f 2108a7f0be6b4653e5542f63219bf96fe579bd50 # timeout=10 18:54:27 Commit message: "build(deps): bump github.com/google/uuid from 1.3.1 to 1.4.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:54:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:54:28 % Total % Received % Xferd Average Speed Time Time Time Current 18:54:28 Dload Upload Total Spent Left Speed 18:54:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 182k 0 --:--:-- --:--:-- --:--:-- 182k [Pipeline] sh 18:54:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:54:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:54:29 + sudo tee /etc/docker/daemon.new 18:54:29 { 18:54:29 "registry-mirrors": [ 18:54:29 "https://nexus3.edgexfoundry.org:10001" 18:54:29 ], 18:54:29 "bip": "10.250.0.254/24", 18:54:29 "hosts": [ 18:54:29 "tcp://0.0.0.0:5555", 18:54:29 "unix:///var/run/docker.sock" 18:54:29 ], 18:54:29 "mtu": 1458, 18:54:29 "selinux-enabled": true, 18:54:29 "seccomp-profile": "/etc/docker/seccomp.json" 18:54:29 } [Pipeline] sh 18:54:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:54:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:54:48 provisioning config files... 18:54:48 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/6@tmp/config4574484158697640538tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:54:49 ---> docker-login.sh 18:54:49 nexus3.edgexfoundry.org:10001 18:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:49 Configure a credential helper to remove this warning. See 18:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:49 18:54:49 Login Succeeded 18:54:49 nexus3.edgexfoundry.org:10002 18:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:50 Configure a credential helper to remove this warning. See 18:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:50 18:54:50 Login Succeeded 18:54:50 nexus3.edgexfoundry.org:10003 18:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:50 Configure a credential helper to remove this warning. See 18:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:50 18:54:50 Login Succeeded 18:54:50 nexus3.edgexfoundry.org:10004 18:54:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:51 Configure a credential helper to remove this warning. See 18:54:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:51 18:54:51 Login Succeeded 18:54:51 docker.io 18:54:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:54:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:54:51 Configure a credential helper to remove this warning. See 18:54:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:54:51 18:54:51 Login Succeeded 18:54:51 ---> docker-login.sh ends [Pipeline] } 18:54:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:54:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:54:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 18:54:52 ========================================================= 18:54:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:54:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:54:52 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:54:52 Sending build context to Docker daemon 3.379MB 18:54:52 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:54:52 Step 2/12 : FROM ${BASE} AS builder 18:54:52 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:54:52 9fda8d8052c6: Pulling fs layer 18:54:52 5d54e960e981: Pulling fs layer 18:54:52 c4a7e357bf2a: Pulling fs layer 18:54:52 f0e02332f6b5: Pulling fs layer 18:54:52 cefa15bbcfad: Pulling fs layer 18:54:52 17808c966233: Pulling fs layer 18:54:52 f4c1fc716caa: Pulling fs layer 18:54:52 f0e02332f6b5: Waiting 18:54:52 cefa15bbcfad: Waiting 18:54:52 17808c966233: Waiting 18:54:52 f4c1fc716caa: Waiting 18:54:52 5d54e960e981: Verifying Checksum 18:54:52 5d54e960e981: Download complete 18:54:52 f0e02332f6b5: Verifying Checksum 18:54:52 f0e02332f6b5: Download complete 18:54:53 cefa15bbcfad: Verifying Checksum 18:54:53 cefa15bbcfad: Download complete 18:54:53 9fda8d8052c6: Download complete 18:54:53 f4c1fc716caa: Verifying Checksum 18:54:53 f4c1fc716caa: Download complete 18:54:54 9fda8d8052c6: Pull complete 18:54:54 5d54e960e981: Pull complete 18:54:54 c4a7e357bf2a: Verifying Checksum 18:54:54 c4a7e357bf2a: Download complete 18:54:56 17808c966233: Verifying Checksum 18:54:56 17808c966233: Download complete 18:55:08 c4a7e357bf2a: Pull complete 18:55:08 f0e02332f6b5: Pull complete 18:55:08 cefa15bbcfad: Pull complete 18:55:19 17808c966233: Pull complete 18:55:19 f4c1fc716caa: Pull complete 18:55:19 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 18:55:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:55:19 ---> ea914061e18c 18:55:19 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:55:20 ---> Running in 5e51eef9e3f4 18:55:20 Removing intermediate container 5e51eef9e3f4 18:55:20 ---> 750df34db4ff 18:55:20 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:55:20 ---> Running in b1b4abf6647c 18:55:21 Removing intermediate container b1b4abf6647c 18:55:21 ---> d9821108c84b 18:55:21 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:55:21 ---> Running in 037587ee9164 18:55:21 Removing intermediate container 037587ee9164 18:55:21 ---> 2d2cedf9e15b 18:55:21 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:55:21 ---> Running in a524d88a18cc 18:55:22 Removing intermediate container a524d88a18cc 18:55:22 ---> 7aa3a5a982de 18:55:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:55:22 ---> Running in ec69fa98903f 18:55:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:55:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:55:25 (1/4) Installing openssh-keygen (9.3_p2-r0) 18:55:25 (2/4) Installing libedit (20221030.3.1-r1) 18:55:25 (3/4) Installing openssh-client-common (9.3_p2-r0) 18:55:25 (4/4) Installing openssh-client-default (9.3_p2-r0) 18:55:25 Executing busybox-1.36.1-r2.trigger 18:55:25 OK: 270 MiB in 56 packages 18:55:26 Removing intermediate container ec69fa98903f 18:55:26 ---> 62973c5ce7ed 18:55:26 Step 8/12 : WORKDIR /device-mqtt-go 18:55:26 ---> Running in cacc8c03f573 18:55:26 Removing intermediate container cacc8c03f573 18:55:26 ---> 9724f83ecf59 18:55:26 Step 9/12 : COPY go.mod vendor* ./ 18:55:27 ---> 9498cf08447f 18:55:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:55:27 ---> Running in 45a7ce37a50a 18:56:49 Removing intermediate container 45a7ce37a50a 18:56:49 ---> c1281ca29925 18:56:49 Step 11/12 : COPY . . 18:56:49 ---> 93cf323c166e 18:56:49 Step 12/12 : RUN $MAKE 18:56:49 ---> Running in c85da7c07d2b 18:56:49 noop 18:56:49 Removing intermediate container c85da7c07d2b 18:56:49 ---> 2ec3f0b740de 18:56:49 Successfully built 2ec3f0b740de 18:56:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:50 + docker inspect -f . ci-base-image-arm64 18:56:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:50 prd-ubuntu20.04-docker-arm64-4c-16g-17066 does not seem to be running inside a container 18:56:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:56:51 $ docker top 02cd951cba9adb7e599caf9e21462295b65fd52b312f2182b292aa38883b94d2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:56:52 + go version 18:56:52 go version go1.21.0 linux/arm64 [Pipeline] } 18:56:52 $ docker stop --time=1 02cd951cba9adb7e599caf9e21462295b65fd52b312f2182b292aa38883b94d2 18:56:56 $ docker rm -f --volumes 02cd951cba9adb7e599caf9e21462295b65fd52b312f2182b292aa38883b94d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:57 + docker inspect -f . ci-base-image-arm64 18:56:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:57 prd-ubuntu20.04-docker-arm64-4c-16g-17066 does not seem to be running inside a container 18:56:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:56:59 $ docker top f48eb58bcfb24d4a7e6e1459a9e1bf1603d11038ff62b2290635cae804d733d0 -eo pid,comm [Pipeline] { [Pipeline] sh 18:56:59 + git config --global --add safe.directory /w/workspace/device-mqtt-go/6 [Pipeline] fileExists [Pipeline] sh 18:57:00 + make test 18:57:00 go test ./... -coverprofile=coverage.out ./... 18:57:04 ? github.com/edgexfoundry/device-mqtt-go [no test files] 18:59:11 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 18:59:11 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 18:59:11 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 22.8% of statements 18:59:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:59:11 go vet ./... 18:59:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:59:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:59:50 ./bin/test-attribution-txt.sh [Pipeline] echo 18:59:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 18:59:50 $ docker stop --time=1 f48eb58bcfb24d4a7e6e1459a9e1bf1603d11038ff62b2290635cae804d733d0 18:59:52 $ docker rm -f --volumes f48eb58bcfb24d4a7e6e1459a9e1bf1603d11038ff62b2290635cae804d733d0 [Pipeline] // withDockerContainer [Pipeline] sh 18:59:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:59:53 Warning: overwriting stash ‘coverage-report’ 18:59:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:59:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:59:55 + ls -al . 18:59:55 total 180 18:59:55 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:57 . 18:59:55 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 18:54 .. 18:59:55 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 18:54 .dockerignore 18:59:55 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 18:54 .git 18:59:55 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:54 .github 18:59:55 -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 18:54 .gitignore 18:59:55 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 18:54 .golangci.yml 18:59:55 -rw-rw-r-- 1 jenkins jenkins 10386 Nov 8 18:54 Attribution.txt 18:59:55 -rw-rw-r-- 1 jenkins jenkins 17522 Nov 8 18:54 CHANGELOG.md 18:59:55 -rw-rw-r-- 1 jenkins jenkins 1689 Nov 8 18:54 Dockerfile 18:59:55 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 18:54 GOVERNANCE.md 18:59:55 -rw-rw-r-- 1 jenkins jenkins 657 Nov 8 18:54 Jenkinsfile 18:59:55 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 18:54 LICENSE 18:59:55 -rw-rw-r-- 1 jenkins jenkins 1963 Nov 8 18:54 Makefile 18:59:55 -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 18:54 OWNERS.md 18:59:55 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 8 18:54 README.md 18:59:55 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 18:51 VERSION 18:59:55 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:54 bin 18:59:55 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:54 cmd 18:59:55 -rw-r--r-- 1 jenkins jenkins 18506 Nov 8 18:59 coverage.out 18:59:55 -rw-rw-r-- 1 jenkins jenkins 3775 Nov 8 18:54 go.mod 18:59:55 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 8 18:54 go.sum 18:59:55 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 18:54 internal 18:59:55 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 18:54 mock 18:59:55 -rw-rw-r-- 1 jenkins jenkins 227 Nov 8 18:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:59:55 + 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=2108a7f0be6b4653e5542f63219bf96fe579bd50 --label arch=arm64 --label version=0.0.0 . 18:59:55 Sending build context to Docker daemon 3.399MB 18:59:55 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 18:59:55 Step 2/24 : FROM ${BASE} AS builder 18:59:55 ---> 2ec3f0b740de 18:59:55 Step 3/24 : ARG ADD_BUILD_TAGS="" 18:59:56 ---> Running in 6cc5c8124e08 18:59:56 Removing intermediate container 6cc5c8124e08 18:59:56 ---> 2855af493afd 18:59:56 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:59:56 ---> Running in 87805d9d580c 18:59:56 Removing intermediate container 87805d9d580c 18:59:56 ---> e89f63882373 18:59:56 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:59:56 ---> Running in 782a6a51fa2a 18:59:57 Removing intermediate container 782a6a51fa2a 18:59:57 ---> 8db41ce16223 18:59:57 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 18:59:57 ---> Running in a9a457eda264 18:59:57 Removing intermediate container a9a457eda264 18:59:57 ---> 968cd3332004 18:59:57 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:59:57 ---> Running in 83a1007653b0 18:59:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:59:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:00:00 OK: 270 MiB in 56 packages 19:00:03 Removing intermediate container 83a1007653b0 19:00:03 ---> 064fe2c2f64a 19:00:03 Step 8/24 : WORKDIR /device-mqtt-go 19:00:03 ---> Running in a8d59fc6fde6 19:00:03 Removing intermediate container a8d59fc6fde6 19:00:03 ---> 48492371012d 19:00:03 Step 9/24 : COPY go.mod vendor* ./ 19:00:03 ---> 5def6026cc68 19:00:03 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:00:04 ---> Running in cb9a63cfd155 19:00:06 Removing intermediate container cb9a63cfd155 19:00:06 ---> 5d456adaa1dd 19:00:06 Step 11/24 : COPY . . 19:00:07 ---> 514c5fd747b0 19:00:07 Step 12/24 : RUN $MAKE 19:00:07 ---> Running in c9cece869e87 19:00:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 19:02:15 Removing intermediate container c9cece869e87 19:02:15 ---> 36b8ed14c658 19:02:15 Step 13/24 : FROM alpine:3.18 19:02:15 3.18: Pulling from library/alpine 19:02:15 579b34f0a95b: Pulling fs layer 19:02:15 579b34f0a95b: Verifying Checksum 19:02:15 579b34f0a95b: Download complete 19:02:15 579b34f0a95b: Pull complete 19:02:15 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 19:02:15 Status: Downloaded newer image for alpine:3.18 19:02:15 ---> 3cc203321400 19:02:15 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 19:02:15 ---> Running in 0ce4b75de52e 19:02:15 Removing intermediate container 0ce4b75de52e 19:02:15 ---> 68b84f59ac85 19:02:15 Step 15/24 : RUN apk add --update --no-cache dumb-init 19:02:15 ---> Running in b4117760d9c9 19:02:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 19:02:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 19:02:15 (1/1) Installing dumb-init (1.2.5-r2) 19:02:15 Executing busybox-1.36.1-r2.trigger 19:02:15 OK: 8 MiB in 16 packages 19:02:16 Removing intermediate container b4117760d9c9 19:02:16 ---> 5a1670135a1c 19:02:16 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 19:02:18 ---> 5c3b6dfb2f8a 19:02:18 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 19:02:18 ---> 0009c35c39ed 19:02:18 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 19:02:19 ---> c7d674911d8c 19:02:19 Step 19/24 : EXPOSE 59982 19:02:19 ---> Running in ec222db87bb0 19:02:19 Removing intermediate container ec222db87bb0 19:02:19 ---> 356de7ab9487 19:02:19 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 19:02:19 ---> Running in fe4f2f1af861 19:02:20 Removing intermediate container fe4f2f1af861 19:02:20 ---> 828c1383688e 19:02:20 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 19:02:20 ---> Running in 721b40c9a7df 19:02:20 Removing intermediate container 721b40c9a7df 19:02:20 ---> 74f4b97c12a9 19:02:20 Step 22/24 : LABEL arch=arm64 19:02:20 ---> Running in 152f20d9bf30 19:02:20 Removing intermediate container 152f20d9bf30 19:02:20 ---> 0b17fbcfb558 19:02:20 Step 23/24 : LABEL git_sha=2108a7f0be6b4653e5542f63219bf96fe579bd50 19:02:20 ---> Running in 2d6f4be4e3e1 19:02:21 Removing intermediate container 2d6f4be4e3e1 19:02:21 ---> a059d416ebec 19:02:21 Step 24/24 : LABEL version=0.0.0 19:02:21 ---> Running in 2bb821f373f5 19:02:21 Removing intermediate container 2bb821f373f5 19:02:21 ---> 7bdd79cd9ca3 19:02:21 [Warning] One or more build-args [ARCH] were not consumed 19:02:21 Successfully built 7bdd79cd9ca3 19:02:21 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:02:22 19:02:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:02:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:02:22 arm64: Pulling from edgex-lftools-log-publisher 19:02:22 8998bd30e6a1: Pulling fs layer 19:02:22 04944245beec: Pulling fs layer 19:02:22 699f458cf7ca: Pulling fs layer 19:02:22 765212b225bb: Pulling fs layer 19:02:22 f23df028b6ca: Pulling fs layer 19:02:22 d65c8cfc05b1: Pulling fs layer 19:02:22 2437ff75d9bd: Pulling fs layer 19:02:22 f23df028b6ca: Waiting 19:02:22 d65c8cfc05b1: Waiting 19:02:22 2437ff75d9bd: Waiting 19:02:22 765212b225bb: Waiting 19:02:22 04944245beec: Verifying Checksum 19:02:22 04944245beec: Download complete 19:02:22 765212b225bb: Verifying Checksum 19:02:22 765212b225bb: Download complete 19:02:22 f23df028b6ca: Verifying Checksum 19:02:22 f23df028b6ca: Download complete 19:02:23 d65c8cfc05b1: Verifying Checksum 19:02:23 d65c8cfc05b1: Download complete 19:02:23 699f458cf7ca: Verifying Checksum 19:02:23 699f458cf7ca: Download complete 19:02:23 8998bd30e6a1: Verifying Checksum 19:02:23 8998bd30e6a1: Download complete 19:02:26 2437ff75d9bd: Verifying Checksum 19:02:26 2437ff75d9bd: Download complete 19:02:29 8998bd30e6a1: Pull complete 19:02:29 04944245beec: Pull complete 19:02:31 699f458cf7ca: Pull complete 19:02:32 765212b225bb: Pull complete 19:02:33 f23df028b6ca: Pull complete 19:02:33 d65c8cfc05b1: Pull complete 19:02:51 2437ff75d9bd: Pull complete 19:02:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:02:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:02:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:02:51 prd-ubuntu20.04-docker-arm64-4c-16g-17066 does not seem to be running inside a container 19:02:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:02:54 $ docker top d4160b7bf1074eafc8831fa4cff3658ba2e3d8c57c53869ceee8f0543d598622 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:02:55 ---> job-cost.sh 19:02:55 lf-activate-venv: SKIPPING 19:02:55 INFO: No Stack... 19:02:56 INFO: Retrieving Pricing Info for: v3-standard-4 19:02:57 INFO: Archiving Costs [Pipeline] sh 19:02:57 + cat /w/workspace/device-mqtt-go/6/archives/cost.csv 19:02:57 + cut -d, -f6 [Pipeline] lock 19:02:57 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-639-6-stack-cost] 19:02:57 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-639-6-stack-cost] did not exist. Created. 19:02:57 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-639-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:02:58 /w/workspace/device-mqtt-go/6@tmp/durable-dbedc059/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:02:58 + echo total: 0.10999999940395355 [Pipeline] stash 19:02:58 Warning: overwriting stash ‘stack-cost’ 19:02:58 Stashed 1 file(s) [Pipeline] } 19:02:58 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-639-6-stack-cost] [Pipeline] // lock [Pipeline] } 19:02:58 $ docker stop --time=1 d4160b7bf1074eafc8831fa4cff3658ba2e3d8c57c53869ceee8f0543d598622 19:03:00 $ docker rm -f --volumes d4160b7bf1074eafc8831fa4cff3658ba2e3d8c57c53869ceee8f0543d598622 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 19:03:00 provisioning config files... 19:03:00 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp/config14486780238215657503tmp [Pipeline] { [Pipeline] sh 19:03:00 + set +x 19:03:00 + + curlbash -s -s https://codecov.io/bash -- 19:03:00 19:03:00 19:03:00 _____ _ 19:03:00 / ____| | | 19:03:00 | | ___ __| | ___ ___ _____ __ 19:03:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:03:00 | |___| (_) | (_| | __/ (_| (_) \ V / 19:03:00 \_____\___/ \__,_|\___|\___\___/ \_/ 19:03:00 Bash-1.0.6 19:03:00 19:03:00 19:03:00 ==> git version 2.25.1 found 19:03:00 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 19:03:00 Release-Date: 2020-01-08 19:03:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:03:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:03:00 ==> Jenkins CI detected. 19:03:00 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-639 19:03:00 project root: . 19:03:00 --> token set from env 19:03:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:03:00 ==> Running gcov in . (disable via -X gcov) 19:03:00 ==> Python coveragepy not found 19:03:00 ==> Searching for coverage reports in: 19:03:00 + . 19:03:00 -> Found 1 reports 19:03:00 ==> Detecting git/mercurial file structure 19:03:01 ==> Reading reports 19:03:01 + ./coverage.out bytes=18506 19:03:01 ==> Appending adjustments 19:03:01 https://docs.codecov.io/docs/fixing-reports 19:03:01 + Found adjustments 19:03:01 ==> Gzipping contents 19:03:01 4.0K /tmp/codecov.r8iy9v.gz 19:03:01 ==> Uploading reports 19:03:01 url: https://codecov.io 19:03:01 query: branch=PR-639&commit=2108a7f0be6b4653e5542f63219bf96fe579bd50&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-639%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=639&job=&cmd_args= 19:03:01 -> Pinging Codecov 19:03:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-639&commit=2108a7f0be6b4653e5542f63219bf96fe579bd50&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-639%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=639&job=&cmd_args= 19:03:01 -> Uploading to 19:03:01 https://storage.googleapis.com/codecov/v4/raw/2023-11-08/7D719EC7BBE17E464838252E33014C33/2108a7f0be6b4653e5542f63219bf96fe579bd50/3897610c-394b-44e7-870d-72ec452c67a7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231108T190301Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=79df1f35153a33a13bb801894d6b79d00662c7382f10c8f74b03c0c66e2bb339 19:03:01 % Total % Received % Xferd Average Speed Time Time Time Current 19:03:01 Dload Upload Total Spent Left Speed 19:03:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 13142 --:--:-- --:--:-- --:--:-- 13142 19:03:01 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/2108a7f0be6b4653e5542f63219bf96fe579bd50 [Pipeline] } 19:03:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:03:02 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-639/archives ] 19:03:02 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-639/archives 19:03:02 total 16 19:03:02 drwxr-xr-x 3 root root 4096 Nov 8 18:53 . 19:03:02 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 18:53 .. 19:03:02 drwxr-xr-x 2 root root 4096 Nov 8 18:53 cost 19:03:02 -rw-r--r-- 1 root root 86 Nov 8 18:53 cost.csv 19:03:02 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-639/archives 19:03:02 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-639/archives 19:03:02 total 16 19:03:02 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 18:53 . 19:03:02 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 18:53 .. 19:03:02 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 18:53 cost 19:03:02 -rw-r--r-- 1 jenkins jenkins 86 Nov 8 18:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:03:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:03:03 ---> package-listing.sh 19:03:03 ++ facter osfamily 19:03:03 ++ tr '[:upper:]' '[:lower:]' 19:03:03 + OS_FAMILY=debian 19:03:03 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-639 19:03:03 + START_PACKAGES=/tmp/packages_start.txt 19:03:03 + END_PACKAGES=/tmp/packages_end.txt 19:03:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:03:03 + PACKAGES=/tmp/packages_start.txt 19:03:03 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-639 ']' 19:03:03 + PACKAGES=/tmp/packages_end.txt 19:03:03 + case "${OS_FAMILY}" in 19:03:03 + dpkg -l 19:03:03 + grep '^ii' 19:03:03 + '[' -f /tmp/packages_start.txt ']' 19:03:03 + '[' -f /tmp/packages_end.txt ']' 19:03:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:03:03 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-639 ']' 19:03:03 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-639/archives/ 19:03:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-639/archives/ [Pipeline] echo 19:03:03 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-639/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:03:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:03:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:03:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:03:04 prd-ubuntu20.04-docker-8c-8g-17058 does not seem to be running inside a container 19:03:04 $ 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-639/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-639 -v /w/workspace/gexfoundry_device-mqtt-go_PR-639:/w/workspace/gexfoundry_device-mqtt-go_PR-639:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:03:04 $ docker top f1594e011b5e7ce5f870898e732d8ea6aaad1ad4bae44a1f90394afe9434cedf -eo pid,comm [Pipeline] { [Pipeline] sh 19:03:04 + touch /tmp/pre-build-complete [Pipeline] sh 19:03:05 + mkdir -p /var/log/sysstat [Pipeline] sh 19:03:05 + ls /var/log/sa-host 19:03:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:03:05 provisioning config files... 19:03:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-639@tmp/config17383999970867571650tmp [Pipeline] { [Pipeline] echo 19:03:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:03:05 ---> create-netrc.sh [Pipeline] } 19:03:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:03:06 ---> python-tools-install.sh [Pipeline] echo 19:03:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:03:06 ---> sudo-logs.sh 19:03:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:03:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:03:06 ---> job-cost.sh 19:03:06 lf-activate-venv: SKIPPING 19:03:06 DEBUG: total: 0.2199999988079071 19:03:06 INFO: Retrieving Stack Cost... 19:03:07 INFO: Retrieving Pricing Info for: v3-standard-8 19:03:07 INFO: Archiving Costs [Pipeline] echo 19:03:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:03:08 ---> logs-deploy.sh 19:03:08 lf-activate-venv: SKIPPING 19:03:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-639/6 19:03:08 INFO: archiving workspace using pattern(s): 19:03:08 Archives upload complete. 19:03:08 INFO: archiving logs to Nexus