jumpingliu commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jumpingliu for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 019c60404bb83e30963e3ac75b0107041a510748 rather than 192ba532dc39f3162324495d50912f5ab6f0f55f Obtained Jenkinsfile from 019c60404bb83e30963e3ac75b0107041a510748 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-ssh4887073331981151106.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-ssh8515774983001360560.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-611/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-611/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7179943930676474929.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-ssh10378451783846266144.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-611/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-611/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5560860345420414047.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-17018’ is offline Running on prd-ubuntu20.04-docker-8c-8g-17021 in /w/workspace/gexfoundry_device-mqtt-go_PR-611 [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-611 # 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/611/head:refs/remotes/origin/PR-611 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 019c60404bb83e30963e3ac75b0107041a510748 into PR head commit 192ba532dc39f3162324495d50912f5ab6f0f55f Merge succeeded, producing 192ba532dc39f3162324495d50912f5ab6f0f55f Checking out Revision 192ba532dc39f3162324495d50912f5ab6f0f55f (PR-611) > git config core.sparsecheckout # timeout=10 > git checkout -f 192ba532dc39f3162324495d50912f5ab6f0f55f # 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 019c60404bb83e30963e3ac75b0107041a510748 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 192ba532dc39f3162324495d50912f5ab6f0f55f # timeout=10 Commit message: "fix: Replace slack chat with github discussion" > git rev-list --no-walk 192ba532dc39f3162324495d50912f5ab6f0f55f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:54:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:54:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:54:27 ========================================================= 07:54:27 EdgeX Global Pipelines Version Info 07:54:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:54:28 ------------------- 07:54:28 stable info: 07:54:28 ------------------- 07:54:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:54:28 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 07:54:28 Message: update stable to v1.0.249 07:54:28 ------------------- 07:54:28 experimental info: 07:54:28 ------------------- 07:54:28 Commited By: **** collab-it+edgex@linuxfoundation.org 07:54:28 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 07:54:28 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:54:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 07:54:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 07:54:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:54:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:54:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:54:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:54:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 07:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:54:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:54:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:54:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:54:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:54:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:54:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:54:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:54:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:54:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:54:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:54:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:54:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:54:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:54:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:54:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-611 [Pipeline] echo 07:54:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-611 [Pipeline] echo 07:54:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-611 [Pipeline] echo 07:54:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 192ba532dc39f3162324495d50912f5ab6f0f55f [Pipeline] echo 07:54:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 192ba53 [Pipeline] echo 07:54:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:54:29 provisioning config files... 07:54:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp/config4247438217716639195tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:54:29 ---> docker-login.sh 07:54:29 nexus3.edgexfoundry.org:10001 07:54:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:54:29 Configure a credential helper to remove this warning. See 07:54:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:54:29 07:54:29 Login Succeeded 07:54:29 nexus3.edgexfoundry.org:10002 07:54:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:54:30 Configure a credential helper to remove this warning. See 07:54:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:54:30 07:54:30 Login Succeeded 07:54:30 nexus3.edgexfoundry.org:10003 07:54:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:54:30 Configure a credential helper to remove this warning. See 07:54:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:54:30 07:54:30 Login Succeeded 07:54:30 nexus3.edgexfoundry.org:10004 07:54:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:54:30 Configure a credential helper to remove this warning. See 07:54:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:54:30 07:54:30 Login Succeeded 07:54:30 docker.io 07:54:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:54:30 Configure a credential helper to remove this warning. See 07:54:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:54:30 07:54:30 Login Succeeded 07:54:30 ---> docker-login.sh ends [Pipeline] } 07:54:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:54:31 + git rev-list -1 --merges 192ba532dc39f3162324495d50912f5ab6f0f55f~1..192ba532dc39f3162324495d50912f5ab6f0f55f [Pipeline] echo 07:54:31 -----------> git rev-list -1 --merges 192ba532dc39f3162324495d50912f5ab6f0f55f~1..192ba532dc39f3162324495d50912f5ab6f0f55f 192ba532dc39f3162324495d50912f5ab6f0f55f [false] [Pipeline] sh 07:54:31 + git log --format=format:%s -1 192ba532dc39f3162324495d50912f5ab6f0f55f [Pipeline] echo 07:54:31 ========================================================= 07:54:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:54:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:54:31 + git log --format=format:%s -1 192ba532dc39f3162324495d50912f5ab6f0f55f [Pipeline] echo 07:54:31 [semverPrep] GIT_COMMIT: 192ba532dc39f3162324495d50912f5ab6f0f55f, Commit Message: fix: Replace slack chat with github discussion [Pipeline] echo 07:54:31 [semverPrep] This is not a build commit. [Pipeline] sh 07:54:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:54:32 + grep -v github /etc/ssh/ssh_known_hosts 07:54:32 + [ -e /tmp/ssh_known_hosts ] 07:54:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:54:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:54:32 + sudo tee -a /etc/ssh/ssh_known_hosts 07:54:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:54:32 07:54:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:54:32 0.1.4: Pulling from edgex-devops/py-git-semver 07:54:32 b85a868b505f: Pulling fs layer 07:54:32 e2be974225ed: Pulling fs layer 07:54:32 339a4e72a1f5: Pulling fs layer 07:54:32 988bab9f4d93: Pulling fs layer 07:54:32 1469e6f7b9e6: Pulling fs layer 07:54:32 eaf3925da568: Pulling fs layer 07:54:32 bab4dde63d76: Pulling fs layer 07:54:32 bde34c3a00c8: Pulling fs layer 07:54:32 b352a97aabf1: Pulling fs layer 07:54:32 4872d77fe225: Pulling fs layer 07:54:32 988bab9f4d93: Waiting 07:54:32 1469e6f7b9e6: Waiting 07:54:32 eaf3925da568: Waiting 07:54:32 bab4dde63d76: Waiting 07:54:32 b352a97aabf1: Waiting 07:54:32 5851b861e8e6: Pulling fs layer 07:54:32 bde34c3a00c8: Waiting 07:54:32 e2be974225ed: Verifying Checksum 07:54:32 e2be974225ed: Download complete 07:54:32 988bab9f4d93: Verifying Checksum 07:54:32 988bab9f4d93: Download complete 07:54:33 1469e6f7b9e6: Verifying Checksum 07:54:33 1469e6f7b9e6: Download complete 07:54:33 eaf3925da568: Verifying Checksum 07:54:33 eaf3925da568: Download complete 07:54:33 339a4e72a1f5: Verifying Checksum 07:54:33 339a4e72a1f5: Download complete 07:54:33 bde34c3a00c8: Download complete 07:54:33 b352a97aabf1: Download complete 07:54:33 4872d77fe225: Download complete 07:54:33 5851b861e8e6: Download complete 07:54:33 b85a868b505f: Verifying Checksum 07:54:33 b85a868b505f: Download complete 07:54:33 bab4dde63d76: Verifying Checksum 07:54:33 bab4dde63d76: Download complete 07:54:34 b85a868b505f: Pull complete 07:54:34 e2be974225ed: Pull complete 07:54:35 339a4e72a1f5: Pull complete 07:54:35 988bab9f4d93: Pull complete 07:54:35 1469e6f7b9e6: Pull complete 07:54:35 eaf3925da568: Pull complete 07:54:37 bab4dde63d76: Pull complete 07:54:37 bde34c3a00c8: Pull complete 07:54:37 b352a97aabf1: Pull complete 07:54:37 4872d77fe225: Pull complete 07:54:38 5851b861e8e6: Pull complete 07:54:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:54:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:54:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:54:38 prd-ubuntu20.04-docker-8c-8g-17021 does not seem to be running inside a container 07:54:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-611 -v /w/workspace/gexfoundry_device-mqtt-go_PR-611:/w/workspace/gexfoundry_device-mqtt-go_PR-611:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:54:41 $ docker top 9b0287d31d57b0755513b5d9d346defa62afe204a78346b9a1a2690a05da5ffe -eo pid,comm 07:54:42 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). 07:54:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:54:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:54:42 [ssh-agent] Looking for ssh-agent implementation... 07:54:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:54:42 $ docker exec 9b0287d31d57b0755513b5d9d346defa62afe204a78346b9a1a2690a05da5ffe ssh-agent 07:54:42 SSH_AUTH_SOCK=/tmp/ssh-wEQkwVXBcvnB/agent.32 07:54:42 SSH_AGENT_PID=38 07:54:42 Running ssh-add (command line suppressed) 07:54:42 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp/private_key_10416184201151075413.key (/w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp/private_key_10416184201151075413.key) 07:54:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:54:42 + git tag --points-at HEAD [Pipeline] } 07:54:42 $ docker exec --env ******** --env ******** 9b0287d31d57b0755513b5d9d346defa62afe204a78346b9a1a2690a05da5ffe ssh-agent -k 07:54:42 unset SSH_AUTH_SOCK; 07:54:42 unset SSH_AGENT_PID; 07:54:42 echo Agent pid 38 killed; 07:54:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:54:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:54:42 [ssh-agent] Looking for ssh-agent implementation... 07:54:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:54:43 $ docker exec 9b0287d31d57b0755513b5d9d346defa62afe204a78346b9a1a2690a05da5ffe ssh-agent 07:54:43 SSH_AUTH_SOCK=/tmp/ssh-Hq9Vw1NKjNVa/agent.70 07:54:43 SSH_AGENT_PID=76 07:54:43 Running ssh-add (command line suppressed) 07:54:43 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp/private_key_15337939205246841988.key (/w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp/private_key_15337939205246841988.key) 07:54:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:54:43 + git semver init 07:54:43 2023-05-26 07:54:43,711 [run_init] DEBUG init version:0.0.0 force:False 07:54:43 2023-05-26 07:54:43,712 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-611/.semver 07:54:43 2023-05-26 07:54:43,713 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-611/.semver 07:54:43 2023-05-26 07:54:43,713 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-611/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-611, universal_newlines=False, shell=None, istream=None) 07:54:44 2023-05-26 07:54:44,494 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-611/.git/info/exclude 07:54:44 2023-05-26 07:54:44,494 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-611/.semver/PR-611 with force:False 07:54:44 2023-05-26 07:54:44,494 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-611/.semver/PR-611 07:54:44 2023-05-26 07:54:44,499 [execute] INFO git cat-file --batch-check 07:54:44 2023-05-26 07:54:44,500 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-611/.semver, universal_newlines=False, shell=None, istream=) 07:54:44 2023-05-26 07:54:44,507 [execute] INFO git cat-file --batch 07:54:44 2023-05-26 07:54:44,507 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-611/.semver, universal_newlines=False, shell=None, istream=) 07:54:44 2023-05-26 07:54:44,513 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-611/.semver/PR-611 07:54:44 0.0.0 [Pipeline] } 07:54:44 $ docker exec --env ******** --env ******** 9b0287d31d57b0755513b5d9d346defa62afe204a78346b9a1a2690a05da5ffe ssh-agent -k 07:54:44 unset SSH_AUTH_SOCK; 07:54:44 unset SSH_AGENT_PID; 07:54:44 echo Agent pid 76 killed; 07:54:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:54:45 + git semver [Pipeline] } 07:54:45 $ docker stop --time=1 9b0287d31d57b0755513b5d9d346defa62afe204a78346b9a1a2690a05da5ffe 07:54:46 $ docker rm -f --volumes 9b0287d31d57b0755513b5d9d346defa62afe204a78346b9a1a2690a05da5ffe [Pipeline] // withDockerContainer [Pipeline] sh 07:54:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:54:47 Stashed 1 file(s) [Pipeline] echo 07:54:47 [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 07:54:47 provisioning config files... 07:54:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp/config3010151578060362641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:54:47 ---> docker-login.sh 07:54:47 nexus3.edgexfoundry.org:10001 07:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:54:47 Configure a credential helper to remove this warning. See 07:54:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:54:47 07:54:47 Login Succeeded 07:54:47 nexus3.edgexfoundry.org:10002 07:54:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:54:47 Configure a credential helper to remove this warning. See 07:54:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:54:47 07:54:47 Login Succeeded 07:54:47 nexus3.edgexfoundry.org:10003 07:54:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:54:48 Configure a credential helper to remove this warning. See 07:54:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:54:48 07:54:48 Login Succeeded 07:54:48 nexus3.edgexfoundry.org:10004 07:54:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:54:48 Configure a credential helper to remove this warning. See 07:54:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:54:48 07:54:48 Login Succeeded 07:54:48 docker.io 07:54:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:54:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:54:48 Configure a credential helper to remove this warning. See 07:54:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:54:48 07:54:48 Login Succeeded 07:54:48 ---> docker-login.sh ends [Pipeline] } 07:54:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:54:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:54:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:54:48 ========================================================= 07:54:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:54:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:54:48 + 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 . 07:54:48 Sending build context to Docker daemon 6.619MB 07:54:48 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:54:48 Step 2/12 : FROM ${BASE} AS builder 07:54:48 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:54:48 f56be85fc22e: Pulling fs layer 07:54:48 85791d961cd3: Pulling fs layer 07:54:48 d694b5ae8c79: Pulling fs layer 07:54:48 9f32a84ed3da: Pulling fs layer 07:54:48 4d19c01a9841: Pulling fs layer 07:54:48 9325e15d5711: Pulling fs layer 07:54:48 556b6ee489ea: Pulling fs layer 07:54:48 c5a4b2cf53e6: Pulling fs layer 07:54:48 9f32a84ed3da: Waiting 07:54:48 4d19c01a9841: Waiting 07:54:48 9325e15d5711: Waiting 07:54:48 556b6ee489ea: Waiting 07:54:48 c5a4b2cf53e6: Waiting 07:54:48 85791d961cd3: Verifying Checksum 07:54:48 85791d961cd3: Download complete 07:54:49 9f32a84ed3da: Verifying Checksum 07:54:49 9f32a84ed3da: Download complete 07:54:49 4d19c01a9841: Verifying Checksum 07:54:49 4d19c01a9841: Download complete 07:54:49 f56be85fc22e: Verifying Checksum 07:54:49 f56be85fc22e: Download complete 07:54:49 9325e15d5711: Verifying Checksum 07:54:49 9325e15d5711: Download complete 07:54:49 f56be85fc22e: Pull complete 07:54:49 85791d961cd3: Pull complete 07:54:49 c5a4b2cf53e6: Verifying Checksum 07:54:49 c5a4b2cf53e6: Download complete 07:54:49 d694b5ae8c79: Download complete 07:54:50 556b6ee489ea: Verifying Checksum 07:54:50 556b6ee489ea: Download complete 07:54:53 d694b5ae8c79: Pull complete 07:54:53 9f32a84ed3da: Pull complete 07:54:53 4d19c01a9841: Pull complete 07:54:53 9325e15d5711: Pull complete 07:54:56 556b6ee489ea: Pull complete 07:54:57 c5a4b2cf53e6: Pull complete 07:54:57 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 07:54:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:54:57 ---> c4be618373d6 07:54:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:55:02 Still waiting to schedule task 07:55:02 ‘prd-ubuntu20.04-docker-arm64-4c-16g-17019’ is offline 07:55:03 ---> Running in 4c68396459e0 07:55:03 Removing intermediate container 4c68396459e0 07:55:03 ---> dc9d31000bf9 07:55:03 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:55:03 ---> Running in 33c872a143ea 07:55:03 Removing intermediate container 33c872a143ea 07:55:03 ---> 8f7295f9a48d 07:55:03 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:55:03 ---> Running in da8d8467faab 07:55:03 Removing intermediate container da8d8467faab 07:55:03 ---> bdd70f09b7e4 07:55:03 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:55:03 ---> Running in f56afe11466e 07:55:03 Removing intermediate container f56afe11466e 07:55:03 ---> d6d09de8023d 07:55:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:55:03 ---> Running in 555d80cadcdb 07:55:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:55:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:55:03 (1/4) Installing openssh-keygen (9.1_p1-r3) 07:55:03 (2/4) Installing libedit (20221030.3.1-r0) 07:55:03 (3/4) Installing openssh-client-common (9.1_p1-r3) 07:55:03 (4/4) Installing openssh-client-default (9.1_p1-r3) 07:55:03 Executing busybox-1.35.0-r29.trigger 07:55:03 OK: 269 MiB in 57 packages 07:55:04 Removing intermediate container 555d80cadcdb 07:55:04 ---> f7ba2a591e9f 07:55:04 Step 8/12 : WORKDIR /device-mqtt-go 07:55:04 ---> Running in 424032babc2c 07:55:04 Removing intermediate container 424032babc2c 07:55:04 ---> f242dcba2e87 07:55:04 Step 9/12 : COPY go.mod vendor* ./ 07:55:04 ---> ab0be69b2276 07:55:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:55:04 ---> Running in 7c53e3fa22d0 07:55:43 Removing intermediate container 7c53e3fa22d0 07:55:43 ---> 44dc97107e66 07:55:43 Step 11/12 : COPY . . 07:55:43 ---> ac1afacd1fe3 07:55:43 Step 12/12 : RUN $MAKE 07:55:43 ---> Running in ff8ac9e055cf 07:55:43 noop 07:55:43 Removing intermediate container ff8ac9e055cf 07:55:43 ---> b145317b7fca 07:55:43 Successfully built b145317b7fca 07:55:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:43 + docker inspect -f . ci-base-image-x86_64 07:55:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:55:43 prd-ubuntu20.04-docker-8c-8g-17021 does not seem to be running inside a container 07:55:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-611 -v /w/workspace/gexfoundry_device-mqtt-go_PR-611:/w/workspace/gexfoundry_device-mqtt-go_PR-611:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:55:44 $ docker top 48db3ce74f3f7ae4c1929804b524e3ac2f57bce8fc37aa53e64fbac475588b21 -eo pid,comm [Pipeline] { [Pipeline] sh 07:55:44 + go version 07:55:44 go version go1.20.2 linux/amd64 [Pipeline] } 07:55:44 $ docker stop --time=1 48db3ce74f3f7ae4c1929804b524e3ac2f57bce8fc37aa53e64fbac475588b21 07:55:45 $ docker rm -f --volumes 48db3ce74f3f7ae4c1929804b524e3ac2f57bce8fc37aa53e64fbac475588b21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:55:46 + docker inspect -f . ci-base-image-x86_64 07:55:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:55:46 prd-ubuntu20.04-docker-8c-8g-17021 does not seem to be running inside a container 07:55:46 $ 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-611 -v /w/workspace/gexfoundry_device-mqtt-go_PR-611:/w/workspace/gexfoundry_device-mqtt-go_PR-611:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:55:46 $ docker top 8ddefcc56abf5f82b528a10215f5f2e08e0052613ab327b04786d36900c87f89 -eo pid,comm [Pipeline] { [Pipeline] sh 07:55:46 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-611 [Pipeline] fileExists [Pipeline] sh 07:55:47 + make test 07:55:47 go test ./... -coverprofile=coverage.out ./... 07:55:52 ? github.com/edgexfoundry/device-mqtt-go [no test files] 07:56:02 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 07:56:02 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 07:56:02 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements 07:56:08 go vet ./... 07:56:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:56:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:56:12 ./bin/test-attribution-txt.sh [Pipeline] echo 07:56:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:56:12 $ docker stop --time=1 8ddefcc56abf5f82b528a10215f5f2e08e0052613ab327b04786d36900c87f89 07:56:15 $ docker rm -f --volumes 8ddefcc56abf5f82b528a10215f5f2e08e0052613ab327b04786d36900c87f89 [Pipeline] // withDockerContainer [Pipeline] sh 07:56:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:56:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:56:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:56:16 + ls -al . 07:56:16 total 184 07:56:16 drwxrwxr-x 10 jenkins jenkins 4096 May 26 07:55 . 07:56:16 drwxrwxr-x 4 jenkins jenkins 4096 May 26 07:54 .. 07:56:16 -rw-rw-r-- 1 jenkins jenkins 140 May 26 07:54 .dockerignore 07:56:16 drwxrwxr-x 8 jenkins jenkins 4096 May 26 07:54 .git 07:56:16 drwxrwxr-x 3 jenkins jenkins 4096 May 26 07:54 .github 07:56:16 -rw-rw-r-- 1 jenkins jenkins 329 May 26 07:54 .gitignore 07:56:16 -rw-rw-r-- 1 jenkins jenkins 41 May 26 07:54 .golangci.yml 07:56:16 drwxr-xr-x 3 jenkins jenkins 4096 May 26 07:54 .semver 07:56:16 -rw-rw-r-- 1 jenkins jenkins 9417 May 26 07:54 Attribution.txt 07:56:16 -rw-rw-r-- 1 jenkins jenkins 17522 May 26 07:54 CHANGELOG.md 07:56:16 -rw-rw-r-- 1 jenkins jenkins 1689 May 26 07:54 Dockerfile 07:56:16 -rw-rw-r-- 1 jenkins jenkins 677 May 26 07:54 GOVERNANCE.md 07:56:16 -rw-rw-r-- 1 jenkins jenkins 678 May 26 07:54 Jenkinsfile 07:56:16 -rw-rw-r-- 1 jenkins jenkins 11340 May 26 07:54 LICENSE 07:56:16 -rw-rw-r-- 1 jenkins jenkins 1732 May 26 07:54 Makefile 07:56:16 -rw-rw-r-- 1 jenkins jenkins 620 May 26 07:54 OWNERS.md 07:56:16 -rw-rw-r-- 1 jenkins jenkins 3189 May 26 07:54 README.md 07:56:16 -rw-rw-r-- 1 jenkins jenkins 5 May 26 07:54 VERSION 07:56:16 drwxrwxr-x 2 jenkins jenkins 4096 May 26 07:54 bin 07:56:16 drwxrwxr-x 3 jenkins jenkins 4096 May 26 07:54 cmd 07:56:16 -rw-r--r-- 1 jenkins jenkins 18506 May 26 07:56 coverage.out 07:56:16 -rw-rw-r-- 1 jenkins jenkins 3285 May 26 07:54 go.mod 07:56:16 -rw-rw-r-- 1 jenkins jenkins 31232 May 26 07:54 go.sum 07:56:16 drwxrwxr-x 3 jenkins jenkins 4096 May 26 07:54 internal 07:56:16 drwxrwxr-x 2 jenkins jenkins 4096 May 26 07:54 mock 07:56:16 drwxrwxr-x 4 jenkins jenkins 4096 May 26 07:54 snap 07:56:16 -rw-rw-r-- 1 jenkins jenkins 227 May 26 07:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:17 + 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=192ba532dc39f3162324495d50912f5ab6f0f55f --label arch=amd64 --label version=0.0.0 . 07:56:17 Sending build context to Docker daemon 6.638MB 07:56:17 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 07:56:17 Step 2/24 : FROM ${BASE} AS builder 07:56:17 ---> b145317b7fca 07:56:17 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:56:17 ---> Running in 7ae3f94b0301 07:56:17 Removing intermediate container 7ae3f94b0301 07:56:17 ---> a14a0d1a7ddd 07:56:17 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:56:17 ---> Running in 54039bbd72d0 07:56:17 Removing intermediate container 54039bbd72d0 07:56:17 ---> 237ce635c882 07:56:17 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:56:17 ---> Running in 161c2de8bb9d 07:56:17 Removing intermediate container 161c2de8bb9d 07:56:17 ---> 55ff1a249685 07:56:17 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 07:56:17 ---> Running in f947ee73ff45 07:56:17 Removing intermediate container f947ee73ff45 07:56:17 ---> 850dfd81131d 07:56:17 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:56:17 ---> Running in f3c51b0e977c 07:56:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:56:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:56:18 OK: 269 MiB in 57 packages 07:56:18 Removing intermediate container f3c51b0e977c 07:56:18 ---> ebf3edac1883 07:56:18 Step 8/24 : WORKDIR /device-mqtt-go 07:56:18 ---> Running in 4e9cb119eeef 07:56:18 Removing intermediate container 4e9cb119eeef 07:56:18 ---> 4601500161f4 07:56:18 Step 9/24 : COPY go.mod vendor* ./ 07:56:19 ---> 149b93eef0e4 07:56:19 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:56:19 ---> Running in 58d3ed558e9c 07:56:20 Removing intermediate container 58d3ed558e9c 07:56:20 ---> c47ad545a97b 07:56:20 Step 11/24 : COPY . . 07:56:20 ---> 266cb5ccc22b 07:56:20 Step 12/24 : RUN $MAKE 07:56:20 ---> Running in eda9aa95a246 07:56:20 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 07:56:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17022 in /w/workspace/gexfoundry_device-mqtt-go_PR-611 [Pipeline] { [Pipeline] ws 07:56:37 Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout 07:56:37 Selected Git installation does not exist. Using Default 07:56:37 The recommended git tool is: NONE 07:56:42 using credential edgex-jenkins-ssh 07:56:42 Cloning the remote Git repository 07:56:42 Removing intermediate container eda9aa95a246 07:56:42 ---> 1ffe61636ddf 07:56:42 Step 13/24 : FROM alpine:3.17 07:56:42 3.17: Pulling from library/alpine 07:56:42 f56be85fc22e: Already exists 07:56:42 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 07:56:42 Status: Downloaded newer image for alpine:3.17 07:56:42 ---> 9ed4aefc74f6 07:56:42 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 07:56:42 ---> Running in b84dd5f79e0e 07:56:42 Removing intermediate container b84dd5f79e0e 07:56:42 ---> 8f445dbb79a5 07:56:42 Step 15/24 : RUN apk add --update --no-cache dumb-init 07:56:42 ---> Running in 6e7c53d54ae0 07:56:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:56:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:56:42 (1/1) Installing dumb-init (1.2.5-r2) 07:56:42 Executing busybox-1.35.0-r29.trigger 07:56:42 OK: 7 MiB in 16 packages 07:56:43 Removing intermediate container 6e7c53d54ae0 07:56:43 ---> f0c207e7e5fb 07:56:43 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 07:56:42 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 07:56:42 > git init /w/workspace/device-mqtt-go/3 # timeout=10 07:56:42 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 07:56:42 > git --version # timeout=10 07:56:42 > git --version # 'git version 2.25.1' 07:56:42 using GIT_SSH to set credentials SSH Credentials for GitHub 07:56:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:56:44 ---> 6aa79d6c3ae7 07:56:44 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 07:56:44 ---> eeff9b15b57a 07:56:44 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 07:56:44 ---> 2ed9c8f4f702 07:56:44 Step 19/24 : EXPOSE 59982 07:56:44 ---> Running in 1444f0af7677 07:56:44 Removing intermediate container 1444f0af7677 07:56:44 ---> 2560e63abc86 07:56:44 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 07:56:44 ---> Running in 547a1e09a6de 07:56:43 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 07:56:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:56:44 Removing intermediate container 547a1e09a6de 07:56:44 ---> 2f1c2f2a22bd 07:56:44 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:56:44 ---> Running in e6e6ed14b570 07:56:44 Removing intermediate container e6e6ed14b570 07:56:44 ---> e9a002dc7e10 07:56:44 Step 22/24 : LABEL arch=amd64 07:56:44 ---> Running in 6d0d0a340e54 07:56:44 Removing intermediate container 6d0d0a340e54 07:56:44 ---> e4a044c99435 07:56:44 Step 23/24 : LABEL git_sha=192ba532dc39f3162324495d50912f5ab6f0f55f 07:56:44 ---> Running in 514cb001ce6f 07:56:44 Removing intermediate container 514cb001ce6f 07:56:44 ---> 30c33c8c4f01 07:56:44 Step 24/24 : LABEL version=0.0.0 07:56:44 ---> Running in b87a2fad1858 07:56:44 Removing intermediate container b87a2fad1858 07:56:44 ---> 7a4b060796d0 07:56:44 [Warning] One or more build-args [ARCH] were not consumed 07:56:44 Successfully built 7a4b060796d0 07:56:44 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 07:56:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:56:45 07:56:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:56:45 Merging remotes/origin/main commit 019c60404bb83e30963e3ac75b0107041a510748 into PR head commit 192ba532dc39f3162324495d50912f5ab6f0f55f 07:56:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:56:45 latest: Pulling from edgex-lftools-log-publisher 07:56:45 5eb5b503b376: Pulling fs layer 07:56:45 5c69ac0246d0: Pulling fs layer 07:56:45 ec43610c2a17: Pulling fs layer 07:56:45 3a2ae6a8a46f: Pulling fs layer 07:56:45 33b1e0a273af: Pulling fs layer 07:56:45 5d3b04190fa2: Pulling fs layer 07:56:45 2f39f015ded8: Pulling fs layer 07:56:45 3a2ae6a8a46f: Waiting 07:56:45 33b1e0a273af: Waiting 07:56:45 5d3b04190fa2: Waiting 07:56:45 2f39f015ded8: Waiting 07:56:45 5c69ac0246d0: Download complete 07:56:45 3a2ae6a8a46f: Verifying Checksum 07:56:45 3a2ae6a8a46f: Download complete 07:56:45 Merge succeeded, producing 192ba532dc39f3162324495d50912f5ab6f0f55f 07:56:45 Checking out Revision 192ba532dc39f3162324495d50912f5ab6f0f55f (PR-611) 07:56:44 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 07:56:44 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 07:56:44 using GIT_SSH to set credentials SSH Credentials for GitHub 07:56:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/611/head:refs/remotes/origin/PR-611 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:56:45 > git config core.sparsecheckout # timeout=10 07:56:45 > git checkout -f 192ba532dc39f3162324495d50912f5ab6f0f55f # timeout=10 07:56:45 > git remote # timeout=10 07:56:45 > git config --get remote.origin.url # timeout=10 07:56:45 using GIT_SSH to set credentials SSH Credentials for GitHub 07:56:45 > git merge 019c60404bb83e30963e3ac75b0107041a510748 # timeout=10 07:56:45 > git rev-parse HEAD^{commit} # timeout=10 07:56:45 > git config core.sparsecheckout # timeout=10 07:56:45 > git checkout -f 192ba532dc39f3162324495d50912f5ab6f0f55f # timeout=10 07:56:45 33b1e0a273af: Verifying Checksum 07:56:45 33b1e0a273af: Download complete 07:56:45 5d3b04190fa2: Verifying Checksum 07:56:45 5d3b04190fa2: Download complete 07:56:45 ec43610c2a17: Verifying Checksum 07:56:45 ec43610c2a17: Download complete 07:56:45 5eb5b503b376: Verifying Checksum 07:56:45 5eb5b503b376: Download complete 07:56:46 2f39f015ded8: Verifying Checksum 07:56:46 2f39f015ded8: Download complete 07:56:47 5eb5b503b376: Pull complete 07:56:47 5c69ac0246d0: Pull complete 07:56:47 ec43610c2a17: Pull complete 07:56:47 3a2ae6a8a46f: Pull complete 07:56:48 33b1e0a273af: Pull complete 07:56:48 5d3b04190fa2: Pull complete 07:56:49 Commit message: "fix: Replace slack chat with github discussion" 07:56:49 07:56:49 GitHub has been notified of this commit’s build result 07:56:49 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:56:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:56:50 % Total % Received % Xferd Average Speed Time Time Time Current 07:56:50 Dload Upload Total Spent Left Speed 07:56:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99k 0 --:--:-- --:--:-- --:--:-- 99k 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 07:56:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:56:51 + + sudo tee /etc/docker/daemon.new 07:56:51 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:56:51 { 07:56:51 "registry-mirrors": [ 07:56:51 "https://nexus3.edgexfoundry.org:10001" 07:56:51 ], 07:56:51 "bip": "10.250.0.254/24", 07:56:51 "hosts": [ 07:56:51 "tcp://0.0.0.0:5555", 07:56:51 "unix:///var/run/docker.sock" 07:56:51 ], 07:56:51 "mtu": 1458, 07:56:51 "selinux-enabled": true, 07:56:51 "seccomp-profile": "/etc/docker/seccomp.json" 07:56:51 } [Pipeline] sh 07:56:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:56:51 + sudo service docker restart 07:56:52 2f39f015ded8: Pull complete 07:56:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:56:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:56:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:56:52 prd-ubuntu20.04-docker-8c-8g-17021 does not seem to be running inside a container 07:56:52 $ 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-611 -v /w/workspace/gexfoundry_device-mqtt-go_PR-611:/w/workspace/gexfoundry_device-mqtt-go_PR-611:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:56:56 $ docker top a1e591f98fba5c8cf694cd014fa735f55ec0e7c665c92e9d7aaefc95b9e22105 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:56:57 ---> job-cost.sh 07:56:57 lf-activate-venv: SKIPPING 07:56:57 INFO: No Stack... 07:56:57 INFO: Retrieving Pricing Info for: v3-standard-8 07:56:57 INFO: Archiving Costs [Pipeline] sh 07:56:58 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-611/archives/cost.csv 07:56:58 + cut -d, -f6 [Pipeline] lock 07:56:58 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-611-3-stack-cost] 07:56:58 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-611-3-stack-cost] did not exist. Created. 07:56:58 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-611-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:56:58 + echo total: 0.2199999988079071 [Pipeline] stash 07:56:58 Stashed 1 file(s) [Pipeline] } 07:56:58 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-611-3-stack-cost] [Pipeline] // lock [Pipeline] } 07:56:58 $ docker stop --time=1 a1e591f98fba5c8cf694cd014fa735f55ec0e7c665c92e9d7aaefc95b9e22105 07:56:59 $ docker rm -f --volumes a1e591f98fba5c8cf694cd014fa735f55ec0e7c665c92e9d7aaefc95b9e22105 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:57:13 provisioning config files... 07:57:13 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config15926857935317669948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:57:14 ---> docker-login.sh 07:57:14 nexus3.edgexfoundry.org:10001 07:57:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:57:14 Configure a credential helper to remove this warning. See 07:57:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:57:14 07:57:14 Login Succeeded 07:57:14 nexus3.edgexfoundry.org:10002 07:57:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:57:15 Configure a credential helper to remove this warning. See 07:57:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:57:15 07:57:15 Login Succeeded 07:57:15 nexus3.edgexfoundry.org:10003 07:57:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:57:15 Configure a credential helper to remove this warning. See 07:57:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:57:15 07:57:15 Login Succeeded 07:57:15 nexus3.edgexfoundry.org:10004 07:57:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:57:15 Configure a credential helper to remove this warning. See 07:57:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:57:15 07:57:15 Login Succeeded 07:57:15 docker.io 07:57:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:57:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:57:16 Configure a credential helper to remove this warning. See 07:57:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:57:16 07:57:16 Login Succeeded 07:57:16 ---> docker-login.sh ends [Pipeline] } 07:57:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:57:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:57:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:57:16 ========================================================= 07:57:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:57:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:57:17 + 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 . 07:57:17 Sending build context to Docker daemon 3.436MB 07:57:17 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:57:17 Step 2/12 : FROM ${BASE} AS builder 07:57:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:57:17 c41833b44d91: Pulling fs layer 07:57:17 ed15518f5707: Pulling fs layer 07:57:17 feae8fd75edb: Pulling fs layer 07:57:17 242c74f7c9fa: Pulling fs layer 07:57:17 3cdef696dda3: Pulling fs layer 07:57:17 2ced38df9373: Pulling fs layer 07:57:17 58f1dce35555: Pulling fs layer 07:57:17 242c74f7c9fa: Waiting 07:57:17 2ced38df9373: Waiting 07:57:17 3cdef696dda3: Waiting 07:57:17 58f1dce35555: Waiting 07:57:17 ed15518f5707: Verifying Checksum 07:57:17 ed15518f5707: Download complete 07:57:17 242c74f7c9fa: Verifying Checksum 07:57:17 242c74f7c9fa: Download complete 07:57:17 3cdef696dda3: Verifying Checksum 07:57:17 3cdef696dda3: Download complete 07:57:17 c41833b44d91: Verifying Checksum 07:57:19 c41833b44d91: Pull complete 07:57:19 58f1dce35555: Verifying Checksum 07:57:19 58f1dce35555: Download complete 07:57:19 ed15518f5707: Pull complete 07:57:20 feae8fd75edb: Verifying Checksum 07:57:20 feae8fd75edb: Download complete 07:57:20 2ced38df9373: Verifying Checksum 07:57:20 2ced38df9373: Download complete 07:57:32 feae8fd75edb: Pull complete 07:57:32 242c74f7c9fa: Pull complete 07:57:32 3cdef696dda3: Pull complete 07:57:39 2ced38df9373: Pull complete 07:57:41 58f1dce35555: Pull complete 07:57:41 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 07:57:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:57:41 ---> fadd8f120f05 07:57:41 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:57:43 ---> Running in caa3e18afafe 07:57:43 Removing intermediate container caa3e18afafe 07:57:43 ---> 7c87da69a5ce 07:57:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:57:44 ---> Running in f0cf267b2ae4 07:57:44 Removing intermediate container f0cf267b2ae4 07:57:44 ---> 8ed311411d30 07:57:44 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:57:44 ---> Running in ba71b9f9a267 07:57:44 Removing intermediate container ba71b9f9a267 07:57:44 ---> a44cc3537761 07:57:44 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:57:44 ---> Running in 640c14b649da 07:57:45 Removing intermediate container 640c14b649da 07:57:45 ---> 30558724a34a 07:57:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:57:45 ---> Running in 4dfc472ac566 07:57:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:57:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:57:47 (1/4) Installing openssh-keygen (9.1_p1-r3) 07:57:47 (2/4) Installing libedit (20221030.3.1-r0) 07:57:47 (3/4) Installing openssh-client-common (9.1_p1-r3) 07:57:47 (4/4) Installing openssh-client-default (9.1_p1-r3) 07:57:47 Executing busybox-1.35.0-r29.trigger 07:57:47 OK: 268 MiB in 57 packages 07:57:48 Removing intermediate container 4dfc472ac566 07:57:48 ---> bfab505f0238 07:57:48 Step 8/12 : WORKDIR /device-mqtt-go 07:57:48 ---> Running in 6046d141d009 07:57:49 Removing intermediate container 6046d141d009 07:57:49 ---> 2c1d97ea25ab 07:57:49 Step 9/12 : COPY go.mod vendor* ./ 07:57:49 ---> 71b2d305c885 07:57:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:57:49 ---> Running in 7f70dff11773 07:58:57 Removing intermediate container 7f70dff11773 07:58:57 ---> 9a487e631658 07:58:57 Step 11/12 : COPY . . 07:58:57 ---> 3b384086fc55 07:58:57 Step 12/12 : RUN $MAKE 07:58:57 ---> Running in 01bd5082427f 07:58:57 noop 07:58:57 Removing intermediate container 01bd5082427f 07:58:57 ---> 69fec906d321 07:58:57 Successfully built 69fec906d321 07:58:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:58:58 + docker inspect -f . ci-base-image-arm64 07:58:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:58:58 prd-ubuntu20.04-docker-arm64-4c-16g-17022 does not seem to be running inside a container 07:58:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:59:00 $ docker top c8bea48d12225a0eacf901c60b34c42bd2e2c3feb9b1ad641dd4e6a27b4151fe -eo pid,comm [Pipeline] { [Pipeline] sh 07:59:01 + go version 07:59:01 go version go1.20.2 linux/arm64 [Pipeline] } 07:59:01 $ docker stop --time=1 c8bea48d12225a0eacf901c60b34c42bd2e2c3feb9b1ad641dd4e6a27b4151fe 07:59:02 $ docker rm -f --volumes c8bea48d12225a0eacf901c60b34c42bd2e2c3feb9b1ad641dd4e6a27b4151fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:59:03 + docker inspect -f . ci-base-image-arm64 07:59:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:59:03 prd-ubuntu20.04-docker-arm64-4c-16g-17022 does not seem to be running inside a container 07:59:03 $ 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/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:59:04 $ docker top eed78c1e9f2a0049f99f50c25948c799007c0dd909442642a109332c0513564a -eo pid,comm [Pipeline] { [Pipeline] sh 07:59:05 + git config --global --add safe.directory /w/workspace/device-mqtt-go/3 [Pipeline] fileExists [Pipeline] sh 07:59:05 + make test 07:59:05 go test ./... -coverprofile=coverage.out ./... 07:59:38 ? github.com/edgexfoundry/device-mqtt-go [no test files] 08:01:30 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 08:01:32 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 08:01:32 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.067s coverage: 22.8% of statements 08:01:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 08:01:33 go vet ./... 08:02:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:02:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:02:12 ./bin/test-attribution-txt.sh [Pipeline] echo 08:02:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:02:12 $ docker stop --time=1 eed78c1e9f2a0049f99f50c25948c799007c0dd909442642a109332c0513564a 08:02:14 $ docker rm -f --volumes eed78c1e9f2a0049f99f50c25948c799007c0dd909442642a109332c0513564a [Pipeline] // withDockerContainer [Pipeline] sh 08:02:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:02:15 Warning: overwriting stash ‘coverage-report’ 08:02:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:02:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:02:16 + ls -al . 08:02:16 total 180 08:02:16 drwxrwxr-x 9 jenkins jenkins 4096 May 26 07:59 . 08:02:16 drwxrwxr-x 4 jenkins jenkins 4096 May 26 07:56 .. 08:02:16 -rw-rw-r-- 1 jenkins jenkins 140 May 26 07:56 .dockerignore 08:02:16 drwxrwxr-x 8 jenkins jenkins 4096 May 26 07:56 .git 08:02:16 drwxrwxr-x 3 jenkins jenkins 4096 May 26 07:56 .github 08:02:16 -rw-rw-r-- 1 jenkins jenkins 329 May 26 07:56 .gitignore 08:02:16 -rw-rw-r-- 1 jenkins jenkins 41 May 26 07:56 .golangci.yml 08:02:16 -rw-rw-r-- 1 jenkins jenkins 9417 May 26 07:56 Attribution.txt 08:02:16 -rw-rw-r-- 1 jenkins jenkins 17522 May 26 07:56 CHANGELOG.md 08:02:16 -rw-rw-r-- 1 jenkins jenkins 1689 May 26 07:56 Dockerfile 08:02:16 -rw-rw-r-- 1 jenkins jenkins 677 May 26 07:56 GOVERNANCE.md 08:02:16 -rw-rw-r-- 1 jenkins jenkins 678 May 26 07:56 Jenkinsfile 08:02:16 -rw-rw-r-- 1 jenkins jenkins 11340 May 26 07:56 LICENSE 08:02:16 -rw-rw-r-- 1 jenkins jenkins 1732 May 26 07:56 Makefile 08:02:16 -rw-rw-r-- 1 jenkins jenkins 620 May 26 07:56 OWNERS.md 08:02:16 -rw-rw-r-- 1 jenkins jenkins 3189 May 26 07:56 README.md 08:02:16 -rw-rw-r-- 1 jenkins jenkins 5 May 26 07:54 VERSION 08:02:16 drwxrwxr-x 2 jenkins jenkins 4096 May 26 07:56 bin 08:02:16 drwxrwxr-x 3 jenkins jenkins 4096 May 26 07:56 cmd 08:02:16 -rw-r--r-- 1 jenkins jenkins 18506 May 26 08:01 coverage.out 08:02:16 -rw-rw-r-- 1 jenkins jenkins 3285 May 26 07:56 go.mod 08:02:16 -rw-rw-r-- 1 jenkins jenkins 31232 May 26 07:56 go.sum 08:02:16 drwxrwxr-x 3 jenkins jenkins 4096 May 26 07:56 internal 08:02:16 drwxrwxr-x 2 jenkins jenkins 4096 May 26 07:56 mock 08:02:16 drwxrwxr-x 4 jenkins jenkins 4096 May 26 07:56 snap 08:02:16 -rw-rw-r-- 1 jenkins jenkins 227 May 26 07:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:02:16 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=192ba532dc39f3162324495d50912f5ab6f0f55f --label arch=arm64 --label version=0.0.0 . 08:02:17 Sending build context to Docker daemon 3.455MB 08:02:17 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 08:02:17 Step 2/24 : FROM ${BASE} AS builder 08:02:17 ---> 69fec906d321 08:02:17 Step 3/24 : ARG ADD_BUILD_TAGS="" 08:02:17 ---> Running in 950e1d93ac5b 08:02:17 Removing intermediate container 950e1d93ac5b 08:02:17 ---> 67e96356577c 08:02:17 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 08:02:17 ---> Running in 3a69a458f454 08:02:17 Removing intermediate container 3a69a458f454 08:02:17 ---> c631d66db7b8 08:02:17 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 08:02:17 ---> Running in d5107ea61f31 08:02:18 Removing intermediate container d5107ea61f31 08:02:18 ---> 6944ffe2359c 08:02:18 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 08:02:18 ---> Running in 4b332e21079c 08:02:18 Removing intermediate container 4b332e21079c 08:02:18 ---> 58a333a5b80e 08:02:18 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 08:02:18 ---> Running in fd0e13a70b08 08:02:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:02:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:02:20 OK: 268 MiB in 57 packages 08:02:21 Removing intermediate container fd0e13a70b08 08:02:21 ---> f11790e78202 08:02:21 Step 8/24 : WORKDIR /device-mqtt-go 08:02:21 ---> Running in e0cc2ae433af 08:02:22 Removing intermediate container e0cc2ae433af 08:02:22 ---> d2b625bc35fc 08:02:22 Step 9/24 : COPY go.mod vendor* ./ 08:02:22 ---> 677fcee98e83 08:02:22 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:02:22 ---> Running in 549e5e4065b2 08:02:25 Removing intermediate container 549e5e4065b2 08:02:25 ---> c755a34aac29 08:02:25 Step 11/24 : COPY . . 08:02:25 ---> ce4fb7ade293 08:02:25 Step 12/24 : RUN $MAKE 08:02:25 ---> Running in 396345c62d01 08:02:26 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 08:04:33 Removing intermediate container 396345c62d01 08:04:33 ---> a9e6293f413a 08:04:33 Step 13/24 : FROM alpine:3.17 08:04:33 3.17: Pulling from library/alpine 08:04:33 c41833b44d91: Already exists 08:04:33 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 08:04:33 Status: Downloaded newer image for alpine:3.17 08:04:33 ---> 51e60588ff2c 08:04:33 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 08:04:33 ---> Running in ce741e5bd672 08:04:33 Removing intermediate container ce741e5bd672 08:04:33 ---> 33c15d1aee7b 08:04:33 Step 15/24 : RUN apk add --update --no-cache dumb-init 08:04:33 ---> Running in 40c883e711b7 08:04:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 08:04:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 08:04:33 (1/1) Installing dumb-init (1.2.5-r2) 08:04:33 Executing busybox-1.35.0-r29.trigger 08:04:33 OK: 8 MiB in 16 packages 08:04:34 Removing intermediate container 40c883e711b7 08:04:34 ---> 414ddd2ff5a0 08:04:34 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 08:04:36 ---> 49c686971b59 08:04:36 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 08:04:36 ---> b6af0c0b403c 08:04:36 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 08:04:37 ---> 7c60fc81348e 08:04:37 Step 19/24 : EXPOSE 59982 08:04:37 ---> Running in 11331292dd11 08:04:37 Removing intermediate container 11331292dd11 08:04:37 ---> 439061b51c11 08:04:37 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 08:04:37 ---> Running in 4f57ff97bed3 08:04:38 Removing intermediate container 4f57ff97bed3 08:04:38 ---> 8ce59e8d9669 08:04:38 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 08:04:38 ---> Running in 00ed3f46dd24 08:04:38 Removing intermediate container 00ed3f46dd24 08:04:38 ---> 25dcbfd66540 08:04:38 Step 22/24 : LABEL arch=arm64 08:04:38 ---> Running in 279a968ceece 08:04:38 Removing intermediate container 279a968ceece 08:04:38 ---> 2a75596df7e1 08:04:38 Step 23/24 : LABEL git_sha=192ba532dc39f3162324495d50912f5ab6f0f55f 08:04:38 ---> Running in 088913472d58 08:04:39 Removing intermediate container 088913472d58 08:04:39 ---> 6d8b2c5f9677 08:04:39 Step 24/24 : LABEL version=0.0.0 08:04:39 ---> Running in 994c97f37067 08:04:39 Removing intermediate container 994c97f37067 08:04:39 ---> 24446885659d 08:04:39 [Warning] One or more build-args [ARCH] were not consumed 08:04:39 Successfully built 24446885659d 08:04:39 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 08:04:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:04:40 08:04:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:04:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:04:40 arm64: Pulling from edgex-lftools-log-publisher 08:04:40 8998bd30e6a1: Pulling fs layer 08:04:40 04944245beec: Pulling fs layer 08:04:40 699f458cf7ca: Pulling fs layer 08:04:40 765212b225bb: Pulling fs layer 08:04:40 f23df028b6ca: Pulling fs layer 08:04:40 d65c8cfc05b1: Pulling fs layer 08:04:40 2437ff75d9bd: Pulling fs layer 08:04:40 765212b225bb: Waiting 08:04:40 f23df028b6ca: Waiting 08:04:40 d65c8cfc05b1: Waiting 08:04:40 2437ff75d9bd: Waiting 08:04:40 04944245beec: Verifying Checksum 08:04:40 04944245beec: Download complete 08:04:40 765212b225bb: Verifying Checksum 08:04:40 765212b225bb: Download complete 08:04:40 f23df028b6ca: Download complete 08:04:40 d65c8cfc05b1: Verifying Checksum 08:04:40 d65c8cfc05b1: Download complete 08:04:40 699f458cf7ca: Verifying Checksum 08:04:40 699f458cf7ca: Download complete 08:04:41 8998bd30e6a1: Verifying Checksum 08:04:41 8998bd30e6a1: Download complete 08:04:43 2437ff75d9bd: Verifying Checksum 08:04:43 2437ff75d9bd: Download complete 08:04:45 8998bd30e6a1: Pull complete 08:04:45 04944245beec: Pull complete 08:04:51 699f458cf7ca: Pull complete 08:04:51 765212b225bb: Pull complete 08:04:51 f23df028b6ca: Pull complete 08:04:51 d65c8cfc05b1: Pull complete 08:05:06 2437ff75d9bd: Pull complete 08:05:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:05:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:05:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:05:06 prd-ubuntu20.04-docker-arm64-4c-16g-17022 does not seem to be running inside a container 08:05:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:05:09 $ docker top 7c58d877a06d312ebae98a564bdf85c7615ca25ad797b5e5655bf3b11a5163be -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:05:10 ---> job-cost.sh 08:05:10 lf-activate-venv: SKIPPING 08:05:10 INFO: No Stack... 08:05:10 INFO: Retrieving Pricing Info for: v3-standard-4 08:05:11 INFO: Archiving Costs [Pipeline] sh 08:05:11 + cut -d, -f6 08:05:11 + cat /w/workspace/device-mqtt-go/3/archives/cost.csv [Pipeline] lock 08:05:11 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-611-3-stack-cost] 08:05:11 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-611-3-stack-cost] did not exist. Created. 08:05:11 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-611-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:05:12 /w/workspace/device-mqtt-go/3@tmp/durable-ca6b4ee5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:05:12 + echo total: 0.10999999940395355 [Pipeline] stash 08:05:12 Warning: overwriting stash ‘stack-cost’ 08:05:12 Stashed 1 file(s) [Pipeline] } 08:05:12 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-611-3-stack-cost] [Pipeline] // lock [Pipeline] } 08:05:12 $ docker stop --time=1 7c58d877a06d312ebae98a564bdf85c7615ca25ad797b5e5655bf3b11a5163be 08:05:13 $ docker rm -f --volumes 7c58d877a06d312ebae98a564bdf85c7615ca25ad797b5e5655bf3b11a5163be [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 08:05:14 provisioning config files... 08:05:14 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp/config15023029408154536419tmp [Pipeline] { [Pipeline] sh 08:05:14 + set +x 08:05:14 + + bash -s -- 08:05:14 curl -s https://codecov.io/bash 08:05:14 08:05:14 _____ _ 08:05:14 / ____| | | 08:05:14 | | ___ __| | ___ ___ _____ __ 08:05:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:05:14 | |___| (_) | (_| | __/ (_| (_) \ V / 08:05:14 \_____\___/ \__,_|\___|\___\___/ \_/ 08:05:14 Bash-1.0.6 08:05:14 08:05:14 08:05:14 ==> git version 2.25.1 found 08:05:14 ==> 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 08:05:14 Release-Date: 2020-01-08 08:05:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:05:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:05:14 ==> Jenkins CI detected. 08:05:14 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-611 08:05:14 project root: . 08:05:14 --> token set from env 08:05:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:05:14 ==> Running gcov in . (disable via -X gcov) 08:05:14 ==> Python coveragepy not found 08:05:14 ==> Searching for coverage reports in: 08:05:14 + . 08:05:14 -> Found 1 reports 08:05:14 ==> Detecting git/mercurial file structure 08:05:14 ==> Reading reports 08:05:14 + ./coverage.out bytes=18506 08:05:14 ==> Appending adjustments 08:05:14 https://docs.codecov.io/docs/fixing-reports 08:05:14 + Found adjustments 08:05:14 ==> Gzipping contents 08:05:14 4.0K /tmp/codecov.mcfLDF.gz 08:05:14 ==> Uploading reports 08:05:14 url: https://codecov.io 08:05:14 query: branch=PR-611&commit=192ba532dc39f3162324495d50912f5ab6f0f55f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-611%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=611&job=&cmd_args= 08:05:14 -> Pinging Codecov 08:05:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-611&commit=192ba532dc39f3162324495d50912f5ab6f0f55f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-611%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=611&job=&cmd_args= 08:05:14 -> Uploading to 08:05:14 https://storage.googleapis.com/codecov/v4/raw/2023-05-26/7D719EC7BBE17E464838252E33014C33/192ba532dc39f3162324495d50912f5ab6f0f55f/2d72ba89-7b67-48f6-b3bc-ec3c835e0cc4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230526%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230526T080514Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a9b24e1414f63a5a44bccd13beca40b972e0c8741dbe0c148865022798df635d 08:05:14 % Total % Received % Xferd Average Speed Time Time Time Current 08:05:14 Dload Upload Total Spent Left Speed 08:05:15 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 17122 --:--:-- --:--:-- --:--:-- 17122 08:05:15 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/192ba532dc39f3162324495d50912f5ab6f0f55f [Pipeline] } 08:05:15 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 08:05:15 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-611/archives ] 08:05:15 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-611/archives 08:05:15 total 16 08:05:15 drwxr-xr-x 3 root root 4096 May 26 07:56 . 08:05:15 drwxrwxr-x 11 jenkins jenkins 4096 May 26 07:56 .. 08:05:15 drwxr-xr-x 2 root root 4096 May 26 07:56 cost 08:05:15 -rw-r--r-- 1 root root 86 May 26 07:56 cost.csv 08:05:15 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-611/archives 08:05:15 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-611/archives 08:05:15 total 16 08:05:15 drwxr-xr-x 3 jenkins jenkins 4096 May 26 07:56 . 08:05:15 drwxrwxr-x 11 jenkins jenkins 4096 May 26 07:56 .. 08:05:15 drwxr-xr-x 2 jenkins jenkins 4096 May 26 07:56 cost 08:05:15 -rw-r--r-- 1 jenkins jenkins 86 May 26 07:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:05:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:05:16 ---> package-listing.sh 08:05:16 ++ facter osfamily 08:05:16 ++ tr '[:upper:]' '[:lower:]' 08:05:17 + OS_FAMILY=debian 08:05:17 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-611 08:05:17 + START_PACKAGES=/tmp/packages_start.txt 08:05:17 + END_PACKAGES=/tmp/packages_end.txt 08:05:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:05:17 + PACKAGES=/tmp/packages_start.txt 08:05:17 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-611 ']' 08:05:17 + PACKAGES=/tmp/packages_end.txt 08:05:17 + case "${OS_FAMILY}" in 08:05:17 + dpkg -l 08:05:17 + grep '^ii' 08:05:17 + '[' -f /tmp/packages_start.txt ']' 08:05:17 + '[' -f /tmp/packages_end.txt ']' 08:05:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:05:17 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-611 ']' 08:05:17 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-611/archives/ 08:05:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-611/archives/ [Pipeline] echo 08:05:17 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-611/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:05:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:05:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:05:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:05:18 prd-ubuntu20.04-docker-8c-8g-17021 does not seem to be running inside a container 08:05:18 $ 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-611/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-611 -v /w/workspace/gexfoundry_device-mqtt-go_PR-611:/w/workspace/gexfoundry_device-mqtt-go_PR-611:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:05:18 $ docker top bbd487ebb000c5572797c6343c4919fb0ff7a4b74757f81960aa6780eaab5fc1 -eo pid,comm [Pipeline] { [Pipeline] sh 08:05:18 + touch /tmp/pre-build-complete [Pipeline] sh 08:05:18 + mkdir -p /var/log/sysstat [Pipeline] sh 08:05:19 + ls /var/log/sa-host 08:05:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:05:19 provisioning config files... 08:05:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-611@tmp/config9352320754284947006tmp [Pipeline] { [Pipeline] echo 08:05:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:05:19 ---> create-netrc.sh [Pipeline] } 08:05:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:05:19 ---> python-tools-install.sh [Pipeline] echo 08:05:19 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:05:20 ---> sudo-logs.sh 08:05:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:05:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:05:20 ---> job-cost.sh 08:05:20 lf-activate-venv: SKIPPING 08:05:20 DEBUG: total: 0.2199999988079071 08:05:20 INFO: Retrieving Stack Cost... 08:05:20 INFO: Retrieving Pricing Info for: v3-standard-8 08:05:21 INFO: Archiving Costs [Pipeline] echo 08:05:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:05:21 ---> logs-deploy.sh 08:05:21 lf-activate-venv: SKIPPING 08:05:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-611/3 08:05:21 INFO: archiving workspace using pattern(s): 08:05:22 Archives upload complete. 08:05:22 INFO: archiving logs to Nexus