Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c914edb9f105c70f3a718961ec42a35abf56f28d+33b0dc6b274c5eb124b636b2b410181079e3ed13 (12b73d6544ba3f7aef149480abd4f47045236257) 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-ssh2075015085471641949.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-ssh2150450436080323341.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-606/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-606/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13184119728828179517.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-ssh15132732483578629285.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-606/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-606/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13700902042184576884.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-17383 in /w/workspace/gexfoundry_device-mqtt-go_PR-606 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-606 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 33b0dc6b274c5eb124b636b2b410181079e3ed13 into PR head commit c914edb9f105c70f3a718961ec42a35abf56f28d Merge succeeded, producing 749c0b0e9e420244af06c62fe7d27671c7c7e87d Checking out Revision 749c0b0e9e420244af06c62fe7d27671c7c7e87d (PR-606) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/606/head:refs/remotes/origin/PR-606 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c914edb9f105c70f3a718961ec42a35abf56f28d # 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 33b0dc6b274c5eb124b636b2b410181079e3ed13 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 749c0b0e9e420244af06c62fe7d27671c7c7e87d # timeout=10 Commit message: "Merge commit '33b0dc6b274c5eb124b636b2b410181079e3ed13' into HEAD" > git rev-list --no-walk c914edb9f105c70f3a718961ec42a35abf56f28d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:17:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:17:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:17:42 ========================================================= 23:17:42 EdgeX Global Pipelines Version Info 23:17:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:17:43 ------------------- 23:17:43 stable info: 23:17:43 ------------------- 23:17:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:17:43 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:17:43 Message: update stable to v1.0.249 23:17:43 ------------------- 23:17:43 experimental info: 23:17:43 ------------------- 23:17:43 Commited By: **** collab-it+edgex@linuxfoundation.org 23:17:43 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:17:43 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-606 [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-606 [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-606 [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 749c0b0e9e420244af06c62fe7d27671c7c7e87d [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 749c0b0 [Pipeline] echo 23:17:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:17:44 provisioning config files... 23:17:44 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/config13956362426660620191tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:17:44 ---> docker-login.sh 23:17:44 nexus3.edgexfoundry.org:10001 23:17:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:45 Configure a credential helper to remove this warning. See 23:17:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:45 23:17:45 Login Succeeded 23:17:45 nexus3.edgexfoundry.org:10002 23:17:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:45 Configure a credential helper to remove this warning. See 23:17:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:45 23:17:45 Login Succeeded 23:17:45 nexus3.edgexfoundry.org:10003 23:17:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:45 Configure a credential helper to remove this warning. See 23:17:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:45 23:17:45 Login Succeeded 23:17:45 nexus3.edgexfoundry.org:10004 23:17:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:45 Configure a credential helper to remove this warning. See 23:17:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:45 23:17:45 Login Succeeded 23:17:45 docker.io 23:17:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:45 Configure a credential helper to remove this warning. See 23:17:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:45 23:17:45 Login Succeeded 23:17:45 ---> docker-login.sh ends [Pipeline] } 23:17:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:17:46 + git rev-list -1 --merges 749c0b0e9e420244af06c62fe7d27671c7c7e87d~1..749c0b0e9e420244af06c62fe7d27671c7c7e87d [Pipeline] echo 23:17:46 -----------> git rev-list -1 --merges 749c0b0e9e420244af06c62fe7d27671c7c7e87d~1..749c0b0e9e420244af06c62fe7d27671c7c7e87d 749c0b0e9e420244af06c62fe7d27671c7c7e87d 23:17:46 749c0b0e9e420244af06c62fe7d27671c7c7e87d [false] [Pipeline] sh 23:17:46 + git log --format=format:%s -1 749c0b0e9e420244af06c62fe7d27671c7c7e87d [Pipeline] echo 23:17:46 ========================================================= 23:17:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:17:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:17:47 + git log --format=format:%s -1 749c0b0e9e420244af06c62fe7d27671c7c7e87d [Pipeline] echo 23:17:47 [semverPrep] GIT_COMMIT: 749c0b0e9e420244af06c62fe7d27671c7c7e87d, Commit Message: Merge commit '33b0dc6b274c5eb124b636b2b410181079e3ed13' into HEAD [Pipeline] echo 23:17:47 [semverPrep] This is not a build commit. [Pipeline] sh 23:17:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:17:47 + grep -v github /etc/ssh/ssh_known_hosts 23:17:47 + [ -e /tmp/ssh_known_hosts ] 23:17:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:17:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:17:47 + sudo tee -a /etc/ssh/ssh_known_hosts 23:17:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:17:47 23:17:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:17:48 0.1.4: Pulling from edgex-devops/py-git-semver 23:17:48 b85a868b505f: Pulling fs layer 23:17:48 e2be974225ed: Pulling fs layer 23:17:48 339a4e72a1f5: Pulling fs layer 23:17:48 988bab9f4d93: Pulling fs layer 23:17:48 1469e6f7b9e6: Pulling fs layer 23:17:48 eaf3925da568: Pulling fs layer 23:17:48 bab4dde63d76: Pulling fs layer 23:17:48 bde34c3a00c8: Pulling fs layer 23:17:48 b352a97aabf1: Pulling fs layer 23:17:48 988bab9f4d93: Waiting 23:17:48 4872d77fe225: Pulling fs layer 23:17:48 1469e6f7b9e6: Waiting 23:17:48 5851b861e8e6: Pulling fs layer 23:17:48 eaf3925da568: Waiting 23:17:48 bab4dde63d76: Waiting 23:17:48 bde34c3a00c8: Waiting 23:17:48 b352a97aabf1: Waiting 23:17:48 4872d77fe225: Waiting 23:17:48 5851b861e8e6: Waiting 23:17:48 e2be974225ed: Verifying Checksum 23:17:48 e2be974225ed: Download complete 23:17:48 988bab9f4d93: Verifying Checksum 23:17:48 988bab9f4d93: Download complete 23:17:48 1469e6f7b9e6: Verifying Checksum 23:17:48 1469e6f7b9e6: Download complete 23:17:48 eaf3925da568: Verifying Checksum 23:17:48 eaf3925da568: Download complete 23:17:48 339a4e72a1f5: Verifying Checksum 23:17:48 339a4e72a1f5: Download complete 23:17:48 bde34c3a00c8: Verifying Checksum 23:17:48 bde34c3a00c8: Download complete 23:17:48 b352a97aabf1: Download complete 23:17:48 4872d77fe225: Verifying Checksum 23:17:48 4872d77fe225: Download complete 23:17:48 5851b861e8e6: Download complete 23:17:48 b85a868b505f: Verifying Checksum 23:17:48 b85a868b505f: Download complete 23:17:48 bab4dde63d76: Verifying Checksum 23:17:48 bab4dde63d76: Download complete 23:17:49 b85a868b505f: Pull complete 23:17:49 e2be974225ed: Pull complete 23:17:50 339a4e72a1f5: Pull complete 23:17:50 988bab9f4d93: Pull complete 23:17:50 1469e6f7b9e6: Pull complete 23:17:50 eaf3925da568: Pull complete 23:17:52 bab4dde63d76: Pull complete 23:17:52 bde34c3a00c8: Pull complete 23:17:52 b352a97aabf1: Pull complete 23:17:52 4872d77fe225: Pull complete 23:17:52 5851b861e8e6: Pull complete 23:17:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:17:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:17:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:52 prd-ubuntu20.04-docker-8c-8g-17383 does not seem to be running inside a container 23:17:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-606 -v /w/workspace/gexfoundry_device-mqtt-go_PR-606:/w/workspace/gexfoundry_device-mqtt-go_PR-606:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:17:56 $ docker top ecc135d47bd920f3b6a282ecb09ebfb1f0c19fac1ccc440fb9473a90059ec2f9 -eo pid,comm 23:17:56 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:17:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:17:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:17:56 [ssh-agent] Looking for ssh-agent implementation... 23:17:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:17:56 $ docker exec ecc135d47bd920f3b6a282ecb09ebfb1f0c19fac1ccc440fb9473a90059ec2f9 ssh-agent 23:17:56 SSH_AUTH_SOCK=/tmp/ssh-ApB5BAvIM4O6/agent.31 23:17:56 SSH_AGENT_PID=37 23:17:56 Running ssh-add (command line suppressed) 23:17:56 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/private_key_12897313006932916212.key (/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/private_key_12897313006932916212.key) 23:17:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:17:57 + git tag --points-at HEAD [Pipeline] } 23:17:57 $ docker exec --env ******** --env ******** ecc135d47bd920f3b6a282ecb09ebfb1f0c19fac1ccc440fb9473a90059ec2f9 ssh-agent -k 23:17:57 unset SSH_AUTH_SOCK; 23:17:57 unset SSH_AGENT_PID; 23:17:57 echo Agent pid 37 killed; 23:17:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:17:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:17:57 [ssh-agent] Looking for ssh-agent implementation... 23:17:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:17:57 $ docker exec ecc135d47bd920f3b6a282ecb09ebfb1f0c19fac1ccc440fb9473a90059ec2f9 ssh-agent 23:17:57 SSH_AUTH_SOCK=/tmp/ssh-3c0dmWjOL6YB/agent.69 23:17:57 SSH_AGENT_PID=75 23:17:57 Running ssh-add (command line suppressed) 23:17:57 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/private_key_895334744621407538.key (/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/private_key_895334744621407538.key) 23:17:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:17:57 + git semver init 23:17:58 2023-05-30 23:17:58,143 [run_init] DEBUG init version:0.0.0 force:False 23:17:58 2023-05-30 23:17:58,144 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver 23:17:58 2023-05-30 23:17:58,144 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver 23:17:58 2023-05-30 23:17:58,144 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-606, universal_newlines=False, shell=None, istream=None) 23:17:59 2023-05-30 23:17:58,950 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606/.git/info/exclude 23:17:59 2023-05-30 23:17:58,950 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver/PR-606 with force:False 23:17:59 2023-05-30 23:17:58,950 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver/PR-606 23:17:59 2023-05-30 23:17:58,955 [execute] INFO git cat-file --batch-check 23:17:59 2023-05-30 23:17:58,956 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver, universal_newlines=False, shell=None, istream=) 23:17:59 2023-05-30 23:17:58,963 [execute] INFO git cat-file --batch 23:17:59 2023-05-30 23:17:58,963 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver, universal_newlines=False, shell=None, istream=) 23:17:59 2023-05-30 23:17:58,968 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-606/.semver/PR-606 23:17:59 0.0.0 [Pipeline] } 23:17:59 $ docker exec --env ******** --env ******** ecc135d47bd920f3b6a282ecb09ebfb1f0c19fac1ccc440fb9473a90059ec2f9 ssh-agent -k 23:17:59 unset SSH_AUTH_SOCK; 23:17:59 unset SSH_AGENT_PID; 23:17:59 echo Agent pid 75 killed; 23:17:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:17:59 + git semver [Pipeline] } 23:17:59 $ docker stop --time=1 ecc135d47bd920f3b6a282ecb09ebfb1f0c19fac1ccc440fb9473a90059ec2f9 23:18:01 $ docker rm -f --volumes ecc135d47bd920f3b6a282ecb09ebfb1f0c19fac1ccc440fb9473a90059ec2f9 [Pipeline] // withDockerContainer [Pipeline] sh 23:18:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:18:01 Stashed 1 file(s) [Pipeline] echo 23:18:01 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:18:01 provisioning config files... 23:18:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/config16891339966650425737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:18:02 ---> docker-login.sh 23:18:02 nexus3.edgexfoundry.org:10001 23:18:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:02 Configure a credential helper to remove this warning. See 23:18:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:02 23:18:02 Login Succeeded 23:18:02 nexus3.edgexfoundry.org:10002 23:18:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:02 Configure a credential helper to remove this warning. See 23:18:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:02 23:18:02 Login Succeeded 23:18:02 nexus3.edgexfoundry.org:10003 23:18:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:02 Configure a credential helper to remove this warning. See 23:18:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:02 23:18:02 Login Succeeded 23:18:02 nexus3.edgexfoundry.org:10004 23:18:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:02 Configure a credential helper to remove this warning. See 23:18:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:02 23:18:02 Login Succeeded 23:18:02 docker.io 23:18:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:02 Configure a credential helper to remove this warning. See 23:18:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:02 23:18:02 Login Succeeded 23:18:02 ---> docker-login.sh ends [Pipeline] } 23:18:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:18:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:18:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:18:03 ========================================================= 23:18:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:18:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:03 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:18:03 Sending build context to Docker daemon 6.624MB 23:18:03 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:18:03 Step 2/12 : FROM ${BASE} AS builder 23:18:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:18:03 f56be85fc22e: Pulling fs layer 23:18:03 85791d961cd3: Pulling fs layer 23:18:03 d694b5ae8c79: Pulling fs layer 23:18:03 9f32a84ed3da: Pulling fs layer 23:18:03 4d19c01a9841: Pulling fs layer 23:18:03 9325e15d5711: Pulling fs layer 23:18:03 556b6ee489ea: Pulling fs layer 23:18:03 c5a4b2cf53e6: Pulling fs layer 23:18:03 4d19c01a9841: Waiting 23:18:03 9325e15d5711: Waiting 23:18:03 556b6ee489ea: Waiting 23:18:03 c5a4b2cf53e6: Waiting 23:18:03 9f32a84ed3da: Waiting 23:18:03 85791d961cd3: Download complete 23:18:03 9f32a84ed3da: Verifying Checksum 23:18:03 9f32a84ed3da: Download complete 23:18:03 4d19c01a9841: Download complete 23:18:03 f56be85fc22e: Verifying Checksum 23:18:03 f56be85fc22e: Download complete 23:18:03 9325e15d5711: Verifying Checksum 23:18:03 9325e15d5711: Download complete 23:18:03 f56be85fc22e: Pull complete 23:18:03 85791d961cd3: Pull complete 23:18:04 c5a4b2cf53e6: Verifying Checksum 23:18:04 c5a4b2cf53e6: Download complete 23:18:04 d694b5ae8c79: Download complete 23:18:04 556b6ee489ea: Verifying Checksum 23:18:04 556b6ee489ea: Download complete 23:18:08 d694b5ae8c79: Pull complete 23:18:08 9f32a84ed3da: Pull complete 23:18:08 4d19c01a9841: Pull complete 23:18:08 9325e15d5711: Pull complete 23:18:10 556b6ee489ea: Pull complete 23:18:11 c5a4b2cf53e6: Pull complete 23:18:12 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:18:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:18:12 ---> c4be618373d6 23:18:12 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:18:16 Still waiting to schedule task 23:18:16 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:18:20 ---> Running in d2022ede74d1 23:18:20 Removing intermediate container d2022ede74d1 23:18:20 ---> 790f38319952 23:18:20 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:18:21 ---> Running in 8245d294ef8e 23:18:22 Removing intermediate container 8245d294ef8e 23:18:22 ---> 53a551f49397 23:18:22 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:18:23 ---> Running in a19ebf89cb64 23:18:24 Removing intermediate container a19ebf89cb64 23:18:24 ---> 1377cf0d92f3 23:18:24 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:18:25 ---> Running in 49ed6fed2cca 23:18:26 Removing intermediate container 49ed6fed2cca 23:18:26 ---> 0f3825f9f65e 23:18:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:18:27 ---> Running in bef8fed75678 23:18:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:18:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:18:28 (1/4) Installing openssh-keygen (9.1_p1-r3) 23:18:28 (2/4) Installing libedit (20221030.3.1-r0) 23:18:28 (3/4) Installing openssh-client-common (9.1_p1-r3) 23:18:28 (4/4) Installing openssh-client-default (9.1_p1-r3) 23:18:28 Executing busybox-1.35.0-r29.trigger 23:18:28 OK: 269 MiB in 57 packages 23:18:32 Removing intermediate container bef8fed75678 23:18:32 ---> 915329a1ff04 23:18:32 Step 8/12 : WORKDIR /device-mqtt-go 23:18:32 ---> Running in e4c9331e73c4 23:18:33 Removing intermediate container e4c9331e73c4 23:18:33 ---> b65c74d87d3b 23:18:33 Step 9/12 : COPY go.mod vendor* ./ 23:18:35 ---> 212b8c00b5f2 23:18:35 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:18:35 ---> Running in 558f51649bfb 23:19:32 Removing intermediate container 558f51649bfb 23:19:32 ---> 96028b1e76a1 23:19:32 Step 11/12 : COPY . . 23:19:32 ---> a9b16f28b32a 23:19:32 Step 12/12 : RUN $MAKE 23:19:32 ---> Running in 67caeec89853 23:19:32 noop 23:19:32 Removing intermediate container 67caeec89853 23:19:32 ---> fccea0d0d002 23:19:32 Successfully built fccea0d0d002 23:19:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:32 + docker inspect -f . ci-base-image-x86_64 23:19:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:32 prd-ubuntu20.04-docker-8c-8g-17383 does not seem to be running inside a container 23:19:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-606 -v /w/workspace/gexfoundry_device-mqtt-go_PR-606:/w/workspace/gexfoundry_device-mqtt-go_PR-606:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:19:33 $ docker top d7764a9930b61aa8c2cb46cb71be7c5e5ad95c2d02ae94bd902d070f1f330d2b -eo pid,comm [Pipeline] { [Pipeline] sh 23:19:33 + go version 23:19:33 go version go1.20.2 linux/amd64 [Pipeline] } 23:19:33 $ docker stop --time=1 d7764a9930b61aa8c2cb46cb71be7c5e5ad95c2d02ae94bd902d070f1f330d2b 23:19:35 $ docker rm -f --volumes d7764a9930b61aa8c2cb46cb71be7c5e5ad95c2d02ae94bd902d070f1f330d2b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:35 + docker inspect -f . ci-base-image-x86_64 23:19:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:35 prd-ubuntu20.04-docker-8c-8g-17383 does not seem to be running inside a container 23:19:35 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-606 -v /w/workspace/gexfoundry_device-mqtt-go_PR-606:/w/workspace/gexfoundry_device-mqtt-go_PR-606:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:19:36 $ docker top 4bca756637ccd25e1077604115f0d46f3297c962f54b147b52cfe51d4be20726 -eo pid,comm [Pipeline] { [Pipeline] sh 23:19:37 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-606 [Pipeline] fileExists [Pipeline] sh 23:19:37 + make test 23:19:37 go test ./... -coverprofile=coverage.out ./... 23:19:42 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:19:44 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17385 in /w/workspace/gexfoundry_device-mqtt-go_PR-606 [Pipeline] { [Pipeline] ws 23:19:44 Running in /w/workspace/device-mqtt-go/7 [Pipeline] { [Pipeline] checkout 23:19:44 Selected Git installation does not exist. Using Default 23:19:44 The recommended git tool is: NONE 23:19:49 using credential edgex-jenkins-ssh 23:19:49 Cloning the remote Git repository 23:19:49 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:19:49 > git init /w/workspace/device-mqtt-go/7 # timeout=10 23:19:50 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:19:50 > git --version # timeout=10 23:19:50 > git --version # 'git version 2.25.1' 23:19:50 using GIT_SSH to set credentials SSH Credentials for GitHub 23:19:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:19:51 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:19:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:19:53 Merging remotes/origin/main commit 33b0dc6b274c5eb124b636b2b410181079e3ed13 into PR head commit c914edb9f105c70f3a718961ec42a35abf56f28d 23:19:52 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:19:52 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:19:52 using GIT_SSH to set credentials SSH Credentials for GitHub 23:19:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/606/head:refs/remotes/origin/PR-606 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:19:53 Merge succeeded, producing 98265c76290104e601e0cf22509484af2d96f43a 23:19:53 Checking out Revision 98265c76290104e601e0cf22509484af2d96f43a (PR-606) 23:19:53 > git config core.sparsecheckout # timeout=10 23:19:53 > git checkout -f c914edb9f105c70f3a718961ec42a35abf56f28d # timeout=10 23:19:53 > git remote # timeout=10 23:19:53 > git config --get remote.origin.url # timeout=10 23:19:53 using GIT_SSH to set credentials SSH Credentials for GitHub 23:19:53 > git merge 33b0dc6b274c5eb124b636b2b410181079e3ed13 # timeout=10 23:19:53 > git rev-parse HEAD^{commit} # timeout=10 23:19:53 > git config core.sparsecheckout # timeout=10 23:19:53 > git checkout -f 98265c76290104e601e0cf22509484af2d96f43a # timeout=10 23:19:55 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:19:55 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:19:55 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.021s coverage: 22.8% of statements 23:19:57 Commit message: "Merge commit '33b0dc6b274c5eb124b636b2b410181079e3ed13' into HEAD" 23:19:57 > git rev-list --no-walk c914edb9f105c70f3a718961ec42a35abf56f28d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:19:57 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:19:57 % Total % Received % Xferd Average Speed Time Time Time Current 23:19:57 Dload Upload Total Spent Left Speed 23:19:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83339 0 --:--:-- --:--:-- --:--:-- 83339 [Pipeline] sh 23:19:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:19:59 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 23:19:59 23:19:59 { 23:19:59 "registry-mirrors": [ 23:19:59 "https://nexus3.edgexfoundry.org:10001" 23:19:59 ], 23:19:59 "bip": "10.250.0.254/24", 23:19:59 "hosts": [ 23:19:59 "tcp://0.0.0.0:5555", 23:19:59 "unix:///var/run/docker.sock" 23:19:59 ], 23:19:59 "mtu": 1458, 23:19:59 "selinux-enabled": true, 23:19:59 "seccomp-profile": "/etc/docker/seccomp.json" 23:19:59 } [Pipeline] sh 23:19:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:19:59 + sudo service docker restart 23:20:01 go vet ./... 23:20:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:20:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:20:04 ./bin/test-attribution-txt.sh [Pipeline] echo 23:20:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:20:04 $ docker stop --time=1 4bca756637ccd25e1077604115f0d46f3297c962f54b147b52cfe51d4be20726 23:20:09 $ docker rm -f --volumes 4bca756637ccd25e1077604115f0d46f3297c962f54b147b52cfe51d4be20726 [Pipeline] // withDockerContainer [Pipeline] sh 23:20:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:20:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:20:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:20:10 + ls -al . 23:20:10 total 184 23:20:10 drwxrwxr-x 10 jenkins jenkins 4096 May 30 23:19 . 23:20:10 drwxrwxr-x 4 jenkins jenkins 4096 May 30 23:17 .. 23:20:10 -rw-rw-r-- 1 jenkins jenkins 140 May 30 23:17 .dockerignore 23:20:10 drwxrwxr-x 8 jenkins jenkins 4096 May 30 23:17 .git 23:20:10 drwxrwxr-x 3 jenkins jenkins 4096 May 30 23:17 .github 23:20:10 -rw-rw-r-- 1 jenkins jenkins 329 May 30 23:17 .gitignore 23:20:10 -rw-rw-r-- 1 jenkins jenkins 41 May 30 23:17 .golangci.yml 23:20:10 drwxr-xr-x 3 jenkins jenkins 4096 May 30 23:17 .semver 23:20:10 -rw-rw-r-- 1 jenkins jenkins 9417 May 30 23:17 Attribution.txt 23:20:10 -rw-rw-r-- 1 jenkins jenkins 17522 May 30 23:17 CHANGELOG.md 23:20:10 -rw-rw-r-- 1 jenkins jenkins 1689 May 30 23:17 Dockerfile 23:20:10 -rw-rw-r-- 1 jenkins jenkins 677 May 30 23:17 GOVERNANCE.md 23:20:10 -rw-rw-r-- 1 jenkins jenkins 678 May 30 23:17 Jenkinsfile 23:20:10 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 23:17 LICENSE 23:20:10 -rw-rw-r-- 1 jenkins jenkins 1732 May 30 23:17 Makefile 23:20:10 -rw-rw-r-- 1 jenkins jenkins 620 May 30 23:17 OWNERS.md 23:20:10 -rw-rw-r-- 1 jenkins jenkins 3189 May 30 23:17 README.md 23:20:10 -rw-rw-r-- 1 jenkins jenkins 5 May 30 23:18 VERSION 23:20:10 drwxrwxr-x 2 jenkins jenkins 4096 May 30 23:17 bin 23:20:10 drwxrwxr-x 3 jenkins jenkins 4096 May 30 23:17 cmd 23:20:10 -rw-r--r-- 1 jenkins jenkins 18506 May 30 23:19 coverage.out 23:20:10 -rw-rw-r-- 1 jenkins jenkins 3285 May 30 23:17 go.mod 23:20:10 -rw-rw-r-- 1 jenkins jenkins 31322 May 30 23:17 go.sum 23:20:10 drwxrwxr-x 3 jenkins jenkins 4096 May 30 23:17 internal 23:20:10 drwxrwxr-x 2 jenkins jenkins 4096 May 30 23:17 mock 23:20:10 drwxrwxr-x 4 jenkins jenkins 4096 May 30 23:17 snap 23:20:10 -rw-rw-r-- 1 jenkins jenkins 227 May 30 23:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:10 + 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=749c0b0e9e420244af06c62fe7d27671c7c7e87d --label arch=amd64 --label version=0.0.0 . 23:20:10 Sending build context to Docker daemon 6.644MB 23:20:10 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:20:10 Step 2/24 : FROM ${BASE} AS builder 23:20:10 ---> fccea0d0d002 23:20:10 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:20:10 ---> Running in 98e1e7d7c1f0 23:20:10 Removing intermediate container 98e1e7d7c1f0 23:20:10 ---> 77221c209b56 23:20:10 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:20:10 ---> Running in 3ca31fe5a46b 23:20:11 Removing intermediate container 3ca31fe5a46b 23:20:11 ---> 3f777115c609 23:20:11 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:20:11 ---> Running in 4609aecbe01d 23:20:11 Removing intermediate container 4609aecbe01d 23:20:11 ---> efe0e1b0448b 23:20:11 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:20:11 ---> Running in 2d87dfecf722 23:20:11 Removing intermediate container 2d87dfecf722 23:20:11 ---> aec23481a6ad 23:20:11 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:20:11 ---> Running in 01f22950e7a6 23:20:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:20:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:20:12 OK: 269 MiB in 57 packages 23:20:12 Removing intermediate container 01f22950e7a6 23:20:12 ---> 33326a68a1a7 23:20:12 Step 8/24 : WORKDIR /device-mqtt-go 23:20:13 ---> Running in a3b98bd31f81 23:20:13 Removing intermediate container a3b98bd31f81 23:20:13 ---> 13dc8351b751 23:20:13 Step 9/24 : COPY go.mod vendor* ./ 23:20:13 ---> e66efff71c06 23:20:13 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:20:13 ---> Running in 9e8f58ea5c60 23:20:14 Removing intermediate container 9e8f58ea5c60 23:20:14 ---> 25537b8e3fda 23:20:14 Step 11/24 : COPY . . 23:20:14 ---> fa7505fd74d5 23:20:14 Step 12/24 : RUN $MAKE 23:20:14 ---> Running in f4d9ee3397e9 23:20:15 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:20:21 provisioning config files... 23:20:21 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/7@tmp/config9696295944496030546tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:20:22 ---> docker-login.sh 23:20:22 nexus3.edgexfoundry.org:10001 23:20:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:22 Configure a credential helper to remove this warning. See 23:20:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:22 23:20:22 Login Succeeded 23:20:22 nexus3.edgexfoundry.org:10002 23:20:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:23 Configure a credential helper to remove this warning. See 23:20:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:23 23:20:23 Login Succeeded 23:20:23 nexus3.edgexfoundry.org:10003 23:20:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:23 Configure a credential helper to remove this warning. See 23:20:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:23 23:20:23 Login Succeeded 23:20:23 nexus3.edgexfoundry.org:10004 23:20:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:23 Configure a credential helper to remove this warning. See 23:20:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:23 23:20:23 Login Succeeded 23:20:23 docker.io 23:20:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:24 Configure a credential helper to remove this warning. See 23:20:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:24 23:20:24 Login Succeeded 23:20:24 ---> docker-login.sh ends [Pipeline] } 23:20:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:20:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:20:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:20:24 ========================================================= 23:20:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:20:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:25 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:20:25 Sending build context to Docker daemon 3.436MB 23:20:25 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:20:25 Step 2/12 : FROM ${BASE} AS builder 23:20:25 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:20:25 c41833b44d91: Pulling fs layer 23:20:25 ed15518f5707: Pulling fs layer 23:20:25 feae8fd75edb: Pulling fs layer 23:20:25 242c74f7c9fa: Pulling fs layer 23:20:25 3cdef696dda3: Pulling fs layer 23:20:25 2ced38df9373: Pulling fs layer 23:20:25 58f1dce35555: Pulling fs layer 23:20:25 3cdef696dda3: Waiting 23:20:25 2ced38df9373: Waiting 23:20:25 58f1dce35555: Waiting 23:20:25 242c74f7c9fa: Waiting 23:20:25 ed15518f5707: Download complete 23:20:25 242c74f7c9fa: Verifying Checksum 23:20:25 242c74f7c9fa: Download complete 23:20:25 3cdef696dda3: Download complete 23:20:25 c41833b44d91: Download complete 23:20:26 c41833b44d91: Pull complete 23:20:26 58f1dce35555: Verifying Checksum 23:20:26 58f1dce35555: Download complete 23:20:27 ed15518f5707: Pull complete 23:20:28 feae8fd75edb: Verifying Checksum 23:20:28 feae8fd75edb: Download complete 23:20:28 2ced38df9373: Verifying Checksum 23:20:28 2ced38df9373: Download complete 23:20:37 Removing intermediate container f4d9ee3397e9 23:20:37 ---> 2268f255c916 23:20:37 Step 13/24 : FROM alpine:3.17 23:20:37 3.17: Pulling from library/alpine 23:20:37 f56be85fc22e: Already exists 23:20:37 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:20:37 Status: Downloaded newer image for alpine:3.17 23:20:37 ---> 9ed4aefc74f6 23:20:37 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:20:37 ---> Running in 09c468553fa4 23:20:37 Removing intermediate container 09c468553fa4 23:20:37 ---> 317b7ca5951f 23:20:37 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:20:37 ---> Running in c5bba0fbff7c 23:20:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:20:40 feae8fd75edb: Pull complete 23:20:40 242c74f7c9fa: Pull complete 23:20:40 3cdef696dda3: Pull complete 23:20:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:20:40 (1/1) Installing dumb-init (1.2.5-r2) 23:20:40 Executing busybox-1.35.0-r29.trigger 23:20:40 OK: 7 MiB in 16 packages 23:20:40 Removing intermediate container c5bba0fbff7c 23:20:40 ---> f9ff8a985ad3 23:20:40 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:20:41 ---> 68fdb68e465b 23:20:41 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:20:41 ---> 77d42d94e7e4 23:20:41 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:20:41 ---> 2cc803c46bac 23:20:41 Step 19/24 : EXPOSE 59982 23:20:41 ---> Running in a8f677ad9e60 23:20:41 Removing intermediate container a8f677ad9e60 23:20:41 ---> 0a2eca528381 23:20:41 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:20:41 ---> Running in 602114dff631 23:20:41 Removing intermediate container 602114dff631 23:20:41 ---> 2fb17a178b56 23:20:41 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:20:41 ---> Running in f4306f97814e 23:20:41 Removing intermediate container f4306f97814e 23:20:41 ---> bc9c480041f1 23:20:41 Step 22/24 : LABEL arch=amd64 23:20:41 ---> Running in 614fc9ae9f96 23:20:42 Removing intermediate container 614fc9ae9f96 23:20:42 ---> 7b7787baecad 23:20:42 Step 23/24 : LABEL git_sha=749c0b0e9e420244af06c62fe7d27671c7c7e87d 23:20:42 ---> Running in 2cd69f486edf 23:20:42 Removing intermediate container 2cd69f486edf 23:20:42 ---> 1bd8d9f998bb 23:20:42 Step 24/24 : LABEL version=0.0.0 23:20:42 ---> Running in 795890f1377c 23:20:42 Removing intermediate container 795890f1377c 23:20:42 ---> 2c5ea233840a 23:20:42 [Warning] One or more build-args [ARCH] were not consumed 23:20:42 Successfully built 2c5ea233840a 23:20:42 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:42 23:20:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:42 latest: Pulling from edgex-lftools-log-publisher 23:20:42 5eb5b503b376: Pulling fs layer 23:20:42 5c69ac0246d0: Pulling fs layer 23:20:42 ec43610c2a17: Pulling fs layer 23:20:42 3a2ae6a8a46f: Pulling fs layer 23:20:42 33b1e0a273af: Pulling fs layer 23:20:42 5d3b04190fa2: Pulling fs layer 23:20:42 2f39f015ded8: Pulling fs layer 23:20:42 33b1e0a273af: Waiting 23:20:42 5d3b04190fa2: Waiting 23:20:42 3a2ae6a8a46f: Waiting 23:20:42 2f39f015ded8: Waiting 23:20:42 5c69ac0246d0: Download complete 23:20:42 3a2ae6a8a46f: Download complete 23:20:42 33b1e0a273af: Download complete 23:20:42 5d3b04190fa2: Verifying Checksum 23:20:42 5d3b04190fa2: Download complete 23:20:43 ec43610c2a17: Verifying Checksum 23:20:43 ec43610c2a17: Download complete 23:20:43 5eb5b503b376: Download complete 23:20:43 2f39f015ded8: Verifying Checksum 23:20:43 2f39f015ded8: Download complete 23:20:44 5eb5b503b376: Pull complete 23:20:44 5c69ac0246d0: Pull complete 23:20:45 ec43610c2a17: Pull complete 23:20:45 3a2ae6a8a46f: Pull complete 23:20:45 33b1e0a273af: Pull complete 23:20:45 5d3b04190fa2: Pull complete 23:20:47 2ced38df9373: Pull complete 23:20:49 58f1dce35555: Pull complete 23:20:49 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:20:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:20:49 ---> fadd8f120f05 23:20:49 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:20:49 2f39f015ded8: Pull complete 23:20:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:20:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:20:49 prd-ubuntu20.04-docker-8c-8g-17383 does not seem to be running inside a container 23:20:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-606 -v /w/workspace/gexfoundry_device-mqtt-go_PR-606:/w/workspace/gexfoundry_device-mqtt-go_PR-606:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:20:51 ---> Running in a864996b358f 23:20:51 Removing intermediate container a864996b358f 23:20:51 ---> 2f399f98f3e0 23:20:51 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:20:51 ---> Running in ed79b7869624 23:20:51 Removing intermediate container ed79b7869624 23:20:51 ---> c35ba32ba380 23:20:51 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:20:51 ---> Running in ea6e5e92a465 23:20:52 Removing intermediate container ea6e5e92a465 23:20:52 ---> 8beb446e2f27 23:20:52 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:20:52 ---> Running in 1b4532498d74 23:20:52 Removing intermediate container 1b4532498d74 23:20:52 ---> 8cb4af10918f 23:20:52 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:20:52 ---> Running in 1ce4cbe7c50f 23:20:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:20:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:20:55 (1/4) Installing openssh-keygen (9.1_p1-r3) 23:20:55 (2/4) Installing libedit (20221030.3.1-r0) 23:20:55 (3/4) Installing openssh-client-common (9.1_p1-r3) 23:20:55 (4/4) Installing openssh-client-default (9.1_p1-r3) 23:20:55 $ docker top 478175cdb79663ed73d4c38ecf23e661e1b0620ef45634a66f3e6e5dd8914ec6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:20:55 Executing busybox-1.35.0-r29.trigger 23:20:55 OK: 268 MiB in 57 packages 23:20:55 ---> job-cost.sh 23:20:55 lf-activate-venv: SKIPPING 23:20:55 INFO: No Stack... 23:20:56 INFO: Retrieving Pricing Info for: v3-standard-8 23:20:56 INFO: Archiving Costs [Pipeline] sh 23:20:56 Removing intermediate container 1ce4cbe7c50f 23:20:56 ---> 9b52ffb8934d 23:20:56 Step 8/12 : WORKDIR /device-mqtt-go 23:20:56 ---> Running in 08abf3afb105 23:20:56 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives/cost.csv 23:20:56 + cut -d, -f6 [Pipeline] lock 23:20:56 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-606-7-stack-cost] 23:20:56 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-606-7-stack-cost] did not exist. Created. 23:20:56 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-606-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:20:56 Removing intermediate container 08abf3afb105 23:20:56 ---> 4ca9138434b1 23:20:56 Step 9/12 : COPY go.mod vendor* ./ 23:20:57 + echo total: 0.2199999988079071 [Pipeline] stash 23:20:57 Stashed 1 file(s) [Pipeline] } 23:20:57 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-606-7-stack-cost] [Pipeline] // lock [Pipeline] } 23:20:57 $ docker stop --time=1 478175cdb79663ed73d4c38ecf23e661e1b0620ef45634a66f3e6e5dd8914ec6 23:20:58 $ docker rm -f --volumes 478175cdb79663ed73d4c38ecf23e661e1b0620ef45634a66f3e6e5dd8914ec6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:21:00 ---> 98bd062fa15c 23:21:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:21:00 ---> Running in d6584fdf5888 23:22:08 Removing intermediate container d6584fdf5888 23:22:08 ---> fbd4f71d7ec5 23:22:08 Step 11/12 : COPY . . 23:22:08 ---> 00ab3ff8bcf3 23:22:08 Step 12/12 : RUN $MAKE 23:22:08 ---> Running in ca9e0b130123 23:22:08 noop 23:22:08 Removing intermediate container ca9e0b130123 23:22:08 ---> ce63abbfc359 23:22:08 Successfully built ce63abbfc359 23:22:08 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:08 + docker inspect -f . ci-base-image-arm64 23:22:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:08 prd-ubuntu20.04-docker-arm64-4c-16g-17385 does not seem to be running inside a container 23:22:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:22:09 $ docker top bc9001c2debb748e6b8fa39f667f93a4b885b785cc229cfc313f21a7d88ecf32 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:10 + go version 23:22:10 go version go1.20.2 linux/arm64 [Pipeline] } 23:22:10 $ docker stop --time=1 bc9001c2debb748e6b8fa39f667f93a4b885b785cc229cfc313f21a7d88ecf32 23:22:12 $ docker rm -f --volumes bc9001c2debb748e6b8fa39f667f93a4b885b785cc229cfc313f21a7d88ecf32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:12 + docker inspect -f . ci-base-image-arm64 23:22:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:12 prd-ubuntu20.04-docker-arm64-4c-16g-17385 does not seem to be running inside a container 23:22:13 $ 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/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:22:14 $ docker top 4d9c2009b6e2437dee8a25c8dd06a07da2b57ecc65e8f43f2d12dfd22cfc2211 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:14 + git config --global --add safe.directory /w/workspace/device-mqtt-go/7 [Pipeline] fileExists [Pipeline] sh 23:22:14 + make test 23:22:14 go test ./... -coverprofile=coverage.out ./... 23:22:47 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:24:53 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:24:53 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:24:53 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.075s coverage: 22.8% of statements 23:24:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:24:53 go vet ./... 23:25:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:25:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:25:26 ./bin/test-attribution-txt.sh [Pipeline] echo 23:25:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:25:26 $ docker stop --time=1 4d9c2009b6e2437dee8a25c8dd06a07da2b57ecc65e8f43f2d12dfd22cfc2211 23:25:28 $ docker rm -f --volumes 4d9c2009b6e2437dee8a25c8dd06a07da2b57ecc65e8f43f2d12dfd22cfc2211 [Pipeline] // withDockerContainer [Pipeline] sh 23:25:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:25:29 Warning: overwriting stash ‘coverage-report’ 23:25:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:25:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:25:30 + ls -al . 23:25:30 total 180 23:25:30 drwxrwxr-x 9 jenkins jenkins 4096 May 30 23:22 . 23:25:30 drwxrwxr-x 4 jenkins jenkins 4096 May 30 23:19 .. 23:25:30 -rw-rw-r-- 1 jenkins jenkins 140 May 30 23:19 .dockerignore 23:25:30 drwxrwxr-x 8 jenkins jenkins 4096 May 30 23:19 .git 23:25:30 drwxrwxr-x 3 jenkins jenkins 4096 May 30 23:19 .github 23:25:30 -rw-rw-r-- 1 jenkins jenkins 329 May 30 23:19 .gitignore 23:25:30 -rw-rw-r-- 1 jenkins jenkins 41 May 30 23:19 .golangci.yml 23:25:30 -rw-rw-r-- 1 jenkins jenkins 9417 May 30 23:19 Attribution.txt 23:25:30 -rw-rw-r-- 1 jenkins jenkins 17522 May 30 23:19 CHANGELOG.md 23:25:30 -rw-rw-r-- 1 jenkins jenkins 1689 May 30 23:19 Dockerfile 23:25:30 -rw-rw-r-- 1 jenkins jenkins 677 May 30 23:19 GOVERNANCE.md 23:25:30 -rw-rw-r-- 1 jenkins jenkins 678 May 30 23:19 Jenkinsfile 23:25:30 -rw-rw-r-- 1 jenkins jenkins 11340 May 30 23:19 LICENSE 23:25:30 -rw-rw-r-- 1 jenkins jenkins 1732 May 30 23:19 Makefile 23:25:30 -rw-rw-r-- 1 jenkins jenkins 620 May 30 23:19 OWNERS.md 23:25:30 -rw-rw-r-- 1 jenkins jenkins 3189 May 30 23:19 README.md 23:25:30 -rw-rw-r-- 1 jenkins jenkins 5 May 30 23:18 VERSION 23:25:30 drwxrwxr-x 2 jenkins jenkins 4096 May 30 23:19 bin 23:25:30 drwxrwxr-x 3 jenkins jenkins 4096 May 30 23:19 cmd 23:25:30 -rw-r--r-- 1 jenkins jenkins 18506 May 30 23:24 coverage.out 23:25:30 -rw-rw-r-- 1 jenkins jenkins 3285 May 30 23:19 go.mod 23:25:30 -rw-rw-r-- 1 jenkins jenkins 31322 May 30 23:19 go.sum 23:25:30 drwxrwxr-x 3 jenkins jenkins 4096 May 30 23:19 internal 23:25:30 drwxrwxr-x 2 jenkins jenkins 4096 May 30 23:19 mock 23:25:30 drwxrwxr-x 4 jenkins jenkins 4096 May 30 23:19 snap 23:25:30 -rw-rw-r-- 1 jenkins jenkins 227 May 30 23:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:31 + 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=98265c76290104e601e0cf22509484af2d96f43a --label arch=arm64 --label version=0.0.0 . 23:25:31 Sending build context to Docker daemon 3.455MB 23:25:31 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:25:31 Step 2/24 : FROM ${BASE} AS builder 23:25:31 ---> ce63abbfc359 23:25:31 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:25:33 ---> Running in 425e3f3f4e31 23:25:33 Removing intermediate container 425e3f3f4e31 23:25:33 ---> a674a2d76ead 23:25:33 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:25:33 ---> Running in 380e845e3feb 23:25:34 Removing intermediate container 380e845e3feb 23:25:34 ---> 6c8aaffad459 23:25:34 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:25:34 ---> Running in a3ec680dde67 23:25:34 Removing intermediate container a3ec680dde67 23:25:34 ---> 35ab35c30cec 23:25:34 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:25:34 ---> Running in 4f14a58b0dbe 23:25:35 Removing intermediate container 4f14a58b0dbe 23:25:35 ---> 859054934152 23:25:35 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:25:35 ---> Running in 3aec6dcf6ce4 23:25:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:25:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:25:38 OK: 268 MiB in 57 packages 23:25:38 Removing intermediate container 3aec6dcf6ce4 23:25:38 ---> ffd3c4750162 23:25:38 Step 8/24 : WORKDIR /device-mqtt-go 23:25:38 ---> Running in fee5f09a6621 23:25:39 Removing intermediate container fee5f09a6621 23:25:39 ---> ca10eb957b95 23:25:39 Step 9/24 : COPY go.mod vendor* ./ 23:25:39 ---> 47e0ff8d957a 23:25:39 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:25:39 ---> Running in bf4ca1aff35a 23:25:42 Removing intermediate container bf4ca1aff35a 23:25:42 ---> 0773406e2a41 23:25:42 Step 11/24 : COPY . . 23:25:43 ---> 5f96f397166d 23:25:43 Step 12/24 : RUN $MAKE 23:25:43 ---> Running in 9637228682a3 23:25:44 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:28:05 Removing intermediate container 9637228682a3 23:28:05 ---> 8587cad4bae9 23:28:05 Step 13/24 : FROM alpine:3.17 23:28:05 3.17: Pulling from library/alpine 23:28:05 c41833b44d91: Already exists 23:28:05 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:28:05 Status: Downloaded newer image for alpine:3.17 23:28:05 ---> 51e60588ff2c 23:28:05 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:28:05 ---> Running in 48d629c1c899 23:28:05 Removing intermediate container 48d629c1c899 23:28:05 ---> adc54df2c78e 23:28:05 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:28:05 ---> Running in 740b1c04f316 23:28:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:28:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:28:05 (1/1) Installing dumb-init (1.2.5-r2) 23:28:05 Executing busybox-1.35.0-r29.trigger 23:28:05 OK: 8 MiB in 16 packages 23:28:05 Removing intermediate container 740b1c04f316 23:28:05 ---> 1828eff0ae44 23:28:05 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:28:05 ---> 03ab770c8e7a 23:28:05 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:28:05 ---> 16ce3edb35ee 23:28:05 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:28:05 ---> 09b34d0c592d 23:28:05 Step 19/24 : EXPOSE 59982 23:28:05 ---> Running in 26e58859e2a5 23:28:05 Removing intermediate container 26e58859e2a5 23:28:05 ---> 62b7b025d03f 23:28:05 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:28:05 ---> Running in 88d0282d1c68 23:28:06 Removing intermediate container 88d0282d1c68 23:28:06 ---> 6efaecc72886 23:28:06 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:28:06 ---> Running in 95aac3992b75 23:28:06 Removing intermediate container 95aac3992b75 23:28:06 ---> e2f1d807745d 23:28:06 Step 22/24 : LABEL arch=arm64 23:28:06 ---> Running in e68512c33d41 23:28:07 Removing intermediate container e68512c33d41 23:28:07 ---> fcbff235c402 23:28:07 Step 23/24 : LABEL git_sha=98265c76290104e601e0cf22509484af2d96f43a 23:28:07 ---> Running in 296f19323ea7 23:28:07 Removing intermediate container 296f19323ea7 23:28:07 ---> 179de9fd51d2 23:28:07 Step 24/24 : LABEL version=0.0.0 23:28:07 ---> Running in 27ff57ba5d1c 23:28:07 Removing intermediate container 27ff57ba5d1c 23:28:07 ---> 1c9b3e2d09ff 23:28:07 [Warning] One or more build-args [ARCH] were not consumed 23:28:07 Successfully built 1c9b3e2d09ff 23:28:07 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:28:08 23:28:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:28:08 arm64: Pulling from edgex-lftools-log-publisher 23:28:08 8998bd30e6a1: Pulling fs layer 23:28:08 04944245beec: Pulling fs layer 23:28:08 699f458cf7ca: Pulling fs layer 23:28:08 765212b225bb: Pulling fs layer 23:28:08 f23df028b6ca: Pulling fs layer 23:28:08 d65c8cfc05b1: Pulling fs layer 23:28:08 f23df028b6ca: Waiting 23:28:08 2437ff75d9bd: Pulling fs layer 23:28:08 d65c8cfc05b1: Waiting 23:28:08 04944245beec: Verifying Checksum 23:28:08 04944245beec: Download complete 23:28:08 765212b225bb: Verifying Checksum 23:28:08 765212b225bb: Download complete 23:28:08 f23df028b6ca: Download complete 23:28:08 d65c8cfc05b1: Verifying Checksum 23:28:08 d65c8cfc05b1: Download complete 23:28:08 699f458cf7ca: Verifying Checksum 23:28:08 699f458cf7ca: Download complete 23:28:09 8998bd30e6a1: Verifying Checksum 23:28:09 8998bd30e6a1: Download complete 23:28:11 2437ff75d9bd: Verifying Checksum 23:28:11 2437ff75d9bd: Download complete 23:28:13 8998bd30e6a1: Pull complete 23:28:13 04944245beec: Pull complete 23:28:16 699f458cf7ca: Pull complete 23:28:16 765212b225bb: Pull complete 23:28:16 f23df028b6ca: Pull complete 23:28:17 d65c8cfc05b1: Pull complete 23:28:32 2437ff75d9bd: Pull complete 23:28:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:28:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:28:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:32 prd-ubuntu20.04-docker-arm64-4c-16g-17385 does not seem to be running inside a container 23:28:32 $ 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/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:28:35 $ docker top fd887b5a0640a96ac819976c6e6bd183c3e51d73568ae9432914612b2bdba9b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:28:36 ---> job-cost.sh 23:28:36 lf-activate-venv: SKIPPING 23:28:36 INFO: No Stack... 23:28:36 INFO: Retrieving Pricing Info for: v3-standard-4 23:28:37 INFO: Archiving Costs [Pipeline] sh 23:28:37 + cat /w/workspace/device-mqtt-go/7/archives/cost.csv 23:28:37 + cut -d, -f6 [Pipeline] lock 23:28:37 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-606-7-stack-cost] 23:28:37 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-606-7-stack-cost] did not exist. Created. 23:28:37 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-606-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:28:38 /w/workspace/device-mqtt-go/7@tmp/durable-314b7d7a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:28:38 + echo total: 0.10999999940395355 [Pipeline] stash 23:28:38 Warning: overwriting stash ‘stack-cost’ 23:28:38 Stashed 1 file(s) [Pipeline] } 23:28:38 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-606-7-stack-cost] [Pipeline] // lock [Pipeline] } 23:28:38 $ docker stop --time=1 fd887b5a0640a96ac819976c6e6bd183c3e51d73568ae9432914612b2bdba9b3 23:28:40 $ docker rm -f --volumes fd887b5a0640a96ac819976c6e6bd183c3e51d73568ae9432914612b2bdba9b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:28:40 provisioning config files... 23:28:40 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/config16281998798082081643tmp [Pipeline] { [Pipeline] sh 23:28:41 + set +x 23:28:41 + curl -s https://codecov.io/bash 23:28:41 + bash -s -- 23:28:41 23:28:41 _____ _ 23:28:41 / ____| | | 23:28:41 | | ___ __| | ___ ___ _____ __ 23:28:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:28:41 | |___| (_) | (_| | __/ (_| (_) \ V / 23:28:41 \_____\___/ \__,_|\___|\___\___/ \_/ 23:28:41 Bash-1.0.6 23:28:41 23:28:41 23:28:41 ==> git version 2.25.1 found 23:28:41 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:28:41 Release-Date: 2020-01-08 23:28:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:28:41 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:28:41 ==> Jenkins CI detected. 23:28:41 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-606 23:28:41 project root: . 23:28:41 --> token set from env 23:28:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:28:41 ==> Running gcov in . (disable via -X gcov) 23:28:41 ==> Python coveragepy not found 23:28:41 ==> Searching for coverage reports in: 23:28:41 + . 23:28:41 -> Found 1 reports 23:28:41 ==> Detecting git/mercurial file structure 23:28:41 ==> Reading reports 23:28:41 + ./coverage.out bytes=18506 23:28:41 ==> Appending adjustments 23:28:41 https://docs.codecov.io/docs/fixing-reports 23:28:41 + Found adjustments 23:28:41 ==> Gzipping contents 23:28:41 4.0K /tmp/codecov.enJAku.gz 23:28:41 ==> Uploading reports 23:28:41 url: https://codecov.io 23:28:41 query: branch=PR-606&commit=749c0b0e9e420244af06c62fe7d27671c7c7e87d&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-606%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=606&job=&cmd_args= 23:28:41 -> Pinging Codecov 23:28:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-606&commit=749c0b0e9e420244af06c62fe7d27671c7c7e87d&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-606%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=606&job=&cmd_args= 23:28:41 -> Uploading to 23:28:41 https://storage.googleapis.com/codecov/v4/raw/2023-05-30/7D719EC7BBE17E464838252E33014C33/749c0b0e9e420244af06c62fe7d27671c7c7e87d/2731e19f-bc77-426b-b044-4d94be5fad77.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230530%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230530T232841Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=266fd598f5672fe54de0146e36df6bad74ce9f71479a88ba7578d06cb77755d7 23:28:41 % Total % Received % Xferd Average Speed Time Time Time Current 23:28:41 Dload Upload Total Spent Left Speed 23:28:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 10122 --:--:-- --:--:-- --:--:-- 10122 23:28:42 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/749c0b0e9e420244af06c62fe7d27671c7c7e87d [Pipeline] } 23:28:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:28:42 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives ] 23:28:42 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives 23:28:42 total 16 23:28:42 drwxr-xr-x 3 root root 4096 May 30 23:20 . 23:28:42 drwxrwxr-x 11 jenkins jenkins 4096 May 30 23:20 .. 23:28:42 drwxr-xr-x 2 root root 4096 May 30 23:20 cost 23:28:42 -rw-r--r-- 1 root root 86 May 30 23:20 cost.csv 23:28:42 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives 23:28:42 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives 23:28:42 total 16 23:28:42 drwxr-xr-x 3 jenkins jenkins 4096 May 30 23:20 . 23:28:42 drwxrwxr-x 11 jenkins jenkins 4096 May 30 23:20 .. 23:28:42 drwxr-xr-x 2 jenkins jenkins 4096 May 30 23:20 cost 23:28:42 -rw-r--r-- 1 jenkins jenkins 86 May 30 23:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:28:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:28:44 ---> package-listing.sh 23:28:44 ++ facter osfamily 23:28:44 ++ tr '[:upper:]' '[:lower:]' 23:28:44 + OS_FAMILY=debian 23:28:44 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-606 23:28:44 + START_PACKAGES=/tmp/packages_start.txt 23:28:44 + END_PACKAGES=/tmp/packages_end.txt 23:28:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:28:44 + PACKAGES=/tmp/packages_start.txt 23:28:44 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-606 ']' 23:28:44 + PACKAGES=/tmp/packages_end.txt 23:28:44 + case "${OS_FAMILY}" in 23:28:44 + dpkg -l 23:28:44 + grep '^ii' 23:28:44 + '[' -f /tmp/packages_start.txt ']' 23:28:44 + '[' -f /tmp/packages_end.txt ']' 23:28:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:28:44 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-606 ']' 23:28:44 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives/ 23:28:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-606/archives/ [Pipeline] echo 23:28:44 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-606/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:28:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:28:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:28:44 prd-ubuntu20.04-docker-8c-8g-17383 does not seem to be running inside a container 23:28:44 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-606/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-606 -v /w/workspace/gexfoundry_device-mqtt-go_PR-606:/w/workspace/gexfoundry_device-mqtt-go_PR-606:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:28:45 $ docker top 766b5a482516a9f5fdb1c265d0b5c4232a27b0c8507a48e2e20696ffd81014e9 -eo pid,comm [Pipeline] { [Pipeline] sh 23:28:45 + touch /tmp/pre-build-complete [Pipeline] sh 23:28:45 + mkdir -p /var/log/sysstat [Pipeline] sh 23:28:46 + ls /var/log/sa-host 23:28:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:28:46 provisioning config files... 23:28:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-606@tmp/config11565456047332581929tmp [Pipeline] { [Pipeline] echo 23:28:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:28:46 ---> create-netrc.sh [Pipeline] } 23:28:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:28:46 ---> python-tools-install.sh [Pipeline] echo 23:28:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:28:47 ---> sudo-logs.sh 23:28:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:28:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:28:47 ---> job-cost.sh 23:28:47 lf-activate-venv: SKIPPING 23:28:47 DEBUG: total: 0.2199999988079071 23:28:47 INFO: Retrieving Stack Cost... 23:28:47 INFO: Retrieving Pricing Info for: v3-standard-8 23:28:48 INFO: Archiving Costs [Pipeline] echo 23:28:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:28:48 ---> logs-deploy.sh 23:28:48 lf-activate-venv: SKIPPING 23:28:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-606/7 23:28:48 INFO: archiving workspace using pattern(s): 23:28:49 Archives upload complete. 23:28:49 INFO: archiving logs to Nexus