Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 834f96f9b83474885c5a02ae1c0e5f6b67971a52+7890826e223808f9f870907e908c893318dcbe65 (8b8ddd8f86e78d918f747203c76004fa6619c657) 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-ssh3764161689102652546.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-ssh4967484152789992999.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-606/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-606/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6638139001517386716.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-ssh12087442453121231673.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-606/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-606/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13733960783633934233.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16802’ Running on prd-ubuntu20.04-docker-8c-8g-16807 in /w/workspace/gexfoundry_device-mqtt-go_PR-606 [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-606 # 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/606/head:refs/remotes/origin/PR-606 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7890826e223808f9f870907e908c893318dcbe65 into PR head commit 834f96f9b83474885c5a02ae1c0e5f6b67971a52 Merge succeeded, producing 54e214948310647636b57a21625dfc598dc11e2c Checking out Revision 54e214948310647636b57a21625dfc598dc11e2c (PR-606) > git config core.sparsecheckout # timeout=10 > git checkout -f 834f96f9b83474885c5a02ae1c0e5f6b67971a52 # 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 7890826e223808f9f870907e908c893318dcbe65 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 54e214948310647636b57a21625dfc598dc11e2c # timeout=10 Commit message: "Merge commit '7890826e223808f9f870907e908c893318dcbe65' into HEAD" > git rev-list --no-walk 834f96f9b83474885c5a02ae1c0e5f6b67971a52 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:18:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:18:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:18:33 ========================================================= 23:18:33 EdgeX Global Pipelines Version Info 23:18:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:18:34 ------------------- 23:18:34 stable info: 23:18:34 ------------------- 23:18:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:18:34 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:18:34 Message: update stable to v1.0.249 23:18:35 ------------------- 23:18:35 experimental info: 23:18:35 ------------------- 23:18:35 Commited By: **** collab-it+edgex@linuxfoundation.org 23:18:35 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:18:35 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-606 [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-606 [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-606 [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 54e214948310647636b57a21625dfc598dc11e2c [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 54e2149 [Pipeline] echo 23:18:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:18:35 provisioning config files... 23:18:35 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/config2530074826616341090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:18:36 ---> docker-login.sh 23:18:36 nexus3.edgexfoundry.org:10001 23:18:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:36 Configure a credential helper to remove this warning. See 23:18:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:36 23:18:36 Login Succeeded 23:18:36 nexus3.edgexfoundry.org:10002 23:18:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:36 Configure a credential helper to remove this warning. See 23:18:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:36 23:18:36 Login Succeeded 23:18:36 nexus3.edgexfoundry.org:10003 23:18:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:36 Configure a credential helper to remove this warning. See 23:18:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:36 23:18:36 Login Succeeded 23:18:36 nexus3.edgexfoundry.org:10004 23:18:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:36 Configure a credential helper to remove this warning. See 23:18:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:36 23:18:36 Login Succeeded 23:18:36 docker.io 23:18:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:36 Configure a credential helper to remove this warning. See 23:18:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:36 23:18:36 Login Succeeded 23:18:36 ---> docker-login.sh ends [Pipeline] } 23:18:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:18:37 + git rev-list -1 --merges 54e214948310647636b57a21625dfc598dc11e2c~1..54e214948310647636b57a21625dfc598dc11e2c [Pipeline] echo 23:18:37 -----------> git rev-list -1 --merges 54e214948310647636b57a21625dfc598dc11e2c~1..54e214948310647636b57a21625dfc598dc11e2c 54e214948310647636b57a21625dfc598dc11e2c 23:18:37 54e214948310647636b57a21625dfc598dc11e2c [false] [Pipeline] sh 23:18:37 + git log --format=format:%s -1 54e214948310647636b57a21625dfc598dc11e2c [Pipeline] echo 23:18:37 ========================================================= 23:18:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:18:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:18:37 + git log --format=format:%s -1 54e214948310647636b57a21625dfc598dc11e2c [Pipeline] echo 23:18:37 [semverPrep] GIT_COMMIT: 54e214948310647636b57a21625dfc598dc11e2c, Commit Message: Merge commit '7890826e223808f9f870907e908c893318dcbe65' into HEAD [Pipeline] echo 23:18:37 [semverPrep] This is not a build commit. [Pipeline] sh 23:18:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:18:38 + grep -v github /etc/ssh/ssh_known_hosts 23:18:38 + [ -e /tmp/ssh_known_hosts ] 23:18:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:18:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:18:38 + sudo tee -a /etc/ssh/ssh_known_hosts 23:18:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:18:38 23:18:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:18:38 0.1.4: Pulling from edgex-devops/py-git-semver 23:18:38 b85a868b505f: Pulling fs layer 23:18:38 e2be974225ed: Pulling fs layer 23:18:38 339a4e72a1f5: Pulling fs layer 23:18:38 988bab9f4d93: Pulling fs layer 23:18:38 1469e6f7b9e6: Pulling fs layer 23:18:38 eaf3925da568: Pulling fs layer 23:18:38 bab4dde63d76: Pulling fs layer 23:18:38 bde34c3a00c8: Pulling fs layer 23:18:38 b352a97aabf1: Pulling fs layer 23:18:38 4872d77fe225: Pulling fs layer 23:18:38 5851b861e8e6: Pulling fs layer 23:18:38 988bab9f4d93: Waiting 23:18:38 b352a97aabf1: Waiting 23:18:38 4872d77fe225: Waiting 23:18:38 1469e6f7b9e6: Waiting 23:18:38 eaf3925da568: Waiting 23:18:38 bab4dde63d76: Waiting 23:18:38 5851b861e8e6: Waiting 23:18:38 bde34c3a00c8: Waiting 23:18:38 e2be974225ed: Verifying Checksum 23:18:38 e2be974225ed: Download complete 23:18:38 988bab9f4d93: Verifying Checksum 23:18:38 988bab9f4d93: Download complete 23:18:38 1469e6f7b9e6: Verifying Checksum 23:18:38 1469e6f7b9e6: Download complete 23:18:39 eaf3925da568: Verifying Checksum 23:18:39 eaf3925da568: Download complete 23:18:39 339a4e72a1f5: Verifying Checksum 23:18:39 339a4e72a1f5: Download complete 23:18:39 bde34c3a00c8: Download complete 23:18:39 b352a97aabf1: Verifying Checksum 23:18:39 b352a97aabf1: Download complete 23:18:39 4872d77fe225: Download complete 23:18:39 5851b861e8e6: Download complete 23:18:39 b85a868b505f: Verifying Checksum 23:18:39 b85a868b505f: Download complete 23:18:39 bab4dde63d76: Verifying Checksum 23:18:39 bab4dde63d76: Download complete 23:18:40 b85a868b505f: Pull complete 23:18:40 e2be974225ed: Pull complete 23:18:40 339a4e72a1f5: Pull complete 23:18:41 988bab9f4d93: Pull complete 23:18:41 1469e6f7b9e6: Pull complete 23:18:41 eaf3925da568: Pull complete 23:18:43 bab4dde63d76: Pull complete 23:18:43 bde34c3a00c8: Pull complete 23:18:43 b352a97aabf1: Pull complete 23:18:43 4872d77fe225: Pull complete 23:18:43 5851b861e8e6: Pull complete 23:18:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:18:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:18:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:43 prd-ubuntu20.04-docker-8c-8g-16807 does not seem to be running inside a container 23:18:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-606 -v /w/workspace/gexfoundry_device-mqtt-go_PR-606:/w/workspace/gexfoundry_device-mqtt-go_PR-606:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-606@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:18:47 $ docker top ef8d037817acb3ac781f9a53ddd5751f2819e09e16114e6182fc06f76df7683c -eo pid,comm 23:18:47 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:18:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:18:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:18:47 [ssh-agent] Looking for ssh-agent implementation... 23:18:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:18:47 $ docker exec ef8d037817acb3ac781f9a53ddd5751f2819e09e16114e6182fc06f76df7683c ssh-agent 23:18:47 SSH_AUTH_SOCK=/tmp/ssh-mj1kg6Ef1eqZ/agent.31 23:18:47 SSH_AGENT_PID=37 23:18:47 Running ssh-add (command line suppressed) 23:18:47 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/private_key_239584760229025117.key (/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/private_key_239584760229025117.key) 23:18:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:18:48 + git tag --points-at HEAD [Pipeline] } 23:18:48 $ docker exec --env ******** --env ******** ef8d037817acb3ac781f9a53ddd5751f2819e09e16114e6182fc06f76df7683c ssh-agent -k 23:18:48 unset SSH_AUTH_SOCK; 23:18:48 unset SSH_AGENT_PID; 23:18:48 echo Agent pid 37 killed; 23:18:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:18:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:18:48 [ssh-agent] Looking for ssh-agent implementation... 23:18:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:18:48 $ docker exec ef8d037817acb3ac781f9a53ddd5751f2819e09e16114e6182fc06f76df7683c ssh-agent 23:18:48 SSH_AUTH_SOCK=/tmp/ssh-8NVi4DcOnHOd/agent.69 23:18:48 SSH_AGENT_PID=75 23:18:48 Running ssh-add (command line suppressed) 23:18:48 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/private_key_4600942328156598644.key (/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/private_key_4600942328156598644.key) 23:18:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:18:49 + git semver init 23:18:49 2023-05-24 23:18:49,213 [run_init] DEBUG init version:0.0.0 force:False 23:18:49 2023-05-24 23:18:49,214 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver 23:18:49 2023-05-24 23:18:49,215 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver 23:18:49 2023-05-24 23:18:49,215 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-606, universal_newlines=False, shell=None, istream=None) 23:18:50 2023-05-24 23:18:49,968 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606/.git/info/exclude 23:18:50 2023-05-24 23:18:49,969 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver/PR-606 with force:False 23:18:50 2023-05-24 23:18:49,969 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver/PR-606 23:18:50 2023-05-24 23:18:49,973 [execute] INFO git cat-file --batch-check 23:18:50 2023-05-24 23:18:49,974 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver, universal_newlines=False, shell=None, istream=) 23:18:50 2023-05-24 23:18:49,980 [execute] INFO git cat-file --batch 23:18:50 2023-05-24 23:18:49,980 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver, universal_newlines=False, shell=None, istream=) 23:18:50 2023-05-24 23:18:49,986 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver/PR-606 23:18:50 0.0.0 [Pipeline] } 23:18:50 $ docker exec --env ******** --env ******** ef8d037817acb3ac781f9a53ddd5751f2819e09e16114e6182fc06f76df7683c ssh-agent -k 23:18:50 unset SSH_AUTH_SOCK; 23:18:50 unset SSH_AGENT_PID; 23:18:50 echo Agent pid 75 killed; 23:18:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:18:50 + git semver [Pipeline] } 23:18:50 $ docker stop --time=1 ef8d037817acb3ac781f9a53ddd5751f2819e09e16114e6182fc06f76df7683c 23:18:52 $ docker rm -f --volumes ef8d037817acb3ac781f9a53ddd5751f2819e09e16114e6182fc06f76df7683c [Pipeline] // withDockerContainer [Pipeline] sh 23:18:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:18:52 Stashed 1 file(s) [Pipeline] echo 23:18:52 [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:18:52 provisioning config files... 23:18:52 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/config7201713438744046968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:18:53 ---> docker-login.sh 23:18:53 nexus3.edgexfoundry.org:10001 23:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:53 Configure a credential helper to remove this warning. See 23:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:53 23:18:53 Login Succeeded 23:18:53 nexus3.edgexfoundry.org:10002 23:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:53 Configure a credential helper to remove this warning. See 23:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:53 23:18:53 Login Succeeded 23:18:53 nexus3.edgexfoundry.org:10003 23:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:53 Configure a credential helper to remove this warning. See 23:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:53 23:18:53 Login Succeeded 23:18:53 nexus3.edgexfoundry.org:10004 23:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:53 Configure a credential helper to remove this warning. See 23:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:53 23:18:53 Login Succeeded 23:18:53 docker.io 23:18:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:53 Configure a credential helper to remove this warning. See 23:18:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:53 23:18:53 Login Succeeded 23:18:53 ---> docker-login.sh ends [Pipeline] } 23:18:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:18:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:18:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:18:53 ========================================================= 23:18:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:18:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:54 + 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:18:54 Sending build context to Docker daemon 6.592MB 23:18:54 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:18:54 Step 2/12 : FROM ${BASE} AS builder 23:18:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:18:54 f56be85fc22e: Pulling fs layer 23:18:54 85791d961cd3: Pulling fs layer 23:18:54 d694b5ae8c79: Pulling fs layer 23:18:54 9f32a84ed3da: Pulling fs layer 23:18:54 4d19c01a9841: Pulling fs layer 23:18:54 9325e15d5711: Pulling fs layer 23:18:54 556b6ee489ea: Pulling fs layer 23:18:54 c5a4b2cf53e6: Pulling fs layer 23:18:54 4d19c01a9841: Waiting 23:18:54 9f32a84ed3da: Waiting 23:18:54 556b6ee489ea: Waiting 23:18:54 c5a4b2cf53e6: Waiting 23:18:54 9325e15d5711: Waiting 23:18:54 85791d961cd3: Download complete 23:18:54 9f32a84ed3da: Verifying Checksum 23:18:54 9f32a84ed3da: Download complete 23:18:54 4d19c01a9841: Verifying Checksum 23:18:54 4d19c01a9841: Download complete 23:18:54 f56be85fc22e: Download complete 23:18:54 9325e15d5711: Verifying Checksum 23:18:54 9325e15d5711: Download complete 23:18:54 f56be85fc22e: Pull complete 23:18:54 85791d961cd3: Pull complete 23:18:54 c5a4b2cf53e6: Verifying Checksum 23:18:54 c5a4b2cf53e6: Download complete 23:18:54 d694b5ae8c79: Verifying Checksum 23:18:54 d694b5ae8c79: Download complete 23:18:55 556b6ee489ea: Verifying Checksum 23:18:55 556b6ee489ea: Download complete 23:18:58 d694b5ae8c79: Pull complete 23:18:58 9f32a84ed3da: Pull complete 23:18:58 4d19c01a9841: Pull complete 23:18:58 9325e15d5711: Pull complete 23:19:01 556b6ee489ea: Pull complete 23:19:01 c5a4b2cf53e6: Pull complete 23:19:01 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:19:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:19:01 ---> c4be618373d6 23:19:01 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:19:07 Still waiting to schedule task 23:19:07 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16803’ 23:19:09 ---> Running in 89242e10893f 23:19:09 Removing intermediate container 89242e10893f 23:19:09 ---> 09daaddf1879 23:19:09 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:19:09 ---> Running in 88aa851b0add 23:19:09 Removing intermediate container 88aa851b0add 23:19:09 ---> 5d7ed77186fc 23:19:09 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:19:09 ---> Running in 3f14f601a875 23:19:09 Removing intermediate container 3f14f601a875 23:19:09 ---> 09fcae55f329 23:19:09 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:19:09 ---> Running in bdade89480e7 23:19:09 Removing intermediate container bdade89480e7 23:19:09 ---> a51ad419f387 23:19:09 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:19:09 ---> Running in a368a586ab80 23:19:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:19:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:19:10 (1/4) Installing openssh-keygen (9.1_p1-r3) 23:19:10 (2/4) Installing libedit (20221030.3.1-r0) 23:19:10 (3/4) Installing openssh-client-common (9.1_p1-r3) 23:19:10 (4/4) Installing openssh-client-default (9.1_p1-r3) 23:19:10 Executing busybox-1.35.0-r29.trigger 23:19:10 OK: 269 MiB in 57 packages 23:19:10 Removing intermediate container a368a586ab80 23:19:10 ---> bdb3deb5fb35 23:19:10 Step 8/12 : WORKDIR /device-mqtt-go 23:19:10 ---> Running in c5e5b6330766 23:19:10 Removing intermediate container c5e5b6330766 23:19:10 ---> 341f61bc3121 23:19:10 Step 9/12 : COPY go.mod vendor* ./ 23:19:10 ---> c045f534dc5b 23:19:10 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:19:10 ---> Running in 1d0cf8d3e7c3 23:19:49 Removing intermediate container 1d0cf8d3e7c3 23:19:49 ---> fa511f0e3f02 23:19:49 Step 11/12 : COPY . . 23:19:49 ---> 3985875e48fc 23:19:49 Step 12/12 : RUN $MAKE 23:19:49 ---> Running in 0d60172f78a3 23:19:49 noop 23:19:49 Removing intermediate container 0d60172f78a3 23:19:49 ---> 6e75ad3a0e62 23:19:49 Successfully built 6e75ad3a0e62 23:19:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:50 + docker inspect -f . ci-base-image-x86_64 23:19:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:50 prd-ubuntu20.04-docker-8c-8g-16807 does not seem to be running inside a container 23:19:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-606 -v /w/workspace/gexfoundry_device-mqtt-go_PR-606:/w/workspace/gexfoundry_device-mqtt-go_PR-606:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-606@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:19:50 $ docker top a594d2ef560caf9f8f764b01bad02eb6857560bea4cef72e2d985d523033e132 -eo pid,comm [Pipeline] { [Pipeline] sh 23:19:50 + go version 23:19:50 go version go1.20.2 linux/amd64 [Pipeline] } 23:19:50 $ docker stop --time=1 a594d2ef560caf9f8f764b01bad02eb6857560bea4cef72e2d985d523033e132 23:19:52 $ docker rm -f --volumes a594d2ef560caf9f8f764b01bad02eb6857560bea4cef72e2d985d523033e132 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:52 + docker inspect -f . ci-base-image-x86_64 23:19:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:52 prd-ubuntu20.04-docker-8c-8g-16807 does not seem to be running inside a container 23:19:52 $ 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-606 -v /w/workspace/gexfoundry_device-mqtt-go_PR-606:/w/workspace/gexfoundry_device-mqtt-go_PR-606:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-606@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:19:52 $ docker top 1900930b1e745a70b5ff487b64ae7886417326a023e90e578af0564980baf885 -eo pid,comm [Pipeline] { [Pipeline] sh 23:19:53 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-606 [Pipeline] fileExists [Pipeline] sh 23:19:53 + make test 23:19:53 go test ./... -coverprofile=coverage.out ./... 23:19:58 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:20:08 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:20:09 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:20:09 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.021s coverage: 22.8% of statements 23:20:17 go vet ./... 23:20:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:20:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:20:20 ./bin/test-attribution-txt.sh [Pipeline] echo 23:20:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:20:20 $ docker stop --time=1 1900930b1e745a70b5ff487b64ae7886417326a023e90e578af0564980baf885 23:20:23 $ docker rm -f --volumes 1900930b1e745a70b5ff487b64ae7886417326a023e90e578af0564980baf885 [Pipeline] // withDockerContainer [Pipeline] sh 23:20:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:20:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:20:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:20:24 + ls -al . 23:20:24 total 184 23:20:24 drwxrwxr-x 10 jenkins jenkins 4096 May 24 23:19 . 23:20:24 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:18 .. 23:20:24 -rw-rw-r-- 1 jenkins jenkins 140 May 24 23:18 .dockerignore 23:20:24 drwxrwxr-x 8 jenkins jenkins 4096 May 24 23:18 .git 23:20:24 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:18 .github 23:20:24 -rw-rw-r-- 1 jenkins jenkins 329 May 24 23:18 .gitignore 23:20:24 -rw-rw-r-- 1 jenkins jenkins 41 May 24 23:18 .golangci.yml 23:20:24 drwxr-xr-x 3 jenkins jenkins 4096 May 24 23:18 .semver 23:20:24 -rw-rw-r-- 1 jenkins jenkins 9417 May 24 23:18 Attribution.txt 23:20:24 -rw-rw-r-- 1 jenkins jenkins 17522 May 24 23:18 CHANGELOG.md 23:20:24 -rw-rw-r-- 1 jenkins jenkins 1689 May 24 23:18 Dockerfile 23:20:24 -rw-rw-r-- 1 jenkins jenkins 677 May 24 23:18 GOVERNANCE.md 23:20:24 -rw-rw-r-- 1 jenkins jenkins 678 May 24 23:18 Jenkinsfile 23:20:24 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 23:18 LICENSE 23:20:24 -rw-rw-r-- 1 jenkins jenkins 1732 May 24 23:18 Makefile 23:20:24 -rw-rw-r-- 1 jenkins jenkins 620 May 24 23:18 OWNERS.md 23:20:24 -rw-rw-r-- 1 jenkins jenkins 3165 May 24 23:18 README.md 23:20:24 -rw-rw-r-- 1 jenkins jenkins 5 May 24 23:18 VERSION 23:20:24 drwxrwxr-x 2 jenkins jenkins 4096 May 24 23:18 bin 23:20:24 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:18 cmd 23:20:24 -rw-r--r-- 1 jenkins jenkins 18506 May 24 23:20 coverage.out 23:20:24 -rw-rw-r-- 1 jenkins jenkins 3333 May 24 23:18 go.mod 23:20:24 -rw-rw-r-- 1 jenkins jenkins 31418 May 24 23:18 go.sum 23:20:24 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:18 internal 23:20:24 drwxrwxr-x 2 jenkins jenkins 4096 May 24 23:18 mock 23:20:24 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:18 snap 23:20:24 -rw-rw-r-- 1 jenkins jenkins 227 May 24 23:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:24 + 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=54e214948310647636b57a21625dfc598dc11e2c --label arch=amd64 --label version=0.0.0 . 23:20:24 Sending build context to Docker daemon 6.611MB 23:20:24 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:20:24 Step 2/24 : FROM ${BASE} AS builder 23:20:24 ---> 6e75ad3a0e62 23:20:24 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:20:24 ---> Running in 120991769a5c 23:20:24 Removing intermediate container 120991769a5c 23:20:24 ---> 21ceee2a588e 23:20:24 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:20:24 ---> Running in cedc1f0e8600 23:20:24 Removing intermediate container cedc1f0e8600 23:20:24 ---> 529eed9f2c88 23:20:24 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:20:24 ---> Running in 62d42ad19f74 23:20:25 Removing intermediate container 62d42ad19f74 23:20:25 ---> df3a17f17550 23:20:25 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:20:25 ---> Running in f5dce3778b5c 23:20:25 Removing intermediate container f5dce3778b5c 23:20:25 ---> 101e2a147dbe 23:20:25 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:20:25 ---> Running in 89d9b2702b20 23:20:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:20:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:20:25 OK: 269 MiB in 57 packages 23:20:26 Removing intermediate container 89d9b2702b20 23:20:26 ---> 7a18fe32b6cf 23:20:26 Step 8/24 : WORKDIR /device-mqtt-go 23:20:26 ---> Running in e15bf636555f 23:20:26 Removing intermediate container e15bf636555f 23:20:26 ---> 4fd375edf0f2 23:20:26 Step 9/24 : COPY go.mod vendor* ./ 23:20:26 ---> c0841ba88cbc 23:20:26 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:20:26 ---> Running in 12054ea58948 23:20:27 Removing intermediate container 12054ea58948 23:20:27 ---> 5083ab6d0ce9 23:20:27 Step 11/24 : COPY . . 23:20:27 ---> 13d81b608f46 23:20:27 Step 12/24 : RUN $MAKE 23:20:27 ---> Running in 979933b963ec 23:20:27 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:20:49 Removing intermediate container 979933b963ec 23:20:49 ---> a01c902c240d 23:20:49 Step 13/24 : FROM alpine:3.17 23:20:49 3.17: Pulling from library/alpine 23:20:49 f56be85fc22e: Already exists 23:20:49 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:20:49 Status: Downloaded newer image for alpine:3.17 23:20:49 ---> 9ed4aefc74f6 23:20:49 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:20:49 ---> Running in 5f72bd9087d4 23:20:49 Removing intermediate container 5f72bd9087d4 23:20:49 ---> 3037cdd1ab60 23:20:49 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:20:49 ---> Running in d94290623c5a 23:20:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:20:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:20:49 (1/1) Installing dumb-init (1.2.5-r2) 23:20:49 Executing busybox-1.35.0-r29.trigger 23:20:49 OK: 7 MiB in 16 packages 23:20:49 Removing intermediate container d94290623c5a 23:20:49 ---> 7e99c4c2798b 23:20:49 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:20:49 ---> 9a66684d7beb 23:20:49 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:20:49 ---> 94189a05cad7 23:20:49 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:20:49 ---> 9c9dfad2d2b5 23:20:49 Step 19/24 : EXPOSE 59982 23:20:49 ---> Running in 6d380feea037 23:20:49 Removing intermediate container 6d380feea037 23:20:49 ---> b5aeb3db25e7 23:20:49 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:20:49 ---> Running in cb7ff09e3129 23:20:50 Removing intermediate container cb7ff09e3129 23:20:50 ---> 8ab09538d960 23:20:50 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:20:50 ---> Running in 62c5a05ceb5a 23:20:50 Removing intermediate container 62c5a05ceb5a 23:20:50 ---> 2a432d61f397 23:20:50 Step 22/24 : LABEL arch=amd64 23:20:50 ---> Running in 31b0971e9098 23:20:50 Removing intermediate container 31b0971e9098 23:20:50 ---> 6cfcc915fd5f 23:20:50 Step 23/24 : LABEL git_sha=54e214948310647636b57a21625dfc598dc11e2c 23:20:50 ---> Running in d5ac6bd1384e 23:20:50 Removing intermediate container d5ac6bd1384e 23:20:50 ---> f4f96edf8014 23:20:50 Step 24/24 : LABEL version=0.0.0 23:20:50 ---> Running in 2e664e34fdf8 23:20:50 Removing intermediate container 2e664e34fdf8 23:20:50 ---> 8da9ee1d7c7c 23:20:50 [Warning] One or more build-args [ARCH] were not consumed 23:20:50 Successfully built 8da9ee1d7c7c 23:20:50 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:20:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:50 23:20:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:51 latest: Pulling from edgex-lftools-log-publisher 23:20:51 5eb5b503b376: Pulling fs layer 23:20:51 5c69ac0246d0: Pulling fs layer 23:20:51 ec43610c2a17: Pulling fs layer 23:20:51 3a2ae6a8a46f: Pulling fs layer 23:20:51 33b1e0a273af: Pulling fs layer 23:20:51 5d3b04190fa2: Pulling fs layer 23:20:51 2f39f015ded8: Pulling fs layer 23:20:51 3a2ae6a8a46f: Waiting 23:20:51 5d3b04190fa2: Waiting 23:20:51 2f39f015ded8: Waiting 23:20:51 5c69ac0246d0: Download complete 23:20:51 3a2ae6a8a46f: Download complete 23:20:51 33b1e0a273af: Verifying Checksum 23:20:51 33b1e0a273af: Download complete 23:20:51 5d3b04190fa2: Verifying Checksum 23:20:51 5d3b04190fa2: Download complete 23:20:51 ec43610c2a17: Verifying Checksum 23:20:51 ec43610c2a17: Download complete 23:20:51 5eb5b503b376: Verifying Checksum 23:20:51 5eb5b503b376: Download complete 23:20:51 2f39f015ded8: Verifying Checksum 23:20:52 5eb5b503b376: Pull complete 23:20:52 5c69ac0246d0: Pull complete 23:20:53 ec43610c2a17: Pull complete 23:20:53 3a2ae6a8a46f: Pull complete 23:20:53 33b1e0a273af: Pull complete 23:20:53 5d3b04190fa2: Pull complete 23:20:58 2f39f015ded8: Pull complete 23:20:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:20:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:20:58 prd-ubuntu20.04-docker-8c-8g-16807 does not seem to be running inside a container 23:20:58 $ 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-606 -v /w/workspace/gexfoundry_device-mqtt-go_PR-606:/w/workspace/gexfoundry_device-mqtt-go_PR-606:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-606@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:21:03 $ docker top 0854176f27d33066d5c768dd72acbe4cb998662781767a7c50fae99eae4cc02a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:21:03 ---> job-cost.sh 23:21:03 lf-activate-venv: SKIPPING 23:21:03 INFO: No Stack... 23:21:04 INFO: Retrieving Pricing Info for: v3-standard-8 23:21:04 INFO: Archiving Costs [Pipeline] sh 23:21:04 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives/cost.csv 23:21:04 + cut -d, -f6 [Pipeline] lock 23:21:04 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-606-4-stack-cost] 23:21:04 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-606-4-stack-cost] did not exist. Created. 23:21:04 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-606-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:21:05 + echo total: 0.2199999988079071 [Pipeline] stash 23:21:05 Stashed 1 file(s) [Pipeline] } 23:21:05 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-606-4-stack-cost] [Pipeline] // lock [Pipeline] } 23:21:05 $ docker stop --time=1 0854176f27d33066d5c768dd72acbe4cb998662781767a7c50fae99eae4cc02a 23:21:06 $ docker rm -f --volumes 0854176f27d33066d5c768dd72acbe4cb998662781767a7c50fae99eae4cc02a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:22:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16812 in /w/workspace/gexfoundry_device-mqtt-go_PR-606 [Pipeline] { [Pipeline] ws 23:22:09 Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout 23:22:09 Selected Git installation does not exist. Using Default 23:22:09 The recommended git tool is: NONE 23:22:16 using credential edgex-jenkins-ssh 23:22:16 Cloning the remote Git repository 23:22:16 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:22:16 > git init /w/workspace/device-mqtt-go/4 # timeout=10 23:22:17 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:22:17 > git --version # timeout=10 23:22:17 > git --version # 'git version 2.25.1' 23:22:17 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:22:18 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:22:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:22:19 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:22:19 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:22:19 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/606/head:refs/remotes/origin/PR-606 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:22:20 Merging remotes/origin/main commit 7890826e223808f9f870907e908c893318dcbe65 into PR head commit 834f96f9b83474885c5a02ae1c0e5f6b67971a52 23:22:20 Merge succeeded, producing b7a1038b9e7974945a82136e0dfbc58be103500e 23:22:20 Checking out Revision b7a1038b9e7974945a82136e0dfbc58be103500e (PR-606) 23:22:20 > git config core.sparsecheckout # timeout=10 23:22:20 > git checkout -f 834f96f9b83474885c5a02ae1c0e5f6b67971a52 # timeout=10 23:22:20 > git remote # timeout=10 23:22:20 > git config --get remote.origin.url # timeout=10 23:22:20 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:20 > git merge 7890826e223808f9f870907e908c893318dcbe65 # timeout=10 23:22:20 > git rev-parse HEAD^{commit} # timeout=10 23:22:20 > git config core.sparsecheckout # timeout=10 23:22:20 > git checkout -f b7a1038b9e7974945a82136e0dfbc58be103500e # timeout=10 23:22:24 Commit message: "Merge commit '7890826e223808f9f870907e908c893318dcbe65' into HEAD" 23:22:24 > git rev-list --no-walk 834f96f9b83474885c5a02ae1c0e5f6b67971a52 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:22:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:22:25 % Total % Received % Xferd Average Speed Time Time Time Current 23:22:25 Dload Upload Total Spent Left Speed 23:22:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 200k [Pipeline] sh 23:22:26 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:22:26 + sudo tee /etc/docker/daemon.new 23:22:26 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:22:26 { 23:22:26 "registry-mirrors": [ 23:22:26 "https://nexus3.edgexfoundry.org:10001" 23:22:26 ], 23:22:26 "bip": "10.250.0.254/24", 23:22:26 "hosts": [ 23:22:26 "tcp://0.0.0.0:5555", 23:22:26 "unix:///var/run/docker.sock" 23:22:26 ], 23:22:26 "mtu": 1458, 23:22:26 "selinux-enabled": true, 23:22:26 "seccomp-profile": "/etc/docker/seccomp.json" 23:22:26 } [Pipeline] sh 23:22:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:22:27 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:22:45 provisioning config files... 23:22:45 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config16005475937369576604tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:22:45 ---> docker-login.sh 23:22:45 nexus3.edgexfoundry.org:10001 23:22:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:46 Configure a credential helper to remove this warning. See 23:22:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:46 23:22:46 Login Succeeded 23:22:46 nexus3.edgexfoundry.org:10002 23:22:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:46 Configure a credential helper to remove this warning. See 23:22:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:46 23:22:46 Login Succeeded 23:22:46 nexus3.edgexfoundry.org:10003 23:22:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:47 Configure a credential helper to remove this warning. See 23:22:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:47 23:22:47 Login Succeeded 23:22:47 nexus3.edgexfoundry.org:10004 23:22:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:47 Configure a credential helper to remove this warning. See 23:22:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:47 23:22:47 Login Succeeded 23:22:47 docker.io 23:22:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:22:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:22:48 Configure a credential helper to remove this warning. See 23:22:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:22:48 23:22:48 Login Succeeded 23:22:48 ---> docker-login.sh ends [Pipeline] } 23:22:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:22:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:22:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:22:48 ========================================================= 23:22:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:22:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:49 + 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:22:50 Sending build context to Docker daemon 3.433MB 23:22:50 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:22:50 Step 2/12 : FROM ${BASE} AS builder 23:22:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:22:50 c41833b44d91: Pulling fs layer 23:22:50 ed15518f5707: Pulling fs layer 23:22:50 feae8fd75edb: Pulling fs layer 23:22:50 242c74f7c9fa: Pulling fs layer 23:22:50 3cdef696dda3: Pulling fs layer 23:22:50 242c74f7c9fa: Waiting 23:22:50 2ced38df9373: Pulling fs layer 23:22:50 3cdef696dda3: Waiting 23:22:50 58f1dce35555: Pulling fs layer 23:22:50 58f1dce35555: Waiting 23:22:50 2ced38df9373: Waiting 23:22:50 ed15518f5707: Verifying Checksum 23:22:50 ed15518f5707: Download complete 23:22:50 242c74f7c9fa: Verifying Checksum 23:22:50 242c74f7c9fa: Download complete 23:22:50 3cdef696dda3: Verifying Checksum 23:22:50 3cdef696dda3: Download complete 23:22:50 c41833b44d91: Verifying Checksum 23:22:50 c41833b44d91: Download complete 23:22:51 c41833b44d91: Pull complete 23:22:52 58f1dce35555: Verifying Checksum 23:22:52 58f1dce35555: Download complete 23:22:52 ed15518f5707: Pull complete 23:22:53 feae8fd75edb: Verifying Checksum 23:22:53 feae8fd75edb: Download complete 23:22:53 2ced38df9373: Verifying Checksum 23:22:53 2ced38df9373: Download complete 23:23:05 feae8fd75edb: Pull complete 23:23:05 242c74f7c9fa: Pull complete 23:23:05 3cdef696dda3: Pull complete 23:23:12 2ced38df9373: Pull complete 23:23:14 58f1dce35555: Pull complete 23:23:14 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:23:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:23:14 ---> fadd8f120f05 23:23:14 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:23:17 ---> Running in 66ca525b7804 23:23:17 Removing intermediate container 66ca525b7804 23:23:17 ---> f184cea7583d 23:23:17 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:23:17 ---> Running in e3c07f076c73 23:23:17 Removing intermediate container e3c07f076c73 23:23:17 ---> 208531b068db 23:23:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:23:17 ---> Running in 1637aee4459c 23:23:18 Removing intermediate container 1637aee4459c 23:23:18 ---> 6a08a12e7f23 23:23:18 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:23:18 ---> Running in 0a089678980b 23:23:18 Removing intermediate container 0a089678980b 23:23:18 ---> a83921ba961e 23:23:18 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:23:18 ---> Running in 8c0e53e0d537 23:23:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:23:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:23:21 (1/4) Installing openssh-keygen (9.1_p1-r3) 23:23:21 (2/4) Installing libedit (20221030.3.1-r0) 23:23:21 (3/4) Installing openssh-client-common (9.1_p1-r3) 23:23:21 (4/4) Installing openssh-client-default (9.1_p1-r3) 23:23:21 Executing busybox-1.35.0-r29.trigger 23:23:21 OK: 268 MiB in 57 packages 23:23:23 Removing intermediate container 8c0e53e0d537 23:23:23 ---> 86d3f62fd3b6 23:23:23 Step 8/12 : WORKDIR /device-mqtt-go 23:23:23 ---> Running in a35ed7b1b435 23:23:23 Removing intermediate container a35ed7b1b435 23:23:23 ---> f99a577b2371 23:23:23 Step 9/12 : COPY go.mod vendor* ./ 23:23:24 ---> 705888a267f6 23:23:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:23:24 ---> Running in 31c4dec4b757 23:24:32 Removing intermediate container 31c4dec4b757 23:24:32 ---> 6bb5c7e15ff1 23:24:32 Step 11/12 : COPY . . 23:24:32 ---> bacc21fd1cb5 23:24:32 Step 12/12 : RUN $MAKE 23:24:32 ---> Running in 710ffde31e77 23:24:32 noop 23:24:32 Removing intermediate container 710ffde31e77 23:24:32 ---> 00b49bdf9c1c 23:24:32 Successfully built 00b49bdf9c1c 23:24:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:32 + docker inspect -f . ci-base-image-arm64 23:24:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:24:32 prd-ubuntu20.04-docker-arm64-4c-16g-16812 does not seem to be running inside a container 23:24:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:24:33 $ docker top bc33cbc143dbc52ceef3e6303b0f1df62e4f95766e0e92de51bee1f3edc1bff5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:24:34 + go version 23:24:34 go version go1.20.2 linux/arm64 [Pipeline] } 23:24:34 $ docker stop --time=1 bc33cbc143dbc52ceef3e6303b0f1df62e4f95766e0e92de51bee1f3edc1bff5 23:24:36 $ docker rm -f --volumes bc33cbc143dbc52ceef3e6303b0f1df62e4f95766e0e92de51bee1f3edc1bff5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:37 + docker inspect -f . ci-base-image-arm64 23:24:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:24:37 prd-ubuntu20.04-docker-arm64-4c-16g-16812 does not seem to be running inside a container 23:24:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:24:38 $ docker top 3292f503a91c683b59de3a5da91a24192e6acf6e73cd59953b5b40883edeeacf -eo pid,comm [Pipeline] { [Pipeline] sh 23:24:39 + git config --global --add safe.directory /w/workspace/device-mqtt-go/4 [Pipeline] fileExists [Pipeline] sh 23:24:39 + make test 23:24:39 go test ./... -coverprofile=coverage.out ./... 23:25:18 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:27:55 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:27:55 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:27:55 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.089s coverage: 22.8% of statements 23:27:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:27:55 go vet ./... 23:28:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:28:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:28:22 ./bin/test-attribution-txt.sh [Pipeline] echo 23:28:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:28:22 $ docker stop --time=1 3292f503a91c683b59de3a5da91a24192e6acf6e73cd59953b5b40883edeeacf 23:28:24 $ docker rm -f --volumes 3292f503a91c683b59de3a5da91a24192e6acf6e73cd59953b5b40883edeeacf [Pipeline] // withDockerContainer [Pipeline] sh 23:28:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:28:25 Warning: overwriting stash ‘coverage-report’ 23:28:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:28:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:28:26 + ls -al . 23:28:26 total 180 23:28:26 drwxrwxr-x 9 jenkins jenkins 4096 May 24 23:24 . 23:28:26 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:22 .. 23:28:26 -rw-rw-r-- 1 jenkins jenkins 140 May 24 23:22 .dockerignore 23:28:26 drwxrwxr-x 8 jenkins jenkins 4096 May 24 23:22 .git 23:28:26 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:22 .github 23:28:26 -rw-rw-r-- 1 jenkins jenkins 329 May 24 23:22 .gitignore 23:28:26 -rw-rw-r-- 1 jenkins jenkins 41 May 24 23:22 .golangci.yml 23:28:26 -rw-rw-r-- 1 jenkins jenkins 9417 May 24 23:22 Attribution.txt 23:28:26 -rw-rw-r-- 1 jenkins jenkins 17522 May 24 23:22 CHANGELOG.md 23:28:26 -rw-rw-r-- 1 jenkins jenkins 1689 May 24 23:22 Dockerfile 23:28:26 -rw-rw-r-- 1 jenkins jenkins 677 May 24 23:22 GOVERNANCE.md 23:28:26 -rw-rw-r-- 1 jenkins jenkins 678 May 24 23:22 Jenkinsfile 23:28:26 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 23:22 LICENSE 23:28:26 -rw-rw-r-- 1 jenkins jenkins 1732 May 24 23:22 Makefile 23:28:26 -rw-rw-r-- 1 jenkins jenkins 620 May 24 23:22 OWNERS.md 23:28:26 -rw-rw-r-- 1 jenkins jenkins 3165 May 24 23:22 README.md 23:28:26 -rw-rw-r-- 1 jenkins jenkins 5 May 24 23:18 VERSION 23:28:26 drwxrwxr-x 2 jenkins jenkins 4096 May 24 23:22 bin 23:28:26 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:22 cmd 23:28:26 -rw-r--r-- 1 jenkins jenkins 18506 May 24 23:27 coverage.out 23:28:26 -rw-rw-r-- 1 jenkins jenkins 3333 May 24 23:22 go.mod 23:28:26 -rw-rw-r-- 1 jenkins jenkins 31418 May 24 23:22 go.sum 23:28:26 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:22 internal 23:28:26 drwxrwxr-x 2 jenkins jenkins 4096 May 24 23:22 mock 23:28:26 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:22 snap 23:28:26 -rw-rw-r-- 1 jenkins jenkins 227 May 24 23:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:27 + 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=b7a1038b9e7974945a82136e0dfbc58be103500e --label arch=arm64 --label version=0.0.0 . 23:28:27 Sending build context to Docker daemon 3.453MB 23:28:27 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:28:27 Step 2/24 : FROM ${BASE} AS builder 23:28:27 ---> 00b49bdf9c1c 23:28:27 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:28:28 ---> Running in 5b20c01dc811 23:28:28 Removing intermediate container 5b20c01dc811 23:28:28 ---> 5ae61c960d03 23:28:28 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:28:28 ---> Running in 537f7f02a837 23:28:29 Removing intermediate container 537f7f02a837 23:28:29 ---> 372a820be76e 23:28:29 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:28:29 ---> Running in ab2c1c1d52ae 23:28:29 Removing intermediate container ab2c1c1d52ae 23:28:29 ---> 9e68a0c67933 23:28:29 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:28:29 ---> Running in 2fdab52a1454 23:28:29 Removing intermediate container 2fdab52a1454 23:28:29 ---> 35c05deea3ef 23:28:29 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:28:29 ---> Running in debf07b19c3a 23:28:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:28:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:28:33 OK: 268 MiB in 57 packages 23:28:33 Removing intermediate container debf07b19c3a 23:28:33 ---> c945581c12f2 23:28:33 Step 8/24 : WORKDIR /device-mqtt-go 23:28:33 ---> Running in 8c788f919726 23:28:34 Removing intermediate container 8c788f919726 23:28:34 ---> 3139f0e52e4b 23:28:34 Step 9/24 : COPY go.mod vendor* ./ 23:28:35 ---> 584754abff2b 23:28:35 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:28:35 ---> Running in c471e5f2eea9 23:28:37 Removing intermediate container c471e5f2eea9 23:28:37 ---> f88ad6ff95d1 23:28:37 Step 11/24 : COPY . . 23:28:39 ---> 5026ee20e9f7 23:28:39 Step 12/24 : RUN $MAKE 23:28:39 ---> Running in 0cce36bde22b 23:28:40 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:31:19 Removing intermediate container 0cce36bde22b 23:31:19 ---> c33178b2743e 23:31:19 Step 13/24 : FROM alpine:3.17 23:31:19 3.17: Pulling from library/alpine 23:31:19 c41833b44d91: Already exists 23:31:19 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:31:19 Status: Downloaded newer image for alpine:3.17 23:31:19 ---> 51e60588ff2c 23:31:19 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:31:19 ---> Running in dd9214d2e987 23:31:19 Removing intermediate container dd9214d2e987 23:31:19 ---> e10cfb7212b6 23:31:19 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:31:19 ---> Running in 67cca6c9c2a2 23:31:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:31:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:31:19 (1/1) Installing dumb-init (1.2.5-r2) 23:31:19 Executing busybox-1.35.0-r29.trigger 23:31:19 OK: 8 MiB in 16 packages 23:31:19 Removing intermediate container 67cca6c9c2a2 23:31:19 ---> 953cdc6e0d47 23:31:19 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:31:19 ---> 2baa7da39192 23:31:19 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:31:19 ---> 37802b5ab68f 23:31:19 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:31:19 ---> 887cd2e11197 23:31:19 Step 19/24 : EXPOSE 59982 23:31:19 ---> Running in b2263c7f42d8 23:31:19 Removing intermediate container b2263c7f42d8 23:31:19 ---> de6d15d24ae2 23:31:19 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:31:19 ---> Running in bd7f053a2862 23:31:20 Removing intermediate container bd7f053a2862 23:31:20 ---> 250715fc2428 23:31:20 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:31:20 ---> Running in 6f2896da6e8e 23:31:20 Removing intermediate container 6f2896da6e8e 23:31:20 ---> a3e478bec5a4 23:31:20 Step 22/24 : LABEL arch=arm64 23:31:20 ---> Running in 6a6369177c9c 23:31:21 Removing intermediate container 6a6369177c9c 23:31:21 ---> 99b41ca3214a 23:31:21 Step 23/24 : LABEL git_sha=b7a1038b9e7974945a82136e0dfbc58be103500e 23:31:21 ---> Running in 23c3b22d5733 23:31:21 Removing intermediate container 23c3b22d5733 23:31:21 ---> 59bc69bf2902 23:31:21 Step 24/24 : LABEL version=0.0.0 23:31:21 ---> Running in 2e5d3ae678ef 23:31:22 Removing intermediate container 2e5d3ae678ef 23:31:22 ---> d5bc88096017 23:31:22 [Warning] One or more build-args [ARCH] were not consumed 23:31:22 Successfully built d5bc88096017 23:31:22 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:31:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:31:22 23:31:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:31:23 arm64: Pulling from edgex-lftools-log-publisher 23:31:23 8998bd30e6a1: Pulling fs layer 23:31:23 04944245beec: Pulling fs layer 23:31:23 699f458cf7ca: Pulling fs layer 23:31:23 765212b225bb: Pulling fs layer 23:31:23 f23df028b6ca: Pulling fs layer 23:31:23 d65c8cfc05b1: Pulling fs layer 23:31:23 2437ff75d9bd: Pulling fs layer 23:31:23 f23df028b6ca: Waiting 23:31:23 d65c8cfc05b1: Waiting 23:31:23 2437ff75d9bd: Waiting 23:31:23 765212b225bb: Waiting 23:31:23 04944245beec: Verifying Checksum 23:31:23 04944245beec: Download complete 23:31:23 765212b225bb: Download complete 23:31:23 f23df028b6ca: Download complete 23:31:23 d65c8cfc05b1: Verifying Checksum 23:31:23 d65c8cfc05b1: Download complete 23:31:23 699f458cf7ca: Verifying Checksum 23:31:23 699f458cf7ca: Download complete 23:31:23 8998bd30e6a1: Verifying Checksum 23:31:23 8998bd30e6a1: Download complete 23:31:26 2437ff75d9bd: Download complete 23:31:28 8998bd30e6a1: Pull complete 23:31:28 04944245beec: Pull complete 23:31:30 699f458cf7ca: Pull complete 23:31:30 765212b225bb: Pull complete 23:31:31 f23df028b6ca: Pull complete 23:31:31 d65c8cfc05b1: Pull complete 23:31:46 2437ff75d9bd: Pull complete 23:31:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:31:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:31:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:31:46 prd-ubuntu20.04-docker-arm64-4c-16g-16812 does not seem to be running inside a container 23:31:46 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:31:49 $ docker top cd474b52b390191d8e6302dbef245a9e9c5cde4ef8bb66fb585e93bb1d0b2d83 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:31:50 ---> job-cost.sh 23:31:50 lf-activate-venv: SKIPPING 23:31:50 INFO: No Stack... 23:31:51 INFO: Retrieving Pricing Info for: v3-standard-4 23:31:51 INFO: Archiving Costs [Pipeline] sh 23:31:52 + cat /w/workspace/device-mqtt-go/4/archives/cost.csv 23:31:52 + cut -d, -f6 [Pipeline] lock 23:31:52 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-606-4-stack-cost] 23:31:52 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-606-4-stack-cost] did not exist. Created. 23:31:52 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-606-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:31:53 /w/workspace/device-mqtt-go/4@tmp/durable-4ff2d493/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:31:53 + echo total: 0.10999999940395355 [Pipeline] stash 23:31:53 Warning: overwriting stash ‘stack-cost’ 23:31:53 Stashed 1 file(s) [Pipeline] } 23:31:54 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-606-4-stack-cost] [Pipeline] // lock [Pipeline] } 23:31:54 $ docker stop --time=1 cd474b52b390191d8e6302dbef245a9e9c5cde4ef8bb66fb585e93bb1d0b2d83 23:31:55 $ docker rm -f --volumes cd474b52b390191d8e6302dbef245a9e9c5cde4ef8bb66fb585e93bb1d0b2d83 [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:31:56 provisioning config files... 23:31:56 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/config2530003118888451050tmp [Pipeline] { [Pipeline] sh 23:31:56 + set +x 23:31:56 + curl -s https://codecov.io/bash 23:31:56 + bash -s -- 23:31:56 23:31:56 _____ _ 23:31:56 / ____| | | 23:31:56 | | ___ __| | ___ ___ _____ __ 23:31:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:31:56 | |___| (_) | (_| | __/ (_| (_) \ V / 23:31:56 \_____\___/ \__,_|\___|\___\___/ \_/ 23:31:56 Bash-1.0.6 23:31:56 23:31:56 23:31:56 ==> git version 2.25.1 found 23:31:56 ==> 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:31:56 Release-Date: 2020-01-08 23:31:56 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:31:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:31:56 ==> Jenkins CI detected. 23:31:56 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-606 23:31:56 project root: . 23:31:56 --> token set from env 23:31:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:31:56 ==> Running gcov in . (disable via -X gcov) 23:31:56 ==> Python coveragepy not found 23:31:56 ==> Searching for coverage reports in: 23:31:56 + . 23:31:56 -> Found 1 reports 23:31:56 ==> Detecting git/mercurial file structure 23:31:56 ==> Reading reports 23:31:56 + ./coverage.out bytes=18506 23:31:56 ==> Appending adjustments 23:31:56 https://docs.codecov.io/docs/fixing-reports 23:31:56 + Found adjustments 23:31:56 ==> Gzipping contents 23:31:56 4.0K /tmp/codecov.JevLCq.gz 23:31:56 ==> Uploading reports 23:31:56 url: https://codecov.io 23:31:56 query: branch=PR-606&commit=54e214948310647636b57a21625dfc598dc11e2c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-606%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=606&job=&cmd_args= 23:31:56 -> Pinging Codecov 23:31:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-606&commit=54e214948310647636b57a21625dfc598dc11e2c&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-606%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=606&job=&cmd_args= 23:31:56 -> Uploading to 23:31:56 https://storage.googleapis.com/codecov/v4/raw/2023-05-24/7D719EC7BBE17E464838252E33014C33/54e214948310647636b57a21625dfc598dc11e2c/0731e05a-8fc1-4059-9fd6-4d10ebe74a52.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230524T233156Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eef89f425b77bea6e1377c2f0ce4aa13cf38d28dc6fa4c8d2a9a8b2890bffa4a 23:31:56 % Total % Received % Xferd Average Speed Time Time Time Current 23:31:56 Dload Upload Total Spent Left Speed 23:31:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 16678 --:--:-- --:--:-- --:--:-- 16592 100 3219 0 0 100 3219 0 16678 --:--:-- --:--:-- --:--:-- 16592 23:31:56 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/54e214948310647636b57a21625dfc598dc11e2c [Pipeline] } 23:31:56 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:31:57 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives ] 23:31:57 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives 23:31:57 total 16 23:31:57 drwxr-xr-x 3 root root 4096 May 24 23:21 . 23:31:57 drwxrwxr-x 11 jenkins jenkins 4096 May 24 23:21 .. 23:31:57 drwxr-xr-x 2 root root 4096 May 24 23:21 cost 23:31:57 -rw-r--r-- 1 root root 86 May 24 23:21 cost.csv 23:31:57 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives 23:31:57 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives 23:31:57 total 16 23:31:57 drwxr-xr-x 3 jenkins jenkins 4096 May 24 23:21 . 23:31:57 drwxrwxr-x 11 jenkins jenkins 4096 May 24 23:21 .. 23:31:57 drwxr-xr-x 2 jenkins jenkins 4096 May 24 23:21 cost 23:31:57 -rw-r--r-- 1 jenkins jenkins 86 May 24 23:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:31:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:31:58 ---> package-listing.sh 23:31:58 ++ facter osfamily 23:31:58 ++ tr '[:upper:]' '[:lower:]' 23:31:58 + OS_FAMILY=debian 23:31:58 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-606 23:31:58 + START_PACKAGES=/tmp/packages_start.txt 23:31:58 + END_PACKAGES=/tmp/packages_end.txt 23:31:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:31:58 + PACKAGES=/tmp/packages_start.txt 23:31:58 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-606 ']' 23:31:58 + PACKAGES=/tmp/packages_end.txt 23:31:58 + case "${OS_FAMILY}" in 23:31:58 + dpkg -l 23:31:58 + grep '^ii' 23:31:58 + '[' -f /tmp/packages_start.txt ']' 23:31:58 + '[' -f /tmp/packages_end.txt ']' 23:31:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:31:58 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-606 ']' 23:31:58 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives/ 23:31:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives/ [Pipeline] echo 23:31:58 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-606/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:31:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:31:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:31:59 prd-ubuntu20.04-docker-8c-8g-16807 does not seem to be running inside a container 23:31:59 $ 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-606/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-606 -v /w/workspace/gexfoundry_device-mqtt-go_PR-606:/w/workspace/gexfoundry_device-mqtt-go_PR-606:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-606@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:32:00 $ docker top 025664cff4576867ac85fab401dbb1c76f244a8e27c88d272b1b6ed2f79da482 -eo pid,comm [Pipeline] { [Pipeline] sh 23:32:00 + touch /tmp/pre-build-complete [Pipeline] sh 23:32:00 + mkdir -p /var/log/sysstat [Pipeline] sh 23:32:00 + ls /var/log/sa-host 23:32:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:32:01 provisioning config files... 23:32:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/config16246350352316266588tmp [Pipeline] { [Pipeline] echo 23:32:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:32:01 ---> create-netrc.sh [Pipeline] } 23:32:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:32:01 ---> python-tools-install.sh [Pipeline] echo 23:32:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:32:01 ---> sudo-logs.sh 23:32:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:32:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:32:02 ---> job-cost.sh 23:32:02 lf-activate-venv: SKIPPING 23:32:02 DEBUG: total: 0.2199999988079071 23:32:02 INFO: Retrieving Stack Cost... 23:32:02 INFO: Retrieving Pricing Info for: v3-standard-8 23:32:03 INFO: Archiving Costs [Pipeline] echo 23:32:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:32:03 ---> logs-deploy.sh 23:32:03 lf-activate-venv: SKIPPING 23:32:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-606/4 23:32:03 INFO: archiving workspace using pattern(s): 23:32:04 Archives upload complete. 23:32:04 INFO: archiving logs to Nexus