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 294c6def2b0b795a6d478a2cc5574578b861ffe8+44db128f908bb002eba25d15c491b9a779a086c0 (82fd5547a1c296dd4b72f39e0b6d3bce84d40d42) 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-ssh8715196076921712841.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-ssh13303701888400794395.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-ssh149314699385502030.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-ssh3323543975120284115.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-ssh17786233357265789241.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-12267 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 294c6def2b0b795a6d478a2cc5574578b861ffe8 Merge succeeded, producing 294c6def2b0b795a6d478a2cc5574578b861ffe8 Checking out Revision 294c6def2b0b795a6d478a2cc5574578b861ffe8 (PR-586) > git config core.sparsecheckout # timeout=10 > git checkout -f 294c6def2b0b795a6d478a2cc5574578b861ffe8 # 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 294c6def2b0b795a6d478a2cc5574578b861ffe8 # timeout=10 Commit message: "feat!: Handle receiving multiple readings in the async payload" First time build. Skipping changelog. > git rev-list --no-walk e96628314143562fb5b0ac16d7f75239289947dd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:15:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:15:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:15:56 ========================================================= 00:15:56 EdgeX Global Pipelines Version Info 00:15:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:15:57 ------------------- 00:15:57 stable info: 00:15:57 ------------------- 00:15:57 Commited By: Bill Mahoney bill.mahoney@intel.com 00:15:57 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 00:15:57 Message: update stable to v1.0.248 00:15:58 ------------------- 00:15:58 experimental info: 00:15:58 ------------------- 00:15:58 Commited By: **** collab-it+edgex@linuxfoundation.org 00:15:58 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 00:15:58 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-586 [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-586 [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-586 [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 294c6def2b0b795a6d478a2cc5574578b861ffe8 [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 294c6de [Pipeline] echo 00:15:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:15:58 provisioning config files... 00:15:58 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/config12875225748494237378tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:15:59 ---> docker-login.sh 00:15:59 nexus3.edgexfoundry.org:10001 00:15:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:59 Configure a credential helper to remove this warning. See 00:15:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:59 00:15:59 Login Succeeded 00:15:59 nexus3.edgexfoundry.org:10002 00:15:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:59 Configure a credential helper to remove this warning. See 00:15:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:59 00:15:59 Login Succeeded 00:15:59 nexus3.edgexfoundry.org:10003 00:15:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:59 Configure a credential helper to remove this warning. See 00:15:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:59 00:15:59 Login Succeeded 00:15:59 nexus3.edgexfoundry.org:10004 00:15:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:59 Configure a credential helper to remove this warning. See 00:15:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:59 00:15:59 Login Succeeded 00:15:59 docker.io 00:15:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:15:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:15:59 Configure a credential helper to remove this warning. See 00:15:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:15:59 00:15:59 Login Succeeded 00:15:59 ---> docker-login.sh ends [Pipeline] } 00:15:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:16:00 + git rev-list -1 --merges 294c6def2b0b795a6d478a2cc5574578b861ffe8~1..294c6def2b0b795a6d478a2cc5574578b861ffe8 [Pipeline] echo 00:16:00 -----------> git rev-list -1 --merges 294c6def2b0b795a6d478a2cc5574578b861ffe8~1..294c6def2b0b795a6d478a2cc5574578b861ffe8 294c6def2b0b795a6d478a2cc5574578b861ffe8 [false] [Pipeline] sh 00:16:00 + git log --format=format:%s -1 294c6def2b0b795a6d478a2cc5574578b861ffe8 [Pipeline] echo 00:16:00 ========================================================= 00:16:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:16:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:16:00 + git log --format=format:%s -1 294c6def2b0b795a6d478a2cc5574578b861ffe8 [Pipeline] echo 00:16:00 [semverPrep] GIT_COMMIT: 294c6def2b0b795a6d478a2cc5574578b861ffe8, Commit Message: feat!: Handle receiving multiple readings in the async payload [Pipeline] echo 00:16:00 [semverPrep] This is not a build commit. [Pipeline] sh 00:16:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:16:01 + grep -v github /etc/ssh/ssh_known_hosts 00:16:01 + [ -e /tmp/ssh_known_hosts ] 00:16:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:16:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:16:01 + sudo tee -a /etc/ssh/ssh_known_hosts 00:16:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:16:01 00:16:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:16:01 0.1.4: Pulling from edgex-devops/py-git-semver 00:16:01 b85a868b505f: Pulling fs layer 00:16:01 e2be974225ed: Pulling fs layer 00:16:01 339a4e72a1f5: Pulling fs layer 00:16:01 988bab9f4d93: Pulling fs layer 00:16:01 1469e6f7b9e6: Pulling fs layer 00:16:01 eaf3925da568: Pulling fs layer 00:16:01 bab4dde63d76: Pulling fs layer 00:16:01 bde34c3a00c8: Pulling fs layer 00:16:01 b352a97aabf1: Pulling fs layer 00:16:01 4872d77fe225: Pulling fs layer 00:16:01 5851b861e8e6: Pulling fs layer 00:16:01 988bab9f4d93: Waiting 00:16:01 1469e6f7b9e6: Waiting 00:16:01 bde34c3a00c8: Waiting 00:16:01 bab4dde63d76: Waiting 00:16:01 b352a97aabf1: Waiting 00:16:01 4872d77fe225: Waiting 00:16:01 eaf3925da568: Waiting 00:16:01 5851b861e8e6: Waiting 00:16:01 e2be974225ed: Verifying Checksum 00:16:01 e2be974225ed: Download complete 00:16:01 988bab9f4d93: Verifying Checksum 00:16:01 988bab9f4d93: Download complete 00:16:01 1469e6f7b9e6: Verifying Checksum 00:16:01 1469e6f7b9e6: Download complete 00:16:01 339a4e72a1f5: Verifying Checksum 00:16:01 339a4e72a1f5: Download complete 00:16:02 eaf3925da568: Verifying Checksum 00:16:02 eaf3925da568: Download complete 00:16:02 bde34c3a00c8: Download complete 00:16:02 b352a97aabf1: Verifying Checksum 00:16:02 b352a97aabf1: Download complete 00:16:02 4872d77fe225: Download complete 00:16:02 5851b861e8e6: Verifying Checksum 00:16:02 5851b861e8e6: Download complete 00:16:02 b85a868b505f: Download complete 00:16:02 bab4dde63d76: Verifying Checksum 00:16:02 bab4dde63d76: Download complete 00:16:03 b85a868b505f: Pull complete 00:16:03 e2be974225ed: Pull complete 00:16:03 339a4e72a1f5: Pull complete 00:16:04 988bab9f4d93: Pull complete 00:16:04 1469e6f7b9e6: Pull complete 00:16:04 eaf3925da568: Pull complete 00:16:06 bab4dde63d76: Pull complete 00:16:06 bde34c3a00c8: Pull complete 00:16:06 b352a97aabf1: Pull complete 00:16:06 4872d77fe225: Pull complete 00:16:06 5851b861e8e6: Pull complete 00:16:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:16:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:16:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:16:06 prd-ubuntu20.04-docker-8c-8g-12267 does not seem to be running inside a container 00:16:06 $ 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 00:16:10 $ docker top 886b17d8ff5be3bcc6f5a259b3c9f6d6caba7b65af4e0c211bd028adf861fbf7 -eo pid,comm 00:16:10 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). 00:16:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:16:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:16:10 [ssh-agent] Looking for ssh-agent implementation... 00:16:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:16:10 $ docker exec 886b17d8ff5be3bcc6f5a259b3c9f6d6caba7b65af4e0c211bd028adf861fbf7 ssh-agent 00:16:10 SSH_AUTH_SOCK=/tmp/ssh-5sc8L6RzhKxi/agent.32 00:16:10 SSH_AGENT_PID=38 00:16:10 Running ssh-add (command line suppressed) 00:16:10 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/private_key_4887163375185814921.key (/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/private_key_4887163375185814921.key) 00:16:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:16:10 + git tag --points-at HEAD [Pipeline] } 00:16:10 $ docker exec --env ******** --env ******** 886b17d8ff5be3bcc6f5a259b3c9f6d6caba7b65af4e0c211bd028adf861fbf7 ssh-agent -k 00:16:10 unset SSH_AUTH_SOCK; 00:16:10 unset SSH_AGENT_PID; 00:16:10 echo Agent pid 38 killed; 00:16:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:16:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:16:10 [ssh-agent] Looking for ssh-agent implementation... 00:16:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:16:11 $ docker exec 886b17d8ff5be3bcc6f5a259b3c9f6d6caba7b65af4e0c211bd028adf861fbf7 ssh-agent 00:16:11 SSH_AUTH_SOCK=/tmp/ssh-x7qCt4L0gsMf/agent.70 00:16:11 SSH_AGENT_PID=76 00:16:11 Running ssh-add (command line suppressed) 00:16:11 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/private_key_4128798370794826316.key (/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/private_key_4128798370794826316.key) 00:16:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:16:11 + git semver init 00:16:11 2023-05-02 00:16:11,718 [run_init] DEBUG init version:0.0.0 force:False 00:16:11 2023-05-02 00:16:11,719 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver 00:16:11 2023-05-02 00:16:11,719 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver 00:16:11 2023-05-02 00:16:11,720 [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) 00:16:12 2023-05-02 00:16:12,516 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586/.git/info/exclude 00:16:12 2023-05-02 00:16:12,517 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver/PR-586 with force:False 00:16:12 2023-05-02 00:16:12,517 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver/PR-586 00:16:12 2023-05-02 00:16:12,521 [execute] INFO git cat-file --batch-check 00:16:12 2023-05-02 00:16:12,521 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver, universal_newlines=False, shell=None, istream=) 00:16:12 2023-05-02 00:16:12,527 [execute] INFO git cat-file --batch 00:16:12 2023-05-02 00:16:12,527 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver, universal_newlines=False, shell=None, istream=) 00:16:12 2023-05-02 00:16:12,532 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-586/.semver/PR-586 00:16:12 0.0.0 [Pipeline] } 00:16:12 $ docker exec --env ******** --env ******** 886b17d8ff5be3bcc6f5a259b3c9f6d6caba7b65af4e0c211bd028adf861fbf7 ssh-agent -k 00:16:12 unset SSH_AUTH_SOCK; 00:16:12 unset SSH_AGENT_PID; 00:16:12 echo Agent pid 76 killed; 00:16:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:16:13 + git semver [Pipeline] } 00:16:13 $ docker stop --time=1 886b17d8ff5be3bcc6f5a259b3c9f6d6caba7b65af4e0c211bd028adf861fbf7 00:16:15 $ docker rm -f --volumes 886b17d8ff5be3bcc6f5a259b3c9f6d6caba7b65af4e0c211bd028adf861fbf7 [Pipeline] // withDockerContainer [Pipeline] sh 00:16:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:16:15 Stashed 1 file(s) [Pipeline] echo 00:16:15 [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 00:16:15 provisioning config files... 00:16:15 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/config9493918451021517370tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:16 ---> docker-login.sh 00:16:16 nexus3.edgexfoundry.org:10001 00:16:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:16 Configure a credential helper to remove this warning. See 00:16:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:16 00:16:16 Login Succeeded 00:16:16 nexus3.edgexfoundry.org:10002 00:16:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:16 Configure a credential helper to remove this warning. See 00:16:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:16 00:16:16 Login Succeeded 00:16:16 nexus3.edgexfoundry.org:10003 00:16:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:16 Configure a credential helper to remove this warning. See 00:16:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:16 00:16:16 Login Succeeded 00:16:16 nexus3.edgexfoundry.org:10004 00:16:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:16 Configure a credential helper to remove this warning. See 00:16:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:16 00:16:16 Login Succeeded 00:16:16 docker.io 00:16:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:16 Configure a credential helper to remove this warning. See 00:16:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:16 00:16:16 Login Succeeded 00:16:16 ---> docker-login.sh ends [Pipeline] } 00:16:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:16:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:16:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:16:16 ========================================================= 00:16:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:16:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:16:17 + 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 . 00:16:17 Sending build context to Docker daemon 6.5MB 00:16:17 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:16:17 Step 2/12 : FROM ${BASE} AS builder 00:16:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:16:17 f56be85fc22e: Pulling fs layer 00:16:17 85791d961cd3: Pulling fs layer 00:16:17 d694b5ae8c79: Pulling fs layer 00:16:17 9f32a84ed3da: Pulling fs layer 00:16:17 4d19c01a9841: Pulling fs layer 00:16:17 9325e15d5711: Pulling fs layer 00:16:17 556b6ee489ea: Pulling fs layer 00:16:17 c5a4b2cf53e6: Pulling fs layer 00:16:17 4d19c01a9841: Waiting 00:16:17 556b6ee489ea: Waiting 00:16:17 9325e15d5711: Waiting 00:16:17 c5a4b2cf53e6: Waiting 00:16:17 9f32a84ed3da: Waiting 00:16:17 85791d961cd3: Download complete 00:16:17 9f32a84ed3da: Download complete 00:16:17 4d19c01a9841: Download complete 00:16:17 f56be85fc22e: Verifying Checksum 00:16:17 f56be85fc22e: Download complete 00:16:17 9325e15d5711: Verifying Checksum 00:16:17 9325e15d5711: Download complete 00:16:17 f56be85fc22e: Pull complete 00:16:17 85791d961cd3: Pull complete 00:16:17 c5a4b2cf53e6: Verifying Checksum 00:16:17 c5a4b2cf53e6: Download complete 00:16:17 d694b5ae8c79: Verifying Checksum 00:16:17 d694b5ae8c79: Download complete 00:16:18 556b6ee489ea: Verifying Checksum 00:16:18 556b6ee489ea: Download complete 00:16:21 d694b5ae8c79: Pull complete 00:16:21 9f32a84ed3da: Pull complete 00:16:21 4d19c01a9841: Pull complete 00:16:21 9325e15d5711: Pull complete 00:16:23 556b6ee489ea: Pull complete 00:16:24 c5a4b2cf53e6: Pull complete 00:16:24 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 00:16:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:16:24 ---> c4be618373d6 00:16:24 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:16:30 Still waiting to schedule task 00:16:30 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-12263’ 00:16:31 ---> Running in 8c4a890497c2 00:16:31 Removing intermediate container 8c4a890497c2 00:16:31 ---> 6eec82da7107 00:16:31 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:16:31 ---> Running in 3a77fc1eb739 00:16:31 Removing intermediate container 3a77fc1eb739 00:16:31 ---> ce12cad8c654 00:16:31 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:16:31 ---> Running in cf32d7b76988 00:16:31 Removing intermediate container cf32d7b76988 00:16:31 ---> 70192343e49c 00:16:31 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:16:31 ---> Running in 71f8feebeb92 00:16:31 Removing intermediate container 71f8feebeb92 00:16:31 ---> 8a742a4d30f9 00:16:31 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:16:31 ---> Running in 2d5939e475ee 00:16:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:16:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:16:31 (1/4) Installing openssh-keygen (9.1_p1-r2) 00:16:31 (2/4) Installing libedit (20221030.3.1-r0) 00:16:31 (3/4) Installing openssh-client-common (9.1_p1-r2) 00:16:31 (4/4) Installing openssh-client-default (9.1_p1-r2) 00:16:31 Executing busybox-1.35.0-r29.trigger 00:16:31 OK: 269 MiB in 57 packages 00:16:32 Removing intermediate container 2d5939e475ee 00:16:32 ---> 744a6220c9ba 00:16:32 Step 8/12 : WORKDIR /device-mqtt-go 00:16:32 ---> Running in 68ad2316e079 00:16:32 Removing intermediate container 68ad2316e079 00:16:32 ---> ffc8bd7914a5 00:16:32 Step 9/12 : COPY go.mod vendor* ./ 00:16:32 ---> 316c62ddd801 00:16:32 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:16:32 ---> Running in 8fea43c2c507 00:17:11 Removing intermediate container 8fea43c2c507 00:17:11 ---> c8e5a9de80d6 00:17:11 Step 11/12 : COPY . . 00:17:11 ---> c975575f8da4 00:17:11 Step 12/12 : RUN $MAKE 00:17:11 ---> Running in 24bd390070af 00:17:11 noop 00:17:11 Removing intermediate container 24bd390070af 00:17:11 ---> c8f8439ee3e3 00:17:11 Successfully built c8f8439ee3e3 00:17:11 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:11 + docker inspect -f . ci-base-image-x86_64 00:17:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:17:11 prd-ubuntu20.04-docker-8c-8g-12267 does not seem to be running inside a container 00:17:11 $ 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 00:17:11 $ docker top c04c5a92051da79ccb11722e7d86a341145f98f1167c68865313f40f23d5f6a5 -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:12 + go version 00:17:12 go version go1.20.2 linux/amd64 [Pipeline] } 00:17:12 $ docker stop --time=1 c04c5a92051da79ccb11722e7d86a341145f98f1167c68865313f40f23d5f6a5 00:17:13 $ docker rm -f --volumes c04c5a92051da79ccb11722e7d86a341145f98f1167c68865313f40f23d5f6a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:13 + docker inspect -f . ci-base-image-x86_64 00:17:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:17:14 prd-ubuntu20.04-docker-8c-8g-12267 does not seem to be running inside a container 00:17:14 $ 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 00:17:14 $ docker top 27d4e8b0f2f8c4f39995ea53ff7fad57cf0e8fcbe9aa7ff5e4dadd528a296ffe -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:14 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-586 [Pipeline] fileExists [Pipeline] sh 00:17:15 + make test 00:17:15 go test ./... -coverprofile=coverage.out ./... 00:17:20 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:17:30 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:17:30 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 00:17:30 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 23.1% of statements 00:17:35 go vet ./... 00:17:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:17:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:17:39 ./bin/test-attribution-txt.sh [Pipeline] echo 00:17:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:17:39 $ docker stop --time=1 27d4e8b0f2f8c4f39995ea53ff7fad57cf0e8fcbe9aa7ff5e4dadd528a296ffe 00:17:43 $ docker rm -f --volumes 27d4e8b0f2f8c4f39995ea53ff7fad57cf0e8fcbe9aa7ff5e4dadd528a296ffe [Pipeline] // withDockerContainer [Pipeline] sh 00:17:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:17:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:17:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:17:44 + ls -al . 00:17:44 total 180 00:17:44 drwxrwxr-x 10 jenkins jenkins 4096 May 2 00:17 . 00:17:44 drwxrwxr-x 4 jenkins jenkins 4096 May 2 00:15 .. 00:17:44 -rw-rw-r-- 1 jenkins jenkins 140 May 2 00:15 .dockerignore 00:17:44 drwxrwxr-x 8 jenkins jenkins 4096 May 2 00:16 .git 00:17:44 drwxrwxr-x 3 jenkins jenkins 4096 May 2 00:15 .github 00:17:44 -rw-rw-r-- 1 jenkins jenkins 329 May 2 00:15 .gitignore 00:17:44 -rw-rw-r-- 1 jenkins jenkins 41 May 2 00:15 .golangci.yml 00:17:44 drwxr-xr-x 3 jenkins jenkins 4096 May 2 00:16 .semver 00:17:44 -rw-rw-r-- 1 jenkins jenkins 9417 May 2 00:15 Attribution.txt 00:17:44 -rw-rw-r-- 1 jenkins jenkins 13162 May 2 00:15 CHANGELOG.md 00:17:44 -rw-rw-r-- 1 jenkins jenkins 1689 May 2 00:15 Dockerfile 00:17:44 -rw-rw-r-- 1 jenkins jenkins 677 May 2 00:15 GOVERNANCE.md 00:17:44 -rw-rw-r-- 1 jenkins jenkins 678 May 2 00:15 Jenkinsfile 00:17:44 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 00:15 LICENSE 00:17:44 -rw-rw-r-- 1 jenkins jenkins 1732 May 2 00:15 Makefile 00:17:44 -rw-rw-r-- 1 jenkins jenkins 620 May 2 00:15 OWNERS.md 00:17:44 -rw-rw-r-- 1 jenkins jenkins 3165 May 2 00:15 README.md 00:17:44 -rw-rw-r-- 1 jenkins jenkins 5 May 2 00:16 VERSION 00:17:44 drwxrwxr-x 2 jenkins jenkins 4096 May 2 00:15 bin 00:17:44 drwxrwxr-x 3 jenkins jenkins 4096 May 2 00:15 cmd 00:17:44 -rw-r--r-- 1 jenkins jenkins 18144 May 2 00:17 coverage.out 00:17:44 -rw-rw-r-- 1 jenkins jenkins 3333 May 2 00:15 go.mod 00:17:44 -rw-rw-r-- 1 jenkins jenkins 31443 May 2 00:15 go.sum 00:17:44 drwxrwxr-x 3 jenkins jenkins 4096 May 2 00:15 internal 00:17:44 drwxrwxr-x 2 jenkins jenkins 4096 May 2 00:15 mock 00:17:44 drwxrwxr-x 4 jenkins jenkins 4096 May 2 00:15 snap 00:17:44 -rw-rw-r-- 1 jenkins jenkins 227 May 2 00:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:17:44 + 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=294c6def2b0b795a6d478a2cc5574578b861ffe8 --label arch=amd64 --label version=0.0.0 . 00:17:44 Sending build context to Docker daemon 6.519MB 00:17:44 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 00:17:44 Step 2/24 : FROM ${BASE} AS builder 00:17:44 ---> c8f8439ee3e3 00:17:44 Step 3/24 : ARG ADD_BUILD_TAGS="" 00:17:45 ---> Running in cff76a43ce43 00:17:45 Removing intermediate container cff76a43ce43 00:17:45 ---> 948ae49da03c 00:17:45 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:17:45 ---> Running in ee466fdf7825 00:17:45 Removing intermediate container ee466fdf7825 00:17:45 ---> f65e384f4b5b 00:17:45 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:17:45 ---> Running in b6a027b4b55a 00:17:45 Removing intermediate container b6a027b4b55a 00:17:45 ---> 028ac2271583 00:17:45 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 00:17:45 ---> Running in 37eccaebf26b 00:17:45 Removing intermediate container 37eccaebf26b 00:17:45 ---> 63786a6b6b38 00:17:45 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:17:45 ---> Running in 258422b613a2 00:17:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:17:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:17:46 OK: 269 MiB in 57 packages 00:17:46 Removing intermediate container 258422b613a2 00:17:46 ---> aa86132d6daa 00:17:46 Step 8/24 : WORKDIR /device-mqtt-go 00:17:46 ---> Running in 185dd50d68f8 00:17:46 Removing intermediate container 185dd50d68f8 00:17:46 ---> 4a8dfed326d8 00:17:46 Step 9/24 : COPY go.mod vendor* ./ 00:17:46 ---> 7b420f136b2e 00:17:46 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:17:46 ---> Running in 964ca2f3ded2 00:17:47 Removing intermediate container 964ca2f3ded2 00:17:47 ---> 4d02c8d7f739 00:17:47 Step 11/24 : COPY . . 00:17:47 ---> 8d81509f2f11 00:17:47 Step 12/24 : RUN $MAKE 00:17:47 ---> Running in c210175187ac 00:17:48 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:18:09 Removing intermediate container c210175187ac 00:18:09 ---> fe5da8f0d664 00:18:09 Step 13/24 : FROM alpine:3.17 00:18:09 3.17: Pulling from library/alpine 00:18:09 f56be85fc22e: Already exists 00:18:09 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:18:09 Status: Downloaded newer image for alpine:3.17 00:18:09 ---> 9ed4aefc74f6 00:18:09 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 00:18:09 ---> Running in e93dc53d6de2 00:18:09 Removing intermediate container e93dc53d6de2 00:18:09 ---> 7916d609c5e1 00:18:09 Step 15/24 : RUN apk add --update --no-cache dumb-init 00:18:09 ---> Running in e8d1d27b5500 00:18:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:18:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:18:10 (1/1) Installing dumb-init (1.2.5-r2) 00:18:10 Executing busybox-1.35.0-r29.trigger 00:18:10 OK: 7 MiB in 16 packages 00:18:10 Removing intermediate container e8d1d27b5500 00:18:10 ---> 49c4f56ba2c6 00:18:10 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 00:18:11 ---> 5f67bdd1540b 00:18:11 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 00:18:11 ---> 3ab06b8472ad 00:18:11 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 00:18:11 ---> 159968756db8 00:18:11 Step 19/24 : EXPOSE 59982 00:18:11 ---> Running in 0f444f7528e0 00:18:11 Removing intermediate container 0f444f7528e0 00:18:11 ---> 81d46901ab72 00:18:11 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 00:18:11 ---> Running in 4f4de9c7de3f 00:18:11 Removing intermediate container 4f4de9c7de3f 00:18:11 ---> 3101a588d4b3 00:18:11 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:18:11 ---> Running in 3f25a2a185ba 00:18:11 Removing intermediate container 3f25a2a185ba 00:18:11 ---> d1e642af3c8a 00:18:11 Step 22/24 : LABEL arch=amd64 00:18:12 ---> Running in 28a56e9e752c 00:18:12 Removing intermediate container 28a56e9e752c 00:18:12 ---> ea36f5401bb9 00:18:12 Step 23/24 : LABEL git_sha=294c6def2b0b795a6d478a2cc5574578b861ffe8 00:18:12 ---> Running in bb4d0782a5f5 00:18:12 Removing intermediate container bb4d0782a5f5 00:18:12 ---> f6d700a38487 00:18:12 Step 24/24 : LABEL version=0.0.0 00:18:12 ---> Running in 47895ad36495 00:18:12 Removing intermediate container 47895ad36495 00:18:12 ---> 3cec6e24be3b 00:18:12 [Warning] One or more build-args [ARCH] were not consumed 00:18:12 Successfully built 3cec6e24be3b 00:18:12 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 00:18:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:18:12 00:18:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:18:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:18:13 latest: Pulling from edgex-lftools-log-publisher 00:18:13 5eb5b503b376: Pulling fs layer 00:18:13 5c69ac0246d0: Pulling fs layer 00:18:13 ec43610c2a17: Pulling fs layer 00:18:13 3a2ae6a8a46f: Pulling fs layer 00:18:13 33b1e0a273af: Pulling fs layer 00:18:13 5d3b04190fa2: Pulling fs layer 00:18:13 2f39f015ded8: Pulling fs layer 00:18:13 3a2ae6a8a46f: Waiting 00:18:13 33b1e0a273af: Waiting 00:18:13 2f39f015ded8: Waiting 00:18:13 5d3b04190fa2: Waiting 00:18:13 5c69ac0246d0: Download complete 00:18:13 3a2ae6a8a46f: Verifying Checksum 00:18:13 3a2ae6a8a46f: Download complete 00:18:13 33b1e0a273af: Verifying Checksum 00:18:13 33b1e0a273af: Download complete 00:18:13 5d3b04190fa2: Verifying Checksum 00:18:13 5d3b04190fa2: Download complete 00:18:13 ec43610c2a17: Verifying Checksum 00:18:13 ec43610c2a17: Download complete 00:18:13 5eb5b503b376: Verifying Checksum 00:18:13 5eb5b503b376: Download complete 00:18:14 2f39f015ded8: Download complete 00:18:14 5eb5b503b376: Pull complete 00:18:14 5c69ac0246d0: Pull complete 00:18:15 ec43610c2a17: Pull complete 00:18:15 3a2ae6a8a46f: Pull complete 00:18:16 33b1e0a273af: Pull complete 00:18:16 5d3b04190fa2: Pull complete 00:18:20 2f39f015ded8: Pull complete 00:18:20 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:18:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:18:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:18:20 prd-ubuntu20.04-docker-8c-8g-12267 does not seem to be running inside a container 00:18: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/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 00:18:28 $ docker top d6cbeeeca0b95c88eb54d175b9d85c6afb7af022f9443e0807f0b586f8f10c82 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:18:28 ---> job-cost.sh 00:18:28 lf-activate-venv: SKIPPING 00:18:28 INFO: No Stack... 00:18:28 INFO: Retrieving Pricing Info for: v3-standard-8 00:18:28 INFO: Archiving Costs [Pipeline] sh 00:18:29 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives/cost.csv 00:18:29 + cut -d, -f6 [Pipeline] lock 00:18:29 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-586-6-stack-cost] 00:18:29 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-586-6-stack-cost] did not exist. Created. 00:18:29 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-586-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:18:29 + echo total: 0.2199999988079071 [Pipeline] stash 00:18:29 Stashed 1 file(s) [Pipeline] } 00:18:29 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-586-6-stack-cost] [Pipeline] // lock [Pipeline] } 00:18:29 $ docker stop --time=1 d6cbeeeca0b95c88eb54d175b9d85c6afb7af022f9443e0807f0b586f8f10c82 00:18:30 $ docker rm -f --volumes d6cbeeeca0b95c88eb54d175b9d85c6afb7af022f9443e0807f0b586f8f10c82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:19:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12270 in /w/workspace/gexfoundry_device-mqtt-go_PR-586 [Pipeline] { [Pipeline] ws 00:19:19 Running in /w/workspace/device-mqtt-go/6 [Pipeline] { [Pipeline] checkout 00:19:19 Selected Git installation does not exist. Using Default 00:19:19 The recommended git tool is: NONE 00:19:27 using credential edgex-jenkins-ssh 00:19:27 Cloning the remote Git repository 00:19:27 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 00:19:27 > git init /w/workspace/device-mqtt-go/6 # timeout=10 00:19:27 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 00:19:27 > git --version # timeout=10 00:19:27 > git --version # 'git version 2.25.1' 00:19:27 using GIT_SSH to set credentials SSH Credentials for GitHub 00:19:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:19:29 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 00:19:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:19:31 Merging remotes/origin/main commit 44db128f908bb002eba25d15c491b9a779a086c0 into PR head commit 294c6def2b0b795a6d478a2cc5574578b861ffe8 00:19:30 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 00:19:30 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 00:19:30 using GIT_SSH to set credentials SSH Credentials for GitHub 00:19:30 > 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 00:19:31 > git config core.sparsecheckout # timeout=10 00:19:31 Merge succeeded, producing 294c6def2b0b795a6d478a2cc5574578b861ffe8 00:19:31 Checking out Revision 294c6def2b0b795a6d478a2cc5574578b861ffe8 (PR-586) 00:19:31 > git checkout -f 294c6def2b0b795a6d478a2cc5574578b861ffe8 # timeout=10 00:19:31 > git remote # timeout=10 00:19:31 > git config --get remote.origin.url # timeout=10 00:19:31 using GIT_SSH to set credentials SSH Credentials for GitHub 00:19:31 > git merge 44db128f908bb002eba25d15c491b9a779a086c0 # timeout=10 00:19:31 > git rev-parse HEAD^{commit} # timeout=10 00:19:31 > git config core.sparsecheckout # timeout=10 00:19:31 > git checkout -f 294c6def2b0b795a6d478a2cc5574578b861ffe8 # timeout=10 00:19:35 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 00:19:36 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:19:36 % Total % Received % Xferd Average Speed Time Time Time Current 00:19:36 Dload Upload Total Spent Left Speed 00:19:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80702 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh 00:19:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:19:37 + sudo tee /etc/docker/daemon.new 00:19:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:19:37 { 00:19:37 "registry-mirrors": [ 00:19:37 "https://nexus3.edgexfoundry.org:10001" 00:19:37 ], 00:19:37 "bip": "10.250.0.254/24", 00:19:37 "hosts": [ 00:19:37 "tcp://0.0.0.0:5555", 00:19:37 "unix:///var/run/docker.sock" 00:19:37 ], 00:19:37 "mtu": 1458, 00:19:37 "selinux-enabled": true, 00:19:37 "seccomp-profile": "/etc/docker/seccomp.json" 00:19:37 } [Pipeline] sh 00:19:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:19:38 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:19:56 provisioning config files... 00:19:56 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/6@tmp/config13413549721390659872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:19:57 ---> docker-login.sh 00:19:57 nexus3.edgexfoundry.org:10001 00:19:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:58 Configure a credential helper to remove this warning. See 00:19:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:58 00:19:58 Login Succeeded 00:19:58 nexus3.edgexfoundry.org:10002 00:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:58 Configure a credential helper to remove this warning. See 00:19:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:58 00:19:58 Login Succeeded 00:19:58 nexus3.edgexfoundry.org:10003 00:19:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:58 Configure a credential helper to remove this warning. See 00:19:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:58 00:19:58 Login Succeeded 00:19:58 nexus3.edgexfoundry.org:10004 00:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:59 Configure a credential helper to remove this warning. See 00:19:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:59 00:19:59 Login Succeeded 00:19:59 docker.io 00:19:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:20:00 Configure a credential helper to remove this warning. See 00:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:20:00 00:20:00 Login Succeeded 00:20:00 ---> docker-login.sh ends [Pipeline] } 00:20:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:20:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:20:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:20:00 ========================================================= 00:20:00 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:20:00 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:00 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 00:20:01 Sending build context to Docker daemon 3.389MB 00:20:01 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 00:20:01 Step 2/12 : FROM ${BASE} AS builder 00:20:01 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:20:01 c41833b44d91: Pulling fs layer 00:20:01 ed15518f5707: Pulling fs layer 00:20:01 feae8fd75edb: Pulling fs layer 00:20:01 242c74f7c9fa: Pulling fs layer 00:20:01 3cdef696dda3: Pulling fs layer 00:20:01 2ced38df9373: Pulling fs layer 00:20:01 58f1dce35555: Pulling fs layer 00:20:01 3cdef696dda3: Waiting 00:20:01 2ced38df9373: Waiting 00:20:01 242c74f7c9fa: Waiting 00:20:01 58f1dce35555: Waiting 00:20:01 ed15518f5707: Verifying Checksum 00:20:01 ed15518f5707: Download complete 00:20:01 242c74f7c9fa: Verifying Checksum 00:20:01 242c74f7c9fa: Download complete 00:20:01 3cdef696dda3: Verifying Checksum 00:20:01 3cdef696dda3: Download complete 00:20:01 c41833b44d91: Verifying Checksum 00:20:01 c41833b44d91: Download complete 00:20:02 c41833b44d91: Pull complete 00:20:03 58f1dce35555: Verifying Checksum 00:20:03 58f1dce35555: Download complete 00:20:03 ed15518f5707: Pull complete 00:20:04 feae8fd75edb: Verifying Checksum 00:20:04 feae8fd75edb: Download complete 00:20:04 2ced38df9373: Verifying Checksum 00:20:04 2ced38df9373: Download complete 00:20:17 feae8fd75edb: Pull complete 00:20:17 242c74f7c9fa: Pull complete 00:20:17 3cdef696dda3: Pull complete 00:20:23 2ced38df9373: Pull complete 00:20:25 58f1dce35555: Pull complete 00:20:25 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 00:20:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:20:25 ---> fadd8f120f05 00:20:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 00:20:27 ---> Running in fe09fa64c513 00:20:28 Removing intermediate container fe09fa64c513 00:20:28 ---> d10b3764c6d3 00:20:28 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:20:28 ---> Running in e490f233f66c 00:20:28 Removing intermediate container e490f233f66c 00:20:28 ---> ff19bd67bb1f 00:20:28 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:20:28 ---> Running in c875ffe21c5c 00:20:29 Removing intermediate container c875ffe21c5c 00:20:29 ---> 8f3af010f08e 00:20:29 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 00:20:29 ---> Running in a98db5578a89 00:20:29 Removing intermediate container a98db5578a89 00:20:29 ---> 782d33cd1127 00:20:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:20:29 ---> Running in f653dbcead63 00:20:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:20:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:20:33 (1/4) Installing openssh-keygen (9.1_p1-r2) 00:20:33 (2/4) Installing libedit (20221030.3.1-r0) 00:20:33 (3/4) Installing openssh-client-common (9.1_p1-r2) 00:20:33 (4/4) Installing openssh-client-default (9.1_p1-r2) 00:20:33 Executing busybox-1.35.0-r29.trigger 00:20:33 OK: 268 MiB in 57 packages 00:20:34 Removing intermediate container f653dbcead63 00:20:34 ---> c7c5c7764c61 00:20:34 Step 8/12 : WORKDIR /device-mqtt-go 00:20:34 ---> Running in 4934f4269411 00:20:35 Removing intermediate container 4934f4269411 00:20:35 ---> 017f5ad9f8be 00:20:35 Step 9/12 : COPY go.mod vendor* ./ 00:20:35 ---> 7e986cf36c59 00:20:35 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:20:35 ---> Running in c56691fa7f05 00:21:43 Removing intermediate container c56691fa7f05 00:21:43 ---> 4f1e95cb8435 00:21:43 Step 11/12 : COPY . . 00:21:43 ---> 94c8c899bbef 00:21:43 Step 12/12 : RUN $MAKE 00:21:43 ---> Running in 220317ca72bc 00:21:43 noop 00:21:44 Removing intermediate container 220317ca72bc 00:21:44 ---> 784e9af4d3bd 00:21:44 Successfully built 784e9af4d3bd 00:21:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:45 + docker inspect -f . ci-base-image-arm64 00:21:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:45 prd-ubuntu20.04-docker-arm64-4c-16g-12270 does not seem to be running inside a container 00:21:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:21:47 $ docker top e786d268dce3924cec2e7bc205fbeb91200900ec627818d2fbb826148663e10a -eo pid,comm [Pipeline] { [Pipeline] sh 00:21:47 + go version 00:21:47 go version go1.20.2 linux/arm64 [Pipeline] } 00:21:48 $ docker stop --time=1 e786d268dce3924cec2e7bc205fbeb91200900ec627818d2fbb826148663e10a 00:21:49 $ docker rm -f --volumes e786d268dce3924cec2e7bc205fbeb91200900ec627818d2fbb826148663e10a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:50 + docker inspect -f . ci-base-image-arm64 00:21:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:21:50 prd-ubuntu20.04-docker-arm64-4c-16g-12270 does not seem to be running inside a container 00:21:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/6 -v /w/workspace/device-mqtt-go/6:/w/workspace/device-mqtt-go/6:rw,z -v /w/workspace/device-mqtt-go/6@tmp:/w/workspace/device-mqtt-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:21:52 $ docker top 315a6b551030300abd0ae77ff3b4cc2dd70eabcd15cf82988e7b5086876f1b36 -eo pid,comm [Pipeline] { [Pipeline] sh 00:21:52 + git config --global --add safe.directory /w/workspace/device-mqtt-go/6 [Pipeline] fileExists [Pipeline] sh 00:21:53 + make test 00:21:53 go test ./... -coverprofile=coverage.out ./... 00:22:42 ? github.com/edgexfoundry/device-mqtt-go [no test files] 00:25:18 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 00:25:18 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 00:25:18 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.077s coverage: 23.1% of statements 00:25:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:25:18 go vet ./... 00:25:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:25:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:25:45 ./bin/test-attribution-txt.sh [Pipeline] echo 00:25:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:25:45 $ docker stop --time=1 315a6b551030300abd0ae77ff3b4cc2dd70eabcd15cf82988e7b5086876f1b36 00:25:47 $ docker rm -f --volumes 315a6b551030300abd0ae77ff3b4cc2dd70eabcd15cf82988e7b5086876f1b36 [Pipeline] // withDockerContainer [Pipeline] sh 00:25:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:25:49 Warning: overwriting stash ‘coverage-report’ 00:25:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:25:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:25:50 + ls -al . 00:25:50 total 176 00:25:50 drwxrwxr-x 9 jenkins jenkins 4096 May 2 00:21 . 00:25:50 drwxrwxr-x 4 jenkins jenkins 4096 May 2 00:19 .. 00:25:50 -rw-rw-r-- 1 jenkins jenkins 140 May 2 00:19 .dockerignore 00:25:50 drwxrwxr-x 8 jenkins jenkins 4096 May 2 00:19 .git 00:25:50 drwxrwxr-x 3 jenkins jenkins 4096 May 2 00:19 .github 00:25:50 -rw-rw-r-- 1 jenkins jenkins 329 May 2 00:19 .gitignore 00:25:50 -rw-rw-r-- 1 jenkins jenkins 41 May 2 00:19 .golangci.yml 00:25:50 -rw-rw-r-- 1 jenkins jenkins 9417 May 2 00:19 Attribution.txt 00:25:50 -rw-rw-r-- 1 jenkins jenkins 13162 May 2 00:19 CHANGELOG.md 00:25:50 -rw-rw-r-- 1 jenkins jenkins 1689 May 2 00:19 Dockerfile 00:25:50 -rw-rw-r-- 1 jenkins jenkins 677 May 2 00:19 GOVERNANCE.md 00:25:50 -rw-rw-r-- 1 jenkins jenkins 678 May 2 00:19 Jenkinsfile 00:25:50 -rw-rw-r-- 1 jenkins jenkins 11340 May 2 00:19 LICENSE 00:25:50 -rw-rw-r-- 1 jenkins jenkins 1732 May 2 00:19 Makefile 00:25:50 -rw-rw-r-- 1 jenkins jenkins 620 May 2 00:19 OWNERS.md 00:25:50 -rw-rw-r-- 1 jenkins jenkins 3165 May 2 00:19 README.md 00:25:50 -rw-rw-r-- 1 jenkins jenkins 5 May 2 00:16 VERSION 00:25:50 drwxrwxr-x 2 jenkins jenkins 4096 May 2 00:19 bin 00:25:50 drwxrwxr-x 3 jenkins jenkins 4096 May 2 00:19 cmd 00:25:50 -rw-r--r-- 1 jenkins jenkins 18144 May 2 00:25 coverage.out 00:25:50 -rw-rw-r-- 1 jenkins jenkins 3333 May 2 00:19 go.mod 00:25:50 -rw-rw-r-- 1 jenkins jenkins 31443 May 2 00:19 go.sum 00:25:50 drwxrwxr-x 3 jenkins jenkins 4096 May 2 00:19 internal 00:25:50 drwxrwxr-x 2 jenkins jenkins 4096 May 2 00:19 mock 00:25:50 drwxrwxr-x 4 jenkins jenkins 4096 May 2 00:19 snap 00:25:50 -rw-rw-r-- 1 jenkins jenkins 227 May 2 00:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:25:50 + 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=294c6def2b0b795a6d478a2cc5574578b861ffe8 --label arch=arm64 --label version=0.0.0 . 00:25:51 Sending build context to Docker daemon 3.408MB 00:25:51 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 00:25:51 Step 2/24 : FROM ${BASE} AS builder 00:25:51 ---> 784e9af4d3bd 00:25:51 Step 3/24 : ARG ADD_BUILD_TAGS="" 00:25:51 ---> Running in 6d137b522169 00:25:51 Removing intermediate container 6d137b522169 00:25:51 ---> 000f103467d4 00:25:51 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 00:25:51 ---> Running in 892b017fe005 00:25:52 Removing intermediate container 892b017fe005 00:25:52 ---> 315ebd85d477 00:25:52 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 00:25:52 ---> Running in 181a8d292f62 00:25:52 Removing intermediate container 181a8d292f62 00:25:52 ---> c3f31053361a 00:25:52 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 00:25:52 ---> Running in 58892501ceb7 00:25:53 Removing intermediate container 58892501ceb7 00:25:53 ---> 51179f7ee83b 00:25:53 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:25:53 ---> Running in 844911c24298 00:25:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:25:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:25:56 OK: 268 MiB in 57 packages 00:25:57 Removing intermediate container 844911c24298 00:25:57 ---> 3070faba4cfb 00:25:57 Step 8/24 : WORKDIR /device-mqtt-go 00:25:57 ---> Running in c9ece4a5b247 00:25:57 Removing intermediate container c9ece4a5b247 00:25:57 ---> f98d0fcf020b 00:25:57 Step 9/24 : COPY go.mod vendor* ./ 00:25:58 ---> b6cf05fec53d 00:25:58 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:25:58 ---> Running in db593315d929 00:26:01 Removing intermediate container db593315d929 00:26:01 ---> 0025c8e7767d 00:26:01 Step 11/24 : COPY . . 00:26:02 ---> 7fe138bd504f 00:26:02 Step 12/24 : RUN $MAKE 00:26:02 ---> Running in f98d03831626 00:26:03 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:28:40 Removing intermediate container f98d03831626 00:28:40 ---> 9baad2a1972a 00:28:40 Step 13/24 : FROM alpine:3.17 00:28:40 3.17: Pulling from library/alpine 00:28:40 c41833b44d91: Already exists 00:28:40 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:28:40 Status: Downloaded newer image for alpine:3.17 00:28:40 ---> 51e60588ff2c 00:28:40 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 00:28:40 ---> Running in 5ea5902ca675 00:28:40 Removing intermediate container 5ea5902ca675 00:28:40 ---> e987af536207 00:28:40 Step 15/24 : RUN apk add --update --no-cache dumb-init 00:28:40 ---> Running in fb79f1d54082 00:28:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:28:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:28:40 (1/1) Installing dumb-init (1.2.5-r2) 00:28:40 Executing busybox-1.35.0-r29.trigger 00:28:40 OK: 8 MiB in 16 packages 00:28:40 Removing intermediate container fb79f1d54082 00:28:40 ---> 2cf9d0f0f3cd 00:28:40 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 00:28:40 ---> fa73ec08f142 00:28:40 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 00:28:40 ---> c95222aacb11 00:28:40 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 00:28:40 ---> 1e0b27209b8e 00:28:40 Step 19/24 : EXPOSE 59982 00:28:41 ---> Running in 25e9b554f327 00:28:41 Removing intermediate container 25e9b554f327 00:28:41 ---> 73757a53df44 00:28:41 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 00:28:41 ---> Running in 5dcdc95afe8f 00:28:42 Removing intermediate container 5dcdc95afe8f 00:28:42 ---> 60a278f093cf 00:28:42 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:28:42 ---> Running in c6eb1a290299 00:28:42 Removing intermediate container c6eb1a290299 00:28:42 ---> 9214a47a782b 00:28:42 Step 22/24 : LABEL arch=arm64 00:28:42 ---> Running in dfea2e04b3ad 00:28:42 Removing intermediate container dfea2e04b3ad 00:28:42 ---> 5c96f1a6b58c 00:28:42 Step 23/24 : LABEL git_sha=294c6def2b0b795a6d478a2cc5574578b861ffe8 00:28:42 ---> Running in 7f0bcc4b1916 00:28:43 Removing intermediate container 7f0bcc4b1916 00:28:43 ---> effc2c100190 00:28:43 Step 24/24 : LABEL version=0.0.0 00:28:43 ---> Running in 43635b24d943 00:28:43 Removing intermediate container 43635b24d943 00:28:43 ---> fe8785c2b47d 00:28:43 [Warning] One or more build-args [ARCH] were not consumed 00:28:43 Successfully built fe8785c2b47d 00:28:43 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:28:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:28:44 00:28:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:28:59 Error response from daemon: Get "https://nexus3.edgexfoundry.org:10003/v2/": context deadline exceeded (Client.Timeout exceeded while awaiting headers) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script Error when executing always post condition: hudson.AbortException: script returned exit code 1 at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.handleExit(DurableTaskStep.java:667) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.check(DurableTaskStep.java:613) at org.jenkinsci.plugins.workflow.steps.durable_task.DurableTaskStep$Execution.run(DurableTaskStep.java:557) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:28:59 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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:29:00 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives ] 00:29:00 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives 00:29:00 total 16 00:29:00 drwxr-xr-x 3 root root 4096 May 2 00:18 . 00:29:00 drwxrwxr-x 11 jenkins jenkins 4096 May 2 00:18 .. 00:29:00 drwxr-xr-x 2 root root 4096 May 2 00:18 cost 00:29:00 -rw-r--r-- 1 root root 86 May 2 00:18 cost.csv 00:29:00 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives 00:29:00 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives 00:29:00 total 16 00:29:00 drwxr-xr-x 3 jenkins jenkins 4096 May 2 00:18 . 00:29:00 drwxrwxr-x 11 jenkins jenkins 4096 May 2 00:18 .. 00:29:00 drwxr-xr-x 2 jenkins jenkins 4096 May 2 00:18 cost 00:29:00 -rw-r--r-- 1 jenkins jenkins 86 May 2 00:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:29:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:29:01 ---> package-listing.sh 00:29:01 ++ facter osfamily 00:29:01 ++ tr '[:upper:]' '[:lower:]' 00:29:01 + OS_FAMILY=debian 00:29:01 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-586 00:29:01 + START_PACKAGES=/tmp/packages_start.txt 00:29:01 + END_PACKAGES=/tmp/packages_end.txt 00:29:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:29:01 + PACKAGES=/tmp/packages_start.txt 00:29:01 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-586 ']' 00:29:01 + PACKAGES=/tmp/packages_end.txt 00:29:01 + case "${OS_FAMILY}" in 00:29:01 + dpkg -l 00:29:01 + grep '^ii' 00:29:01 + '[' -f /tmp/packages_start.txt ']' 00:29:01 + '[' -f /tmp/packages_end.txt ']' 00:29:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:29:01 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-586 ']' 00:29:01 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-586/archives/ 00:29:01 + 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:29:01 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:29:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:29:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:29:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:29:02 prd-ubuntu20.04-docker-8c-8g-12267 does not seem to be running inside a container 00:29:02 $ 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:29:03 $ docker top f1d0a6a7ee98690b1e754b8ab8c9d0dd1c049659fd898766e2851f6fa4571132 -eo pid,comm [Pipeline] { [Pipeline] sh 00:29:03 + touch /tmp/pre-build-complete [Pipeline] sh 00:29:03 + mkdir -p /var/log/sysstat [Pipeline] sh 00:29:03 + ls /var/log/sa-host 00:29:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:29:04 provisioning config files... 00:29:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-586@tmp/config11160408665875659384tmp [Pipeline] { [Pipeline] echo 00:29:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:29:04 ---> create-netrc.sh [Pipeline] } 00:29:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:29:04 ---> python-tools-install.sh [Pipeline] echo 00:29:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:29:05 ---> sudo-logs.sh 00:29:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:29:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:29:05 ---> job-cost.sh 00:29:05 lf-activate-venv: SKIPPING 00:29:05 DEBUG: total: 0.2199999988079071 00:29:05 INFO: Retrieving Stack Cost... 00:29:05 INFO: Retrieving Pricing Info for: v3-standard-8 00:29:06 INFO: Archiving Costs [Pipeline] echo 00:29:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:29:06 ---> logs-deploy.sh 00:29:06 lf-activate-venv: SKIPPING 00:29:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-586/6 00:29:06 INFO: archiving workspace using pattern(s): 00:29:07 Archives upload complete. 00:29:07 INFO: archiving logs to Nexus