Pull request #586 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 5500aa373bb866aa937a2fac55d86bb07361b215+44db128f908bb002eba25d15c491b9a779a086c0 (62b13741c3b9a8f08bae65443ad0c39736e1249c) 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-ssh804108957315053070.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh8204079074765210637.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-586/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-586/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6373526642985049343.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh12475514299254681813.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-586/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-586/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12054104683727830886.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, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 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 ‘prd-ubuntu20.04-docker-8c-8g-12258’ is offline Running on prd-ubuntu20.04-docker-8c-8g-12260 in /w/workspace/gexfoundry_device-mqtt-go_PR-586 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-586 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 44db128f908bb002eba25d15c491b9a779a086c0 into PR head commit 5500aa373bb866aa937a2fac55d86bb07361b215 Merge succeeded, producing 5500aa373bb866aa937a2fac55d86bb07361b215 Checking out Revision 5500aa373bb866aa937a2fac55d86bb07361b215 (PR-586) > git config core.sparsecheckout # timeout=10 > git checkout -f 5500aa373bb866aa937a2fac55d86bb07361b215 # 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 44db128f908bb002eba25d15c491b9a779a086c0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5500aa373bb866aa937a2fac55d86bb07361b215 # timeout=10 Commit message: "feat!: Handle receiving multiple readings in the async payload" First time build. Skipping changelog. > git rev-list --no-walk c597fb52093f4e3a63fd195cf53ade63a9932301 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:38:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:38:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:38:15 ========================================================= 23:38:15 EdgeX Global Pipelines Version Info 23:38:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:38:16 ------------------- 23:38:16 stable info: 23:38:16 ------------------- 23:38:16 Commited By: Bill Mahoney bill.mahoney@intel.com 23:38:16 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 23:38:16 Message: update stable to v1.0.248 23:38:16 ------------------- 23:38:16 experimental info: 23:38:16 ------------------- 23:38:16 Commited By: **** collab-it+edgex@linuxfoundation.org 23:38:16 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:38:16 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:38:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:38:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:38:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:38:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:38:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:38:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:38:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:38:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:38:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:38:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:38:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:38:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:38:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:38:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:38:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:38:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:38:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:38:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:38:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:38:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:38:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:38:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:38:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:38:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:38:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:38:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:38:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:38:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-586 [Pipeline] echo 23:38:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-586 [Pipeline] echo 23:38:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-586 [Pipeline] echo 23:38:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5500aa373bb866aa937a2fac55d86bb07361b215 [Pipeline] echo 23:38:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5500aa3 [Pipeline] echo 23:38:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:38:17 provisioning config files... 23:38:17 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/config16149592898193056369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:38:17 ---> docker-login.sh 23:38:17 nexus3.edgexfoundry.org:10001 23:38:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:17 Configure a credential helper to remove this warning. See 23:38:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:17 23:38:17 Login Succeeded 23:38:17 nexus3.edgexfoundry.org:10002 23:38:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:17 Configure a credential helper to remove this warning. See 23:38:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:17 23:38:17 Login Succeeded 23:38:17 nexus3.edgexfoundry.org:10003 23:38:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:18 Configure a credential helper to remove this warning. See 23:38:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:18 23:38:18 Login Succeeded 23:38:18 nexus3.edgexfoundry.org:10004 23:38:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:18 Configure a credential helper to remove this warning. See 23:38:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:18 23:38:18 Login Succeeded 23:38:18 docker.io 23:38:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:18 Configure a credential helper to remove this warning. See 23:38:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:18 23:38:18 Login Succeeded 23:38:18 ---> docker-login.sh ends [Pipeline] } 23:38:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:38:18 + git rev-list -1 --merges 5500aa373bb866aa937a2fac55d86bb07361b215~1..5500aa373bb866aa937a2fac55d86bb07361b215 [Pipeline] echo 23:38:18 -----------> git rev-list -1 --merges 5500aa373bb866aa937a2fac55d86bb07361b215~1..5500aa373bb866aa937a2fac55d86bb07361b215 5500aa373bb866aa937a2fac55d86bb07361b215 [false] [Pipeline] sh 23:38:19 + git log --format=format:%s -1 5500aa373bb866aa937a2fac55d86bb07361b215 [Pipeline] echo 23:38:19 ========================================================= 23:38:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:38:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:38:19 + git log --format=format:%s -1 5500aa373bb866aa937a2fac55d86bb07361b215 [Pipeline] echo 23:38:19 [semverPrep] GIT_COMMIT: 5500aa373bb866aa937a2fac55d86bb07361b215, Commit Message: feat!: Handle receiving multiple readings in the async payload [Pipeline] echo 23:38:19 [semverPrep] This is not a build commit. [Pipeline] sh 23:38:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:38:19 + grep -v github /etc/ssh/ssh_known_hosts 23:38:19 + [ -e /tmp/ssh_known_hosts ] 23:38:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:38:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:38:19 + sudo tee -a /etc/ssh/ssh_known_hosts 23:38:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:38:20 23:38:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:38:20 0.1.4: Pulling from edgex-devops/py-git-semver 23:38:20 b85a868b505f: Pulling fs layer 23:38:20 e2be974225ed: Pulling fs layer 23:38:20 339a4e72a1f5: Pulling fs layer 23:38:20 988bab9f4d93: Pulling fs layer 23:38:20 1469e6f7b9e6: Pulling fs layer 23:38:20 eaf3925da568: Pulling fs layer 23:38:20 bab4dde63d76: Pulling fs layer 23:38:20 bde34c3a00c8: Pulling fs layer 23:38:20 b352a97aabf1: Pulling fs layer 23:38:20 4872d77fe225: Pulling fs layer 23:38:20 5851b861e8e6: Pulling fs layer 23:38:20 1469e6f7b9e6: Waiting 23:38:20 bab4dde63d76: Waiting 23:38:20 bde34c3a00c8: Waiting 23:38:20 b352a97aabf1: Waiting 23:38:20 eaf3925da568: Waiting 23:38:20 4872d77fe225: Waiting 23:38:20 5851b861e8e6: Waiting 23:38:20 988bab9f4d93: Waiting 23:38:20 e2be974225ed: Download complete 23:38:20 988bab9f4d93: Verifying Checksum 23:38:20 988bab9f4d93: Download complete 23:38:20 339a4e72a1f5: Verifying Checksum 23:38:20 339a4e72a1f5: Download complete 23:38:20 1469e6f7b9e6: Verifying Checksum 23:38:20 1469e6f7b9e6: Download complete 23:38:20 eaf3925da568: Download complete 23:38:20 bde34c3a00c8: Download complete 23:38:20 b352a97aabf1: Verifying Checksum 23:38:20 b352a97aabf1: Download complete 23:38:20 4872d77fe225: Verifying Checksum 23:38:20 4872d77fe225: Download complete 23:38:20 5851b861e8e6: Download complete 23:38:20 b85a868b505f: Verifying Checksum 23:38:20 b85a868b505f: Download complete 23:38:21 bab4dde63d76: Verifying Checksum 23:38:21 bab4dde63d76: Download complete 23:38:22 b85a868b505f: Pull complete 23:38:22 e2be974225ed: Pull complete 23:38:22 339a4e72a1f5: Pull complete 23:38:22 988bab9f4d93: Pull complete 23:38:22 1469e6f7b9e6: Pull complete 23:38:22 eaf3925da568: Pull complete 23:38:24 bab4dde63d76: Pull complete 23:38:24 bde34c3a00c8: Pull complete 23:38:24 b352a97aabf1: Pull complete 23:38:24 4872d77fe225: Pull complete 23:38:24 5851b861e8e6: Pull complete 23:38:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:38:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:38:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:38:24 prd-ubuntu20.04-docker-8c-8g-12260 does not seem to be running inside a container 23:38:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-586 -v /w/workspace/gexfoundry_device-mqtt-go_PR-586:/w/workspace/gexfoundry_device-mqtt-go_PR-586:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-586@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-devops/py-git-semver:0.1.4 cat 23:38:27 $ docker top 8fd3e7ab4f63d1e83be69f9e34a35c3ab1c2181276d1886022bdef4e8b1186be -eo pid,comm 23:38:27 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). 23:38:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:38:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:38:27 [ssh-agent] Looking for ssh-agent implementation... 23:38:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:38:27 $ docker exec 8fd3e7ab4f63d1e83be69f9e34a35c3ab1c2181276d1886022bdef4e8b1186be ssh-agent 23:38:27 SSH_AUTH_SOCK=/tmp/ssh-EryfiDElWvd0/agent.32 23:38:27 SSH_AGENT_PID=38 23:38:27 Running ssh-add (command line suppressed) 23:38:27 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/private_key_11688920741226068541.key (/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/private_key_11688920741226068541.key) 23:38:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:38:27 + git tag --points-at HEAD [Pipeline] } 23:38:27 $ docker exec --env ******** --env ******** 8fd3e7ab4f63d1e83be69f9e34a35c3ab1c2181276d1886022bdef4e8b1186be ssh-agent -k 23:38:27 unset SSH_AUTH_SOCK; 23:38:27 unset SSH_AGENT_PID; 23:38:27 echo Agent pid 38 killed; 23:38:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:38:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:38:27 [ssh-agent] Looking for ssh-agent implementation... 23:38:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:38:28 $ docker exec 8fd3e7ab4f63d1e83be69f9e34a35c3ab1c2181276d1886022bdef4e8b1186be ssh-agent 23:38:28 SSH_AUTH_SOCK=/tmp/ssh-7a73Da33u1gu/agent.70 23:38:28 SSH_AGENT_PID=76 23:38:28 Running ssh-add (command line suppressed) 23:38:28 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/private_key_66615640592333058.key (/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/private_key_66615640592333058.key) 23:38:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:38:28 + git semver init 23:38:28 2023-05-01 23:38:28,800 [run_init] DEBUG init version:0.0.0 force:False 23:38:28 2023-05-01 23:38:28,801 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver 23:38:28 2023-05-01 23:38:28,801 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver 23:38:28 2023-05-01 23:38:28,802 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-586, universal_newlines=False, shell=None, istream=None) 23:38:29 2023-05-01 23:38:29,574 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586/.git/info/exclude 23:38:29 2023-05-01 23:38:29,574 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver/PR-586 with force:False 23:38:29 2023-05-01 23:38:29,574 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver/PR-586 23:38:29 2023-05-01 23:38:29,577 [execute] INFO git cat-file --batch-check 23:38:29 2023-05-01 23:38:29,578 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver, universal_newlines=False, shell=None, istream=) 23:38:29 2023-05-01 23:38:29,583 [execute] INFO git cat-file --batch 23:38:29 2023-05-01 23:38:29,583 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver, universal_newlines=False, shell=None, istream=) 23:38:29 2023-05-01 23:38:29,588 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver/PR-586 23:38:29 0.0.0 [Pipeline] } 23:38:29 $ docker exec --env ******** --env ******** 8fd3e7ab4f63d1e83be69f9e34a35c3ab1c2181276d1886022bdef4e8b1186be ssh-agent -k 23:38:29 unset SSH_AUTH_SOCK; 23:38:29 unset SSH_AGENT_PID; 23:38:29 echo Agent pid 76 killed; 23:38:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:38:30 + git semver [Pipeline] } 23:38:30 $ docker stop --time=1 8fd3e7ab4f63d1e83be69f9e34a35c3ab1c2181276d1886022bdef4e8b1186be 23:38:31 $ docker rm -f --volumes 8fd3e7ab4f63d1e83be69f9e34a35c3ab1c2181276d1886022bdef4e8b1186be [Pipeline] // withDockerContainer [Pipeline] sh 23:38:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:38:32 Stashed 1 file(s) [Pipeline] echo 23:38:32 [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 23:38:32 provisioning config files... 23:38:32 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/config11453463313847522574tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:38:32 ---> docker-login.sh 23:38:32 nexus3.edgexfoundry.org:10001 23:38:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:32 Configure a credential helper to remove this warning. See 23:38:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:32 23:38:32 Login Succeeded 23:38:32 nexus3.edgexfoundry.org:10002 23:38:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:32 Configure a credential helper to remove this warning. See 23:38:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:32 23:38:32 Login Succeeded 23:38:32 nexus3.edgexfoundry.org:10003 23:38:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:33 Configure a credential helper to remove this warning. See 23:38:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:33 23:38:33 Login Succeeded 23:38:33 nexus3.edgexfoundry.org:10004 23:38:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:33 Configure a credential helper to remove this warning. See 23:38:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:33 23:38:33 Login Succeeded 23:38:33 docker.io 23:38:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:38:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:38:33 Configure a credential helper to remove this warning. See 23:38:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:38:33 23:38:33 Login Succeeded 23:38:33 ---> docker-login.sh ends [Pipeline] } 23:38:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:38:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:38:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:38:33 ========================================================= 23:38:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:38:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:38:33 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:38:33 Sending build context to Docker daemon 6.504MB 23:38:33 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:38:33 Step 2/12 : FROM ${BASE} AS builder 23:38:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:38:33 f56be85fc22e: Pulling fs layer 23:38:33 85791d961cd3: Pulling fs layer 23:38:33 d694b5ae8c79: Pulling fs layer 23:38:33 9f32a84ed3da: Pulling fs layer 23:38:33 4d19c01a9841: Pulling fs layer 23:38:33 9325e15d5711: Pulling fs layer 23:38:33 556b6ee489ea: Pulling fs layer 23:38:33 c5a4b2cf53e6: Pulling fs layer 23:38:33 9f32a84ed3da: Waiting 23:38:33 9325e15d5711: Waiting 23:38:33 4d19c01a9841: Waiting 23:38:33 c5a4b2cf53e6: Waiting 23:38:33 556b6ee489ea: Waiting 23:38:33 85791d961cd3: Download complete 23:38:33 9f32a84ed3da: Verifying Checksum 23:38:33 9f32a84ed3da: Download complete 23:38:34 4d19c01a9841: Verifying Checksum 23:38:34 4d19c01a9841: Download complete 23:38:34 f56be85fc22e: Verifying Checksum 23:38:34 f56be85fc22e: Download complete 23:38:34 9325e15d5711: Verifying Checksum 23:38:34 9325e15d5711: Download complete 23:38:34 f56be85fc22e: Pull complete 23:38:34 85791d961cd3: Pull complete 23:38:34 c5a4b2cf53e6: Verifying Checksum 23:38:34 c5a4b2cf53e6: Download complete 23:38:34 d694b5ae8c79: Verifying Checksum 23:38:34 d694b5ae8c79: Download complete 23:38:34 556b6ee489ea: Verifying Checksum 23:38:34 556b6ee489ea: Download complete 23:38:37 d694b5ae8c79: Pull complete 23:38:37 9f32a84ed3da: Pull complete 23:38:37 4d19c01a9841: Pull complete 23:38:37 9325e15d5711: Pull complete 23:38:39 556b6ee489ea: Pull complete 23:38:40 c5a4b2cf53e6: Pull complete 23:38:40 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:38:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:38:40 ---> c4be618373d6 23:38:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:38:43 ---> Running in eab0c562f3f7 23:38:43 Removing intermediate container eab0c562f3f7 23:38:43 ---> 6e3a00dbe6d7 23:38:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:38:43 ---> Running in e70056a1e7cb 23:38:43 Removing intermediate container e70056a1e7cb 23:38:43 ---> d816ecd8ef54 23:38:43 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:38:44 ---> Running in 93c347e113a9 23:38:44 Removing intermediate container 93c347e113a9 23:38:44 ---> 9b1bf72a9177 23:38:44 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:38:44 ---> Running in 3812618c80c0 23:38:44 Removing intermediate container 3812618c80c0 23:38:44 ---> 34748ca031a3 23:38:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:38:44 ---> Running in 928fe78ca752 23:38:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:38:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:38:45 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:38:45 (2/4) Installing libedit (20221030.3.1-r0) 23:38:45 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:38:45 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:38:45 Executing busybox-1.35.0-r29.trigger 23:38:45 OK: 269 MiB in 57 packages 23:38:45 Removing intermediate container 928fe78ca752 23:38:45 ---> ef81ced0a4dc 23:38:45 Step 8/12 : WORKDIR /device-mqtt-go 23:38:45 ---> Running in 95e0c446da1a 23:38:45 Removing intermediate container 95e0c446da1a 23:38:45 ---> 4856f2e58c34 23:38:45 Step 9/12 : COPY go.mod vendor* ./ 23:38:45 ---> 04b0052874e8 23:38:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:38:45 ---> Running in 9a66a27bed7e 23:38:47 Still waiting to schedule task 23:38:47 ‘prd-ubuntu20.04-docker-arm64-4c-16g-12259’ is offline 23:39:12 Removing intermediate container 9a66a27bed7e 23:39:12 ---> 48fcdceea90b 23:39:12 Step 11/12 : COPY . . 23:39:12 ---> 41b1065e5180 23:39:12 Step 12/12 : RUN $MAKE 23:39:12 ---> Running in 31c5767c2065 23:39:12 noop 23:39:12 Removing intermediate container 31c5767c2065 23:39:12 ---> 8320cff5fbf4 23:39:12 Successfully built 8320cff5fbf4 23:39:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:12 + docker inspect -f . ci-base-image-x86_64 23:39:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:39:12 prd-ubuntu20.04-docker-8c-8g-12260 does not seem to be running inside a container 23:39:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-586 -v /w/workspace/gexfoundry_device-mqtt-go_PR-586:/w/workspace/gexfoundry_device-mqtt-go_PR-586:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-586@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 ******** -e ******** ci-base-image-x86_64 cat 23:39:12 $ docker top 81bd13dadfbe3715438af1a41c533b65506632f0922f2737cf3b1538ad7674c6 -eo pid,comm [Pipeline] { [Pipeline] sh 23:39:13 + go version 23:39:13 go version go1.20.2 linux/amd64 [Pipeline] } 23:39:13 $ docker stop --time=1 81bd13dadfbe3715438af1a41c533b65506632f0922f2737cf3b1538ad7674c6 23:39:14 $ docker rm -f --volumes 81bd13dadfbe3715438af1a41c533b65506632f0922f2737cf3b1538ad7674c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:14 + docker inspect -f . ci-base-image-x86_64 23:39:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:39:15 prd-ubuntu20.04-docker-8c-8g-12260 does not seem to be running inside a container 23:39:15 $ 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-586 -v /w/workspace/gexfoundry_device-mqtt-go_PR-586:/w/workspace/gexfoundry_device-mqtt-go_PR-586:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-586@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 ******** -e ******** ci-base-image-x86_64 cat 23:39:15 $ docker top 7582537e0cc58541ce64c57e665d9abf8aa71591f059e6a5b17ca3cd478b8699 -eo pid,comm [Pipeline] { [Pipeline] sh 23:39:15 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-586 [Pipeline] fileExists [Pipeline] sh 23:39:15 + make test 23:39:15 go test ./... -coverprofile=coverage.out ./... 23:39:21 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:39:31 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:39:31 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:39:31 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 23.1% of statements 23:39:37 go vet ./... 23:39:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:39:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:39:40 ./bin/test-attribution-txt.sh [Pipeline] echo 23:39:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:39:40 $ docker stop --time=1 7582537e0cc58541ce64c57e665d9abf8aa71591f059e6a5b17ca3cd478b8699 23:39:43 $ docker rm -f --volumes 7582537e0cc58541ce64c57e665d9abf8aa71591f059e6a5b17ca3cd478b8699 [Pipeline] // withDockerContainer [Pipeline] sh 23:39:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:39:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:39:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:39:44 + ls -al . 23:39:44 total 180 23:39:44 drwxrwxr-x 10 jenkins jenkins 4096 May 1 23:39 . 23:39:44 drwxrwxr-x 4 jenkins jenkins 4096 May 1 23:38 .. 23:39:44 -rw-rw-r-- 1 jenkins jenkins 140 May 1 23:38 .dockerignore 23:39:44 drwxrwxr-x 8 jenkins jenkins 4096 May 1 23:38 .git 23:39:44 drwxrwxr-x 3 jenkins jenkins 4096 May 1 23:38 .github 23:39:44 -rw-rw-r-- 1 jenkins jenkins 329 May 1 23:38 .gitignore 23:39:44 -rw-rw-r-- 1 jenkins jenkins 41 May 1 23:38 .golangci.yml 23:39:44 drwxr-xr-x 3 jenkins jenkins 4096 May 1 23:38 .semver 23:39:44 -rw-rw-r-- 1 jenkins jenkins 9417 May 1 23:38 Attribution.txt 23:39:44 -rw-rw-r-- 1 jenkins jenkins 13162 May 1 23:38 CHANGELOG.md 23:39:44 -rw-rw-r-- 1 jenkins jenkins 1689 May 1 23:38 Dockerfile 23:39:44 -rw-rw-r-- 1 jenkins jenkins 677 May 1 23:38 GOVERNANCE.md 23:39:44 -rw-rw-r-- 1 jenkins jenkins 678 May 1 23:38 Jenkinsfile 23:39:44 -rw-rw-r-- 1 jenkins jenkins 11340 May 1 23:38 LICENSE 23:39:44 -rw-rw-r-- 1 jenkins jenkins 1732 May 1 23:38 Makefile 23:39:44 -rw-rw-r-- 1 jenkins jenkins 620 May 1 23:38 OWNERS.md 23:39:44 -rw-rw-r-- 1 jenkins jenkins 3165 May 1 23:38 README.md 23:39:44 -rw-rw-r-- 1 jenkins jenkins 5 May 1 23:38 VERSION 23:39:44 drwxrwxr-x 2 jenkins jenkins 4096 May 1 23:38 bin 23:39:44 drwxrwxr-x 3 jenkins jenkins 4096 May 1 23:38 cmd 23:39:44 -rw-r--r-- 1 jenkins jenkins 18144 May 1 23:39 coverage.out 23:39:44 -rw-rw-r-- 1 jenkins jenkins 3333 May 1 23:38 go.mod 23:39:44 -rw-rw-r-- 1 jenkins jenkins 31443 May 1 23:38 go.sum 23:39:44 drwxrwxr-x 3 jenkins jenkins 4096 May 1 23:38 internal 23:39:44 drwxrwxr-x 2 jenkins jenkins 4096 May 1 23:38 mock 23:39:44 drwxrwxr-x 4 jenkins jenkins 4096 May 1 23:38 snap 23:39:44 -rw-rw-r-- 1 jenkins jenkins 227 May 1 23:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:39:45 + 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=5500aa373bb866aa937a2fac55d86bb07361b215 --label arch=amd64 --label version=0.0.0 . 23:39:45 Sending build context to Docker daemon 6.523MB 23:39:45 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:39:45 Step 2/24 : FROM ${BASE} AS builder 23:39:45 ---> 8320cff5fbf4 23:39:45 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:39:45 ---> Running in 0615764b84fa 23:39:45 Removing intermediate container 0615764b84fa 23:39:45 ---> 2128d26f73c3 23:39:45 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:39:45 ---> Running in 5e107f2f267b 23:39:45 Removing intermediate container 5e107f2f267b 23:39:45 ---> f6991465569a 23:39:45 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:39:45 ---> Running in a7b6e322e790 23:39:45 Removing intermediate container a7b6e322e790 23:39:45 ---> 2566da0d91c3 23:39:45 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:39:45 ---> Running in bc8d6cabc668 23:39:45 Removing intermediate container bc8d6cabc668 23:39:45 ---> e9c439e9a5df 23:39:45 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:39:45 ---> Running in 6c0362830967 23:39:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:39:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:39:46 OK: 269 MiB in 57 packages 23:39:46 Removing intermediate container 6c0362830967 23:39:46 ---> 078815835eec 23:39:46 Step 8/24 : WORKDIR /device-mqtt-go 23:39:46 ---> Running in ace996ce14a7 23:39:47 Removing intermediate container ace996ce14a7 23:39:47 ---> 2e1dc667b45f 23:39:47 Step 9/24 : COPY go.mod vendor* ./ 23:39:47 ---> 932b8f60b889 23:39:47 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:39:47 ---> Running in ef6c564098e8 23:39:49 Removing intermediate container ef6c564098e8 23:39:49 ---> 200f3b72019f 23:39:49 Step 11/24 : COPY . . 23:39:49 ---> 4f1fa3053fc2 23:39:49 Step 12/24 : RUN $MAKE 23:39:49 ---> Running in 65761411a0da 23:39:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:40:08 Removing intermediate container 65761411a0da 23:40:08 ---> db3a96b5633d 23:40:08 Step 13/24 : FROM alpine:3.17 23:40:08 3.17: Pulling from library/alpine 23:40:08 f56be85fc22e: Already exists 23:40:08 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:40:08 Status: Downloaded newer image for alpine:3.17 23:40:08 ---> 9ed4aefc74f6 23:40:08 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:40:08 ---> Running in f70111a08265 23:40:08 Removing intermediate container f70111a08265 23:40:08 ---> 3bd2011584dd 23:40:08 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:40:08 ---> Running in d7795abcc9f0 23:40:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:40:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:40:09 (1/1) Installing dumb-init (1.2.5-r2) 23:40:09 Executing busybox-1.35.0-r29.trigger 23:40:09 OK: 7 MiB in 16 packages 23:40:09 Removing intermediate container d7795abcc9f0 23:40:09 ---> b565d2de90cf 23:40:09 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:40:10 ---> 82fa7b965235 23:40:10 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:40:10 ---> 0de79f0a88f9 23:40:10 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:40:10 ---> 72ba89d2dc97 23:40:10 Step 19/24 : EXPOSE 59982 23:40:10 ---> Running in c50682e500a7 23:40:10 Removing intermediate container c50682e500a7 23:40:10 ---> ef04d66a2e3e 23:40:10 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:40:10 ---> Running in fa0c6af4f9e4 23:40:10 Removing intermediate container fa0c6af4f9e4 23:40:10 ---> d0c9b66e563f 23:40:10 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:40:10 ---> Running in c2ebdfe5c801 23:40:10 Removing intermediate container c2ebdfe5c801 23:40:10 ---> 9ae8f3d9c4c6 23:40:10 Step 22/24 : LABEL arch=amd64 23:40:10 ---> Running in 5b749609b455 23:40:10 Removing intermediate container 5b749609b455 23:40:10 ---> 6fd338924acd 23:40:10 Step 23/24 : LABEL git_sha=5500aa373bb866aa937a2fac55d86bb07361b215 23:40:10 ---> Running in 8b50d188944d 23:40:11 Removing intermediate container 8b50d188944d 23:40:11 ---> c98a07a17757 23:40:11 Step 24/24 : LABEL version=0.0.0 23:40:11 ---> Running in 8a41586280b5 23:40:11 Removing intermediate container 8a41586280b5 23:40:11 ---> 365cd3cf433f 23:40:11 [Warning] One or more build-args [ARCH] were not consumed 23:40:11 Successfully built 365cd3cf433f 23:40:11 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 23:40:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:40:11 23:40:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:40:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:40:11 latest: Pulling from edgex-lftools-log-publisher 23:40:11 5eb5b503b376: Pulling fs layer 23:40:11 5c69ac0246d0: Pulling fs layer 23:40:11 ec43610c2a17: Pulling fs layer 23:40:11 3a2ae6a8a46f: Pulling fs layer 23:40:11 33b1e0a273af: Pulling fs layer 23:40:11 5d3b04190fa2: Pulling fs layer 23:40:11 2f39f015ded8: Pulling fs layer 23:40:11 5d3b04190fa2: Waiting 23:40:11 33b1e0a273af: Waiting 23:40:11 2f39f015ded8: Waiting 23:40:11 3a2ae6a8a46f: Waiting 23:40:11 5c69ac0246d0: Verifying Checksum 23:40:11 5c69ac0246d0: Download complete 23:40:11 3a2ae6a8a46f: Verifying Checksum 23:40:11 3a2ae6a8a46f: Download complete 23:40:11 33b1e0a273af: Verifying Checksum 23:40:11 33b1e0a273af: Download complete 23:40:11 5d3b04190fa2: Verifying Checksum 23:40:11 5d3b04190fa2: Download complete 23:40:11 ec43610c2a17: Download complete 23:40:12 5eb5b503b376: Verifying Checksum 23:40:12 5eb5b503b376: Download complete 23:40:12 2f39f015ded8: Download complete 23:40:13 5eb5b503b376: Pull complete 23:40:13 5c69ac0246d0: Pull complete 23:40:13 ec43610c2a17: Pull complete 23:40:13 3a2ae6a8a46f: Pull complete 23:40:14 33b1e0a273af: Pull complete 23:40:14 5d3b04190fa2: Pull complete 23:40:18 2f39f015ded8: Pull complete 23:40:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:40:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:40:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:40:18 prd-ubuntu20.04-docker-8c-8g-12260 does not seem to be running inside a container 23:40:18 $ 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-586 -v /w/workspace/gexfoundry_device-mqtt-go_PR-586:/w/workspace/gexfoundry_device-mqtt-go_PR-586:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-586@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:40:21 $ docker top c825d6793b694078bbfbebbb2b6261fdd93741a71a2890ed1d7d8f37a50ca9a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:40:21 ---> job-cost.sh 23:40:21 lf-activate-venv: SKIPPING 23:40:21 INFO: No Stack... 23:40:21 INFO: Retrieving Pricing Info for: v3-standard-8 23:40:21 INFO: Archiving Costs [Pipeline] sh 23:40:22 + cut -d, -f6 23:40:22 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives/cost.csv [Pipeline] lock 23:40:22 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-586-4-stack-cost] 23:40:22 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-586-4-stack-cost] did not exist. Created. 23:40:22 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-586-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:40:22 + echo total: 0.2199999988079071 [Pipeline] stash 23:40:22 Stashed 1 file(s) [Pipeline] } 23:40:22 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-586-4-stack-cost] [Pipeline] // lock [Pipeline] } 23:40:22 $ docker stop --time=1 c825d6793b694078bbfbebbb2b6261fdd93741a71a2890ed1d7d8f37a50ca9a1 23:40:23 $ docker rm -f --volumes c825d6793b694078bbfbebbb2b6261fdd93741a71a2890ed1d7d8f37a50ca9a1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } 23:40:23 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12261 in /w/workspace/gexfoundry_device-mqtt-go_PR-586 [Pipeline] // stage [Pipeline] } [Pipeline] { [Pipeline] ws 23:40:23 Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout 23:40:23 Selected Git installation does not exist. Using Default 23:40:23 The recommended git tool is: NONE 23:40:29 using credential edgex-jenkins-ssh 23:40:29 Cloning the remote Git repository 23:40:29 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:40:29 > git init /w/workspace/device-mqtt-go/4 # timeout=10 23:40:29 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:40:29 > git --version # timeout=10 23:40:29 > git --version # 'git version 2.25.1' 23:40:29 using GIT_SSH to set credentials SSH Credentials for GitHub 23:40:29 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:40:30 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:40:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:40:32 Merging remotes/origin/main commit 44db128f908bb002eba25d15c491b9a779a086c0 into PR head commit 5500aa373bb866aa937a2fac55d86bb07361b215 23:40:32 Merge succeeded, producing 5500aa373bb866aa937a2fac55d86bb07361b215 23:40:32 Checking out Revision 5500aa373bb866aa937a2fac55d86bb07361b215 (PR-586) 23:40:31 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:40:31 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:40:31 using GIT_SSH to set credentials SSH Credentials for GitHub 23:40:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/586/head:refs/remotes/origin/PR-586 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:40:32 > git config core.sparsecheckout # timeout=10 23:40:32 > git checkout -f 5500aa373bb866aa937a2fac55d86bb07361b215 # timeout=10 23:40:32 > git remote # timeout=10 23:40:32 > git config --get remote.origin.url # timeout=10 23:40:32 using GIT_SSH to set credentials SSH Credentials for GitHub 23:40:32 > git merge 44db128f908bb002eba25d15c491b9a779a086c0 # timeout=10 23:40:32 > git rev-parse HEAD^{commit} # timeout=10 23:40:32 > git config core.sparsecheckout # timeout=10 23:40:32 > git checkout -f 5500aa373bb866aa937a2fac55d86bb07361b215 # timeout=10 23:40:36 Commit message: "feat!: Handle receiving multiple readings in the async payload" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:40:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:40:37 % Total % Received % Xferd Average Speed Time Time Time Current 23:40:37 Dload Upload Total Spent Left Speed 23:40:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86155 0 --:--:-- --:--:-- --:--:-- 85577 100 12751 100 12751 0 0 85577 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh 23:40:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:40:38 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:40:38 + sudo tee /etc/docker/daemon.new 23:40:38 { 23:40:38 "registry-mirrors": [ 23:40:38 "https://nexus3.edgexfoundry.org:10001" 23:40:38 ], 23:40:38 "bip": "10.250.0.254/24", 23:40:38 "hosts": [ 23:40:38 "tcp://0.0.0.0:5555", 23:40:38 "unix:///var/run/docker.sock" 23:40:38 ], 23:40:38 "mtu": 1458, 23:40:38 "selinux-enabled": true, 23:40:38 "seccomp-profile": "/etc/docker/seccomp.json" 23:40:38 } [Pipeline] sh 23:40:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:40:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:40:57 provisioning config files... 23:40:57 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config2839122515463431003tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:40:57 ---> docker-login.sh 23:40:57 nexus3.edgexfoundry.org:10001 23:40:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:58 Configure a credential helper to remove this warning. See 23:40:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:58 23:40:58 Login Succeeded 23:40:58 nexus3.edgexfoundry.org:10002 23:40:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:58 Configure a credential helper to remove this warning. See 23:40:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:58 23:40:58 Login Succeeded 23:40:58 nexus3.edgexfoundry.org:10003 23:40:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:58 Configure a credential helper to remove this warning. See 23:40:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:58 23:40:58 Login Succeeded 23:40:58 nexus3.edgexfoundry.org:10004 23:40:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:59 Configure a credential helper to remove this warning. See 23:40:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:59 23:40:59 Login Succeeded 23:40:59 docker.io 23:40:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:40:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:40:59 Configure a credential helper to remove this warning. See 23:40:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:40:59 23:40:59 Login Succeeded 23:40:59 ---> docker-login.sh ends [Pipeline] } 23:40:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:40:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:40:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:40:59 ========================================================= 23:40:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:40:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:41:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:41:00 Sending build context to Docker daemon 3.4MB 23:41:00 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:41:00 Step 2/12 : FROM ${BASE} AS builder 23:41:00 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:41:00 c41833b44d91: Pulling fs layer 23:41:00 ed15518f5707: Pulling fs layer 23:41:00 feae8fd75edb: Pulling fs layer 23:41:00 242c74f7c9fa: Pulling fs layer 23:41:00 3cdef696dda3: Pulling fs layer 23:41:00 2ced38df9373: Pulling fs layer 23:41:00 58f1dce35555: Pulling fs layer 23:41:00 242c74f7c9fa: Waiting 23:41:00 3cdef696dda3: Waiting 23:41:00 2ced38df9373: Waiting 23:41:00 58f1dce35555: Waiting 23:41:00 ed15518f5707: Verifying Checksum 23:41:00 ed15518f5707: Download complete 23:41:00 242c74f7c9fa: Verifying Checksum 23:41:00 242c74f7c9fa: Download complete 23:41:00 3cdef696dda3: Verifying Checksum 23:41:00 3cdef696dda3: Download complete 23:41:00 c41833b44d91: Download complete 23:41:01 c41833b44d91: Pull complete 23:41:02 58f1dce35555: Verifying Checksum 23:41:02 58f1dce35555: Download complete 23:41:02 ed15518f5707: Pull complete 23:41:03 feae8fd75edb: Verifying Checksum 23:41:03 feae8fd75edb: Download complete 23:41:03 2ced38df9373: Verifying Checksum 23:41:03 2ced38df9373: Download complete 23:41:15 feae8fd75edb: Pull complete 23:41:15 242c74f7c9fa: Pull complete 23:41:15 3cdef696dda3: Pull complete 23:41:22 2ced38df9373: Pull complete 23:41:24 58f1dce35555: Pull complete 23:41:24 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:41:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:41:24 ---> fadd8f120f05 23:41:24 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:41:25 ---> Running in 53d9df4ec0f4 23:41:26 Removing intermediate container 53d9df4ec0f4 23:41:26 ---> 3d38a9437a91 23:41:26 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:41:26 ---> Running in 79f8b01af1c7 23:41:26 Removing intermediate container 79f8b01af1c7 23:41:26 ---> 52055faf1002 23:41:26 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:41:26 ---> Running in 1070ba1a8e29 23:41:26 Removing intermediate container 1070ba1a8e29 23:41:26 ---> e47bb1cc2af5 23:41:26 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:41:27 ---> Running in f570d9b87369 23:41:27 Removing intermediate container f570d9b87369 23:41:27 ---> a221ae1d4bd0 23:41:27 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:41:27 ---> Running in 848b470d5e63 23:41:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:41:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:41:30 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:41:30 (2/4) Installing libedit (20221030.3.1-r0) 23:41:30 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:41:30 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:41:30 Executing busybox-1.35.0-r29.trigger 23:41:30 OK: 268 MiB in 57 packages 23:41:31 Removing intermediate container 848b470d5e63 23:41:31 ---> 512d33fc2461 23:41:31 Step 8/12 : WORKDIR /device-mqtt-go 23:41:31 ---> Running in fc59c935d61b 23:41:31 Removing intermediate container fc59c935d61b 23:41:31 ---> dd4e9c5a63db 23:41:31 Step 9/12 : COPY go.mod vendor* ./ 23:41:32 ---> b9e5f788fe04 23:41:32 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:41:32 ---> Running in 833908a42d86 23:42:40 Removing intermediate container 833908a42d86 23:42:40 ---> f16611e7d6c6 23:42:40 Step 11/12 : COPY . . 23:42:40 ---> 2e5a398ba2bb 23:42:40 Step 12/12 : RUN $MAKE 23:42:40 ---> Running in 936ca51eb074 23:42:40 noop 23:42:40 Removing intermediate container 936ca51eb074 23:42:40 ---> 0d7d201520b4 23:42:40 Successfully built 0d7d201520b4 23:42:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:40 + docker inspect -f . ci-base-image-arm64 23:42:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:42:40 prd-ubuntu20.04-docker-arm64-4c-16g-12261 does not seem to be running inside a container 23:42:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 23:42:43 $ docker top 4d137767ad984b414968377e687d122fbb9e0d2f6f5ad5d9b6a863a0ebb63e0f -eo pid,comm [Pipeline] { [Pipeline] sh 23:42:44 + go version 23:42:44 go version go1.20.2 linux/arm64 [Pipeline] } 23:42:44 $ docker stop --time=1 4d137767ad984b414968377e687d122fbb9e0d2f6f5ad5d9b6a863a0ebb63e0f 23:42:46 $ docker rm -f --volumes 4d137767ad984b414968377e687d122fbb9e0d2f6f5ad5d9b6a863a0ebb63e0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:46 + docker inspect -f . ci-base-image-arm64 23:42:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:42:47 prd-ubuntu20.04-docker-arm64-4c-16g-12261 does not seem to be running inside a container 23:42:47 $ 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/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 23:42:48 $ docker top a9dfac30b2b18751365e77047f02265892977cd1bdc38c0ba1060bbed5898f88 -eo pid,comm [Pipeline] { [Pipeline] sh 23:42:48 + git config --global --add safe.directory /w/workspace/device-mqtt-go/4 [Pipeline] fileExists [Pipeline] sh 23:42:49 + make test 23:42:49 go test ./... -coverprofile=coverage.out ./... 23:43:21 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:45:13 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:45:13 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:45:13 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.079s coverage: 23.1% of statements 23:45:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:45:13 go vet ./... 23:45:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:45:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:45:52 ./bin/test-attribution-txt.sh [Pipeline] echo 23:45:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:45:52 $ docker stop --time=1 a9dfac30b2b18751365e77047f02265892977cd1bdc38c0ba1060bbed5898f88 23:45:54 $ docker rm -f --volumes a9dfac30b2b18751365e77047f02265892977cd1bdc38c0ba1060bbed5898f88 [Pipeline] // withDockerContainer [Pipeline] sh 23:45:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:45:55 Warning: overwriting stash ‘coverage-report’ 23:45:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:45:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:45:56 + ls -al . 23:45:56 total 176 23:45:56 drwxrwxr-x 9 jenkins jenkins 4096 May 1 23:42 . 23:45:56 drwxrwxr-x 4 jenkins jenkins 4096 May 1 23:40 .. 23:45:56 -rw-rw-r-- 1 jenkins jenkins 140 May 1 23:40 .dockerignore 23:45:56 drwxrwxr-x 8 jenkins jenkins 4096 May 1 23:40 .git 23:45:56 drwxrwxr-x 3 jenkins jenkins 4096 May 1 23:40 .github 23:45:56 -rw-rw-r-- 1 jenkins jenkins 329 May 1 23:40 .gitignore 23:45:56 -rw-rw-r-- 1 jenkins jenkins 41 May 1 23:40 .golangci.yml 23:45:56 -rw-rw-r-- 1 jenkins jenkins 9417 May 1 23:40 Attribution.txt 23:45:56 -rw-rw-r-- 1 jenkins jenkins 13162 May 1 23:40 CHANGELOG.md 23:45:56 -rw-rw-r-- 1 jenkins jenkins 1689 May 1 23:40 Dockerfile 23:45:56 -rw-rw-r-- 1 jenkins jenkins 677 May 1 23:40 GOVERNANCE.md 23:45:56 -rw-rw-r-- 1 jenkins jenkins 678 May 1 23:40 Jenkinsfile 23:45:56 -rw-rw-r-- 1 jenkins jenkins 11340 May 1 23:40 LICENSE 23:45:56 -rw-rw-r-- 1 jenkins jenkins 1732 May 1 23:40 Makefile 23:45:56 -rw-rw-r-- 1 jenkins jenkins 620 May 1 23:40 OWNERS.md 23:45:56 -rw-rw-r-- 1 jenkins jenkins 3165 May 1 23:40 README.md 23:45:56 -rw-rw-r-- 1 jenkins jenkins 5 May 1 23:38 VERSION 23:45:56 drwxrwxr-x 2 jenkins jenkins 4096 May 1 23:40 bin 23:45:56 drwxrwxr-x 3 jenkins jenkins 4096 May 1 23:40 cmd 23:45:56 -rw-r--r-- 1 jenkins jenkins 18144 May 1 23:45 coverage.out 23:45:56 -rw-rw-r-- 1 jenkins jenkins 3333 May 1 23:40 go.mod 23:45:56 -rw-rw-r-- 1 jenkins jenkins 31443 May 1 23:40 go.sum 23:45:56 drwxrwxr-x 3 jenkins jenkins 4096 May 1 23:40 internal 23:45:56 drwxrwxr-x 2 jenkins jenkins 4096 May 1 23:40 mock 23:45:56 drwxrwxr-x 4 jenkins jenkins 4096 May 1 23:40 snap 23:45:56 -rw-rw-r-- 1 jenkins jenkins 227 May 1 23:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:45:56 + 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=5500aa373bb866aa937a2fac55d86bb07361b215 --label arch=arm64 --label version=0.0.0 . 23:45:57 Sending build context to Docker daemon 3.419MB 23:45:57 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:45:57 Step 2/24 : FROM ${BASE} AS builder 23:45:57 ---> 0d7d201520b4 23:45:57 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:45:57 ---> Running in e4735f1cc12f 23:45:57 Removing intermediate container e4735f1cc12f 23:45:57 ---> 8bd11be209e6 23:45:57 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:45:57 ---> Running in 3d5b3632c6ce 23:45:58 Removing intermediate container 3d5b3632c6ce 23:45:58 ---> 7747fc2af711 23:45:58 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:45:58 ---> Running in cca9d2e1d1fc 23:45:58 Removing intermediate container cca9d2e1d1fc 23:45:58 ---> e07eae69e35f 23:45:58 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:45:58 ---> Running in 7070a279fa97 23:45:58 Removing intermediate container 7070a279fa97 23:45:58 ---> ed9638dcd5af 23:45:58 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:45:58 ---> Running in 153503e3e18f 23:45:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:46:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:46:01 OK: 268 MiB in 57 packages 23:46:02 Removing intermediate container 153503e3e18f 23:46:02 ---> 5092a0f92df7 23:46:02 Step 8/24 : WORKDIR /device-mqtt-go 23:46:02 ---> Running in 34ef76e77911 23:46:02 Removing intermediate container 34ef76e77911 23:46:02 ---> 703c58199335 23:46:02 Step 9/24 : COPY go.mod vendor* ./ 23:46:03 ---> 964cb323824b 23:46:03 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:46:04 ---> Running in e5346157c061 23:46:06 Removing intermediate container e5346157c061 23:46:06 ---> 1d2178d23172 23:46:06 Step 11/24 : COPY . . 23:46:07 ---> 447ce37078e4 23:46:07 Step 12/24 : RUN $MAKE 23:46:07 ---> Running in fb20efbb5cfb 23:46:08 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:48:14 Removing intermediate container fb20efbb5cfb 23:48:14 ---> 5cf2e765913d 23:48:14 Step 13/24 : FROM alpine:3.17 23:48:14 3.17: Pulling from library/alpine 23:48:14 c41833b44d91: Already exists 23:48:14 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:48:14 Status: Downloaded newer image for alpine:3.17 23:48:14 ---> 51e60588ff2c 23:48:14 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:48:15 ---> Running in 795f0950939c 23:48:15 Removing intermediate container 795f0950939c 23:48:15 ---> 54f17658191b 23:48:15 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:48:15 ---> Running in 0280b26ea7da 23:48:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:48:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:48:18 (1/1) Installing dumb-init (1.2.5-r2) 23:48:18 Executing busybox-1.35.0-r29.trigger 23:48:18 OK: 8 MiB in 16 packages 23:48:19 Removing intermediate container 0280b26ea7da 23:48:19 ---> 1cacbd389e38 23:48:19 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:48:20 ---> 603dc0c51b3c 23:48:20 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:48:21 ---> be9f706a20df 23:48:21 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:48:21 ---> 3df3b9cb6348 23:48:21 Step 19/24 : EXPOSE 59982 23:48:21 ---> Running in 8ea2ba63efe5 23:48:21 Removing intermediate container 8ea2ba63efe5 23:48:21 ---> 735c380487ef 23:48:21 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:48:21 ---> Running in 974892bad7d1 23:48:22 Removing intermediate container 974892bad7d1 23:48:22 ---> e639ca6720b9 23:48:22 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:48:22 ---> Running in 20583c50d410 23:48:22 Removing intermediate container 20583c50d410 23:48:22 ---> 445c89cad99c 23:48:22 Step 22/24 : LABEL arch=arm64 23:48:22 ---> Running in b9ea8442e08d 23:48:23 Removing intermediate container b9ea8442e08d 23:48:23 ---> 72a82a18b76e 23:48:23 Step 23/24 : LABEL git_sha=5500aa373bb866aa937a2fac55d86bb07361b215 23:48:23 ---> Running in 70beccf3a4ad 23:48:23 Removing intermediate container 70beccf3a4ad 23:48:23 ---> ad364eeb68ea 23:48:23 Step 24/24 : LABEL version=0.0.0 23:48:23 ---> Running in d6b71194224d 23:48:23 Removing intermediate container d6b71194224d 23:48:23 ---> 455aae36f20b 23:48:23 [Warning] One or more build-args [ARCH] were not consumed 23:48:23 Successfully built 455aae36f20b 23:48:23 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 23:48:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:48:24 23:48:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:48:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:48:24 arm64: Pulling from edgex-lftools-log-publisher 23:48:24 8998bd30e6a1: Pulling fs layer 23:48:24 04944245beec: Pulling fs layer 23:48:24 699f458cf7ca: Pulling fs layer 23:48:24 765212b225bb: Pulling fs layer 23:48:24 f23df028b6ca: Pulling fs layer 23:48:24 d65c8cfc05b1: Pulling fs layer 23:48:24 2437ff75d9bd: Pulling fs layer 23:48:24 765212b225bb: Waiting 23:48:24 f23df028b6ca: Waiting 23:48:24 2437ff75d9bd: Waiting 23:48:25 04944245beec: Verifying Checksum 23:48:25 04944245beec: Download complete 23:48:25 765212b225bb: Verifying Checksum 23:48:25 765212b225bb: Download complete 23:48:25 f23df028b6ca: Verifying Checksum 23:48:25 f23df028b6ca: Download complete 23:48:25 d65c8cfc05b1: Verifying Checksum 23:48:25 d65c8cfc05b1: Download complete 23:48:25 699f458cf7ca: Verifying Checksum 23:48:25 699f458cf7ca: Download complete 23:48:25 8998bd30e6a1: Verifying Checksum 23:48:25 8998bd30e6a1: Download complete 23:48:27 2437ff75d9bd: Verifying Checksum 23:48:27 2437ff75d9bd: Download complete 23:48:29 8998bd30e6a1: Pull complete 23:48:29 04944245beec: Pull complete 23:48:31 699f458cf7ca: Pull complete 23:48:31 765212b225bb: Pull complete 23:48:32 f23df028b6ca: Pull complete 23:48:32 d65c8cfc05b1: Pull complete 23:48:47 2437ff75d9bd: Pull complete 23:48:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:48:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:48:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:48:47 prd-ubuntu20.04-docker-arm64-4c-16g-12261 does not seem to be running inside a container 23:48:47 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:48:50 $ docker top bb7202ef2cb048ad0807ea8a140240a6e5d02ec35b37ad8420e4e3ded77ff95f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:48:50 ---> job-cost.sh 23:48:50 lf-activate-venv: SKIPPING 23:48:50 INFO: No Stack... 23:48:51 INFO: Retrieving Pricing Info for: v3-standard-4 23:48:52 INFO: Archiving Costs [Pipeline] sh 23:48:52 + cut -d, -f6 23:48:52 + cat /w/workspace/device-mqtt-go/4/archives/cost.csv [Pipeline] lock 23:48:52 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-586-4-stack-cost] 23:48:52 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-586-4-stack-cost] did not exist. Created. 23:48:52 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-586-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:48:53 /w/workspace/device-mqtt-go/4@tmp/durable-975c4c31/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:48:54 + echo total: 0.10999999940395355 [Pipeline] stash 23:48:54 Warning: overwriting stash ‘stack-cost’ 23:48:54 Stashed 1 file(s) [Pipeline] } 23:48:54 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-586-4-stack-cost] [Pipeline] // lock [Pipeline] } 23:48:54 $ docker stop --time=1 bb7202ef2cb048ad0807ea8a140240a6e5d02ec35b37ad8420e4e3ded77ff95f 23:48:57 $ docker rm -f --volumes bb7202ef2cb048ad0807ea8a140240a6e5d02ec35b37ad8420e4e3ded77ff95f [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 23:48:57 provisioning config files... 23:48:57 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/config6370866753200572391tmp [Pipeline] { [Pipeline] sh 23:48:57 + set +x 23:48:57 + curl -s https://codecov.io/bash 23:48:57 + bash -s -- 23:48:57 23:48:57 _____ _ 23:48:57 / ____| | | 23:48:57 | | ___ __| | ___ ___ _____ __ 23:48:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:48:57 | |___| (_) | (_| | __/ (_| (_) \ V / 23:48:57 \_____\___/ \__,_|\___|\___\___/ \_/ 23:48:57 Bash-1.0.6 23:48:57 23:48:57 23:48:57 ==> git version 2.25.1 found 23:48:57 ==> 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 23:48:57 Release-Date: 2020-01-08 23:48:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:48:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:48:57 ==> Jenkins CI detected. 23:48:57 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-586 23:48:57 project root: . 23:48:57 --> token set from env 23:48:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:48:57 ==> Running gcov in . (disable via -X gcov) 23:48:57 ==> Python coveragepy not found 23:48:57 ==> Searching for coverage reports in: 23:48:57 + . 23:48:57 -> Found 1 reports 23:48:57 ==> Detecting git/mercurial file structure 23:48:57 ==> Reading reports 23:48:57 + ./coverage.out bytes=18144 23:48:57 ==> Appending adjustments 23:48:57 https://docs.codecov.io/docs/fixing-reports 23:48:57 + Found adjustments 23:48:57 ==> Gzipping contents 23:48:57 4.0K /tmp/codecov.ov4HSC.gz 23:48:57 ==> Uploading reports 23:48:57 url: https://codecov.io 23:48:57 query: branch=PR-586&commit=5500aa373bb866aa937a2fac55d86bb07361b215&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-586%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=586&job=&cmd_args= 23:48:57 -> Pinging Codecov 23:48:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-586&commit=5500aa373bb866aa937a2fac55d86bb07361b215&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-586%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=586&job=&cmd_args= 23:48:58 -> Uploading to 23:48:58 https://storage.googleapis.com/codecov/v4/raw/2023-05-01/7D719EC7BBE17E464838252E33014C33/5500aa373bb866aa937a2fac55d86bb07361b215/bc4ae941-9d48-47dc-930c-bb64d9377543.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230501%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230501T234858Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=af2e8c31f5085ea6f1d9b21694042c7ea0b13fbc8bc565577d4abb4103bef639 23:48:58 % Total % Received % Xferd Average Speed Time Time Time Current 23:48:58 Dload Upload Total Spent Left Speed 23:48:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3184 0 0 100 3184 0 13783 --:--:-- --:--:-- --:--:-- 13783 23:48:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/5500aa373bb866aa937a2fac55d86bb07361b215 [Pipeline] } 23:48:58 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 23:48:59 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives ] 23:48:59 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives 23:48:59 total 16 23:48:59 drwxr-xr-x 3 root root 4096 May 1 23:40 . 23:48:59 drwxrwxr-x 11 jenkins jenkins 4096 May 1 23:40 .. 23:48:59 drwxr-xr-x 2 root root 4096 May 1 23:40 cost 23:48:59 -rw-r--r-- 1 root root 86 May 1 23:40 cost.csv 23:48:59 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives 23:48:59 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives 23:48:59 total 16 23:48:59 drwxr-xr-x 3 jenkins jenkins 4096 May 1 23:40 . 23:48:59 drwxrwxr-x 11 jenkins jenkins 4096 May 1 23:40 .. 23:48:59 drwxr-xr-x 2 jenkins jenkins 4096 May 1 23:40 cost 23:48:59 -rw-r--r-- 1 jenkins jenkins 86 May 1 23:40 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:48:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:49:00 ---> package-listing.sh 23:49:00 ++ facter osfamily 23:49:00 ++ tr '[:upper:]' '[:lower:]' 23:49:00 + OS_FAMILY=debian 23:49:00 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-586 23:49:00 + START_PACKAGES=/tmp/packages_start.txt 23:49:00 + END_PACKAGES=/tmp/packages_end.txt 23:49:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:49:00 + PACKAGES=/tmp/packages_start.txt 23:49:00 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-586 ']' 23:49:00 + PACKAGES=/tmp/packages_end.txt 23:49:00 + case "${OS_FAMILY}" in 23:49:00 + dpkg -l 23:49:00 + grep '^ii' 23:49:00 + '[' -f /tmp/packages_start.txt ']' 23:49:00 + '[' -f /tmp/packages_end.txt ']' 23:49:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:49:00 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-586 ']' 23:49:00 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives/ 23:49:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives/ [Pipeline] echo 23:49:00 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-586/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:49:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:49:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:49:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:49:01 prd-ubuntu20.04-docker-8c-8g-12260 does not seem to be running inside a container 23:49:01 $ 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-586/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-586 -v /w/workspace/gexfoundry_device-mqtt-go_PR-586:/w/workspace/gexfoundry_device-mqtt-go_PR-586:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:49:01 $ docker top def841e9c8ae1c6ab4f0b5830fe3a559d3d8a71f7ea5c9fad99ecf995d65063d -eo pid,comm [Pipeline] { [Pipeline] sh 23:49:02 + touch /tmp/pre-build-complete [Pipeline] sh 23:49:02 + mkdir -p /var/log/sysstat [Pipeline] sh 23:49:02 + ls /var/log/sa-host 23:49:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:49:02 provisioning config files... 23:49:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/config13461207974507352603tmp [Pipeline] { [Pipeline] echo 23:49:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:49:03 ---> create-netrc.sh [Pipeline] } 23:49:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:49:03 ---> python-tools-install.sh [Pipeline] echo 23:49:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:49:03 ---> sudo-logs.sh 23:49:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:49:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:49:04 ---> job-cost.sh 23:49:04 lf-activate-venv: SKIPPING 23:49:04 DEBUG: total: 0.2199999988079071 23:49:04 INFO: Retrieving Stack Cost... 23:49:04 INFO: Retrieving Pricing Info for: v3-standard-8 23:49:04 INFO: Archiving Costs [Pipeline] echo 23:49:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:49:05 ---> logs-deploy.sh 23:49:05 lf-activate-venv: SKIPPING 23:49:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-586/4 23:49:05 INFO: archiving workspace using pattern(s): 23:49:06 Archives upload complete. 23:49:06 INFO: archiving logs to Nexus