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 e96628314143562fb5b0ac16d7f75239289947dd+44db128f908bb002eba25d15c491b9a779a086c0 (8964c6b738e8e230117054ff045eddffce6414bf) 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-ssh2904941436833557049.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-ssh10000784502141619023.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-ssh4127286955395960248.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-ssh14691218452463257809.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-ssh12786650986360612190.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-12264 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 e96628314143562fb5b0ac16d7f75239289947dd Merge succeeded, producing e96628314143562fb5b0ac16d7f75239289947dd Checking out Revision e96628314143562fb5b0ac16d7f75239289947dd (PR-586) > git config core.sparsecheckout # timeout=10 > git checkout -f e96628314143562fb5b0ac16d7f75239289947dd # 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 e96628314143562fb5b0ac16d7f75239289947dd # timeout=10 Commit message: "feat!: Handle receiving multiple readings in the async payload" First time build. Skipping changelog. > git rev-list --no-walk 5500aa373bb866aa937a2fac55d86bb07361b215 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:52:01 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:52:01 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:52:01 ========================================================= 23:52:01 EdgeX Global Pipelines Version Info 23:52:01 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:52:01 ------------------- 23:52:01 stable info: 23:52:01 ------------------- 23:52:01 Commited By: Bill Mahoney bill.mahoney@intel.com 23:52:01 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 23:52:01 Message: update stable to v1.0.248 23:52:02 ------------------- 23:52:02 experimental info: 23:52:02 ------------------- 23:52:02 Commited By: **** collab-it+edgex@linuxfoundation.org 23:52:02 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:52:02 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-586 [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-586 [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-586 [Pipeline] echo 23:52:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e96628314143562fb5b0ac16d7f75239289947dd [Pipeline] echo 23:52:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e966283 [Pipeline] echo 23:52:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:52:03 provisioning config files... 23:52:03 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/config9335812246350161046tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:52:03 ---> docker-login.sh 23:52:03 nexus3.edgexfoundry.org:10001 23:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:03 Configure a credential helper to remove this warning. See 23:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:03 23:52:03 Login Succeeded 23:52:03 nexus3.edgexfoundry.org:10002 23:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:03 Configure a credential helper to remove this warning. See 23:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:03 23:52:03 Login Succeeded 23:52:03 nexus3.edgexfoundry.org:10003 23:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:03 Configure a credential helper to remove this warning. See 23:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:03 23:52:03 Login Succeeded 23:52:03 nexus3.edgexfoundry.org:10004 23:52:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:03 Configure a credential helper to remove this warning. See 23:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:03 23:52:03 Login Succeeded 23:52:03 docker.io 23:52:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:04 Configure a credential helper to remove this warning. See 23:52:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:04 23:52:04 Login Succeeded 23:52:04 ---> docker-login.sh ends [Pipeline] } 23:52:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:52:04 + git rev-list -1 --merges e96628314143562fb5b0ac16d7f75239289947dd~1..e96628314143562fb5b0ac16d7f75239289947dd [Pipeline] echo 23:52:04 -----------> git rev-list -1 --merges e96628314143562fb5b0ac16d7f75239289947dd~1..e96628314143562fb5b0ac16d7f75239289947dd e96628314143562fb5b0ac16d7f75239289947dd [false] [Pipeline] sh 23:52:04 + git log --format=format:%s -1 e96628314143562fb5b0ac16d7f75239289947dd [Pipeline] echo 23:52:04 ========================================================= 23:52:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:52:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:52:05 + git log --format=format:%s -1 e96628314143562fb5b0ac16d7f75239289947dd [Pipeline] echo 23:52:05 [semverPrep] GIT_COMMIT: e96628314143562fb5b0ac16d7f75239289947dd, Commit Message: feat!: Handle receiving multiple readings in the async payload [Pipeline] echo 23:52:05 [semverPrep] This is not a build commit. [Pipeline] sh 23:52:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:52:05 + grep -v github /etc/ssh/ssh_known_hosts 23:52:05 + [ -e /tmp/ssh_known_hosts ] 23:52:05 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:52:05 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:52:05 + sudo tee -a /etc/ssh/ssh_known_hosts 23:52:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:52:05 23:52:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:52:06 0.1.4: Pulling from edgex-devops/py-git-semver 23:52:06 b85a868b505f: Pulling fs layer 23:52:06 e2be974225ed: Pulling fs layer 23:52:06 339a4e72a1f5: Pulling fs layer 23:52:06 988bab9f4d93: Pulling fs layer 23:52:06 1469e6f7b9e6: Pulling fs layer 23:52:06 eaf3925da568: Pulling fs layer 23:52:06 bab4dde63d76: Pulling fs layer 23:52:06 bde34c3a00c8: Pulling fs layer 23:52:06 b352a97aabf1: Pulling fs layer 23:52:06 4872d77fe225: Pulling fs layer 23:52:06 5851b861e8e6: Pulling fs layer 23:52:06 bab4dde63d76: Waiting 23:52:06 bde34c3a00c8: Waiting 23:52:06 b352a97aabf1: Waiting 23:52:06 4872d77fe225: Waiting 23:52:06 988bab9f4d93: Waiting 23:52:06 5851b861e8e6: Waiting 23:52:06 eaf3925da568: Waiting 23:52:06 1469e6f7b9e6: Waiting 23:52:06 e2be974225ed: Download complete 23:52:06 988bab9f4d93: Verifying Checksum 23:52:06 988bab9f4d93: Download complete 23:52:06 339a4e72a1f5: Verifying Checksum 23:52:06 339a4e72a1f5: Download complete 23:52:06 1469e6f7b9e6: Verifying Checksum 23:52:06 eaf3925da568: Download complete 23:52:06 bde34c3a00c8: Download complete 23:52:06 b352a97aabf1: Download complete 23:52:06 4872d77fe225: Verifying Checksum 23:52:06 4872d77fe225: Download complete 23:52:06 5851b861e8e6: Verifying Checksum 23:52:06 5851b861e8e6: Download complete 23:52:06 b85a868b505f: Verifying Checksum 23:52:06 b85a868b505f: Download complete 23:52:06 bab4dde63d76: Verifying Checksum 23:52:06 bab4dde63d76: Download complete 23:52:07 b85a868b505f: Pull complete 23:52:08 e2be974225ed: Pull complete 23:52:08 339a4e72a1f5: Pull complete 23:52:08 988bab9f4d93: Pull complete 23:52:08 1469e6f7b9e6: Pull complete 23:52:08 eaf3925da568: Pull complete 23:52:10 bab4dde63d76: Pull complete 23:52:10 bde34c3a00c8: Pull complete 23:52:10 b352a97aabf1: Pull complete 23:52:10 4872d77fe225: Pull complete 23:52:10 5851b861e8e6: Pull complete 23:52:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:52:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:52:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:10 prd-ubuntu20.04-docker-8c-8g-12264 does not seem to be running inside a container 23:52:10 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:52:12 $ docker top 71712885a042936007e591029d235405241feeaf99e0552461c589478187487a -eo pid,comm 23:52:13 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:52:13 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:52:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:52:13 [ssh-agent] Looking for ssh-agent implementation... 23:52:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:52:13 $ docker exec 71712885a042936007e591029d235405241feeaf99e0552461c589478187487a ssh-agent 23:52:13 SSH_AUTH_SOCK=/tmp/ssh-SusnAOhga3YG/agent.33 23:52:13 SSH_AGENT_PID=39 23:52:13 Running ssh-add (command line suppressed) 23:52:13 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/private_key_6112013775345125875.key (/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/private_key_6112013775345125875.key) 23:52:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:52:13 + git tag --points-at HEAD [Pipeline] } 23:52:13 $ docker exec --env ******** --env ******** 71712885a042936007e591029d235405241feeaf99e0552461c589478187487a ssh-agent -k 23:52:13 unset SSH_AUTH_SOCK; 23:52:13 unset SSH_AGENT_PID; 23:52:13 echo Agent pid 39 killed; 23:52:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:52:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:52:13 [ssh-agent] Looking for ssh-agent implementation... 23:52:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:52:13 $ docker exec 71712885a042936007e591029d235405241feeaf99e0552461c589478187487a ssh-agent 23:52:14 SSH_AUTH_SOCK=/tmp/ssh-5QiV8texXPOL/agent.71 23:52:14 SSH_AGENT_PID=77 23:52:14 Running ssh-add (command line suppressed) 23:52:14 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/private_key_519277756257500445.key (/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/private_key_519277756257500445.key) 23:52:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:52:14 + git semver init 23:52:14 2023-05-01 23:52:14,659 [run_init] DEBUG init version:0.0.0 force:False 23:52:14 2023-05-01 23:52:14,660 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver 23:52:14 2023-05-01 23:52:14,660 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver 23:52:14 2023-05-01 23:52:14,661 [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:52:15 2023-05-01 23:52:15,442 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586/.git/info/exclude 23:52:15 2023-05-01 23:52:15,442 [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:52:15 2023-05-01 23:52:15,442 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver/PR-586 23:52:15 2023-05-01 23:52:15,447 [execute] INFO git cat-file --batch-check 23:52:15 2023-05-01 23:52:15,448 [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:52:15 2023-05-01 23:52:15,453 [execute] INFO git cat-file --batch 23:52:15 2023-05-01 23:52:15,453 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver, universal_newlines=False, shell=None, istream=) 23:52:15 2023-05-01 23:52:15,458 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver/PR-586 23:52:15 0.0.0 [Pipeline] } 23:52:15 $ docker exec --env ******** --env ******** 71712885a042936007e591029d235405241feeaf99e0552461c589478187487a ssh-agent -k 23:52:15 unset SSH_AUTH_SOCK; 23:52:15 unset SSH_AGENT_PID; 23:52:15 echo Agent pid 77 killed; 23:52:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:52:16 + git semver [Pipeline] } 23:52:16 $ docker stop --time=1 71712885a042936007e591029d235405241feeaf99e0552461c589478187487a 23:52:17 $ docker rm -f --volumes 71712885a042936007e591029d235405241feeaf99e0552461c589478187487a [Pipeline] // withDockerContainer [Pipeline] sh 23:52:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:52:18 Stashed 1 file(s) [Pipeline] echo 23:52:18 [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:52:18 provisioning config files... 23:52:18 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/config18344313829266433234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:52:18 ---> docker-login.sh 23:52:18 nexus3.edgexfoundry.org:10001 23:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:18 Configure a credential helper to remove this warning. See 23:52:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:18 23:52:18 Login Succeeded 23:52:18 nexus3.edgexfoundry.org:10002 23:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:18 Configure a credential helper to remove this warning. See 23:52:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:18 23:52:18 Login Succeeded 23:52:18 nexus3.edgexfoundry.org:10003 23:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:18 Configure a credential helper to remove this warning. See 23:52:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:18 23:52:18 Login Succeeded 23:52:18 nexus3.edgexfoundry.org:10004 23:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:18 Configure a credential helper to remove this warning. See 23:52:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:18 23:52:18 Login Succeeded 23:52:18 docker.io 23:52:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:19 Configure a credential helper to remove this warning. See 23:52:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:19 23:52:19 Login Succeeded 23:52:19 ---> docker-login.sh ends [Pipeline] } 23:52:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:52:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:52:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:52:19 ========================================================= 23:52:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:52:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:19 + 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:52:19 Sending build context to Docker daemon 6.5MB 23:52:19 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:52:19 Step 2/12 : FROM ${BASE} AS builder 23:52:19 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:52:19 f56be85fc22e: Pulling fs layer 23:52:19 85791d961cd3: Pulling fs layer 23:52:19 d694b5ae8c79: Pulling fs layer 23:52:19 9f32a84ed3da: Pulling fs layer 23:52:19 4d19c01a9841: Pulling fs layer 23:52:19 9325e15d5711: Pulling fs layer 23:52:19 556b6ee489ea: Pulling fs layer 23:52:19 c5a4b2cf53e6: Pulling fs layer 23:52:19 9f32a84ed3da: Waiting 23:52:19 4d19c01a9841: Waiting 23:52:19 9325e15d5711: Waiting 23:52:19 556b6ee489ea: Waiting 23:52:19 85791d961cd3: Download complete 23:52:19 9f32a84ed3da: Download complete 23:52:19 4d19c01a9841: Download complete 23:52:19 f56be85fc22e: Download complete 23:52:19 9325e15d5711: Verifying Checksum 23:52:19 9325e15d5711: Download complete 23:52:19 f56be85fc22e: Pull complete 23:52:20 85791d961cd3: Pull complete 23:52:20 c5a4b2cf53e6: Verifying Checksum 23:52:20 c5a4b2cf53e6: Download complete 23:52:20 d694b5ae8c79: Download complete 23:52:20 556b6ee489ea: Verifying Checksum 23:52:20 556b6ee489ea: Download complete 23:52:23 d694b5ae8c79: Pull complete 23:52:23 9f32a84ed3da: Pull complete 23:52:23 4d19c01a9841: Pull complete 23:52:24 9325e15d5711: Pull complete 23:52:26 556b6ee489ea: Pull complete 23:52:27 c5a4b2cf53e6: Pull complete 23:52:27 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:52:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:52:27 ---> c4be618373d6 23:52:27 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:52:30 ---> Running in eb7066cf3946 23:52:30 Removing intermediate container eb7066cf3946 23:52:30 ---> 8b5be85d4b67 23:52:30 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:52:30 ---> Running in 22213f2e964d 23:52:30 Removing intermediate container 22213f2e964d 23:52:30 ---> 383175307fc6 23:52:30 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:52:30 ---> Running in 229014384ff9 23:52:30 Removing intermediate container 229014384ff9 23:52:30 ---> 7583bd8f216c 23:52:30 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:52:30 ---> Running in 5e6fe0a9824f 23:52:30 Removing intermediate container 5e6fe0a9824f 23:52:30 ---> b79e4b2137c4 23:52:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:52:30 ---> Running in e825776f5ca3 23:52:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:52:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:52:31 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:52:31 (2/4) Installing libedit (20221030.3.1-r0) 23:52:31 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:52:31 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:52:31 Executing busybox-1.35.0-r29.trigger 23:52:31 OK: 269 MiB in 57 packages 23:52:31 Removing intermediate container e825776f5ca3 23:52:31 ---> f27214d076ca 23:52:31 Step 8/12 : WORKDIR /device-mqtt-go 23:52:31 ---> Running in 51cff806d019 23:52:31 Removing intermediate container 51cff806d019 23:52:31 ---> d2c35f1ec261 23:52:31 Step 9/12 : COPY go.mod vendor* ./ 23:52:31 ---> 8e87d99df6bd 23:52:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:52:31 ---> Running in aaa91bf81973 23:52:33 Still waiting to schedule task 23:52:33 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:52:58 Removing intermediate container aaa91bf81973 23:52:58 ---> c481c56d8ac5 23:52:58 Step 11/12 : COPY . . 23:52:58 ---> 67724d1d8432 23:52:58 Step 12/12 : RUN $MAKE 23:52:58 ---> Running in ebb7e4aece2b 23:52:58 noop 23:52:58 Removing intermediate container ebb7e4aece2b 23:52:58 ---> 7c7eccd8a68d 23:52:58 Successfully built 7c7eccd8a68d 23:52:58 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:58 + docker inspect -f . ci-base-image-x86_64 23:52:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:58 prd-ubuntu20.04-docker-8c-8g-12264 does not seem to be running inside a container 23:52:58 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:52:59 $ docker top c672d7950626826ec059fda9ab3ff3aa8cf5ec12e0c88fa77425b13ef544e3cf -eo pid,comm [Pipeline] { [Pipeline] sh 23:52:59 + go version 23:52:59 go version go1.20.2 linux/amd64 [Pipeline] } 23:52:59 $ docker stop --time=1 c672d7950626826ec059fda9ab3ff3aa8cf5ec12e0c88fa77425b13ef544e3cf 23:53:00 $ docker rm -f --volumes c672d7950626826ec059fda9ab3ff3aa8cf5ec12e0c88fa77425b13ef544e3cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:01 + docker inspect -f . ci-base-image-x86_64 23:53:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:53:01 prd-ubuntu20.04-docker-8c-8g-12264 does not seem to be running inside a container 23:53:01 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:53:01 $ docker top d89091942896bacf5d7ddc9b13f475862e87238bd3c584484e544e1bbbf72e3c -eo pid,comm [Pipeline] { [Pipeline] sh 23:53:02 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-586 [Pipeline] fileExists [Pipeline] sh 23:53:02 + make test 23:53:02 go test ./... -coverprofile=coverage.out ./... 23:53:07 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:53:17 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:53:17 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:53:17 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.032s coverage: 23.1% of statements 23:53:24 go vet ./... 23:53:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:53:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:53:28 ./bin/test-attribution-txt.sh [Pipeline] echo 23:53:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:53:28 $ docker stop --time=1 d89091942896bacf5d7ddc9b13f475862e87238bd3c584484e544e1bbbf72e3c 23:53:30 $ docker rm -f --volumes d89091942896bacf5d7ddc9b13f475862e87238bd3c584484e544e1bbbf72e3c [Pipeline] // withDockerContainer [Pipeline] sh 23:53:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:53:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:53:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:53:32 + ls -al . 23:53:32 total 180 23:53:32 drwxrwxr-x 10 jenkins jenkins 4096 May 1 23:53 . 23:53:32 drwxrwxr-x 4 jenkins jenkins 4096 May 1 23:51 .. 23:53:32 -rw-rw-r-- 1 jenkins jenkins 140 May 1 23:51 .dockerignore 23:53:32 drwxrwxr-x 8 jenkins jenkins 4096 May 1 23:52 .git 23:53:32 drwxrwxr-x 3 jenkins jenkins 4096 May 1 23:51 .github 23:53:32 -rw-rw-r-- 1 jenkins jenkins 329 May 1 23:51 .gitignore 23:53:32 -rw-rw-r-- 1 jenkins jenkins 41 May 1 23:51 .golangci.yml 23:53:32 drwxr-xr-x 3 jenkins jenkins 4096 May 1 23:52 .semver 23:53:32 -rw-rw-r-- 1 jenkins jenkins 9417 May 1 23:51 Attribution.txt 23:53:32 -rw-rw-r-- 1 jenkins jenkins 13162 May 1 23:51 CHANGELOG.md 23:53:32 -rw-rw-r-- 1 jenkins jenkins 1689 May 1 23:51 Dockerfile 23:53:32 -rw-rw-r-- 1 jenkins jenkins 677 May 1 23:51 GOVERNANCE.md 23:53:32 -rw-rw-r-- 1 jenkins jenkins 678 May 1 23:51 Jenkinsfile 23:53:32 -rw-rw-r-- 1 jenkins jenkins 11340 May 1 23:51 LICENSE 23:53:32 -rw-rw-r-- 1 jenkins jenkins 1732 May 1 23:51 Makefile 23:53:32 -rw-rw-r-- 1 jenkins jenkins 620 May 1 23:51 OWNERS.md 23:53:32 -rw-rw-r-- 1 jenkins jenkins 3165 May 1 23:51 README.md 23:53:32 -rw-rw-r-- 1 jenkins jenkins 5 May 1 23:52 VERSION 23:53:32 drwxrwxr-x 2 jenkins jenkins 4096 May 1 23:51 bin 23:53:32 drwxrwxr-x 3 jenkins jenkins 4096 May 1 23:51 cmd 23:53:32 -rw-r--r-- 1 jenkins jenkins 18144 May 1 23:53 coverage.out 23:53:32 -rw-rw-r-- 1 jenkins jenkins 3333 May 1 23:51 go.mod 23:53:32 -rw-rw-r-- 1 jenkins jenkins 31443 May 1 23:51 go.sum 23:53:32 drwxrwxr-x 3 jenkins jenkins 4096 May 1 23:51 internal 23:53:32 drwxrwxr-x 2 jenkins jenkins 4096 May 1 23:51 mock 23:53:32 drwxrwxr-x 4 jenkins jenkins 4096 May 1 23:51 snap 23:53:32 -rw-rw-r-- 1 jenkins jenkins 227 May 1 23:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:32 + 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=e96628314143562fb5b0ac16d7f75239289947dd --label arch=amd64 --label version=0.0.0 . 23:53:32 Sending build context to Docker daemon 6.519MB 23:53:32 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:53:32 Step 2/24 : FROM ${BASE} AS builder 23:53:32 ---> 7c7eccd8a68d 23:53:32 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:53:32 ---> Running in c630ba871a49 23:53:32 Removing intermediate container c630ba871a49 23:53:32 ---> 742d509edbb3 23:53:32 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:53:32 ---> Running in e1d14b8d5b19 23:53:32 Removing intermediate container e1d14b8d5b19 23:53:32 ---> bd12ed6bded9 23:53:32 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:53:32 ---> Running in a6720d5dd28b 23:53:32 Removing intermediate container a6720d5dd28b 23:53:32 ---> 0d804578b7be 23:53:32 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:53:32 ---> Running in 00151fe3170e 23:53:33 Removing intermediate container 00151fe3170e 23:53:33 ---> 8c4518a39120 23:53:33 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:53:33 ---> Running in 802cb1acd4b3 23:53:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:53:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:53:33 OK: 269 MiB in 57 packages 23:53:33 Removing intermediate container 802cb1acd4b3 23:53:33 ---> 86f35a5e77fe 23:53:33 Step 8/24 : WORKDIR /device-mqtt-go 23:53:34 ---> Running in 6613333db093 23:53:34 Removing intermediate container 6613333db093 23:53:34 ---> b352c3aba249 23:53:34 Step 9/24 : COPY go.mod vendor* ./ 23:53:34 ---> 98b77f863dda 23:53:34 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:53:34 ---> Running in 7bf9527d97bb 23:53:34 Removing intermediate container 7bf9527d97bb 23:53:34 ---> 781f22fb8687 23:53:34 Step 11/24 : COPY . . 23:53:35 ---> afc297654a2b 23:53:35 Step 12/24 : RUN $MAKE 23:53:35 ---> Running in cf6e175dd07a 23:53:35 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:53:57 Removing intermediate container cf6e175dd07a 23:53:57 ---> ad08c303ab33 23:53:57 Step 13/24 : FROM alpine:3.17 23:53:57 3.17: Pulling from library/alpine 23:53:57 f56be85fc22e: Already exists 23:53:57 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:53:57 Status: Downloaded newer image for alpine:3.17 23:53:57 ---> 9ed4aefc74f6 23:53:57 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:53:57 ---> Running in 9ae4aed28115 23:53:57 Removing intermediate container 9ae4aed28115 23:53:57 ---> e6d97625d31a 23:53:57 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:53:57 ---> Running in 598aab92e0c2 23:53:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:53:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:53:57 (1/1) Installing dumb-init (1.2.5-r2) 23:53:57 Executing busybox-1.35.0-r29.trigger 23:53:57 OK: 7 MiB in 16 packages 23:53:57 Removing intermediate container 598aab92e0c2 23:53:57 ---> df6d177383c7 23:53:57 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:53:57 ---> dc62c8574811 23:53:57 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:53:57 ---> aa8284acfa2d 23:53:57 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:53:57 ---> f9cd646a8785 23:53:57 Step 19/24 : EXPOSE 59982 23:53:57 ---> Running in 4339a64c8b42 23:53:57 Removing intermediate container 4339a64c8b42 23:53:57 ---> f800061a9490 23:53:57 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:53:57 ---> Running in 1f92fd2f34db 23:53:57 Removing intermediate container 1f92fd2f34db 23:53:57 ---> 107ada8aede4 23:53:57 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:53:57 ---> Running in 034bd761bb4e 23:53:57 Removing intermediate container 034bd761bb4e 23:53:57 ---> 7b183e58e09c 23:53:57 Step 22/24 : LABEL arch=amd64 23:53:57 ---> Running in aa2f774b962b 23:53:57 Removing intermediate container aa2f774b962b 23:53:57 ---> 8cb825c95900 23:53:57 Step 23/24 : LABEL git_sha=e96628314143562fb5b0ac16d7f75239289947dd 23:53:57 ---> Running in ac1ce5c1497b 23:53:57 Removing intermediate container ac1ce5c1497b 23:53:57 ---> 74886e7ecc63 23:53:57 Step 24/24 : LABEL version=0.0.0 23:53:57 ---> Running in db90ea7f8d85 23:53:57 Removing intermediate container db90ea7f8d85 23:53:57 ---> 01173bfcc228 23:53:57 [Warning] One or more build-args [ARCH] were not consumed 23:53:57 Successfully built 01173bfcc228 23:53:57 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:53:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:53:57 23:53:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:53:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:53:58 latest: Pulling from edgex-lftools-log-publisher 23:53:58 5eb5b503b376: Pulling fs layer 23:53:58 5c69ac0246d0: Pulling fs layer 23:53:58 ec43610c2a17: Pulling fs layer 23:53:58 3a2ae6a8a46f: Pulling fs layer 23:53:58 33b1e0a273af: Pulling fs layer 23:53:58 5d3b04190fa2: Pulling fs layer 23:53:58 2f39f015ded8: Pulling fs layer 23:53:58 2f39f015ded8: Waiting 23:53:58 3a2ae6a8a46f: Waiting 23:53:58 5d3b04190fa2: Waiting 23:53:58 33b1e0a273af: Waiting 23:53:58 5c69ac0246d0: Verifying Checksum 23:53:58 5c69ac0246d0: Download complete 23:53:58 3a2ae6a8a46f: Verifying Checksum 23:53:58 3a2ae6a8a46f: Download complete 23:53:58 33b1e0a273af: Verifying Checksum 23:53:58 33b1e0a273af: Download complete 23:53:58 5d3b04190fa2: Verifying Checksum 23:53:58 5d3b04190fa2: Download complete 23:53:58 ec43610c2a17: Verifying Checksum 23:53:58 ec43610c2a17: Download complete 23:53:58 5eb5b503b376: Verifying Checksum 23:53:58 5eb5b503b376: Download complete 23:53:59 2f39f015ded8: Download complete 23:53:59 5eb5b503b376: Pull complete 23:53:59 5c69ac0246d0: Pull complete 23:54:00 ec43610c2a17: Pull complete 23:54:00 3a2ae6a8a46f: Pull complete 23:54:00 33b1e0a273af: Pull complete 23:54:00 5d3b04190fa2: Pull complete 23:54:05 2f39f015ded8: Pull complete 23:54:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:54:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:54:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:54:06 prd-ubuntu20.04-docker-8c-8g-12264 does not seem to be running inside a container 23:54:06 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:54:08 $ docker top 8b3804793aeb8f068371f6589ae5928d5279e6cceea466a63f0c6c67a10bcce3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:54:08 ---> job-cost.sh 23:54:08 lf-activate-venv: SKIPPING 23:54:08 INFO: No Stack... 23:54:08 INFO: Retrieving Pricing Info for: v3-standard-8 23:54:09 INFO: Archiving Costs [Pipeline] sh 23:54:09 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives/cost.csv 23:54:09 + cut -d, -f6 [Pipeline] lock 23:54:09 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-586-5-stack-cost] 23:54:09 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-586-5-stack-cost] did not exist. Created. 23:54:09 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-586-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:54:09 + echo total: 0.2199999988079071 [Pipeline] stash 23:54:09 Stashed 1 file(s) [Pipeline] } 23:54:09 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-586-5-stack-cost] [Pipeline] // lock [Pipeline] } 23:54:09 $ docker stop --time=1 8b3804793aeb8f068371f6589ae5928d5279e6cceea466a63f0c6c67a10bcce3 23:54:10 $ docker rm -f --volumes 8b3804793aeb8f068371f6589ae5928d5279e6cceea466a63f0c6c67a10bcce3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:55:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12265 in /w/workspace/gexfoundry_device-mqtt-go_PR-586 [Pipeline] { [Pipeline] ws 23:55:53 Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout 23:55:54 Selected Git installation does not exist. Using Default 23:55:54 The recommended git tool is: NONE 23:56:04 using credential edgex-jenkins-ssh 23:56:04 Cloning the remote Git repository 23:56:04 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:56:04 > git init /w/workspace/device-mqtt-go/5 # timeout=10 23:56:04 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:56:04 > git --version # timeout=10 23:56:04 > git --version # 'git version 2.25.1' 23:56:04 using GIT_SSH to set credentials SSH Credentials for GitHub 23:56:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:56:06 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:56:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:56:08 Merging remotes/origin/main commit 44db128f908bb002eba25d15c491b9a779a086c0 into PR head commit e96628314143562fb5b0ac16d7f75239289947dd 23:56:08 Merge succeeded, producing e96628314143562fb5b0ac16d7f75239289947dd 23:56:08 Checking out Revision e96628314143562fb5b0ac16d7f75239289947dd (PR-586) 23:56:07 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:56:07 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:56:07 using GIT_SSH to set credentials SSH Credentials for GitHub 23:56:07 > 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:56:08 > git config core.sparsecheckout # timeout=10 23:56:08 > git checkout -f e96628314143562fb5b0ac16d7f75239289947dd # timeout=10 23:56:08 > git remote # timeout=10 23:56:08 > git config --get remote.origin.url # timeout=10 23:56:08 using GIT_SSH to set credentials SSH Credentials for GitHub 23:56:08 > git merge 44db128f908bb002eba25d15c491b9a779a086c0 # timeout=10 23:56:08 > git rev-parse HEAD^{commit} # timeout=10 23:56:08 > git config core.sparsecheckout # timeout=10 23:56:08 > git checkout -f e96628314143562fb5b0ac16d7f75239289947dd # timeout=10 23:56:14 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:56:15 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:56:15 % Total % Received % Xferd Average Speed Time Time Time Current 23:56:15 Dload Upload Total Spent Left Speed 23:56:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 82 12751 82 10503 0 0 54139 0 --:--:-- --:--:-- --:--:-- 53861 100 12751 100 12751 0 0 65056 0 --:--:-- --:--:-- --:--:-- 65056 [Pipeline] sh 23:56:16 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:56:16 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:56:16 + sudo tee /etc/docker/daemon.new 23:56:16 { 23:56:16 "registry-mirrors": [ 23:56:16 "https://nexus3.edgexfoundry.org:10001" 23:56:16 ], 23:56:16 "bip": "10.250.0.254/24", 23:56:16 "hosts": [ 23:56:16 "tcp://0.0.0.0:5555", 23:56:16 "unix:///var/run/docker.sock" 23:56:16 ], 23:56:16 "mtu": 1458, 23:56:16 "selinux-enabled": true, 23:56:16 "seccomp-profile": "/etc/docker/seccomp.json" 23:56:16 } [Pipeline] sh 23:56:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:56:17 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:56:35 provisioning config files... 23:56:35 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/5@tmp/config1125910582577017503tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:56:36 ---> docker-login.sh 23:56:36 nexus3.edgexfoundry.org:10001 23:56:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:37 Configure a credential helper to remove this warning. See 23:56:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:37 23:56:37 Login Succeeded 23:56:37 nexus3.edgexfoundry.org:10002 23:56:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:37 Configure a credential helper to remove this warning. See 23:56:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:37 23:56:37 Login Succeeded 23:56:37 nexus3.edgexfoundry.org:10003 23:56:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:37 Configure a credential helper to remove this warning. See 23:56:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:37 23:56:37 Login Succeeded 23:56:37 nexus3.edgexfoundry.org:10004 23:56:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:38 Configure a credential helper to remove this warning. See 23:56:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:38 23:56:38 Login Succeeded 23:56:38 docker.io 23:56:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:56:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:56:39 Configure a credential helper to remove this warning. See 23:56:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:56:39 23:56:39 Login Succeeded 23:56:39 ---> docker-login.sh ends [Pipeline] } 23:56:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:56:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:56:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:56:39 ========================================================= 23:56:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:56:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:56:39 + 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:56:40 Sending build context to Docker daemon 3.4MB 23:56:40 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:56:40 Step 2/12 : FROM ${BASE} AS builder 23:56:43 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:56:43 c41833b44d91: Pulling fs layer 23:56:43 ed15518f5707: Pulling fs layer 23:56:43 feae8fd75edb: Pulling fs layer 23:56:43 242c74f7c9fa: Pulling fs layer 23:56:43 3cdef696dda3: Pulling fs layer 23:56:43 2ced38df9373: Pulling fs layer 23:56:43 58f1dce35555: Pulling fs layer 23:56:43 242c74f7c9fa: Waiting 23:56:43 58f1dce35555: Waiting 23:56:43 3cdef696dda3: Waiting 23:56:43 ed15518f5707: Verifying Checksum 23:56:43 ed15518f5707: Download complete 23:56:43 242c74f7c9fa: Verifying Checksum 23:56:43 242c74f7c9fa: Download complete 23:56:43 3cdef696dda3: Verifying Checksum 23:56:43 3cdef696dda3: Download complete 23:56:43 c41833b44d91: Verifying Checksum 23:56:43 c41833b44d91: Download complete 23:56:44 c41833b44d91: Pull complete 23:56:44 58f1dce35555: Verifying Checksum 23:56:44 58f1dce35555: Download complete 23:56:45 ed15518f5707: Pull complete 23:56:46 feae8fd75edb: Verifying Checksum 23:56:46 feae8fd75edb: Download complete 23:56:46 2ced38df9373: Verifying Checksum 23:56:46 2ced38df9373: Download complete 23:56:58 feae8fd75edb: Pull complete 23:56:58 242c74f7c9fa: Pull complete 23:56:58 3cdef696dda3: Pull complete 23:57:07 2ced38df9373: Pull complete 23:57:10 58f1dce35555: Pull complete 23:57:10 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:57:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:57:10 ---> fadd8f120f05 23:57:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:57:11 ---> Running in c33f3ecd48ca 23:57:11 Removing intermediate container c33f3ecd48ca 23:57:11 ---> 9a14dc9b8f40 23:57:11 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:57:11 ---> Running in f1a315ee44c7 23:57:12 Removing intermediate container f1a315ee44c7 23:57:12 ---> 37298392787e 23:57:12 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:57:12 ---> Running in 9bc8775759eb 23:57:12 Removing intermediate container 9bc8775759eb 23:57:12 ---> 3cacb1e6464e 23:57:12 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:57:12 ---> Running in 1842d37a3cea 23:57:12 Removing intermediate container 1842d37a3cea 23:57:12 ---> 49cb819e0797 23:57:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:57:13 ---> Running in e27df550a5e9 23:57:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:57:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:57:16 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:57:16 (2/4) Installing libedit (20221030.3.1-r0) 23:57:16 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:57:16 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:57:16 Executing busybox-1.35.0-r29.trigger 23:57:16 OK: 268 MiB in 57 packages 23:57:17 Removing intermediate container e27df550a5e9 23:57:17 ---> edbdaad38de9 23:57:17 Step 8/12 : WORKDIR /device-mqtt-go 23:57:17 ---> Running in 1f13cbc5fb2f 23:57:17 Removing intermediate container 1f13cbc5fb2f 23:57:17 ---> a2ec69d0f281 23:57:17 Step 9/12 : COPY go.mod vendor* ./ 23:57:18 ---> b6498cdf40dc 23:57:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:57:18 ---> Running in d08148d835e5 23:58:26 Removing intermediate container d08148d835e5 23:58:26 ---> 5c9ab5f3b87d 23:58:26 Step 11/12 : COPY . . 23:58:26 ---> 07d958617629 23:58:26 Step 12/12 : RUN $MAKE 23:58:26 ---> Running in df4fac3a7b6f 23:58:26 noop 23:58:26 Removing intermediate container df4fac3a7b6f 23:58:26 ---> 973f86364cb2 23:58:26 Successfully built 973f86364cb2 23:58:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:26 + docker inspect -f . ci-base-image-arm64 23:58:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:26 prd-ubuntu20.04-docker-arm64-4c-16g-12265 does not seem to be running inside a container 23:58:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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:58:28 $ docker top f4f5671933aecd4b0e8041f3fc9a59947b14fcdeeee0785dc39e6b882b2d4155 -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:29 + go version 23:58:29 go version go1.20.2 linux/arm64 [Pipeline] } 23:58:29 $ docker stop --time=1 f4f5671933aecd4b0e8041f3fc9a59947b14fcdeeee0785dc39e6b882b2d4155 23:58:31 $ docker rm -f --volumes f4f5671933aecd4b0e8041f3fc9a59947b14fcdeeee0785dc39e6b882b2d4155 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:58:32 + docker inspect -f . ci-base-image-arm64 23:58:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:58:32 prd-ubuntu20.04-docker-arm64-4c-16g-12265 does not seem to be running inside a container 23:58:32 $ 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/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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:58:33 $ docker top bcc27f9a268440bdf62858a36d806cd2b3ae77804b8ea6c2ebd9157b43c60dba -eo pid,comm [Pipeline] { [Pipeline] sh 23:58:34 + git config --global --add safe.directory /w/workspace/device-mqtt-go/5 [Pipeline] fileExists [Pipeline] sh 23:58:35 + make test 23:58:35 go test ./... -coverprofile=coverage.out ./... 23:59:14 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:01:36 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:01:38 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 00:01:38 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.080s coverage: 23.1% of statements 00:01:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:01:39 go vet ./... 00:02:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:02:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:02:11 ./bin/test-attribution-txt.sh [Pipeline] echo 00:02:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:02:11 $ docker stop --time=1 bcc27f9a268440bdf62858a36d806cd2b3ae77804b8ea6c2ebd9157b43c60dba 00:02:13 $ docker rm -f --volumes bcc27f9a268440bdf62858a36d806cd2b3ae77804b8ea6c2ebd9157b43c60dba [Pipeline] // withDockerContainer [Pipeline] sh 00:02:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:02:14 Warning: overwriting stash ‘coverage-report’ 00:02:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:02:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:02:16 + ls -al . 00:02:16 total 176 00:02:16 drwxrwxr-x 9 jenkins jenkins 4096 May 1 23:58 . 00:02:16 drwxrwxr-x 4 jenkins jenkins 4096 May 1 23:56 .. 00:02:16 -rw-rw-r-- 1 jenkins jenkins 140 May 1 23:56 .dockerignore 00:02:16 drwxrwxr-x 8 jenkins jenkins 4096 May 1 23:56 .git 00:02:16 drwxrwxr-x 3 jenkins jenkins 4096 May 1 23:56 .github 00:02:16 -rw-rw-r-- 1 jenkins jenkins 329 May 1 23:56 .gitignore 00:02:16 -rw-rw-r-- 1 jenkins jenkins 41 May 1 23:56 .golangci.yml 00:02:16 -rw-rw-r-- 1 jenkins jenkins 9417 May 1 23:56 Attribution.txt 00:02:16 -rw-rw-r-- 1 jenkins jenkins 13162 May 1 23:56 CHANGELOG.md 00:02:16 -rw-rw-r-- 1 jenkins jenkins 1689 May 1 23:56 Dockerfile 00:02:16 -rw-rw-r-- 1 jenkins jenkins 677 May 1 23:56 GOVERNANCE.md 00:02:16 -rw-rw-r-- 1 jenkins jenkins 678 May 1 23:56 Jenkinsfile 00:02:16 -rw-rw-r-- 1 jenkins jenkins 11340 May 1 23:56 LICENSE 00:02:16 -rw-rw-r-- 1 jenkins jenkins 1732 May 1 23:56 Makefile 00:02:16 -rw-rw-r-- 1 jenkins jenkins 620 May 1 23:56 OWNERS.md 00:02:16 -rw-rw-r-- 1 jenkins jenkins 3165 May 1 23:56 README.md 00:02:16 -rw-rw-r-- 1 jenkins jenkins 5 May 1 23:52 VERSION 00:02:16 drwxrwxr-x 2 jenkins jenkins 4096 May 1 23:56 bin 00:02:16 drwxrwxr-x 3 jenkins jenkins 4096 May 1 23:56 cmd 00:02:16 -rw-r--r-- 1 jenkins jenkins 18144 May 2 00:01 coverage.out 00:02:16 -rw-rw-r-- 1 jenkins jenkins 3333 May 1 23:56 go.mod 00:02:16 -rw-rw-r-- 1 jenkins jenkins 31443 May 1 23:56 go.sum 00:02:16 drwxrwxr-x 3 jenkins jenkins 4096 May 1 23:56 internal 00:02:16 drwxrwxr-x 2 jenkins jenkins 4096 May 1 23:56 mock 00:02:16 drwxrwxr-x 4 jenkins jenkins 4096 May 1 23:56 snap 00:02:16 -rw-rw-r-- 1 jenkins jenkins 227 May 1 23:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:16 + 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=e96628314143562fb5b0ac16d7f75239289947dd --label arch=arm64 --label version=0.0.0 . 00:02:16 Sending build context to Docker daemon 3.419MB 00:02:16 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 00:02:16 Step 2/24 : FROM ${BASE} AS builder 00:02:16 ---> 973f86364cb2 00:02:16 Step 3/24 : ARG ADD_BUILD_TAGS="" 00:02:16 ---> Running in a78b35b1131e 00:02:17 Removing intermediate container a78b35b1131e 00:02:17 ---> 78fb6325c76a 00:02:17 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:02:17 ---> Running in 9f74dd58d019 00:02:17 Removing intermediate container 9f74dd58d019 00:02:17 ---> 2a3fe3ec5b0a 00:02:17 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:02:17 ---> Running in d24abffaafcf 00:02:18 Removing intermediate container d24abffaafcf 00:02:18 ---> 9ce0be93028a 00:02:18 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 00:02:18 ---> Running in d52af34302c2 00:02:18 Removing intermediate container d52af34302c2 00:02:18 ---> b86e5cf48e44 00:02:18 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:02:18 ---> Running in 2b555e01cf22 00:02:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:02:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:02:21 OK: 268 MiB in 57 packages 00:02:22 Removing intermediate container 2b555e01cf22 00:02:22 ---> 913051e484cb 00:02:22 Step 8/24 : WORKDIR /device-mqtt-go 00:02:23 ---> Running in 15f8bb7fa950 00:02:23 Removing intermediate container 15f8bb7fa950 00:02:23 ---> d125dd5e943c 00:02:23 Step 9/24 : COPY go.mod vendor* ./ 00:02:23 ---> 746f2abac5b7 00:02:23 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:02:23 ---> Running in ad5f35b7f90b 00:02:27 Removing intermediate container ad5f35b7f90b 00:02:27 ---> bd80a409f474 00:02:27 Step 11/24 : COPY . . 00:02:27 ---> 9dbe61d66b6d 00:02:27 Step 12/24 : RUN $MAKE 00:02:27 ---> Running in c721aa267887 00:02:28 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 00:04:53 Removing intermediate container c721aa267887 00:04:53 ---> 42d78882a2c0 00:04:53 Step 13/24 : FROM alpine:3.17 00:04:53 3.17: Pulling from library/alpine 00:04:53 c41833b44d91: Already exists 00:04:53 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:04:53 Status: Downloaded newer image for alpine:3.17 00:04:53 ---> 51e60588ff2c 00:04:53 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 00:04:53 ---> Running in 91dfe48da384 00:04:53 Removing intermediate container 91dfe48da384 00:04:53 ---> 1b58764fb2bf 00:04:53 Step 15/24 : RUN apk add --update --no-cache dumb-init 00:04:53 ---> Running in 2bae3459fcbb 00:04:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:04:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:04:53 (1/1) Installing dumb-init (1.2.5-r2) 00:04:53 Executing busybox-1.35.0-r29.trigger 00:04:53 OK: 8 MiB in 16 packages 00:04:53 Removing intermediate container 2bae3459fcbb 00:04:53 ---> 3d9e26a08721 00:04:53 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 00:04:53 ---> 6eb5ae924627 00:04:53 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 00:04:53 ---> 069fdbdb9388 00:04:53 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 00:04:54 ---> 1098964580e2 00:04:54 Step 19/24 : EXPOSE 59982 00:04:54 ---> Running in 8f2af475d37b 00:04:54 Removing intermediate container 8f2af475d37b 00:04:54 ---> 2217709909ed 00:04:54 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 00:04:54 ---> Running in 1258837ce7c8 00:04:54 Removing intermediate container 1258837ce7c8 00:04:54 ---> 694562b8a7ef 00:04:54 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:04:55 ---> Running in fac4826371e9 00:04:55 Removing intermediate container fac4826371e9 00:04:55 ---> dff71a2ab088 00:04:55 Step 22/24 : LABEL arch=arm64 00:04:55 ---> Running in eadc669849ce 00:04:55 Removing intermediate container eadc669849ce 00:04:55 ---> ca805ddffb31 00:04:55 Step 23/24 : LABEL git_sha=e96628314143562fb5b0ac16d7f75239289947dd 00:04:55 ---> Running in 390ddb157f0d 00:04:56 Removing intermediate container 390ddb157f0d 00:04:56 ---> b3789cc45b93 00:04:56 Step 24/24 : LABEL version=0.0.0 00:04:56 ---> Running in e80f50e19aa7 00:04:56 Removing intermediate container e80f50e19aa7 00:04:56 ---> 96463be2fb80 00:04:56 [Warning] One or more build-args [ARCH] were not consumed 00:04:56 Successfully built 96463be2fb80 00:04:56 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 00:04:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:04:56 00:04:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:04:57 arm64: Pulling from edgex-lftools-log-publisher 00:04:57 8998bd30e6a1: Pulling fs layer 00:04:57 04944245beec: Pulling fs layer 00:04:57 699f458cf7ca: Pulling fs layer 00:04:57 765212b225bb: Pulling fs layer 00:04:57 f23df028b6ca: Pulling fs layer 00:04:57 d65c8cfc05b1: Pulling fs layer 00:04:57 2437ff75d9bd: Pulling fs layer 00:04:57 f23df028b6ca: Waiting 00:04:57 d65c8cfc05b1: Waiting 00:04:57 2437ff75d9bd: Waiting 00:04:57 765212b225bb: Waiting 00:04:57 04944245beec: Verifying Checksum 00:04:57 04944245beec: Download complete 00:04:57 765212b225bb: Verifying Checksum 00:04:57 765212b225bb: Download complete 00:04:57 f23df028b6ca: Verifying Checksum 00:04:57 f23df028b6ca: Download complete 00:04:57 d65c8cfc05b1: Verifying Checksum 00:04:57 d65c8cfc05b1: Download complete 00:04:57 699f458cf7ca: Verifying Checksum 00:04:57 699f458cf7ca: Download complete 00:04:58 8998bd30e6a1: Verifying Checksum 00:04:58 8998bd30e6a1: Download complete 00:05:00 2437ff75d9bd: Verifying Checksum 00:05:00 2437ff75d9bd: Download complete 00:05:02 8998bd30e6a1: Pull complete 00:05:02 04944245beec: Pull complete 00:05:04 699f458cf7ca: Pull complete 00:05:04 765212b225bb: Pull complete 00:05:04 f23df028b6ca: Pull complete 00:05:04 d65c8cfc05b1: Pull complete 00:05:19 2437ff75d9bd: Pull complete 00:05:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:05:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:05:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:05:20 prd-ubuntu20.04-docker-arm64-4c-16g-12265 does not seem to be running inside a container 00:05:20 $ 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/5 -v /w/workspace/device-mqtt-go/5:/w/workspace/device-mqtt-go/5:rw,z -v /w/workspace/device-mqtt-go/5@tmp:/w/workspace/device-mqtt-go/5@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 00:05:23 $ docker top 96ef198b0349f3d53d7ce6167b03c1b41f27a97d83731f21446af6ac0f783a96 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:05:24 ---> job-cost.sh 00:05:24 lf-activate-venv: SKIPPING 00:05:24 INFO: No Stack... 00:05:24 INFO: Retrieving Pricing Info for: v3-standard-4 00:05:25 INFO: Archiving Costs [Pipeline] sh 00:05:26 + cut -d, -f6 00:05:26 + cat /w/workspace/device-mqtt-go/5/archives/cost.csv [Pipeline] lock 00:05:26 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-586-5-stack-cost] 00:05:26 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-586-5-stack-cost] did not exist. Created. 00:05:26 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-586-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:05:26 /w/workspace/device-mqtt-go/5@tmp/durable-e6f251f6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:05:27 + echo total: 0.10999999940395355 [Pipeline] stash 00:05:27 Warning: overwriting stash ‘stack-cost’ 00:05:27 Stashed 1 file(s) [Pipeline] } 00:05:27 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-586-5-stack-cost] [Pipeline] // lock [Pipeline] } 00:05:27 $ docker stop --time=1 96ef198b0349f3d53d7ce6167b03c1b41f27a97d83731f21446af6ac0f783a96 00:05:31 $ docker rm -f --volumes 96ef198b0349f3d53d7ce6167b03c1b41f27a97d83731f21446af6ac0f783a96 [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 00:05:31 provisioning config files... 00:05:31 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/config7604494446900771612tmp [Pipeline] { [Pipeline] sh 00:05:32 + set +x 00:05:32 + bash -s -- 00:05:32 + curl -s https://codecov.io/bash 00:05:32 00:05:32 _____ _ 00:05:32 / ____| | | 00:05:32 | | ___ __| | ___ ___ _____ __ 00:05:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:05:32 | |___| (_) | (_| | __/ (_| (_) \ V / 00:05:32 \_____\___/ \__,_|\___|\___\___/ \_/ 00:05:32 Bash-1.0.6 00:05:32 00:05:32 00:05:32 ==> git version 2.25.1 found 00:05:32 ==> 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 00:05:32 Release-Date: 2020-01-08 00:05:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:05:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:05:32 ==> Jenkins CI detected. 00:05:32 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-586 00:05:32 project root: . 00:05:32 --> token set from env 00:05:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:05:32 ==> Running gcov in . (disable via -X gcov) 00:05:32 ==> Python coveragepy not found 00:05:32 ==> Searching for coverage reports in: 00:05:32 + . 00:05:32 -> Found 1 reports 00:05:32 ==> Detecting git/mercurial file structure 00:05:32 ==> Reading reports 00:05:32 + ./coverage.out bytes=18144 00:05:32 ==> Appending adjustments 00:05:32 https://docs.codecov.io/docs/fixing-reports 00:05:32 + Found adjustments 00:05:32 ==> Gzipping contents 00:05:32 4.0K /tmp/codecov.Alxhap.gz 00:05:32 ==> Uploading reports 00:05:32 url: https://codecov.io 00:05:32 query: branch=PR-586&commit=e96628314143562fb5b0ac16d7f75239289947dd&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-586%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=586&job=&cmd_args= 00:05:32 -> Pinging Codecov 00:05:32 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=e96628314143562fb5b0ac16d7f75239289947dd&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-586%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=586&job=&cmd_args= 00:05:32 -> Uploading to 00:05:32 https://storage.googleapis.com/codecov/v4/raw/2023-05-02/7D719EC7BBE17E464838252E33014C33/e96628314143562fb5b0ac16d7f75239289947dd/0fcc9410-526e-4529-a275-a7b831656bd8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230502%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230502T000532Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d1123abf42c691abd059c1063af9675c7e57b1c6007b76c45e0430f4d3f65cd 00:05:32 % Total % Received % Xferd Average Speed Time Time Time Current 00:05:32 Dload Upload Total Spent Left Speed 00:05:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3184 0 0 100 3184 0 14342 --:--:-- --:--:-- --:--:-- 14278 100 3184 0 0 100 3184 0 13322 --:--:-- --:--:-- --:--:-- 13266 00:05:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/e96628314143562fb5b0ac16d7f75239289947dd [Pipeline] } 00:05:32 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 00:05:33 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives ] 00:05:33 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives 00:05:33 total 16 00:05:33 drwxr-xr-x 3 root root 4096 May 1 23:54 . 00:05:33 drwxrwxr-x 11 jenkins jenkins 4096 May 1 23:54 .. 00:05:33 drwxr-xr-x 2 root root 4096 May 1 23:54 cost 00:05:33 -rw-r--r-- 1 root root 86 May 1 23:54 cost.csv 00:05:33 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives 00:05:33 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives 00:05:33 total 16 00:05:33 drwxr-xr-x 3 jenkins jenkins 4096 May 1 23:54 . 00:05:33 drwxrwxr-x 11 jenkins jenkins 4096 May 1 23:54 .. 00:05:33 drwxr-xr-x 2 jenkins jenkins 4096 May 1 23:54 cost 00:05:33 -rw-r--r-- 1 jenkins jenkins 86 May 1 23:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:05:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:05:34 ---> package-listing.sh 00:05:34 ++ facter osfamily 00:05:34 ++ tr '[:upper:]' '[:lower:]' 00:05:35 + OS_FAMILY=debian 00:05:35 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-586 00:05:35 + START_PACKAGES=/tmp/packages_start.txt 00:05:35 + END_PACKAGES=/tmp/packages_end.txt 00:05:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:05:35 + PACKAGES=/tmp/packages_start.txt 00:05:35 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-586 ']' 00:05:35 + PACKAGES=/tmp/packages_end.txt 00:05:35 + case "${OS_FAMILY}" in 00:05:35 + dpkg -l 00:05:35 + grep '^ii' 00:05:35 + '[' -f /tmp/packages_start.txt ']' 00:05:35 + '[' -f /tmp/packages_end.txt ']' 00:05:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:05:35 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-586 ']' 00:05:35 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives/ 00:05:35 + 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 00:05:35 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 00:05:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:05:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:05:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:05:35 prd-ubuntu20.04-docker-8c-8g-12264 does not seem to be running inside a container 00:05:35 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:05:36 $ docker top d1a1be12de06f77a6a5c12e9a5c5ba608aae4beaf7469515f71a0388dcfabdc3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:05:36 + touch /tmp/pre-build-complete [Pipeline] sh 00:05:36 + mkdir -p /var/log/sysstat [Pipeline] sh 00:05:37 + ls /var/log/sa-host 00:05:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:05:37 provisioning config files... 00:05:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/config17784577734296237595tmp [Pipeline] { [Pipeline] echo 00:05:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:05:37 ---> create-netrc.sh [Pipeline] } 00:05:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:05:37 ---> python-tools-install.sh [Pipeline] echo 00:05:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:05:38 ---> sudo-logs.sh 00:05:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:05:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:05:38 ---> job-cost.sh 00:05:38 lf-activate-venv: SKIPPING 00:05:38 DEBUG: total: 0.2199999988079071 00:05:38 INFO: Retrieving Stack Cost... 00:05:38 INFO: Retrieving Pricing Info for: v3-standard-8 00:05:39 INFO: Archiving Costs [Pipeline] echo 00:05:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:05:39 ---> logs-deploy.sh 00:05:39 lf-activate-venv: SKIPPING 00:05:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-586/5 00:05:39 INFO: archiving workspace using pattern(s): 00:05:40 Archives upload complete. 00:05:40 INFO: archiving logs to Nexus