Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3cacedf1681f77950d561024d7ead166cd6b51a4+96b3e6837c0c0a3acc7abbc19ad4378a288ec056 (3b668729ce17ea9bb9fb8c7e9bd0a852fc6ffd61) 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-ssh14684897893027092013.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh17726679001714897310.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-600/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-600/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh793042157082314245.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh1018182888644186920.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-600/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-600/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2946270517033353950.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 Running on prd-ubuntu20.04-docker-8c-8g-16053 in /w/workspace/gexfoundry_device-mqtt-go_PR-600 [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-600 # 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/600/head:refs/remotes/origin/PR-600 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 96b3e6837c0c0a3acc7abbc19ad4378a288ec056 into PR head commit 3cacedf1681f77950d561024d7ead166cd6b51a4 Merge succeeded, producing edf739ecc91629ba222f97c0d2202b0dc482fd9b Checking out Revision edf739ecc91629ba222f97c0d2202b0dc482fd9b (PR-600) > git config core.sparsecheckout # timeout=10 > git checkout -f 3cacedf1681f77950d561024d7ead166cd6b51a4 # 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 96b3e6837c0c0a3acc7abbc19ad4378a288ec056 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f edf739ecc91629ba222f97c0d2202b0dc482fd9b # timeout=10 Commit message: "Merge commit '96b3e6837c0c0a3acc7abbc19ad4378a288ec056' into HEAD" > git rev-list --no-walk 3cacedf1681f77950d561024d7ead166cd6b51a4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:17:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:17:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:17:24 ========================================================= 23:17:24 EdgeX Global Pipelines Version Info 23:17:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:17:24 ------------------- 23:17:24 stable info: 23:17:24 ------------------- 23:17:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:17:24 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:17:24 Message: update stable to v1.0.249 23:17:25 ------------------- 23:17:25 experimental info: 23:17:25 ------------------- 23:17:25 Commited By: **** collab-it+edgex@linuxfoundation.org 23:17:25 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:17:25 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:17:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-600 [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-600 [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-600 [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = edf739ecc91629ba222f97c0d2202b0dc482fd9b [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = edf739e [Pipeline] echo 23:17:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:17:26 provisioning config files... 23:17:26 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config9414188774104193468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:17:26 ---> docker-login.sh 23:17:26 nexus3.edgexfoundry.org:10001 23:17:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:26 Configure a credential helper to remove this warning. See 23:17:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:26 23:17:26 Login Succeeded 23:17:26 nexus3.edgexfoundry.org:10002 23:17:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:27 Configure a credential helper to remove this warning. See 23:17:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:27 23:17:27 Login Succeeded 23:17:27 nexus3.edgexfoundry.org:10003 23:17:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:27 Configure a credential helper to remove this warning. See 23:17:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:27 23:17:27 Login Succeeded 23:17:27 nexus3.edgexfoundry.org:10004 23:17:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:27 Configure a credential helper to remove this warning. See 23:17:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:27 23:17:27 Login Succeeded 23:17:27 docker.io 23:17:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:27 Configure a credential helper to remove this warning. See 23:17:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:27 23:17:27 Login Succeeded 23:17:27 ---> docker-login.sh ends [Pipeline] } 23:17:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:17:27 + git rev-list -1 --merges edf739ecc91629ba222f97c0d2202b0dc482fd9b~1..edf739ecc91629ba222f97c0d2202b0dc482fd9b [Pipeline] echo 23:17:28 -----------> git rev-list -1 --merges edf739ecc91629ba222f97c0d2202b0dc482fd9b~1..edf739ecc91629ba222f97c0d2202b0dc482fd9b edf739ecc91629ba222f97c0d2202b0dc482fd9b 23:17:28 edf739ecc91629ba222f97c0d2202b0dc482fd9b [false] [Pipeline] sh 23:17:28 + git log --format=format:%s -1 edf739ecc91629ba222f97c0d2202b0dc482fd9b [Pipeline] echo 23:17:28 ========================================================= 23:17:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:17:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:17:28 + git log --format=format:%s -1 edf739ecc91629ba222f97c0d2202b0dc482fd9b [Pipeline] echo 23:17:28 [semverPrep] GIT_COMMIT: edf739ecc91629ba222f97c0d2202b0dc482fd9b, Commit Message: Merge commit '96b3e6837c0c0a3acc7abbc19ad4378a288ec056' into HEAD [Pipeline] echo 23:17:28 [semverPrep] This is not a build commit. [Pipeline] sh 23:17:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:17:29 + grep -v github /etc/ssh/ssh_known_hosts 23:17:29 + [ -e /tmp/ssh_known_hosts ] 23:17:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:17:29 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:17:29 + sudo tee -a /etc/ssh/ssh_known_hosts 23:17:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:17:29 23:17:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:17:29 0.1.4: Pulling from edgex-devops/py-git-semver 23:17:29 b85a868b505f: Pulling fs layer 23:17:29 e2be974225ed: Pulling fs layer 23:17:29 339a4e72a1f5: Pulling fs layer 23:17:29 988bab9f4d93: Pulling fs layer 23:17:29 1469e6f7b9e6: Pulling fs layer 23:17:29 988bab9f4d93: Waiting 23:17:29 1469e6f7b9e6: Waiting 23:17:29 eaf3925da568: Pulling fs layer 23:17:29 bab4dde63d76: Pulling fs layer 23:17:29 eaf3925da568: Waiting 23:17:29 bde34c3a00c8: Pulling fs layer 23:17:29 bab4dde63d76: Waiting 23:17:29 b352a97aabf1: Pulling fs layer 23:17:29 bde34c3a00c8: Waiting 23:17:29 b352a97aabf1: Waiting 23:17:29 4872d77fe225: Pulling fs layer 23:17:29 5851b861e8e6: Pulling fs layer 23:17:29 4872d77fe225: Waiting 23:17:29 5851b861e8e6: Waiting 23:17:29 e2be974225ed: Verifying Checksum 23:17:29 e2be974225ed: Download complete 23:17:29 988bab9f4d93: Verifying Checksum 23:17:29 988bab9f4d93: Download complete 23:17:30 339a4e72a1f5: Verifying Checksum 23:17:30 339a4e72a1f5: Download complete 23:17:30 eaf3925da568: Verifying Checksum 23:17:30 eaf3925da568: Download complete 23:17:30 1469e6f7b9e6: Verifying Checksum 23:17:30 1469e6f7b9e6: Download complete 23:17:30 bde34c3a00c8: Verifying Checksum 23:17:30 bde34c3a00c8: Download complete 23:17:30 b352a97aabf1: Download complete 23:17:30 4872d77fe225: Verifying Checksum 23:17:30 4872d77fe225: Download complete 23:17:30 5851b861e8e6: Verifying Checksum 23:17:30 5851b861e8e6: Download complete 23:17:30 b85a868b505f: Verifying Checksum 23:17:30 b85a868b505f: Download complete 23:17:30 bab4dde63d76: Verifying Checksum 23:17:30 bab4dde63d76: Download complete 23:17:31 b85a868b505f: Pull complete 23:17:31 e2be974225ed: Pull complete 23:17:31 339a4e72a1f5: Pull complete 23:17:31 988bab9f4d93: Pull complete 23:17:32 1469e6f7b9e6: Pull complete 23:17:32 eaf3925da568: Pull complete 23:17:34 bab4dde63d76: Pull complete 23:17:34 bde34c3a00c8: Pull complete 23:17:34 b352a97aabf1: Pull complete 23:17:34 4872d77fe225: Pull complete 23:17:34 5851b861e8e6: Pull complete 23:17:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:17:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:17:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:34 prd-ubuntu20.04-docker-8c-8g-16053 does not seem to be running inside a container 23:17:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:17:35 $ docker top d76832484dbb384a93b9938e6b6ec6db80dc30378c8bf86f8538a100baaf456e -eo pid,comm 23:17:36 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:17:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:17:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:17:36 [ssh-agent] Looking for ssh-agent implementation... 23:17:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:17:36 $ docker exec d76832484dbb384a93b9938e6b6ec6db80dc30378c8bf86f8538a100baaf456e ssh-agent 23:17:36 SSH_AUTH_SOCK=/tmp/ssh-rFPBKGY7rMZU/agent.32 23:17:36 SSH_AGENT_PID=38 23:17:36 Running ssh-add (command line suppressed) 23:17:36 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_17597942924527866074.key (/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_17597942924527866074.key) 23:17:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:17:36 + git tag --points-at HEAD [Pipeline] } 23:17:36 $ docker exec --env ******** --env ******** d76832484dbb384a93b9938e6b6ec6db80dc30378c8bf86f8538a100baaf456e ssh-agent -k 23:17:36 unset SSH_AUTH_SOCK; 23:17:36 unset SSH_AGENT_PID; 23:17:36 echo Agent pid 38 killed; 23:17:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:17:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:17:36 [ssh-agent] Looking for ssh-agent implementation... 23:17:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:17:36 $ docker exec d76832484dbb384a93b9938e6b6ec6db80dc30378c8bf86f8538a100baaf456e ssh-agent 23:17:37 SSH_AUTH_SOCK=/tmp/ssh-3kVAWIdgChlK/agent.70 23:17:37 SSH_AGENT_PID=76 23:17:37 Running ssh-add (command line suppressed) 23:17:37 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_16316134115710853236.key (/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_16316134115710853236.key) 23:17:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:17:37 + git semver init 23:17:37 2023-05-18 23:17:37,681 [run_init] DEBUG init version:0.0.0 force:False 23:17:37 2023-05-18 23:17:37,682 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver 23:17:37 2023-05-18 23:17:37,682 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver 23:17:37 2023-05-18 23:17:37,683 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-600, universal_newlines=False, shell=None, istream=None) 23:17:38 2023-05-18 23:17:38,422 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.git/info/exclude 23:17:38 2023-05-18 23:17:38,423 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver/PR-600 with force:False 23:17:38 2023-05-18 23:17:38,423 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver/PR-600 23:17:38 2023-05-18 23:17:38,427 [execute] INFO git cat-file --batch-check 23:17:38 2023-05-18 23:17:38,428 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver, universal_newlines=False, shell=None, istream=) 23:17:38 2023-05-18 23:17:38,434 [execute] INFO git cat-file --batch 23:17:38 2023-05-18 23:17:38,434 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver, universal_newlines=False, shell=None, istream=) 23:17:38 2023-05-18 23:17:38,439 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver/PR-600 23:17:38 0.0.0 [Pipeline] } 23:17:38 $ docker exec --env ******** --env ******** d76832484dbb384a93b9938e6b6ec6db80dc30378c8bf86f8538a100baaf456e ssh-agent -k 23:17:38 unset SSH_AUTH_SOCK; 23:17:38 unset SSH_AGENT_PID; 23:17:38 echo Agent pid 76 killed; 23:17:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:17:39 + git semver [Pipeline] } 23:17:39 $ docker stop --time=1 d76832484dbb384a93b9938e6b6ec6db80dc30378c8bf86f8538a100baaf456e 23:17:40 $ docker rm -f --volumes d76832484dbb384a93b9938e6b6ec6db80dc30378c8bf86f8538a100baaf456e [Pipeline] // withDockerContainer [Pipeline] sh 23:17:41 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:17:41 Stashed 1 file(s) [Pipeline] echo 23:17:41 [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:17:41 provisioning config files... 23:17:41 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config13923213628972397821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:17:41 ---> docker-login.sh 23:17:41 nexus3.edgexfoundry.org:10001 23:17:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:41 Configure a credential helper to remove this warning. See 23:17:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:41 23:17:41 Login Succeeded 23:17:41 nexus3.edgexfoundry.org:10002 23:17:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:41 Configure a credential helper to remove this warning. See 23:17:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:41 23:17:41 Login Succeeded 23:17:41 nexus3.edgexfoundry.org:10003 23:17:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:41 Configure a credential helper to remove this warning. See 23:17:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:41 23:17:41 Login Succeeded 23:17:41 nexus3.edgexfoundry.org:10004 23:17:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:41 Configure a credential helper to remove this warning. See 23:17:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:41 23:17:41 Login Succeeded 23:17:41 docker.io 23:17:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:42 Configure a credential helper to remove this warning. See 23:17:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:42 23:17:42 Login Succeeded 23:17:42 ---> docker-login.sh ends [Pipeline] } 23:17:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:17:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:17:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:17:42 ========================================================= 23:17:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:17:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:42 + 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:17:42 Sending build context to Docker daemon 6.558MB 23:17:42 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:17:42 Step 2/12 : FROM ${BASE} AS builder 23:17:42 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:17:42 f56be85fc22e: Pulling fs layer 23:17:42 85791d961cd3: Pulling fs layer 23:17:42 d694b5ae8c79: Pulling fs layer 23:17:42 9f32a84ed3da: Pulling fs layer 23:17:42 4d19c01a9841: Pulling fs layer 23:17:42 9325e15d5711: Pulling fs layer 23:17:42 556b6ee489ea: Pulling fs layer 23:17:42 c5a4b2cf53e6: Pulling fs layer 23:17:42 9f32a84ed3da: Waiting 23:17:42 4d19c01a9841: Waiting 23:17:42 9325e15d5711: Waiting 23:17:42 556b6ee489ea: Waiting 23:17:42 c5a4b2cf53e6: Waiting 23:17:42 85791d961cd3: Verifying Checksum 23:17:42 85791d961cd3: Download complete 23:17:42 9f32a84ed3da: Download complete 23:17:42 4d19c01a9841: Verifying Checksum 23:17:42 4d19c01a9841: Download complete 23:17:42 f56be85fc22e: Download complete 23:17:42 9325e15d5711: Verifying Checksum 23:17:42 9325e15d5711: Download complete 23:17:42 f56be85fc22e: Pull complete 23:17:42 85791d961cd3: Pull complete 23:17:43 c5a4b2cf53e6: Verifying Checksum 23:17:43 c5a4b2cf53e6: Download complete 23:17:43 d694b5ae8c79: Verifying Checksum 23:17:43 d694b5ae8c79: Download complete 23:17:43 556b6ee489ea: Verifying Checksum 23:17:43 556b6ee489ea: Download complete 23:17:46 d694b5ae8c79: Pull complete 23:17:46 9f32a84ed3da: Pull complete 23:17:46 4d19c01a9841: Pull complete 23:17:46 9325e15d5711: Pull complete 23:17:49 556b6ee489ea: Pull complete 23:17:49 c5a4b2cf53e6: Pull complete 23:17:49 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:17:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:17:49 ---> c4be618373d6 23:17:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:17:51 ---> Running in 91937a772fae 23:17:51 Removing intermediate container 91937a772fae 23:17:51 ---> a55734dc0476 23:17:51 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:17:51 ---> Running in 067a150cdb4a 23:17:51 Removing intermediate container 067a150cdb4a 23:17:51 ---> f074850dfa33 23:17:51 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:17:51 ---> Running in 4f042c64e92d 23:17:52 Removing intermediate container 4f042c64e92d 23:17:52 ---> 84b95695f3ea 23:17:52 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:17:52 ---> Running in 369996c14909 23:17:52 Removing intermediate container 369996c14909 23:17:52 ---> f0091765bce3 23:17:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:17:52 ---> Running in 3575e3070286 23:17:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:17:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:17:52 (1/4) Installing openssh-keygen (9.1_p1-r3) 23:17:52 (2/4) Installing libedit (20221030.3.1-r0) 23:17:52 (3/4) Installing openssh-client-common (9.1_p1-r3) 23:17:52 (4/4) Installing openssh-client-default (9.1_p1-r3) 23:17:52 Executing busybox-1.35.0-r29.trigger 23:17:52 OK: 269 MiB in 57 packages 23:17:53 Removing intermediate container 3575e3070286 23:17:53 ---> b240ae8be009 23:17:53 Step 8/12 : WORKDIR /device-mqtt-go 23:17:53 ---> Running in 5721e8bd81aa 23:17:53 Removing intermediate container 5721e8bd81aa 23:17:53 ---> 48524e3aaf8a 23:17:53 Step 9/12 : COPY go.mod vendor* ./ 23:17:53 ---> b2979a97508c 23:17:53 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:17:53 ---> Running in c6e4cad9673a 23:17:56 Still waiting to schedule task 23:17:56 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:18:25 Removing intermediate container c6e4cad9673a 23:18:25 ---> 4ca21363eff4 23:18:25 Step 11/12 : COPY . . 23:18:25 ---> 98366b2a6f15 23:18:25 Step 12/12 : RUN $MAKE 23:18:25 ---> Running in 84e7735d94e1 23:18:25 noop 23:18:26 Removing intermediate container 84e7735d94e1 23:18:26 ---> ff8140ac9d9f 23:18:26 Successfully built ff8140ac9d9f 23:18:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:26 + docker inspect -f . ci-base-image-x86_64 23:18:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:26 prd-ubuntu20.04-docker-8c-8g-16053 does not seem to be running inside a container 23:18:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:18:27 $ docker top e3678b5b0cf1da06906d4e1de54145d67b2ffba4812464c3a0a88a200f2ae4f0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:18:27 + go version 23:18:27 go version go1.20.2 linux/amd64 [Pipeline] } 23:18:27 $ docker stop --time=1 e3678b5b0cf1da06906d4e1de54145d67b2ffba4812464c3a0a88a200f2ae4f0 23:18:28 $ docker rm -f --volumes e3678b5b0cf1da06906d4e1de54145d67b2ffba4812464c3a0a88a200f2ae4f0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:29 + docker inspect -f . ci-base-image-x86_64 23:18:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:29 prd-ubuntu20.04-docker-8c-8g-16053 does not seem to be running inside a container 23:18:29 $ 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-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:18:29 $ docker top 3ea972426bab7685226c37570bca71b8fc54b4dbda5fb0331edbebffa603cb5f -eo pid,comm [Pipeline] { [Pipeline] sh 23:18:29 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-600 [Pipeline] fileExists [Pipeline] sh 23:18:30 + make test 23:18:30 go test ./... -coverprofile=coverage.out ./... 23:18:35 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:18:45 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:18:45 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:18:45 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.013s coverage: 22.8% of statements 23:18:52 go vet ./... 23:18:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:18:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:18:56 ./bin/test-attribution-txt.sh [Pipeline] echo 23:18:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:18:56 $ docker stop --time=1 3ea972426bab7685226c37570bca71b8fc54b4dbda5fb0331edbebffa603cb5f 23:18:58 $ docker rm -f --volumes 3ea972426bab7685226c37570bca71b8fc54b4dbda5fb0331edbebffa603cb5f [Pipeline] // withDockerContainer [Pipeline] sh 23:18:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:18:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:18:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:19:00 + ls -al . 23:19:00 total 180 23:19:00 drwxrwxr-x 10 jenkins jenkins 4096 May 18 23:18 . 23:19:00 drwxrwxr-x 4 jenkins jenkins 4096 May 18 23:17 .. 23:19:00 -rw-rw-r-- 1 jenkins jenkins 140 May 18 23:17 .dockerignore 23:19:00 drwxrwxr-x 8 jenkins jenkins 4096 May 18 23:17 .git 23:19:00 drwxrwxr-x 3 jenkins jenkins 4096 May 18 23:17 .github 23:19:00 -rw-rw-r-- 1 jenkins jenkins 329 May 18 23:17 .gitignore 23:19:00 -rw-rw-r-- 1 jenkins jenkins 41 May 18 23:17 .golangci.yml 23:19:00 drwxr-xr-x 3 jenkins jenkins 4096 May 18 23:17 .semver 23:19:00 -rw-rw-r-- 1 jenkins jenkins 9417 May 18 23:17 Attribution.txt 23:19:00 -rw-rw-r-- 1 jenkins jenkins 13162 May 18 23:17 CHANGELOG.md 23:19:00 -rw-rw-r-- 1 jenkins jenkins 1689 May 18 23:17 Dockerfile 23:19:00 -rw-rw-r-- 1 jenkins jenkins 677 May 18 23:17 GOVERNANCE.md 23:19:00 -rw-rw-r-- 1 jenkins jenkins 678 May 18 23:17 Jenkinsfile 23:19:00 -rw-rw-r-- 1 jenkins jenkins 11340 May 18 23:17 LICENSE 23:19:00 -rw-rw-r-- 1 jenkins jenkins 1732 May 18 23:17 Makefile 23:19:00 -rw-rw-r-- 1 jenkins jenkins 620 May 18 23:17 OWNERS.md 23:19:00 -rw-rw-r-- 1 jenkins jenkins 3165 May 18 23:17 README.md 23:19:00 -rw-rw-r-- 1 jenkins jenkins 5 May 18 23:17 VERSION 23:19:00 drwxrwxr-x 2 jenkins jenkins 4096 May 18 23:17 bin 23:19:00 drwxrwxr-x 3 jenkins jenkins 4096 May 18 23:17 cmd 23:19:00 -rw-r--r-- 1 jenkins jenkins 18506 May 18 23:18 coverage.out 23:19:00 -rw-rw-r-- 1 jenkins jenkins 3333 May 18 23:17 go.mod 23:19:00 -rw-rw-r-- 1 jenkins jenkins 31328 May 18 23:17 go.sum 23:19:00 drwxrwxr-x 3 jenkins jenkins 4096 May 18 23:17 internal 23:19:00 drwxrwxr-x 2 jenkins jenkins 4096 May 18 23:17 mock 23:19:00 drwxrwxr-x 4 jenkins jenkins 4096 May 18 23:17 snap 23:19:00 -rw-rw-r-- 1 jenkins jenkins 227 May 18 23:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:00 + 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=edf739ecc91629ba222f97c0d2202b0dc482fd9b --label arch=amd64 --label version=0.0.0 . 23:19:00 Sending build context to Docker daemon 6.578MB 23:19:00 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:19:00 Step 2/24 : FROM ${BASE} AS builder 23:19:00 ---> ff8140ac9d9f 23:19:00 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:19:00 ---> Running in 734fa93bc229 23:19:00 Removing intermediate container 734fa93bc229 23:19:00 ---> 733bae09b32e 23:19:00 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:19:00 ---> Running in 571ae7a8c823 23:19:00 Removing intermediate container 571ae7a8c823 23:19:00 ---> f47b5fc437df 23:19:00 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:19:00 ---> Running in 43942c33afc7 23:19:00 Removing intermediate container 43942c33afc7 23:19:00 ---> c233b27913f6 23:19:00 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:19:00 ---> Running in ffc63b000caf 23:19:00 Removing intermediate container ffc63b000caf 23:19:00 ---> 5693a9410549 23:19:00 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:19:00 ---> Running in ff76a73952b3 23:19:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:19:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:19:01 OK: 269 MiB in 57 packages 23:19:02 Removing intermediate container ff76a73952b3 23:19:02 ---> fecefbc08d22 23:19:02 Step 8/24 : WORKDIR /device-mqtt-go 23:19:02 ---> Running in c327e45b1580 23:19:02 Removing intermediate container c327e45b1580 23:19:02 ---> aaf1d141fae6 23:19:02 Step 9/24 : COPY go.mod vendor* ./ 23:19:02 ---> c0bbe0b4ffd2 23:19:02 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:19:02 ---> Running in 2574857a9ddc 23:19:03 Removing intermediate container 2574857a9ddc 23:19:03 ---> e97c67293701 23:19:03 Step 11/24 : COPY . . 23:19:03 ---> 7f87250d69e2 23:19:03 Step 12/24 : RUN $MAKE 23:19:03 ---> Running in 556d59c8c701 23:19: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 23:19:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16054 in /w/workspace/gexfoundry_device-mqtt-go_PR-600 [Pipeline] { [Pipeline] ws 23:19:25 Running in /w/workspace/device-mqtt-go/5 [Pipeline] { [Pipeline] checkout 23:19:25 Selected Git installation does not exist. Using Default 23:19:25 The recommended git tool is: NONE 23:19:25 Removing intermediate container 556d59c8c701 23:19:25 ---> 0481d3a68e92 23:19:25 Step 13/24 : FROM alpine:3.17 23:19:25 3.17: Pulling from library/alpine 23:19:25 f56be85fc22e: Already exists 23:19:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:19:25 Status: Downloaded newer image for alpine:3.17 23:19:25 ---> 9ed4aefc74f6 23:19:25 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:19:25 ---> Running in d2221b954604 23:19:25 Removing intermediate container d2221b954604 23:19:25 ---> d7609c3bf106 23:19:25 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:19:25 ---> Running in fe994547a48e 23:19:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:19:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:19:25 (1/1) Installing dumb-init (1.2.5-r2) 23:19:25 Executing busybox-1.35.0-r29.trigger 23:19:25 OK: 7 MiB in 16 packages 23:19:25 Removing intermediate container fe994547a48e 23:19:25 ---> a77f32a7d286 23:19:25 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:19:25 ---> 238e111a108c 23:19:25 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:19:25 ---> d8700a239b2c 23:19:25 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:19:25 ---> 503d3aea7e6c 23:19:25 Step 19/24 : EXPOSE 59982 23:19:25 ---> Running in 1d5c287f0422 23:19:25 Removing intermediate container 1d5c287f0422 23:19:25 ---> 381a0483cf19 23:19:25 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:19:25 ---> Running in 349a99bee472 23:19:25 Removing intermediate container 349a99bee472 23:19:25 ---> a2c5da0175e2 23:19:25 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:19:25 ---> Running in d969d07faf90 23:19:26 Removing intermediate container d969d07faf90 23:19:26 ---> 56640df80342 23:19:26 Step 22/24 : LABEL arch=amd64 23:19:26 ---> Running in e6e8609fa09a 23:19:26 Removing intermediate container e6e8609fa09a 23:19:26 ---> 134b4a6a818a 23:19:26 Step 23/24 : LABEL git_sha=edf739ecc91629ba222f97c0d2202b0dc482fd9b 23:19:26 ---> Running in 991e72052bc6 23:19:26 Removing intermediate container 991e72052bc6 23:19:26 ---> 8b1c754843c6 23:19:26 Step 24/24 : LABEL version=0.0.0 23:19:26 ---> Running in 1ab1b76a06f6 23:19:26 Removing intermediate container 1ab1b76a06f6 23:19:26 ---> 58ffef8b11d5 23:19:26 [Warning] One or more build-args [ARCH] were not consumed 23:19:26 Successfully built 58ffef8b11d5 23:19:26 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:19:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:19:26 23:19:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:19:27 latest: Pulling from edgex-lftools-log-publisher 23:19:27 5eb5b503b376: Pulling fs layer 23:19:27 5c69ac0246d0: Pulling fs layer 23:19:27 ec43610c2a17: Pulling fs layer 23:19:27 3a2ae6a8a46f: Pulling fs layer 23:19:27 33b1e0a273af: Pulling fs layer 23:19:27 5d3b04190fa2: Pulling fs layer 23:19:27 2f39f015ded8: Pulling fs layer 23:19:27 33b1e0a273af: Waiting 23:19:27 5d3b04190fa2: Waiting 23:19:27 2f39f015ded8: Waiting 23:19:27 3a2ae6a8a46f: Waiting 23:19:27 5c69ac0246d0: Verifying Checksum 23:19:27 5c69ac0246d0: Download complete 23:19:27 3a2ae6a8a46f: Verifying Checksum 23:19:27 3a2ae6a8a46f: Download complete 23:19:27 33b1e0a273af: Verifying Checksum 23:19:27 33b1e0a273af: Download complete 23:19:27 5d3b04190fa2: Verifying Checksum 23:19:27 5d3b04190fa2: Download complete 23:19:27 ec43610c2a17: Verifying Checksum 23:19:27 ec43610c2a17: Download complete 23:19:27 5eb5b503b376: Verifying Checksum 23:19:27 5eb5b503b376: Download complete 23:19:28 2f39f015ded8: Download complete 23:19:28 5eb5b503b376: Pull complete 23:19:28 5c69ac0246d0: Pull complete 23:19:29 ec43610c2a17: Pull complete 23:19:29 3a2ae6a8a46f: Pull complete 23:19:29 33b1e0a273af: Pull complete 23:19:29 5d3b04190fa2: Pull complete 23:19:30 using credential edgex-jenkins-ssh 23:19:30 Cloning the remote Git repository 23:19:30 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:19:30 > git init /w/workspace/device-mqtt-go/5 # timeout=10 23:19:31 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:19:31 > git --version # timeout=10 23:19:31 > git --version # 'git version 2.25.1' 23:19:31 using GIT_SSH to set credentials SSH Credentials for GitHub 23:19:31 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:19:32 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:19:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:19:33 Merging remotes/origin/main commit 96b3e6837c0c0a3acc7abbc19ad4378a288ec056 into PR head commit 3cacedf1681f77950d561024d7ead166cd6b51a4 23:19:33 2f39f015ded8: Pull complete 23:19:33 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:19:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:19:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:33 prd-ubuntu20.04-docker-8c-8g-16053 does not seem to be running inside a container 23:19:33 $ 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-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:19:33 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:19:33 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:19:33 using GIT_SSH to set credentials SSH Credentials for GitHub 23:19:33 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/600/head:refs/remotes/origin/PR-600 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:19:33 > git config core.sparsecheckout # timeout=10 23:19:33 > git checkout -f 3cacedf1681f77950d561024d7ead166cd6b51a4 # timeout=10 23:19:33 > git remote # timeout=10 23:19:33 > git config --get remote.origin.url # timeout=10 23:19:33 using GIT_SSH to set credentials SSH Credentials for GitHub 23:19:34 > git merge 96b3e6837c0c0a3acc7abbc19ad4378a288ec056 # timeout=10 23:19:34 Merge succeeded, producing 49037ee0d3c2cd65a33006ec9dedf5e02cdf85f7 23:19:34 Checking out Revision 49037ee0d3c2cd65a33006ec9dedf5e02cdf85f7 (PR-600) 23:19:34 > git rev-parse HEAD^{commit} # timeout=10 23:19:34 > git config core.sparsecheckout # timeout=10 23:19:34 > git checkout -f 49037ee0d3c2cd65a33006ec9dedf5e02cdf85f7 # timeout=10 23:19:37 Commit message: "Merge commit '96b3e6837c0c0a3acc7abbc19ad4378a288ec056' into HEAD" 23:19:37 > git rev-list --no-walk 3cacedf1681f77950d561024d7ead166cd6b51a4 # timeout=10 23:19:37 $ docker top a452532e95ca5762a5fefca6ddd44c9ce592447cb03d248caeba8caabdb3e70d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:19:38 23:19:38 GitHub has been notified of this commit’s build result 23:19:38 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 23:19:38 ---> job-cost.sh 23:19:38 lf-activate-venv: SKIPPING 23:19:38 INFO: No Stack... [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:19:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:19:38 % Total % Received % Xferd Average Speed Time Time Time Current 23:19:38 Dload Upload Total Spent Left Speed 23:19:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 96598 0 --:--:-- --:--:-- --:--:-- 96598 23:19:38 INFO: Retrieving Pricing Info for: v3-standard-8 23:19:38 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 23:19:39 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives/cost.csv 23:19:39 + cut -d, -f6 [Pipeline] lock 23:19:39 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-600-5-stack-cost] 23:19:39 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-5-stack-cost] did not exist. Created. 23:19:39 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-600-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:19:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:19:39 + echo total: 0.2199999988079071 [Pipeline] stash 23:19:39 Stashed 1 file(s) [Pipeline] } 23:19:39 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-5-stack-cost] [Pipeline] // lock [Pipeline] } 23:19:39 $ docker stop --time=1 a452532e95ca5762a5fefca6ddd44c9ce592447cb03d248caeba8caabdb3e70d 23:19:39 + sudo tee /etc/docker/daemon.new 23:19:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:19:39 { 23:19:39 "registry-mirrors": [ 23:19:39 "https://nexus3.edgexfoundry.org:10001" 23:19:39 ], 23:19:39 "bip": "10.250.0.254/24", 23:19:39 "hosts": [ 23:19:39 "tcp://0.0.0.0:5555", 23:19:39 "unix:///var/run/docker.sock" 23:19:39 ], 23:19:39 "mtu": 1458, 23:19:39 "selinux-enabled": true, 23:19:39 "seccomp-profile": "/etc/docker/seccomp.json" 23:19:39 } 23:19:40 $ docker rm -f --volumes a452532e95ca5762a5fefca6ddd44c9ce592447cb03d248caeba8caabdb3e70d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:19:41 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:19:41 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:19:59 provisioning config files... 23:19:59 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/5@tmp/config13452779412718374248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:20:00 ---> docker-login.sh 23:20:00 nexus3.edgexfoundry.org:10001 23:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:00 Configure a credential helper to remove this warning. See 23:20:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:00 23:20:00 Login Succeeded 23:20:00 nexus3.edgexfoundry.org:10002 23:20:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:01 Configure a credential helper to remove this warning. See 23:20:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:01 23:20:01 Login Succeeded 23:20:01 nexus3.edgexfoundry.org:10003 23:20:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:01 Configure a credential helper to remove this warning. See 23:20:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:01 23:20:01 Login Succeeded 23:20:01 nexus3.edgexfoundry.org:10004 23:20:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:01 Configure a credential helper to remove this warning. See 23:20:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:01 23:20:01 Login Succeeded 23:20:01 docker.io 23:20:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:02 Configure a credential helper to remove this warning. See 23:20:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:02 23:20:02 Login Succeeded 23:20:02 ---> docker-login.sh ends [Pipeline] } 23:20:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:20:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:20:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:20:03 ========================================================= 23:20:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:20:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:03 + 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:20:05 Sending build context to Docker daemon 3.409MB 23:20:05 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:20:05 Step 2/12 : FROM ${BASE} AS builder 23:20:05 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:20:05 c41833b44d91: Pulling fs layer 23:20:05 ed15518f5707: Pulling fs layer 23:20:05 feae8fd75edb: Pulling fs layer 23:20:05 242c74f7c9fa: Pulling fs layer 23:20:05 3cdef696dda3: Pulling fs layer 23:20:05 2ced38df9373: Pulling fs layer 23:20:05 58f1dce35555: Pulling fs layer 23:20:05 242c74f7c9fa: Waiting 23:20:05 3cdef696dda3: Waiting 23:20:05 2ced38df9373: Waiting 23:20:05 58f1dce35555: Waiting 23:20:05 ed15518f5707: Verifying Checksum 23:20:05 ed15518f5707: Download complete 23:20:07 242c74f7c9fa: Verifying Checksum 23:20:07 242c74f7c9fa: Download complete 23:20:08 3cdef696dda3: Verifying Checksum 23:20:08 3cdef696dda3: Download complete 23:20:08 c41833b44d91: Verifying Checksum 23:20:08 c41833b44d91: Download complete 23:20:09 c41833b44d91: Pull complete 23:20:09 58f1dce35555: Verifying Checksum 23:20:09 58f1dce35555: Download complete 23:20:10 ed15518f5707: Pull complete 23:20:10 feae8fd75edb: Verifying Checksum 23:20:10 feae8fd75edb: Download complete 23:20:10 2ced38df9373: Verifying Checksum 23:20:10 2ced38df9373: Download complete 23:20:23 feae8fd75edb: Pull complete 23:20:23 242c74f7c9fa: Pull complete 23:20:23 3cdef696dda3: Pull complete 23:20:29 2ced38df9373: Pull complete 23:20:31 58f1dce35555: Pull complete 23:20:31 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:20:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:20:31 ---> fadd8f120f05 23:20:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:20:33 ---> Running in a3d2f4fd64b1 23:20:33 Removing intermediate container a3d2f4fd64b1 23:20:33 ---> df2d5cb376fd 23:20:33 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:20:33 ---> Running in fa28c1eb0305 23:20:34 Removing intermediate container fa28c1eb0305 23:20:34 ---> 5cb564d7cd07 23:20:34 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:20:34 ---> Running in d389da54c149 23:20:34 Removing intermediate container d389da54c149 23:20:34 ---> aa4fb4543b4d 23:20:34 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:20:34 ---> Running in af1951f57ef0 23:20:35 Removing intermediate container af1951f57ef0 23:20:35 ---> 0cd552ab51ac 23:20:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:20:35 ---> Running in 89738b5f7a25 23:20:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:20:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:20:37 (1/4) Installing openssh-keygen (9.1_p1-r3) 23:20:37 (2/4) Installing libedit (20221030.3.1-r0) 23:20:37 (3/4) Installing openssh-client-common (9.1_p1-r3) 23:20:37 (4/4) Installing openssh-client-default (9.1_p1-r3) 23:20:37 Executing busybox-1.35.0-r29.trigger 23:20:37 OK: 268 MiB in 57 packages 23:20:38 Removing intermediate container 89738b5f7a25 23:20:38 ---> 54b781973e4f 23:20:38 Step 8/12 : WORKDIR /device-mqtt-go 23:20:39 ---> Running in 1336d2f5a74b 23:20:39 Removing intermediate container 1336d2f5a74b 23:20:39 ---> 4e4239bef91f 23:20:39 Step 9/12 : COPY go.mod vendor* ./ 23:20:40 ---> afa52c8ea649 23:20:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:20:40 ---> Running in ac318cf9235d 23:21:48 Removing intermediate container ac318cf9235d 23:21:48 ---> 54634f51111f 23:21:48 Step 11/12 : COPY . . 23:21:48 ---> eaf5a30b34f6 23:21:48 Step 12/12 : RUN $MAKE 23:21:48 ---> Running in 37b208e71524 23:21:48 noop 23:21:48 Removing intermediate container 37b208e71524 23:21:48 ---> 06b3c4fdb965 23:21:48 Successfully built 06b3c4fdb965 23:21:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:48 + docker inspect -f . ci-base-image-arm64 23:21:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:21:48 prd-ubuntu20.04-docker-arm64-4c-16g-16054 does not seem to be running inside a container 23:21:48 $ 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 ******** ci-base-image-arm64 cat 23:21:49 $ docker top 1e28cbb82628c8b479893c8f14186c2351eda0b498b6cb58289ddec28e455ab0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:21:50 + go version 23:21:50 go version go1.20.2 linux/arm64 [Pipeline] } 23:21:50 $ docker stop --time=1 1e28cbb82628c8b479893c8f14186c2351eda0b498b6cb58289ddec28e455ab0 23:21:52 $ docker rm -f --volumes 1e28cbb82628c8b479893c8f14186c2351eda0b498b6cb58289ddec28e455ab0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:53 + docker inspect -f . ci-base-image-arm64 23:21:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:21:53 prd-ubuntu20.04-docker-arm64-4c-16g-16054 does not seem to be running inside a container 23:21:53 $ 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 ******** ci-base-image-arm64 cat 23:21:54 $ docker top 21cabf75fcd9b4dc8fd58da8e74d9c109129e9117081a35f74c25dcb8ae4f120 -eo pid,comm [Pipeline] { [Pipeline] sh 23:21:55 + git config --global --add safe.directory /w/workspace/device-mqtt-go/5 [Pipeline] fileExists [Pipeline] sh 23:21:56 + make test 23:21:56 go test ./... -coverprofile=coverage.out ./... 23:22:28 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:24:19 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:24:24 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:24:24 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 22.8% of statements 23:24:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:24:25 go vet ./... 23:25:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:25:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:25:03 ./bin/test-attribution-txt.sh [Pipeline] echo 23:25:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:25:04 $ docker stop --time=1 21cabf75fcd9b4dc8fd58da8e74d9c109129e9117081a35f74c25dcb8ae4f120 23:25:05 $ docker rm -f --volumes 21cabf75fcd9b4dc8fd58da8e74d9c109129e9117081a35f74c25dcb8ae4f120 [Pipeline] // withDockerContainer [Pipeline] sh 23:25:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:25:06 Warning: overwriting stash ‘coverage-report’ 23:25:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:25:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:25:08 + ls -al . 23:25:08 total 176 23:25:08 drwxrwxr-x 9 jenkins jenkins 4096 May 18 23:21 . 23:25:08 drwxrwxr-x 4 jenkins jenkins 4096 May 18 23:19 .. 23:25:08 -rw-rw-r-- 1 jenkins jenkins 140 May 18 23:19 .dockerignore 23:25:08 drwxrwxr-x 8 jenkins jenkins 4096 May 18 23:19 .git 23:25:08 drwxrwxr-x 3 jenkins jenkins 4096 May 18 23:19 .github 23:25:08 -rw-rw-r-- 1 jenkins jenkins 329 May 18 23:19 .gitignore 23:25:08 -rw-rw-r-- 1 jenkins jenkins 41 May 18 23:19 .golangci.yml 23:25:08 -rw-rw-r-- 1 jenkins jenkins 9417 May 18 23:19 Attribution.txt 23:25:08 -rw-rw-r-- 1 jenkins jenkins 13162 May 18 23:19 CHANGELOG.md 23:25:08 -rw-rw-r-- 1 jenkins jenkins 1689 May 18 23:19 Dockerfile 23:25:08 -rw-rw-r-- 1 jenkins jenkins 677 May 18 23:19 GOVERNANCE.md 23:25:08 -rw-rw-r-- 1 jenkins jenkins 678 May 18 23:19 Jenkinsfile 23:25:08 -rw-rw-r-- 1 jenkins jenkins 11340 May 18 23:19 LICENSE 23:25:08 -rw-rw-r-- 1 jenkins jenkins 1732 May 18 23:19 Makefile 23:25:08 -rw-rw-r-- 1 jenkins jenkins 620 May 18 23:19 OWNERS.md 23:25:08 -rw-rw-r-- 1 jenkins jenkins 3165 May 18 23:19 README.md 23:25:08 -rw-rw-r-- 1 jenkins jenkins 5 May 18 23:17 VERSION 23:25:08 drwxrwxr-x 2 jenkins jenkins 4096 May 18 23:19 bin 23:25:08 drwxrwxr-x 3 jenkins jenkins 4096 May 18 23:19 cmd 23:25:08 -rw-r--r-- 1 jenkins jenkins 18506 May 18 23:24 coverage.out 23:25:08 -rw-rw-r-- 1 jenkins jenkins 3333 May 18 23:19 go.mod 23:25:08 -rw-rw-r-- 1 jenkins jenkins 31328 May 18 23:19 go.sum 23:25:08 drwxrwxr-x 3 jenkins jenkins 4096 May 18 23:19 internal 23:25:08 drwxrwxr-x 2 jenkins jenkins 4096 May 18 23:19 mock 23:25:08 drwxrwxr-x 4 jenkins jenkins 4096 May 18 23:19 snap 23:25:08 -rw-rw-r-- 1 jenkins jenkins 227 May 18 23:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:08 + 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=49037ee0d3c2cd65a33006ec9dedf5e02cdf85f7 --label arch=arm64 --label version=0.0.0 . 23:25:08 Sending build context to Docker daemon 3.428MB 23:25:08 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:25:08 Step 2/24 : FROM ${BASE} AS builder 23:25:08 ---> 06b3c4fdb965 23:25:08 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:25:09 ---> Running in f255b02c8688 23:25:09 Removing intermediate container f255b02c8688 23:25:09 ---> 27554f366747 23:25:09 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:25:09 ---> Running in c33a5acde9bd 23:25:09 Removing intermediate container c33a5acde9bd 23:25:09 ---> 43405ef24369 23:25:09 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:25:09 ---> Running in f3e71e9a9ce2 23:25:10 Removing intermediate container f3e71e9a9ce2 23:25:10 ---> 41268fdc4639 23:25:10 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:25:10 ---> Running in 8ff20ad9b794 23:25:10 Removing intermediate container 8ff20ad9b794 23:25:10 ---> c4a841bb161f 23:25:10 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:25:10 ---> Running in c861482941f6 23:25:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:25:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:25:13 OK: 268 MiB in 57 packages 23:25:14 Removing intermediate container c861482941f6 23:25:14 ---> 561e8ef7c5c7 23:25:14 Step 8/24 : WORKDIR /device-mqtt-go 23:25:14 ---> Running in c713b0c8e9a1 23:25:14 Removing intermediate container c713b0c8e9a1 23:25:14 ---> 3755aaf64b37 23:25:14 Step 9/24 : COPY go.mod vendor* ./ 23:25:14 ---> a963a72a5797 23:25:14 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:25:14 ---> Running in 92008c7d5f07 23:25:17 Removing intermediate container 92008c7d5f07 23:25:17 ---> 80a12c362c00 23:25:17 Step 11/24 : COPY . . 23:25:18 ---> 8406aab489e3 23:25:18 Step 12/24 : RUN $MAKE 23:25:18 ---> Running in 30b36f9ef0e5 23:25:18 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:27:25 Removing intermediate container 30b36f9ef0e5 23:27:25 ---> e7bd1b913925 23:27:25 Step 13/24 : FROM alpine:3.17 23:27:25 3.17: Pulling from library/alpine 23:27:25 c41833b44d91: Already exists 23:27:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:27:25 Status: Downloaded newer image for alpine:3.17 23:27:25 ---> 51e60588ff2c 23:27:25 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:27:25 ---> Running in 79a4a041174b 23:27:25 Removing intermediate container 79a4a041174b 23:27:25 ---> fd65eabca314 23:27:25 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:27:25 ---> Running in 10a2f3bd5e03 23:27:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:27:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:27:25 (1/1) Installing dumb-init (1.2.5-r2) 23:27:25 Executing busybox-1.35.0-r29.trigger 23:27:25 OK: 8 MiB in 16 packages 23:27:25 Removing intermediate container 10a2f3bd5e03 23:27:25 ---> f63fd5a84d80 23:27:25 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:27:25 ---> 6540de8edbac 23:27:25 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:27:25 ---> f859191c0798 23:27:25 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:27:25 ---> 831ff41186d8 23:27:25 Step 19/24 : EXPOSE 59982 23:27:25 ---> Running in 941e891b0286 23:27:25 Removing intermediate container 941e891b0286 23:27:25 ---> 3b6109b32daf 23:27:25 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:27:25 ---> Running in 1fb5c6896117 23:27:25 Removing intermediate container 1fb5c6896117 23:27:25 ---> b06d8d156456 23:27:25 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:27:25 ---> Running in c8958d553540 23:27:25 Removing intermediate container c8958d553540 23:27:25 ---> e415e28424e4 23:27:25 Step 22/24 : LABEL arch=arm64 23:27:25 ---> Running in a82dc7c99306 23:27:25 Removing intermediate container a82dc7c99306 23:27:25 ---> 03750ffa449b 23:27:25 Step 23/24 : LABEL git_sha=49037ee0d3c2cd65a33006ec9dedf5e02cdf85f7 23:27:25 ---> Running in c0d357bb84af 23:27:25 Removing intermediate container c0d357bb84af 23:27:25 ---> f84356549649 23:27:25 Step 24/24 : LABEL version=0.0.0 23:27:25 ---> Running in 91b8e3a8dab1 23:27:26 Removing intermediate container 91b8e3a8dab1 23:27:26 ---> 4606ff315329 23:27:26 [Warning] One or more build-args [ARCH] were not consumed 23:27:26 Successfully built 4606ff315329 23:27:26 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:26 23:27:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:26 arm64: Pulling from edgex-lftools-log-publisher 23:27:26 8998bd30e6a1: Pulling fs layer 23:27:26 04944245beec: Pulling fs layer 23:27:26 699f458cf7ca: Pulling fs layer 23:27:26 765212b225bb: Pulling fs layer 23:27:26 f23df028b6ca: Pulling fs layer 23:27:26 d65c8cfc05b1: Pulling fs layer 23:27:26 2437ff75d9bd: Pulling fs layer 23:27:26 765212b225bb: Waiting 23:27:26 f23df028b6ca: Waiting 23:27:26 d65c8cfc05b1: Waiting 23:27:26 2437ff75d9bd: Waiting 23:27:27 04944245beec: Verifying Checksum 23:27:27 04944245beec: Download complete 23:27:27 765212b225bb: Verifying Checksum 23:27:27 765212b225bb: Download complete 23:27:27 f23df028b6ca: Verifying Checksum 23:27:27 f23df028b6ca: Download complete 23:27:27 d65c8cfc05b1: Download complete 23:27:27 699f458cf7ca: Verifying Checksum 23:27:27 699f458cf7ca: Download complete 23:27:27 8998bd30e6a1: Verifying Checksum 23:27:27 8998bd30e6a1: Download complete 23:27:29 2437ff75d9bd: Verifying Checksum 23:27:29 2437ff75d9bd: Download complete 23:27:31 8998bd30e6a1: Pull complete 23:27:31 04944245beec: Pull complete 23:27:33 699f458cf7ca: Pull complete 23:27:33 765212b225bb: Pull complete 23:27:34 f23df028b6ca: Pull complete 23:27:34 d65c8cfc05b1: Pull complete 23:27:49 2437ff75d9bd: Pull complete 23:27:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:27:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:49 prd-ubuntu20.04-docker-arm64-4c-16g-16054 does not seem to be running inside a container 23:27:49 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:27:52 $ docker top 4e1b41dc7d6f50690aa630de4331a6a0ae07b2f81da9c8821dd05d74d51b355b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:27:53 ---> job-cost.sh 23:27:53 lf-activate-venv: SKIPPING 23:27:53 INFO: No Stack... 23:27:53 INFO: Retrieving Pricing Info for: v3-standard-4 23:27:54 INFO: Archiving Costs [Pipeline] sh 23:27:54 + cat /w/workspace/device-mqtt-go/5/archives/cost.csv 23:27:54 + cut -d, -f6 [Pipeline] lock 23:27:54 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-600-5-stack-cost] 23:27:54 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-5-stack-cost] did not exist. Created. 23:27:54 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-600-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:27:55 /w/workspace/device-mqtt-go/5@tmp/durable-0a46c7d0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:27:56 + echo total: 0.10999999940395355 [Pipeline] stash 23:27:56 Warning: overwriting stash ‘stack-cost’ 23:27:56 Stashed 1 file(s) [Pipeline] } 23:27:56 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-5-stack-cost] [Pipeline] // lock [Pipeline] } 23:27:56 $ docker stop --time=1 4e1b41dc7d6f50690aa630de4331a6a0ae07b2f81da9c8821dd05d74d51b355b 23:27:57 $ docker rm -f --volumes 4e1b41dc7d6f50690aa630de4331a6a0ae07b2f81da9c8821dd05d74d51b355b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:27:58 provisioning config files... 23:27:58 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config895781232118840102tmp [Pipeline] { [Pipeline] sh 23:27:58 + set +x 23:27:58 + bash -s -- 23:27:58 + curl -s https://codecov.io/bash 23:27:58 23:27:58 _____ _ 23:27:58 / ____| | | 23:27:58 | | ___ __| | ___ ___ _____ __ 23:27:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:27:58 | |___| (_) | (_| | __/ (_| (_) \ V / 23:27:58 \_____\___/ \__,_|\___|\___\___/ \_/ 23:27:58 Bash-1.0.6 23:27:58 23:27:58 23:27:58 ==> git version 2.25.1 found 23:27:58 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:27:58 Release-Date: 2020-01-08 23:27:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:27:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:27:58 ==> Jenkins CI detected. 23:27:58 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-600 23:27:58 project root: . 23:27:58 --> token set from env 23:27:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:27:58 ==> Running gcov in . (disable via -X gcov) 23:27:58 ==> Python coveragepy not found 23:27:58 ==> Searching for coverage reports in: 23:27:58 + . 23:27:58 -> Found 1 reports 23:27:58 ==> Detecting git/mercurial file structure 23:27:58 ==> Reading reports 23:27:58 + ./coverage.out bytes=18506 23:27:58 ==> Appending adjustments 23:27:58 https://docs.codecov.io/docs/fixing-reports 23:27:58 + Found adjustments 23:27:58 ==> Gzipping contents 23:27:58 4.0K /tmp/codecov.Zx86yv.gz 23:27:58 ==> Uploading reports 23:27:58 url: https://codecov.io 23:27:58 query: branch=PR-600&commit=edf739ecc91629ba222f97c0d2202b0dc482fd9b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-600%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=600&job=&cmd_args= 23:27:58 -> Pinging Codecov 23:27:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-600&commit=edf739ecc91629ba222f97c0d2202b0dc482fd9b&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-600%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=600&job=&cmd_args= 23:27:59 -> Uploading to 23:27:59 https://storage.googleapis.com/codecov/v4/raw/2023-05-18/7D719EC7BBE17E464838252E33014C33/edf739ecc91629ba222f97c0d2202b0dc482fd9b/32d1df33-0b4e-4b8d-a414-d712be0180e9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230518%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230518T232758Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fe44e096b5a6a14f3bc1a25e80bc6f73f2abd3640954b40c055200c9609455a4 23:27:59 % Total % Received % Xferd Average Speed Time Time Time Current 23:27:59 Dload Upload Total Spent Left Speed 23:27:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 13582 --:--:-- --:--:-- --:--:-- 13639 23:27:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/edf739ecc91629ba222f97c0d2202b0dc482fd9b [Pipeline] } 23:27:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:28:00 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives ] 23:28:00 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives 23:28:00 total 16 23:28:00 drwxr-xr-x 3 root root 4096 May 18 23:19 . 23:28:00 drwxrwxr-x 11 jenkins jenkins 4096 May 18 23:19 .. 23:28:00 drwxr-xr-x 2 root root 4096 May 18 23:19 cost 23:28:00 -rw-r--r-- 1 root root 86 May 18 23:19 cost.csv 23:28:00 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives 23:28:00 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives 23:28:00 total 16 23:28:00 drwxr-xr-x 3 jenkins jenkins 4096 May 18 23:19 . 23:28:00 drwxrwxr-x 11 jenkins jenkins 4096 May 18 23:19 .. 23:28:00 drwxr-xr-x 2 jenkins jenkins 4096 May 18 23:19 cost 23:28:00 -rw-r--r-- 1 jenkins jenkins 86 May 18 23:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:28:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:28:01 ---> package-listing.sh 23:28:01 ++ facter osfamily 23:28:01 ++ tr '[:upper:]' '[:lower:]' 23:28:01 + OS_FAMILY=debian 23:28:01 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-600 23:28:01 + START_PACKAGES=/tmp/packages_start.txt 23:28:01 + END_PACKAGES=/tmp/packages_end.txt 23:28:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:28:01 + PACKAGES=/tmp/packages_start.txt 23:28:01 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-600 ']' 23:28:01 + PACKAGES=/tmp/packages_end.txt 23:28:01 + case "${OS_FAMILY}" in 23:28:01 + dpkg -l 23:28:01 + grep '^ii' 23:28:01 + '[' -f /tmp/packages_start.txt ']' 23:28:01 + '[' -f /tmp/packages_end.txt ']' 23:28:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:28:01 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-600 ']' 23:28:01 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives/ 23:28:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives/ [Pipeline] echo 23:28: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-600/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:28:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:28:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:02 prd-ubuntu20.04-docker-8c-8g-16053 does not seem to be running inside a container 23:28: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-600/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-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:28:02 $ docker top 965be20a00875182de16e509306b4d371a84cca1bb4aa660b61693fd3859e295 -eo pid,comm [Pipeline] { [Pipeline] sh 23:28:02 + touch /tmp/pre-build-complete [Pipeline] sh 23:28:03 + mkdir -p /var/log/sysstat [Pipeline] sh 23:28:03 + ls /var/log/sa-host 23:28:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:28:03 provisioning config files... 23:28:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config2203127497836565345tmp [Pipeline] { [Pipeline] echo 23:28:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:28:03 ---> create-netrc.sh [Pipeline] } 23:28:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:28:04 ---> python-tools-install.sh [Pipeline] echo 23:28:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:28:04 ---> sudo-logs.sh 23:28:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:28:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:28:04 ---> job-cost.sh 23:28:04 lf-activate-venv: SKIPPING 23:28:04 DEBUG: total: 0.2199999988079071 23:28:04 INFO: Retrieving Stack Cost... 23:28:05 INFO: Retrieving Pricing Info for: v3-standard-8 23:28:05 INFO: Archiving Costs [Pipeline] echo 23:28:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:28:06 ---> logs-deploy.sh 23:28:06 lf-activate-venv: SKIPPING 23:28:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-600/5 23:28:06 INFO: archiving workspace using pattern(s): 23:28:06 Archives upload complete. 23:28:06 INFO: archiving logs to Nexus