Pull request #600 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bd58cf54b2db67506ef5e8027f5dd4291503e622+019c60404bb83e30963e3ac75b0107041a510748 (ad72964d8e2ac356ba593ca99581d4a9e7185367) 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-ssh8551285762129763597.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-ssh11915147887010636519.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-600/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-600/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17008108694617760854.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-ssh330566747173492298.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-600/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-600/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7119915988106482499.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-16899’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16900’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16901’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16902’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16903’ is offline ‘prd-ubuntu20.04-docker-8c-8g-16904’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16906 in /w/workspace/gexfoundry_device-mqtt-go_PR-600 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-600 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/600/head:refs/remotes/origin/PR-600 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 019c60404bb83e30963e3ac75b0107041a510748 into PR head commit bd58cf54b2db67506ef5e8027f5dd4291503e622 Merge succeeded, producing bd58cf54b2db67506ef5e8027f5dd4291503e622 Checking out Revision bd58cf54b2db67506ef5e8027f5dd4291503e622 (PR-600) Commit message: "build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:30:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:30:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:30:02 ========================================================= 01:30:02 EdgeX Global Pipelines Version Info 01:30:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f bd58cf54b2db67506ef5e8027f5dd4291503e622 # 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 bd58cf54b2db67506ef5e8027f5dd4291503e622 # timeout=10 > git rev-list --no-walk f6992bc0964cde1084cae2827e87f1a259db5cbd # timeout=10 01:30:02 ------------------- 01:30:02 stable info: 01:30:02 ------------------- 01:30:02 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:30:02 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:30:02 Message: update stable to v1.0.249 01:30:03 ------------------- 01:30:03 experimental info: 01:30:03 ------------------- 01:30:03 Commited By: **** collab-it+edgex@linuxfoundation.org 01:30:03 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:30:03 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-600 [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-600 [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-600 [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bd58cf54b2db67506ef5e8027f5dd4291503e622 [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bd58cf5 [Pipeline] echo 01:30:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:30:04 provisioning config files... 01:30:04 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config16755523158908347958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:30:04 ---> docker-login.sh 01:30:04 nexus3.edgexfoundry.org:10001 01:30:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:05 Configure a credential helper to remove this warning. See 01:30:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:05 01:30:05 Login Succeeded 01:30:05 nexus3.edgexfoundry.org:10002 01:30:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:06 Configure a credential helper to remove this warning. See 01:30:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:06 01:30:06 Login Succeeded 01:30:06 nexus3.edgexfoundry.org:10003 01:30:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:06 Configure a credential helper to remove this warning. See 01:30:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:06 01:30:06 Login Succeeded 01:30:06 nexus3.edgexfoundry.org:10004 01:30:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:06 Configure a credential helper to remove this warning. See 01:30:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:06 01:30:06 Login Succeeded 01:30:06 docker.io 01:30:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:07 Configure a credential helper to remove this warning. See 01:30:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:07 01:30:07 Login Succeeded 01:30:07 ---> docker-login.sh ends [Pipeline] } 01:30:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:30:07 + git rev-list -1 --merges bd58cf54b2db67506ef5e8027f5dd4291503e622~1..bd58cf54b2db67506ef5e8027f5dd4291503e622 [Pipeline] echo 01:30:07 -----------> git rev-list -1 --merges bd58cf54b2db67506ef5e8027f5dd4291503e622~1..bd58cf54b2db67506ef5e8027f5dd4291503e622 bd58cf54b2db67506ef5e8027f5dd4291503e622 [false] [Pipeline] sh 01:30:08 + git log --format=format:%s -1 bd58cf54b2db67506ef5e8027f5dd4291503e622 [Pipeline] echo 01:30:08 ========================================================= 01:30:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:30:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:30:08 + git log --format=format:%s -1 bd58cf54b2db67506ef5e8027f5dd4291503e622 [Pipeline] echo 01:30:08 [semverPrep] GIT_COMMIT: bd58cf54b2db67506ef5e8027f5dd4291503e622, Commit Message: build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1 [Pipeline] echo 01:30:08 [semverPrep] This is not a build commit. [Pipeline] sh 01:30:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:30:08 + grep -v github /etc/ssh/ssh_known_hosts 01:30:08 + [ -e /tmp/ssh_known_hosts ] 01:30:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:30:08 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:30:08 + sudo tee -a /etc/ssh/ssh_known_hosts 01:30:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:30:09 01:30:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:30:09 0.1.4: Pulling from edgex-devops/py-git-semver 01:30:09 b85a868b505f: Pulling fs layer 01:30:09 e2be974225ed: Pulling fs layer 01:30:09 339a4e72a1f5: Pulling fs layer 01:30:09 988bab9f4d93: Pulling fs layer 01:30:09 1469e6f7b9e6: Pulling fs layer 01:30:09 eaf3925da568: Pulling fs layer 01:30:09 bab4dde63d76: Pulling fs layer 01:30:09 bde34c3a00c8: Pulling fs layer 01:30:09 b352a97aabf1: Pulling fs layer 01:30:09 988bab9f4d93: Waiting 01:30:09 1469e6f7b9e6: Waiting 01:30:09 eaf3925da568: Waiting 01:30:09 bab4dde63d76: Waiting 01:30:09 bde34c3a00c8: Waiting 01:30:09 4872d77fe225: Pulling fs layer 01:30:09 5851b861e8e6: Pulling fs layer 01:30:09 4872d77fe225: Waiting 01:30:09 b352a97aabf1: Waiting 01:30:09 5851b861e8e6: Waiting 01:30:09 e2be974225ed: Download complete 01:30:09 988bab9f4d93: Verifying Checksum 01:30:09 988bab9f4d93: Download complete 01:30:09 1469e6f7b9e6: Verifying Checksum 01:30:09 1469e6f7b9e6: Download complete 01:30:09 eaf3925da568: Verifying Checksum 01:30:09 eaf3925da568: Download complete 01:30:09 339a4e72a1f5: Verifying Checksum 01:30:09 339a4e72a1f5: Download complete 01:30:09 bde34c3a00c8: Verifying Checksum 01:30:09 bde34c3a00c8: Download complete 01:30:09 b352a97aabf1: Verifying Checksum 01:30:09 b352a97aabf1: Download complete 01:30:09 4872d77fe225: Download complete 01:30:09 5851b861e8e6: Verifying Checksum 01:30:09 5851b861e8e6: Download complete 01:30:09 b85a868b505f: Verifying Checksum 01:30:09 b85a868b505f: Download complete 01:30:10 bab4dde63d76: Verifying Checksum 01:30:10 bab4dde63d76: Download complete 01:30:10 b85a868b505f: Pull complete 01:30:11 e2be974225ed: Pull complete 01:30:12 339a4e72a1f5: Pull complete 01:30:12 988bab9f4d93: Pull complete 01:30:12 1469e6f7b9e6: Pull complete 01:30:13 eaf3925da568: Pull complete 01:30:15 bab4dde63d76: Pull complete 01:30:15 bde34c3a00c8: Pull complete 01:30:15 b352a97aabf1: Pull complete 01:30:15 4872d77fe225: Pull complete 01:30:15 5851b861e8e6: Pull complete 01:30:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:30:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:30:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:30:15 prd-ubuntu20.04-docker-8c-8g-16906 does not seem to be running inside a container 01:30:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:30:20 $ docker top 064fa4486296e459e062549980b01710bdbc756b6b66a8f2440af0b00741a132 -eo pid,comm 01:30:20 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). 01:30:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:30:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:30:20 [ssh-agent] Looking for ssh-agent implementation... 01:30:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:30:20 $ docker exec 064fa4486296e459e062549980b01710bdbc756b6b66a8f2440af0b00741a132 ssh-agent 01:30:20 SSH_AUTH_SOCK=/tmp/ssh-y8dS7KkenHlk/agent.31 01:30:20 SSH_AGENT_PID=37 01:30:20 Running ssh-add (command line suppressed) 01:30:20 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_10536605226804952461.key (/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_10536605226804952461.key) 01:30:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:30:20 + git tag --points-at HEAD [Pipeline] } 01:30:21 $ docker exec --env ******** --env ******** 064fa4486296e459e062549980b01710bdbc756b6b66a8f2440af0b00741a132 ssh-agent -k 01:30:21 unset SSH_AUTH_SOCK; 01:30:21 unset SSH_AGENT_PID; 01:30:21 echo Agent pid 37 killed; 01:30:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:30:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:30:21 [ssh-agent] Looking for ssh-agent implementation... 01:30:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:30:21 $ docker exec 064fa4486296e459e062549980b01710bdbc756b6b66a8f2440af0b00741a132 ssh-agent 01:30:21 SSH_AUTH_SOCK=/tmp/ssh-ODPFIbm9Ak88/agent.70 01:30:21 SSH_AGENT_PID=76 01:30:21 Running ssh-add (command line suppressed) 01:30:21 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_8199343602960880551.key (/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_8199343602960880551.key) 01:30:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:30:21 + git semver init 01:30:22 2023-05-25 01:30:22,026 [run_init] DEBUG init version:0.0.0 force:False 01:30:22 2023-05-25 01:30:22,027 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver 01:30:22 2023-05-25 01:30:22,027 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver 01:30:22 2023-05-25 01:30:22,028 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-600, universal_newlines=False, shell=None, istream=None) 01:30:23 2023-05-25 01:30:22,810 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.git/info/exclude 01:30:23 2023-05-25 01:30:22,810 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver/PR-600 with force:False 01:30:23 2023-05-25 01:30:22,811 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver/PR-600 01:30:23 2023-05-25 01:30:22,815 [execute] INFO git cat-file --batch-check 01:30:23 2023-05-25 01:30:22,815 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver, universal_newlines=False, shell=None, istream=) 01:30:23 2023-05-25 01:30:22,822 [execute] INFO git cat-file --batch 01:30:23 2023-05-25 01:30:22,823 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver, universal_newlines=False, shell=None, istream=) 01:30:23 2023-05-25 01:30:22,828 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver/PR-600 01:30:23 0.0.0 [Pipeline] } 01:30:23 $ docker exec --env ******** --env ******** 064fa4486296e459e062549980b01710bdbc756b6b66a8f2440af0b00741a132 ssh-agent -k 01:30:23 unset SSH_AUTH_SOCK; 01:30:23 unset SSH_AGENT_PID; 01:30:23 echo Agent pid 76 killed; 01:30:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:30:23 + git semver [Pipeline] } 01:30:23 $ docker stop --time=1 064fa4486296e459e062549980b01710bdbc756b6b66a8f2440af0b00741a132 01:30:25 $ docker rm -f --volumes 064fa4486296e459e062549980b01710bdbc756b6b66a8f2440af0b00741a132 [Pipeline] // withDockerContainer [Pipeline] sh 01:30:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:30:25 Stashed 1 file(s) [Pipeline] echo 01:30:25 [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 01:30:25 provisioning config files... 01:30:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config3741373325305923393tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:30:26 ---> docker-login.sh 01:30:26 nexus3.edgexfoundry.org:10001 01:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:26 Configure a credential helper to remove this warning. See 01:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:26 01:30:26 Login Succeeded 01:30:26 nexus3.edgexfoundry.org:10002 01:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:26 Configure a credential helper to remove this warning. See 01:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:26 01:30:26 Login Succeeded 01:30:26 nexus3.edgexfoundry.org:10003 01:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:26 Configure a credential helper to remove this warning. See 01:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:26 01:30:26 Login Succeeded 01:30:26 nexus3.edgexfoundry.org:10004 01:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:26 Configure a credential helper to remove this warning. See 01:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:26 01:30:26 Login Succeeded 01:30:26 docker.io 01:30:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:30:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:30:26 Configure a credential helper to remove this warning. See 01:30:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:30:26 01:30:26 Login Succeeded 01:30:26 ---> docker-login.sh ends [Pipeline] } 01:30:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:30:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:30:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:30:26 ========================================================= 01:30:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:30:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:30:27 + 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 . 01:30:27 Sending build context to Docker daemon 6.585MB 01:30:27 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:30:27 Step 2/12 : FROM ${BASE} AS builder 01:30:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:30:27 f56be85fc22e: Pulling fs layer 01:30:27 85791d961cd3: Pulling fs layer 01:30:27 d694b5ae8c79: Pulling fs layer 01:30:27 9f32a84ed3da: Pulling fs layer 01:30:27 4d19c01a9841: Pulling fs layer 01:30:27 9325e15d5711: Pulling fs layer 01:30:27 556b6ee489ea: Pulling fs layer 01:30:27 c5a4b2cf53e6: Pulling fs layer 01:30:27 9f32a84ed3da: Waiting 01:30:27 4d19c01a9841: Waiting 01:30:27 9325e15d5711: Waiting 01:30:27 556b6ee489ea: Waiting 01:30:27 c5a4b2cf53e6: Waiting 01:30:27 85791d961cd3: Verifying Checksum 01:30:27 85791d961cd3: Download complete 01:30:27 9f32a84ed3da: Verifying Checksum 01:30:27 9f32a84ed3da: Download complete 01:30:27 4d19c01a9841: Verifying Checksum 01:30:27 4d19c01a9841: Download complete 01:30:27 f56be85fc22e: Verifying Checksum 01:30:27 f56be85fc22e: Download complete 01:30:27 9325e15d5711: Verifying Checksum 01:30:27 9325e15d5711: Download complete 01:30:27 f56be85fc22e: Pull complete 01:30:27 85791d961cd3: Pull complete 01:30:27 c5a4b2cf53e6: Verifying Checksum 01:30:27 c5a4b2cf53e6: Download complete 01:30:27 d694b5ae8c79: Verifying Checksum 01:30:27 d694b5ae8c79: Download complete 01:30:28 556b6ee489ea: Verifying Checksum 01:30:28 556b6ee489ea: Download complete 01:30:32 d694b5ae8c79: Pull complete 01:30:32 9f32a84ed3da: Pull complete 01:30:32 4d19c01a9841: Pull complete 01:30:32 9325e15d5711: Pull complete 01:30:34 556b6ee489ea: Pull complete 01:30:35 c5a4b2cf53e6: Pull complete 01:30:35 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 01:30:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:30:35 ---> c4be618373d6 01:30:35 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:30:40 Still waiting to schedule task 01:30:40 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:30:43 ---> Running in bf7de33d8ae3 01:30:43 Removing intermediate container bf7de33d8ae3 01:30:43 ---> 50246d622735 01:30:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:30:43 ---> Running in 8657678244b4 01:30:43 Removing intermediate container 8657678244b4 01:30:43 ---> 2eca27cbb3b6 01:30:43 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:30:43 ---> Running in 53cd0b95015a 01:30:43 Removing intermediate container 53cd0b95015a 01:30:43 ---> 5b41715fafd6 01:30:43 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:30:43 ---> Running in 2deb066c317a 01:30:43 Removing intermediate container 2deb066c317a 01:30:43 ---> e637249cb196 01:30:43 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:30:43 ---> Running in c9afc3d62f27 01:30:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:30:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:30:43 (1/4) Installing openssh-keygen (9.1_p1-r3) 01:30:43 (2/4) Installing libedit (20221030.3.1-r0) 01:30:43 (3/4) Installing openssh-client-common (9.1_p1-r3) 01:30:43 (4/4) Installing openssh-client-default (9.1_p1-r3) 01:30:43 Executing busybox-1.35.0-r29.trigger 01:30:43 OK: 269 MiB in 57 packages 01:30:44 Removing intermediate container c9afc3d62f27 01:30:44 ---> 4215dec7707d 01:30:44 Step 8/12 : WORKDIR /device-mqtt-go 01:30:44 ---> Running in d0a971dc2700 01:30:44 Removing intermediate container d0a971dc2700 01:30:44 ---> 28bdb9e04249 01:30:44 Step 9/12 : COPY go.mod vendor* ./ 01:30:44 ---> f94d6e6c09c8 01:30:44 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:30:44 ---> Running in e0be3e2256d2 01:31:16 Removing intermediate container e0be3e2256d2 01:31:16 ---> 1bc8cfc898ad 01:31:16 Step 11/12 : COPY . . 01:31:16 ---> b851a37cfb53 01:31:16 Step 12/12 : RUN $MAKE 01:31:16 ---> Running in d8a64c1638d3 01:31:17 noop 01:31:17 Removing intermediate container d8a64c1638d3 01:31:17 ---> 6c89acdac487 01:31:17 Successfully built 6c89acdac487 01:31:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:17 + docker inspect -f . ci-base-image-x86_64 01:31:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:17 prd-ubuntu20.04-docker-8c-8g-16906 does not seem to be running inside a container 01:31:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:31:18 $ docker top dd3a61c47b0b554abc53d7870782518184334b49b946634360eb4e68e30cee73 -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:18 + go version 01:31:18 go version go1.20.2 linux/amd64 [Pipeline] } 01:31:18 $ docker stop --time=1 dd3a61c47b0b554abc53d7870782518184334b49b946634360eb4e68e30cee73 01:31:19 $ docker rm -f --volumes dd3a61c47b0b554abc53d7870782518184334b49b946634360eb4e68e30cee73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:20 + docker inspect -f . ci-base-image-x86_64 01:31:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:20 prd-ubuntu20.04-docker-8c-8g-16906 does not seem to be running inside a container 01:31:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:31:20 $ docker top 5551d16c2f9947a914fe7e6eacdc045e3ed9f6a811e4aeacb8c913569fb1d5fd -eo pid,comm [Pipeline] { [Pipeline] sh 01:31:20 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-600 [Pipeline] fileExists [Pipeline] sh 01:31:21 + make test 01:31:21 go test ./... -coverprofile=coverage.out ./... 01:31:26 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:31:36 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:31:36 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:31:36 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 22.8% of statements 01:31:44 go vet ./... 01:31:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:31:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:31:47 ./bin/test-attribution-txt.sh [Pipeline] echo 01:31:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:31:47 $ docker stop --time=1 5551d16c2f9947a914fe7e6eacdc045e3ed9f6a811e4aeacb8c913569fb1d5fd 01:31:51 $ docker rm -f --volumes 5551d16c2f9947a914fe7e6eacdc045e3ed9f6a811e4aeacb8c913569fb1d5fd [Pipeline] // withDockerContainer [Pipeline] sh 01:31:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:31:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:31:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:31:52 + ls -al . 01:31:52 total 184 01:31:52 drwxrwxr-x 10 jenkins jenkins 4096 May 25 01:31 . 01:31:52 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:29 .. 01:31:52 -rw-rw-r-- 1 jenkins jenkins 140 May 25 01:30 .dockerignore 01:31:52 drwxrwxr-x 8 jenkins jenkins 4096 May 25 01:30 .git 01:31:52 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:30 .github 01:31:52 -rw-rw-r-- 1 jenkins jenkins 329 May 25 01:30 .gitignore 01:31:52 -rw-rw-r-- 1 jenkins jenkins 41 May 25 01:30 .golangci.yml 01:31:52 drwxr-xr-x 3 jenkins jenkins 4096 May 25 01:30 .semver 01:31:52 -rw-rw-r-- 1 jenkins jenkins 9417 May 25 01:30 Attribution.txt 01:31:52 -rw-rw-r-- 1 jenkins jenkins 17522 May 25 01:30 CHANGELOG.md 01:31:52 -rw-rw-r-- 1 jenkins jenkins 1689 May 25 01:30 Dockerfile 01:31:52 -rw-rw-r-- 1 jenkins jenkins 677 May 25 01:30 GOVERNANCE.md 01:31:52 -rw-rw-r-- 1 jenkins jenkins 678 May 25 01:30 Jenkinsfile 01:31:52 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 01:30 LICENSE 01:31:52 -rw-rw-r-- 1 jenkins jenkins 1732 May 25 01:30 Makefile 01:31:52 -rw-rw-r-- 1 jenkins jenkins 620 May 25 01:30 OWNERS.md 01:31:52 -rw-rw-r-- 1 jenkins jenkins 3165 May 25 01:30 README.md 01:31:52 -rw-rw-r-- 1 jenkins jenkins 5 May 25 01:30 VERSION 01:31:52 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:30 bin 01:31:52 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:30 cmd 01:31:52 -rw-r--r-- 1 jenkins jenkins 18506 May 25 01:31 coverage.out 01:31:52 -rw-rw-r-- 1 jenkins jenkins 3285 May 25 01:30 go.mod 01:31:52 -rw-rw-r-- 1 jenkins jenkins 31232 May 25 01:30 go.sum 01:31:52 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:30 internal 01:31:52 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:30 mock 01:31:52 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:30 snap 01:31:52 -rw-rw-r-- 1 jenkins jenkins 227 May 25 01:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:52 + 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=bd58cf54b2db67506ef5e8027f5dd4291503e622 --label arch=amd64 --label version=0.0.0 . 01:31:52 Sending build context to Docker daemon 6.605MB 01:31:52 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 01:31:52 Step 2/24 : FROM ${BASE} AS builder 01:31:52 ---> 6c89acdac487 01:31:52 Step 3/24 : ARG ADD_BUILD_TAGS="" 01:31:52 ---> Running in 57312f3c13d4 01:31:52 Removing intermediate container 57312f3c13d4 01:31:52 ---> 2423396d18db 01:31:52 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:31:52 ---> Running in 35cdb58f2fd7 01:31:52 Removing intermediate container 35cdb58f2fd7 01:31:52 ---> dfb63f16dc8c 01:31:52 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:31:52 ---> Running in 6a5d0b24b8df 01:31:53 Removing intermediate container 6a5d0b24b8df 01:31:53 ---> 28a749907151 01:31:53 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 01:31:53 ---> Running in 77a5b30a0db4 01:31:53 Removing intermediate container 77a5b30a0db4 01:31:53 ---> 06f0758a1f01 01:31:53 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:31:53 ---> Running in 547e86b314f3 01:31:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:31:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:31:53 OK: 269 MiB in 57 packages 01:31:53 Removing intermediate container 547e86b314f3 01:31:53 ---> 9c99d26be63b 01:31:53 Step 8/24 : WORKDIR /device-mqtt-go 01:31:53 ---> Running in 6c2f2d1f5d9f 01:31:54 Removing intermediate container 6c2f2d1f5d9f 01:31:54 ---> ed7781e9056d 01:31:54 Step 9/24 : COPY go.mod vendor* ./ 01:31:54 ---> 012e7569ba91 01:31:54 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:31:54 ---> Running in 9b3e9e21c64e 01:31:55 Removing intermediate container 9b3e9e21c64e 01:31:55 ---> 387923b96082 01:31:55 Step 11/24 : COPY . . 01:31:55 ---> 8d1d56c7d3dc 01:31:55 Step 12/24 : RUN $MAKE 01:31:55 ---> Running in 2031484dd83f 01:31:55 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 01:32:17 Removing intermediate container 2031484dd83f 01:32:17 ---> ed613ee52273 01:32:17 Step 13/24 : FROM alpine:3.17 01:32:17 3.17: Pulling from library/alpine 01:32:17 f56be85fc22e: Already exists 01:32:17 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:32:17 Status: Downloaded newer image for alpine:3.17 01:32:17 ---> 9ed4aefc74f6 01:32:17 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:32:17 ---> Running in 73830b4325e0 01:32:17 Removing intermediate container 73830b4325e0 01:32:17 ---> 58427245beb9 01:32:17 Step 15/24 : RUN apk add --update --no-cache dumb-init 01:32:17 ---> Running in b504f04d33b7 01:32:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:32:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:32:17 (1/1) Installing dumb-init (1.2.5-r2) 01:32:17 Executing busybox-1.35.0-r29.trigger 01:32:17 OK: 7 MiB in 16 packages 01:32:17 Removing intermediate container b504f04d33b7 01:32:17 ---> 7c071dd8c940 01:32:17 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:32:18 ---> 51f704fec110 01:32:18 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:32:18 ---> fb0ccabfd935 01:32:18 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:32:18 ---> 8a81bc34af82 01:32:18 Step 19/24 : EXPOSE 59982 01:32:18 ---> Running in 9c3d367ad024 01:32:18 Removing intermediate container 9c3d367ad024 01:32:18 ---> bd80e4fad62f 01:32:18 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:32:18 ---> Running in 2dc08cda5e15 01:32:18 Removing intermediate container 2dc08cda5e15 01:32:18 ---> 6d989e0c095d 01:32:18 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:32:18 ---> Running in 20cd7dfe34fd 01:32:19 Removing intermediate container 20cd7dfe34fd 01:32:19 ---> 7626348740c1 01:32:19 Step 22/24 : LABEL arch=amd64 01:32:19 ---> Running in 6466b643ab46 01:32:19 Removing intermediate container 6466b643ab46 01:32:19 ---> 686cc58e7ecc 01:32:19 Step 23/24 : LABEL git_sha=bd58cf54b2db67506ef5e8027f5dd4291503e622 01:32:19 ---> Running in 2f78b37a2369 01:32:19 Removing intermediate container 2f78b37a2369 01:32:19 ---> df6ee72effa1 01:32:19 Step 24/24 : LABEL version=0.0.0 01:32:19 ---> Running in 80bc575d0033 01:32:19 Removing intermediate container 80bc575d0033 01:32:19 ---> 79bb0fcc39c5 01:32:19 [Warning] One or more build-args [ARCH] were not consumed 01:32:19 Successfully built 79bb0fcc39c5 01:32:19 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 01:32:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:32:19 01:32:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:32:20 latest: Pulling from edgex-lftools-log-publisher 01:32:20 5eb5b503b376: Pulling fs layer 01:32:20 5c69ac0246d0: Pulling fs layer 01:32:20 ec43610c2a17: Pulling fs layer 01:32:20 3a2ae6a8a46f: Pulling fs layer 01:32:20 33b1e0a273af: Pulling fs layer 01:32:20 5d3b04190fa2: Pulling fs layer 01:32:20 2f39f015ded8: Pulling fs layer 01:32:20 5d3b04190fa2: Waiting 01:32:20 2f39f015ded8: Waiting 01:32:20 3a2ae6a8a46f: Waiting 01:32:20 33b1e0a273af: Waiting 01:32:20 5c69ac0246d0: Verifying Checksum 01:32:20 5c69ac0246d0: Download complete 01:32:20 3a2ae6a8a46f: Verifying Checksum 01:32:20 3a2ae6a8a46f: Download complete 01:32:20 33b1e0a273af: Verifying Checksum 01:32:20 33b1e0a273af: Download complete 01:32:20 ec43610c2a17: Verifying Checksum 01:32:20 ec43610c2a17: Download complete 01:32:20 5d3b04190fa2: Download complete 01:32:20 5eb5b503b376: Verifying Checksum 01:32:20 5eb5b503b376: Download complete 01:32:20 2f39f015ded8: Download complete 01:32:21 5eb5b503b376: Pull complete 01:32:21 5c69ac0246d0: Pull complete 01:32:21 ec43610c2a17: Pull complete 01:32:21 3a2ae6a8a46f: Pull complete 01:32:22 33b1e0a273af: Pull complete 01:32:22 5d3b04190fa2: Pull complete 01:32:26 2f39f015ded8: Pull complete 01:32:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:32:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:32:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:27 prd-ubuntu20.04-docker-8c-8g-16906 does not seem to be running inside a container 01:32:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:32:31 $ docker top 622a0712ee2f150e709da213ff3d787b3777cac828db0ae54b22c6e331d3bb81 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:32:31 ---> job-cost.sh 01:32:31 lf-activate-venv: SKIPPING 01:32:31 INFO: No Stack... 01:32:31 INFO: Retrieving Pricing Info for: v3-standard-8 01:32:31 INFO: Archiving Costs [Pipeline] sh 01:32:32 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives/cost.csv 01:32:32 + cut -d, -f6 [Pipeline] lock 01:32:32 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-600-10-stack-cost] 01:32:32 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-10-stack-cost] did not exist. Created. 01:32:32 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-600-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:32:32 + echo total: 0.2199999988079071 [Pipeline] stash 01:32:32 Stashed 1 file(s) [Pipeline] } 01:32:32 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-10-stack-cost] [Pipeline] // lock [Pipeline] } 01:32:32 $ docker stop --time=1 622a0712ee2f150e709da213ff3d787b3777cac828db0ae54b22c6e331d3bb81 01:32:33 $ docker rm -f --volumes 622a0712ee2f150e709da213ff3d787b3777cac828db0ae54b22c6e331d3bb81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:34:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16914 in /w/workspace/gexfoundry_device-mqtt-go_PR-600 [Pipeline] { [Pipeline] ws 01:34:08 Running in /w/workspace/device-mqtt-go/10 [Pipeline] { [Pipeline] checkout 01:34:08 Selected Git installation does not exist. Using Default 01:34:08 The recommended git tool is: NONE 01:34:16 using credential edgex-jenkins-ssh 01:34:16 Cloning the remote Git repository 01:34:16 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:34:16 > git init /w/workspace/device-mqtt-go/10 # timeout=10 01:34:16 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:34:16 > git --version # timeout=10 01:34:16 > git --version # 'git version 2.25.1' 01:34:16 using GIT_SSH to set credentials SSH Credentials for GitHub 01:34:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:34:18 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:34:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:34:19 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:34:19 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:34:19 using GIT_SSH to set credentials SSH Credentials for GitHub 01:34:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/600/head:refs/remotes/origin/PR-600 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:34:20 Merging remotes/origin/main commit 019c60404bb83e30963e3ac75b0107041a510748 into PR head commit bd58cf54b2db67506ef5e8027f5dd4291503e622 01:34:20 Merge succeeded, producing bd58cf54b2db67506ef5e8027f5dd4291503e622 01:34:20 Checking out Revision bd58cf54b2db67506ef5e8027f5dd4291503e622 (PR-600) 01:34:21 Commit message: "build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:34:20 > git config core.sparsecheckout # timeout=10 01:34:20 > git checkout -f bd58cf54b2db67506ef5e8027f5dd4291503e622 # timeout=10 01:34:20 > git remote # timeout=10 01:34:20 > git config --get remote.origin.url # timeout=10 01:34:20 using GIT_SSH to set credentials SSH Credentials for GitHub 01:34:20 > git merge 019c60404bb83e30963e3ac75b0107041a510748 # timeout=10 01:34:20 > git rev-parse HEAD^{commit} # timeout=10 01:34:20 > git config core.sparsecheckout # timeout=10 01:34:20 > git checkout -f bd58cf54b2db67506ef5e8027f5dd4291503e622 # timeout=10 01:34:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:34:22 % Total % Received % Xferd Average Speed Time Time Time Current 01:34:22 Dload Upload Total Spent Left Speed 01:34:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 177k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 01:34:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:34:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:34:23 + sudo tee /etc/docker/daemon.new 01:34:23 { 01:34:23 "registry-mirrors": [ 01:34:23 "https://nexus3.edgexfoundry.org:10001" 01:34:23 ], 01:34:23 "bip": "10.250.0.254/24", 01:34:23 "hosts": [ 01:34:23 "tcp://0.0.0.0:5555", 01:34:23 "unix:///var/run/docker.sock" 01:34:23 ], 01:34:23 "mtu": 1458, 01:34:23 "selinux-enabled": true, 01:34:23 "seccomp-profile": "/etc/docker/seccomp.json" 01:34:23 } [Pipeline] sh 01:34:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:34:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:34:42 provisioning config files... 01:34:42 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/10@tmp/config412822461895742468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:34:42 ---> docker-login.sh 01:34:42 nexus3.edgexfoundry.org:10001 01:34:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:43 Configure a credential helper to remove this warning. See 01:34:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:43 01:34:43 Login Succeeded 01:34:43 nexus3.edgexfoundry.org:10002 01:34:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:44 Configure a credential helper to remove this warning. See 01:34:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:44 01:34:44 Login Succeeded 01:34:44 nexus3.edgexfoundry.org:10003 01:34:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:44 Configure a credential helper to remove this warning. See 01:34:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:44 01:34:44 Login Succeeded 01:34:44 nexus3.edgexfoundry.org:10004 01:34:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:44 Configure a credential helper to remove this warning. See 01:34:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:44 01:34:44 Login Succeeded 01:34:44 docker.io 01:34:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:34:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:34:45 Configure a credential helper to remove this warning. See 01:34:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:34:45 01:34:45 Login Succeeded 01:34:45 ---> docker-login.sh ends [Pipeline] } 01:34:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:34:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:34:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:34:45 ========================================================= 01:34:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:34:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:34:46 + 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 . 01:34:46 Sending build context to Docker daemon 3.439MB 01:34:46 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:34:46 Step 2/12 : FROM ${BASE} AS builder 01:34:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:34:46 c41833b44d91: Pulling fs layer 01:34:46 ed15518f5707: Pulling fs layer 01:34:46 feae8fd75edb: Pulling fs layer 01:34:46 242c74f7c9fa: Pulling fs layer 01:34:46 3cdef696dda3: Pulling fs layer 01:34:46 2ced38df9373: Pulling fs layer 01:34:46 58f1dce35555: Pulling fs layer 01:34:46 242c74f7c9fa: Waiting 01:34:46 2ced38df9373: Waiting 01:34:46 3cdef696dda3: Waiting 01:34:46 58f1dce35555: Waiting 01:34:46 ed15518f5707: Verifying Checksum 01:34:46 ed15518f5707: Download complete 01:34:47 242c74f7c9fa: Verifying Checksum 01:34:47 242c74f7c9fa: Download complete 01:34:47 3cdef696dda3: Verifying Checksum 01:34:47 3cdef696dda3: Download complete 01:34:47 c41833b44d91: Download complete 01:34:48 c41833b44d91: Pull complete 01:34:48 58f1dce35555: Verifying Checksum 01:34:48 58f1dce35555: Download complete 01:34:49 ed15518f5707: Pull complete 01:34:50 feae8fd75edb: Verifying Checksum 01:34:50 feae8fd75edb: Download complete 01:34:50 2ced38df9373: Download complete 01:35:02 feae8fd75edb: Pull complete 01:35:02 242c74f7c9fa: Pull complete 01:35:02 3cdef696dda3: Pull complete 01:35:09 2ced38df9373: Pull complete 01:35:11 58f1dce35555: Pull complete 01:35:11 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 01:35:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:35:11 ---> fadd8f120f05 01:35:11 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:35:13 ---> Running in 7d6cf26044d3 01:35:13 Removing intermediate container 7d6cf26044d3 01:35:13 ---> e80bdbbed982 01:35:13 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:35:13 ---> Running in 096c78b52e46 01:35:14 Removing intermediate container 096c78b52e46 01:35:14 ---> b2debeebd64b 01:35:14 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:35:14 ---> Running in caceb00a7695 01:35:14 Removing intermediate container caceb00a7695 01:35:14 ---> 8ac773f76f24 01:35:14 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:35:14 ---> Running in c54a521ed5b2 01:35:15 Removing intermediate container c54a521ed5b2 01:35:15 ---> c3f13bd15aae 01:35:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:35:15 ---> Running in ec0d6c7467a9 01:35:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:35:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:35:19 (1/4) Installing openssh-keygen (9.1_p1-r3) 01:35:19 (2/4) Installing libedit (20221030.3.1-r0) 01:35:19 (3/4) Installing openssh-client-common (9.1_p1-r3) 01:35:19 (4/4) Installing openssh-client-default (9.1_p1-r3) 01:35:19 Executing busybox-1.35.0-r29.trigger 01:35:19 OK: 268 MiB in 57 packages 01:35:20 Removing intermediate container ec0d6c7467a9 01:35:20 ---> f0466bc67a16 01:35:20 Step 8/12 : WORKDIR /device-mqtt-go 01:35:20 ---> Running in fafec6476bc3 01:35:21 Removing intermediate container fafec6476bc3 01:35:21 ---> 3473684e6d0c 01:35:21 Step 9/12 : COPY go.mod vendor* ./ 01:35:21 ---> 1cc2b265bbf4 01:35:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:35:21 ---> Running in 4ce5f9514811 01:36:30 Removing intermediate container 4ce5f9514811 01:36:30 ---> c3225820ddbf 01:36:30 Step 11/12 : COPY . . 01:36:30 ---> 71e44445d528 01:36:30 Step 12/12 : RUN $MAKE 01:36:30 ---> Running in e991253c1e6a 01:36:32 noop 01:36:33 Removing intermediate container e991253c1e6a 01:36:33 ---> 1e40f2ae77fa 01:36:33 Successfully built 1e40f2ae77fa 01:36:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:33 + docker inspect -f . ci-base-image-arm64 01:36:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:36:33 prd-ubuntu20.04-docker-arm64-4c-16g-16914 does not seem to be running inside a container 01:36:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/10 -v /w/workspace/device-mqtt-go/10:/w/workspace/device-mqtt-go/10:rw,z -v /w/workspace/device-mqtt-go/10@tmp:/w/workspace/device-mqtt-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:36:35 $ docker top 47fe9e311455debd7cda01f2c78723d810430178b607d6623ce1fc929c52c629 -eo pid,comm [Pipeline] { [Pipeline] sh 01:36:36 + go version 01:36:36 go version go1.20.2 linux/arm64 [Pipeline] } 01:36:36 $ docker stop --time=1 47fe9e311455debd7cda01f2c78723d810430178b607d6623ce1fc929c52c629 01:36:37 $ docker rm -f --volumes 47fe9e311455debd7cda01f2c78723d810430178b607d6623ce1fc929c52c629 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:36:38 + docker inspect -f . ci-base-image-arm64 01:36:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:36:38 prd-ubuntu20.04-docker-arm64-4c-16g-16914 does not seem to be running inside a container 01:36:38 $ 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/10 -v /w/workspace/device-mqtt-go/10:/w/workspace/device-mqtt-go/10:rw,z -v /w/workspace/device-mqtt-go/10@tmp:/w/workspace/device-mqtt-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:36:40 $ docker top 8a6e04ec158e2803078e45d7e8b70414bfe55de1c873119dc07ceddf2965609b -eo pid,comm [Pipeline] { [Pipeline] sh 01:36:41 + git config --global --add safe.directory /w/workspace/device-mqtt-go/10 [Pipeline] fileExists [Pipeline] sh 01:36:41 + make test 01:36:41 go test ./... -coverprofile=coverage.out ./... 01:37:20 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:40:12 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:40:12 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:40:12 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.086s coverage: 22.8% of statements 01:40:12 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:40:12 go vet ./... 01:40:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:40:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:40:39 ./bin/test-attribution-txt.sh [Pipeline] echo 01:40:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:40:39 $ docker stop --time=1 8a6e04ec158e2803078e45d7e8b70414bfe55de1c873119dc07ceddf2965609b 01:40:41 $ docker rm -f --volumes 8a6e04ec158e2803078e45d7e8b70414bfe55de1c873119dc07ceddf2965609b [Pipeline] // withDockerContainer [Pipeline] sh 01:40:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:40:42 Warning: overwriting stash ‘coverage-report’ 01:40:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:40:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:40:44 + ls -al . 01:40:44 total 180 01:40:44 drwxrwxr-x 9 jenkins jenkins 4096 May 25 01:36 . 01:40:44 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:34 .. 01:40:44 -rw-rw-r-- 1 jenkins jenkins 140 May 25 01:34 .dockerignore 01:40:44 drwxrwxr-x 8 jenkins jenkins 4096 May 25 01:34 .git 01:40:44 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:34 .github 01:40:44 -rw-rw-r-- 1 jenkins jenkins 329 May 25 01:34 .gitignore 01:40:44 -rw-rw-r-- 1 jenkins jenkins 41 May 25 01:34 .golangci.yml 01:40:44 -rw-rw-r-- 1 jenkins jenkins 9417 May 25 01:34 Attribution.txt 01:40:44 -rw-rw-r-- 1 jenkins jenkins 17522 May 25 01:34 CHANGELOG.md 01:40:44 -rw-rw-r-- 1 jenkins jenkins 1689 May 25 01:34 Dockerfile 01:40:44 -rw-rw-r-- 1 jenkins jenkins 677 May 25 01:34 GOVERNANCE.md 01:40:44 -rw-rw-r-- 1 jenkins jenkins 678 May 25 01:34 Jenkinsfile 01:40:44 -rw-rw-r-- 1 jenkins jenkins 11340 May 25 01:34 LICENSE 01:40:44 -rw-rw-r-- 1 jenkins jenkins 1732 May 25 01:34 Makefile 01:40:44 -rw-rw-r-- 1 jenkins jenkins 620 May 25 01:34 OWNERS.md 01:40:44 -rw-rw-r-- 1 jenkins jenkins 3165 May 25 01:34 README.md 01:40:44 -rw-rw-r-- 1 jenkins jenkins 5 May 25 01:30 VERSION 01:40:44 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:34 bin 01:40:44 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:34 cmd 01:40:44 -rw-r--r-- 1 jenkins jenkins 18506 May 25 01:40 coverage.out 01:40:44 -rw-rw-r-- 1 jenkins jenkins 3285 May 25 01:34 go.mod 01:40:44 -rw-rw-r-- 1 jenkins jenkins 31232 May 25 01:34 go.sum 01:40:44 drwxrwxr-x 3 jenkins jenkins 4096 May 25 01:34 internal 01:40:44 drwxrwxr-x 2 jenkins jenkins 4096 May 25 01:34 mock 01:40:44 drwxrwxr-x 4 jenkins jenkins 4096 May 25 01:34 snap 01:40:44 -rw-rw-r-- 1 jenkins jenkins 227 May 25 01:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:40:44 + 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=bd58cf54b2db67506ef5e8027f5dd4291503e622 --label arch=arm64 --label version=0.0.0 . 01:40:44 Sending build context to Docker daemon 3.458MB 01:40:45 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 01:40:45 Step 2/24 : FROM ${BASE} AS builder 01:40:45 ---> 1e40f2ae77fa 01:40:45 Step 3/24 : ARG ADD_BUILD_TAGS="" 01:40:45 ---> Running in 5d0a307765d9 01:40:45 Removing intermediate container 5d0a307765d9 01:40:45 ---> 4e686f3d1bb6 01:40:45 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:40:45 ---> Running in 73f5846075ea 01:40:46 Removing intermediate container 73f5846075ea 01:40:46 ---> 9f0855e527ea 01:40:46 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:40:46 ---> Running in 3a0d16867663 01:40:46 Removing intermediate container 3a0d16867663 01:40:46 ---> ffe006f8cb75 01:40:46 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 01:40:46 ---> Running in c8ceee024342 01:40:46 Removing intermediate container c8ceee024342 01:40:46 ---> b18c8648a06c 01:40:46 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:40:46 ---> Running in acdb706198a3 01:40:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:40:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:40:50 OK: 268 MiB in 57 packages 01:40:54 Removing intermediate container acdb706198a3 01:40:54 ---> beeb79c5d714 01:40:54 Step 8/24 : WORKDIR /device-mqtt-go 01:40:54 ---> Running in cd5898c30d90 01:40:54 Removing intermediate container cd5898c30d90 01:40:54 ---> c0aeb643cd9b 01:40:54 Step 9/24 : COPY go.mod vendor* ./ 01:40:55 ---> bae1bc590e43 01:40:55 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:40:55 ---> Running in ef245ec18665 01:40:58 Removing intermediate container ef245ec18665 01:40:58 ---> e7d7e599e930 01:40:58 Step 11/24 : COPY . . 01:40:59 ---> 92572830ad8e 01:40:59 Step 12/24 : RUN $MAKE 01:40:59 ---> Running in 107d1db369a5 01:41:00 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 01:43:52 Removing intermediate container 107d1db369a5 01:43:52 ---> 93302e168021 01:43:52 Step 13/24 : FROM alpine:3.17 01:43:52 3.17: Pulling from library/alpine 01:43:52 c41833b44d91: Already exists 01:43:52 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:43:52 Status: Downloaded newer image for alpine:3.17 01:43:52 ---> 51e60588ff2c 01:43:52 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:43:52 ---> Running in e64b201e1f2b 01:43:52 Removing intermediate container e64b201e1f2b 01:43:52 ---> 9704d2720beb 01:43:52 Step 15/24 : RUN apk add --update --no-cache dumb-init 01:43:52 ---> Running in 432ba10e909f 01:43:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:43:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:43:52 (1/1) Installing dumb-init (1.2.5-r2) 01:43:52 Executing busybox-1.35.0-r29.trigger 01:43:52 OK: 8 MiB in 16 packages 01:43:52 Removing intermediate container 432ba10e909f 01:43:52 ---> 24a58ce1a3ce 01:43:52 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 01:43:52 ---> 301d58b15ad7 01:43:52 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 01:43:53 ---> 4cd436bb60b4 01:43:53 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:43:53 ---> a989b1f96d7b 01:43:53 Step 19/24 : EXPOSE 59982 01:43:54 ---> Running in 03a7f29f7c64 01:43:54 Removing intermediate container 03a7f29f7c64 01:43:54 ---> d6d385c0eb7b 01:43:54 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 01:43:54 ---> Running in de526fc99795 01:43:54 Removing intermediate container de526fc99795 01:43:54 ---> c1a6b47aedc9 01:43:54 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:43:54 ---> Running in 2ce190ae3e00 01:43:55 Removing intermediate container 2ce190ae3e00 01:43:55 ---> 8a82bc265c8d 01:43:55 Step 22/24 : LABEL arch=arm64 01:43:55 ---> Running in e374e8197ec0 01:43:55 Removing intermediate container e374e8197ec0 01:43:55 ---> 6d25ab25b120 01:43:55 Step 23/24 : LABEL git_sha=bd58cf54b2db67506ef5e8027f5dd4291503e622 01:43:55 ---> Running in c0ada6a559e8 01:43:56 Removing intermediate container c0ada6a559e8 01:43:56 ---> ef6f5db1f958 01:43:56 Step 24/24 : LABEL version=0.0.0 01:43:56 ---> Running in bec718362b61 01:43:56 Removing intermediate container bec718362b61 01:43:56 ---> 878597590920 01:43:56 [Warning] One or more build-args [ARCH] were not consumed 01:43:56 Successfully built 878597590920 01:43:56 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:43:57 01:43:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:43:57 arm64: Pulling from edgex-lftools-log-publisher 01:43:57 8998bd30e6a1: Pulling fs layer 01:43:57 04944245beec: Pulling fs layer 01:43:57 699f458cf7ca: Pulling fs layer 01:43:57 765212b225bb: Pulling fs layer 01:43:57 f23df028b6ca: Pulling fs layer 01:43:57 d65c8cfc05b1: Pulling fs layer 01:43:57 2437ff75d9bd: Pulling fs layer 01:43:57 f23df028b6ca: Waiting 01:43:57 d65c8cfc05b1: Waiting 01:43:57 2437ff75d9bd: Waiting 01:43:57 765212b225bb: Waiting 01:43:57 04944245beec: Verifying Checksum 01:43:57 04944245beec: Download complete 01:43:57 765212b225bb: Verifying Checksum 01:43:57 765212b225bb: Download complete 01:43:57 f23df028b6ca: Verifying Checksum 01:43:57 f23df028b6ca: Download complete 01:43:58 d65c8cfc05b1: Verifying Checksum 01:43:58 d65c8cfc05b1: Download complete 01:43:58 699f458cf7ca: Verifying Checksum 01:43:58 699f458cf7ca: Download complete 01:43:58 8998bd30e6a1: Verifying Checksum 01:43:58 8998bd30e6a1: Download complete 01:44:01 2437ff75d9bd: Verifying Checksum 01:44:01 2437ff75d9bd: Download complete 01:44:02 8998bd30e6a1: Pull complete 01:44:03 04944245beec: Pull complete 01:44:04 699f458cf7ca: Pull complete 01:44:05 765212b225bb: Pull complete 01:44:05 f23df028b6ca: Pull complete 01:44:05 d65c8cfc05b1: Pull complete 01:44:20 2437ff75d9bd: Pull complete 01:44:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:44:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:44:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:21 prd-ubuntu20.04-docker-arm64-4c-16g-16914 does not seem to be running inside a container 01:44:21 $ 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/10 -v /w/workspace/device-mqtt-go/10:/w/workspace/device-mqtt-go/10:rw,z -v /w/workspace/device-mqtt-go/10@tmp:/w/workspace/device-mqtt-go/10@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:44:24 $ docker top 2a5e9a307797a791641e797d80e90d8df6ed4c0c39aaaa5319a86dde09af3838 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:44:25 ---> job-cost.sh 01:44:25 lf-activate-venv: SKIPPING 01:44:25 INFO: No Stack... 01:44:25 INFO: Retrieving Pricing Info for: v3-standard-4 01:44:26 INFO: Archiving Costs [Pipeline] sh 01:44:27 + cat /w/workspace/device-mqtt-go/10/archives/cost.csv 01:44:27 + cut -d, -f6 [Pipeline] lock 01:44:27 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-600-10-stack-cost] 01:44:27 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-10-stack-cost] did not exist. Created. 01:44:27 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-600-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:44:27 /w/workspace/device-mqtt-go/10@tmp/durable-c8eb55e2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:44:28 + echo total: 0.10999999940395355 [Pipeline] stash 01:44:28 Warning: overwriting stash ‘stack-cost’ 01:44:28 Stashed 1 file(s) [Pipeline] } 01:44:28 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-10-stack-cost] [Pipeline] // lock [Pipeline] } 01:44:28 $ docker stop --time=1 2a5e9a307797a791641e797d80e90d8df6ed4c0c39aaaa5319a86dde09af3838 01:44:30 $ docker rm -f --volumes 2a5e9a307797a791641e797d80e90d8df6ed4c0c39aaaa5319a86dde09af3838 [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 01:44:30 provisioning config files... 01:44:30 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config8570768649917282744tmp [Pipeline] { [Pipeline] sh 01:44:31 + set +x 01:44:31 + curl -s https://codecov.io/bash 01:44:31 + bash -s -- 01:44:31 01:44:31 _____ _ 01:44:31 / ____| | | 01:44:31 | | ___ __| | ___ ___ _____ __ 01:44:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:44:31 | |___| (_) | (_| | __/ (_| (_) \ V / 01:44:31 \_____\___/ \__,_|\___|\___\___/ \_/ 01:44:31 Bash-1.0.6 01:44:31 01:44:31 01:44:31 ==> git version 2.25.1 found 01:44:31 ==> 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 01:44:31 Release-Date: 2020-01-08 01:44:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:44:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:44:31 ==> Jenkins CI detected. 01:44:31 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-600 01:44:31 project root: . 01:44:31 --> token set from env 01:44:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:44:31 ==> Running gcov in . (disable via -X gcov) 01:44:31 ==> Python coveragepy not found 01:44:31 ==> Searching for coverage reports in: 01:44:31 + . 01:44:31 -> Found 1 reports 01:44:31 ==> Detecting git/mercurial file structure 01:44:31 ==> Reading reports 01:44:31 + ./coverage.out bytes=18506 01:44:31 ==> Appending adjustments 01:44:31 https://docs.codecov.io/docs/fixing-reports 01:44:31 + Found adjustments 01:44:31 ==> Gzipping contents 01:44:31 4.0K /tmp/codecov.yM261l.gz 01:44:31 ==> Uploading reports 01:44:31 url: https://codecov.io 01:44:31 query: branch=PR-600&commit=bd58cf54b2db67506ef5e8027f5dd4291503e622&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-600%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=600&job=&cmd_args= 01:44:31 -> Pinging Codecov 01:44:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-600&commit=bd58cf54b2db67506ef5e8027f5dd4291503e622&build=10&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-600%2F10%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=600&job=&cmd_args= 01:44:31 -> Uploading to 01:44:31 https://storage.googleapis.com/codecov/v4/raw/2023-05-25/7D719EC7BBE17E464838252E33014C33/bd58cf54b2db67506ef5e8027f5dd4291503e622/5d50c726-687d-42fd-83ba-8ea23d798f0b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230525T014431Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dc91d0f330d181374f142bef446f732fe3efa26cb0a641947aa707abfec0942e 01:44:31 % Total % Received % Xferd Average Speed Time Time Time Current 01:44:31 Dload Upload Total Spent Left Speed 01:44:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 16175 --:--:-- --:--:-- --:--:-- 16175 01:44:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/bd58cf54b2db67506ef5e8027f5dd4291503e622 [Pipeline] } 01:44:31 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 01:44:32 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives ] 01:44:32 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives 01:44:32 total 16 01:44:32 drwxr-xr-x 3 root root 4096 May 25 01:32 . 01:44:32 drwxrwxr-x 11 jenkins jenkins 4096 May 25 01:32 .. 01:44:32 drwxr-xr-x 2 root root 4096 May 25 01:32 cost 01:44:32 -rw-r--r-- 1 root root 87 May 25 01:32 cost.csv 01:44:32 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives 01:44:32 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives 01:44:32 total 16 01:44:32 drwxr-xr-x 3 jenkins jenkins 4096 May 25 01:32 . 01:44:32 drwxrwxr-x 11 jenkins jenkins 4096 May 25 01:32 .. 01:44:32 drwxr-xr-x 2 jenkins jenkins 4096 May 25 01:32 cost 01:44:32 -rw-r--r-- 1 jenkins jenkins 87 May 25 01:32 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:44:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:44:33 ---> package-listing.sh 01:44:33 ++ facter osfamily 01:44:33 ++ tr '[:upper:]' '[:lower:]' 01:44:33 + OS_FAMILY=debian 01:44:33 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-600 01:44:33 + START_PACKAGES=/tmp/packages_start.txt 01:44:33 + END_PACKAGES=/tmp/packages_end.txt 01:44:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:44:33 + PACKAGES=/tmp/packages_start.txt 01:44:33 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-600 ']' 01:44:33 + PACKAGES=/tmp/packages_end.txt 01:44:33 + case "${OS_FAMILY}" in 01:44:33 + dpkg -l 01:44:33 + grep '^ii' 01:44:33 + '[' -f /tmp/packages_start.txt ']' 01:44:33 + '[' -f /tmp/packages_end.txt ']' 01:44:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:44:33 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-600 ']' 01:44:33 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives/ 01:44:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives/ [Pipeline] echo 01:44:33 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-600/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:44:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:44:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:44:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:44:34 prd-ubuntu20.04-docker-8c-8g-16906 does not seem to be running inside a container 01:44:34 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-600/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:44:35 $ docker top 7167166c4f0cc0c1c673f0f5feeaeb1333ac9ea7b3f8e1096fcf2d836baaa712 -eo pid,comm [Pipeline] { [Pipeline] sh 01:44:35 + touch /tmp/pre-build-complete [Pipeline] sh 01:44:35 + mkdir -p /var/log/sysstat [Pipeline] sh 01:44:36 + ls /var/log/sa-host 01:44:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:44:36 provisioning config files... 01:44:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config8616116064545601231tmp [Pipeline] { [Pipeline] echo 01:44:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:44:36 ---> create-netrc.sh [Pipeline] } 01:44:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:44:36 ---> python-tools-install.sh [Pipeline] echo 01:44:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:44:37 ---> sudo-logs.sh 01:44:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:44:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:44:37 ---> job-cost.sh 01:44:37 lf-activate-venv: SKIPPING 01:44:37 DEBUG: total: 0.2199999988079071 01:44:37 INFO: Retrieving Stack Cost... 01:44:37 INFO: Retrieving Pricing Info for: v3-standard-8 01:44:38 INFO: Archiving Costs [Pipeline] echo 01:44:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:44:38 ---> logs-deploy.sh 01:44:38 lf-activate-venv: SKIPPING 01:44:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-600/10 01:44:38 INFO: archiving workspace using pattern(s): 01:44:39 Archives upload complete. 01:44:39 INFO: archiving logs to Nexus