Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from c50e0250f90ce80985879acac8c100133ce26eeb+2a80116fa1f446abff1b1e1c9092e6aedb73b14f (503e597b8cde1129d0f13d0507cbebc66b9f8f56) 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-ssh11254577158406692876.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh12803607689540466352.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-645/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-645/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14962367846426603841.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh11074089401111722876.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-645/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-645/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13761246551043791866.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] ========================================================= [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.21 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-17096 in /w/workspace/gexfoundry_device-mqtt-go_PR-645 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-645 # 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 2a80116fa1f446abff1b1e1c9092e6aedb73b14f into PR head commit c50e0250f90ce80985879acac8c100133ce26eeb Merge succeeded, producing b15a30809fa01d45f27adf4e1ca76333c70fc7cd Checking out Revision b15a30809fa01d45f27adf4e1ca76333c70fc7cd (PR-645) > 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/645/head:refs/remotes/origin/PR-645 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c50e0250f90ce80985879acac8c100133ce26eeb # 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 2a80116fa1f446abff1b1e1c9092e6aedb73b14f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b15a30809fa01d45f27adf4e1ca76333c70fc7cd # timeout=10 Commit message: "Merge commit '2a80116fa1f446abff1b1e1c9092e6aedb73b14f' into HEAD" > git rev-list --no-walk c50e0250f90ce80985879acac8c100133ce26eeb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:17:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:17:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:17:27 ========================================================= 23:17:27 EdgeX Global Pipelines Version Info 23:17:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:17:28 ------------------- 23:17:28 stable info: 23:17:28 ------------------- 23:17:28 Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com 23:17:28 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 23:17:28 Message: update stable to v1.0.257 23:17:28 ------------------- 23:17:28 experimental info: 23:17:28 ------------------- 23:17:28 Commited By: **** collab-it+edgex@linuxfoundation.org 23:17:28 Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 23:17:28 Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-645 [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-645 [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-645 [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b15a30809fa01d45f27adf4e1ca76333c70fc7cd [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b15a308 [Pipeline] echo 23:17:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:17:29 provisioning config files... 23:17:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-645@tmp/config2804860439866154260tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:17:29 ---> docker-login.sh 23:17:29 nexus3.edgexfoundry.org:10001 23:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:30 Configure a credential helper to remove this warning. See 23:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:30 23:17:30 Login Succeeded 23:17:30 nexus3.edgexfoundry.org:10002 23:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:30 Configure a credential helper to remove this warning. See 23:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:30 23:17:30 Login Succeeded 23:17:30 nexus3.edgexfoundry.org:10003 23:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:30 Configure a credential helper to remove this warning. See 23:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:30 23:17:30 Login Succeeded 23:17:30 nexus3.edgexfoundry.org:10004 23:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:30 Configure a credential helper to remove this warning. See 23:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:30 23:17:30 Login Succeeded 23:17:30 docker.io 23:17:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:30 Configure a credential helper to remove this warning. See 23:17:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:30 23:17:30 Login Succeeded 23:17:30 ---> docker-login.sh ends [Pipeline] } 23:17:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:17:31 + git rev-list -1 --merges b15a30809fa01d45f27adf4e1ca76333c70fc7cd~1..b15a30809fa01d45f27adf4e1ca76333c70fc7cd [Pipeline] echo 23:17:31 -----------> git rev-list -1 --merges b15a30809fa01d45f27adf4e1ca76333c70fc7cd~1..b15a30809fa01d45f27adf4e1ca76333c70fc7cd b15a30809fa01d45f27adf4e1ca76333c70fc7cd 23:17:31 b15a30809fa01d45f27adf4e1ca76333c70fc7cd [false] [Pipeline] sh 23:17:31 + git log --format=format:%s -1 b15a30809fa01d45f27adf4e1ca76333c70fc7cd [Pipeline] echo 23:17:31 ========================================================= 23:17:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:17:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:17:32 + git log --format=format:%s -1 b15a30809fa01d45f27adf4e1ca76333c70fc7cd [Pipeline] echo 23:17:32 [semverPrep] GIT_COMMIT: b15a30809fa01d45f27adf4e1ca76333c70fc7cd, Commit Message: Merge commit '2a80116fa1f446abff1b1e1c9092e6aedb73b14f' into HEAD [Pipeline] echo 23:17:32 [semverPrep] This is not a build commit. [Pipeline] sh 23:17:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:17:32 + grep -v github /etc/ssh/ssh_known_hosts 23:17:32 + [ -e /tmp/ssh_known_hosts ] 23:17:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:17:32 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:17:32 sudo tee -a /etc/ssh/ssh_known_hosts 23:17:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:17:32 23:17:32 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:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:17:33 0.1.4: Pulling from edgex-devops/py-git-semver 23:17:33 b85a868b505f: Pulling fs layer 23:17:33 e2be974225ed: Pulling fs layer 23:17:33 339a4e72a1f5: Pulling fs layer 23:17:33 988bab9f4d93: Pulling fs layer 23:17:33 1469e6f7b9e6: Pulling fs layer 23:17:33 eaf3925da568: Pulling fs layer 23:17:33 bab4dde63d76: Pulling fs layer 23:17:33 bde34c3a00c8: Pulling fs layer 23:17:33 b352a97aabf1: Pulling fs layer 23:17:33 4872d77fe225: Pulling fs layer 23:17:33 5851b861e8e6: Pulling fs layer 23:17:33 988bab9f4d93: Waiting 23:17:33 1469e6f7b9e6: Waiting 23:17:33 eaf3925da568: Waiting 23:17:33 bab4dde63d76: Waiting 23:17:33 bde34c3a00c8: Waiting 23:17:33 b352a97aabf1: Waiting 23:17:33 4872d77fe225: Waiting 23:17:33 5851b861e8e6: Waiting 23:17:33 e2be974225ed: Verifying Checksum 23:17:33 e2be974225ed: Download complete 23:17:33 988bab9f4d93: Download complete 23:17:33 1469e6f7b9e6: Verifying Checksum 23:17:33 1469e6f7b9e6: Download complete 23:17:33 eaf3925da568: Download complete 23:17:33 339a4e72a1f5: Verifying Checksum 23:17:33 339a4e72a1f5: Download complete 23:17:33 bde34c3a00c8: Verifying Checksum 23:17:33 bde34c3a00c8: Download complete 23:17:33 b352a97aabf1: Download complete 23:17:33 4872d77fe225: Verifying Checksum 23:17:33 4872d77fe225: Download complete 23:17:33 5851b861e8e6: Download complete 23:17:33 b85a868b505f: Verifying Checksum 23:17:33 b85a868b505f: Download complete 23:17:33 bab4dde63d76: Verifying Checksum 23:17:33 bab4dde63d76: Download complete 23:17:34 b85a868b505f: Pull complete 23:17:34 e2be974225ed: Pull complete 23:17:35 339a4e72a1f5: Pull complete 23:17:35 988bab9f4d93: Pull complete 23:17:35 1469e6f7b9e6: Pull complete 23:17:35 eaf3925da568: Pull complete 23:17:37 bab4dde63d76: Pull complete 23:17:37 bde34c3a00c8: Pull complete 23:17:37 b352a97aabf1: Pull complete 23:17:37 4872d77fe225: Pull complete 23:17:37 5851b861e8e6: Pull complete 23:17:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:17:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:17:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:37 prd-ubuntu20.04-docker-8c-8g-17096 does not seem to be running inside a container 23:17:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-645 -v /w/workspace/gexfoundry_device-mqtt-go_PR-645:/w/workspace/gexfoundry_device-mqtt-go_PR-645:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-645@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-645@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:17:42 $ docker top 933af91cf8f49fcb727903229033af85074ec387211099896f46d2d3bbd9a79b -eo pid,comm 23:17:42 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:17:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:17:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:17:42 [ssh-agent] Looking for ssh-agent implementation... 23:17:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:17:42 $ docker exec 933af91cf8f49fcb727903229033af85074ec387211099896f46d2d3bbd9a79b ssh-agent 23:17:42 SSH_AUTH_SOCK=/tmp/ssh-CjkbaO1eq05l/agent.32 23:17:42 SSH_AGENT_PID=38 23:17:42 Running ssh-add (command line suppressed) 23:17:42 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-645@tmp/private_key_9093309325029136988.key (/w/workspace/gexfoundry_device-mqtt-go_PR-645@tmp/private_key_9093309325029136988.key) 23:17:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:17:42 + git tag --points-at HEAD [Pipeline] } 23:17:42 $ docker exec --env ******** --env ******** 933af91cf8f49fcb727903229033af85074ec387211099896f46d2d3bbd9a79b ssh-agent -k 23:17:42 unset SSH_AUTH_SOCK; 23:17:42 unset SSH_AGENT_PID; 23:17:42 echo Agent pid 38 killed; 23:17:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:17:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:17:43 [ssh-agent] Looking for ssh-agent implementation... 23:17:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:17:43 $ docker exec 933af91cf8f49fcb727903229033af85074ec387211099896f46d2d3bbd9a79b ssh-agent 23:17:43 SSH_AUTH_SOCK=/tmp/ssh-MVx4WMJUSbce/agent.71 23:17:43 SSH_AGENT_PID=77 23:17:43 Running ssh-add (command line suppressed) 23:17:43 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-645@tmp/private_key_15171926022165869869.key (/w/workspace/gexfoundry_device-mqtt-go_PR-645@tmp/private_key_15171926022165869869.key) 23:17:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:17:43 + git semver init 23:17:43 2023-11-08 23:17:43,817 [run_init] DEBUG init version:0.0.0 force:False 23:17:43 2023-11-08 23:17:43,818 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-645/.semver 23:17:43 2023-11-08 23:17:43,818 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-645/.semver 23:17:43 2023-11-08 23:17:43,818 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-645/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-645, universal_newlines=False, shell=None, istream=None) 23:17:45 2023-11-08 23:17:44,904 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-645/.git/info/exclude 23:17:45 2023-11-08 23:17:44,904 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-645/.semver/PR-645 with force:False 23:17:45 2023-11-08 23:17:44,905 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-645/.semver/PR-645 23:17:45 2023-11-08 23:17:44,909 [execute] INFO git cat-file --batch-check 23:17:45 2023-11-08 23:17:44,909 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-645/.semver, universal_newlines=False, shell=None, istream=) 23:17:45 2023-11-08 23:17:44,916 [execute] INFO git cat-file --batch 23:17:45 2023-11-08 23:17:44,916 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-645/.semver, universal_newlines=False, shell=None, istream=) 23:17:45 2023-11-08 23:17:44,921 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-645/.semver/PR-645 23:17:45 0.0.0 [Pipeline] } 23:17:45 $ docker exec --env ******** --env ******** 933af91cf8f49fcb727903229033af85074ec387211099896f46d2d3bbd9a79b ssh-agent -k 23:17:45 unset SSH_AUTH_SOCK; 23:17:45 unset SSH_AGENT_PID; 23:17:45 echo Agent pid 77 killed; 23:17:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:17:45 + git semver [Pipeline] } 23:17:45 $ docker stop --time=1 933af91cf8f49fcb727903229033af85074ec387211099896f46d2d3bbd9a79b 23:17:47 $ docker rm -f --volumes 933af91cf8f49fcb727903229033af85074ec387211099896f46d2d3bbd9a79b [Pipeline] // withDockerContainer [Pipeline] sh 23:17:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:17:47 Stashed 1 file(s) [Pipeline] echo 23:17:47 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:17:47 provisioning config files... 23:17:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-645@tmp/config4758122934890237718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:17:48 ---> docker-login.sh 23:17:48 nexus3.edgexfoundry.org:10001 23:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:48 Configure a credential helper to remove this warning. See 23:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:48 23:17:48 Login Succeeded 23:17:48 nexus3.edgexfoundry.org:10002 23:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:48 Configure a credential helper to remove this warning. See 23:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:48 23:17:48 Login Succeeded 23:17:48 nexus3.edgexfoundry.org:10003 23:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:48 Configure a credential helper to remove this warning. See 23:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:48 23:17:48 Login Succeeded 23:17:48 nexus3.edgexfoundry.org:10004 23:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:48 Configure a credential helper to remove this warning. See 23:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:48 23:17:48 Login Succeeded 23:17:48 docker.io 23:17:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:48 Configure a credential helper to remove this warning. See 23:17:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:48 23:17:48 Login Succeeded 23:17:48 ---> docker-login.sh ends [Pipeline] } 23:17:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:17:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:17:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:17:48 ========================================================= 23:17:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 23:17:48 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:49 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 23:17:49 Sending build context to Docker daemon 6.585MB 23:17:49 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 23:17:49 Step 2/12 : FROM ${BASE} AS builder 23:17:49 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 23:17:49 7264a8db6415: Pulling fs layer 23:17:49 c4d48a809fc2: Pulling fs layer 23:17:49 4f1c88b9dad5: Pulling fs layer 23:17:49 ad3a456e5733: Pulling fs layer 23:17:49 33e27b845d1e: Pulling fs layer 23:17:49 c68163c4e522: Pulling fs layer 23:17:49 50da416c3ac9: Pulling fs layer 23:17:49 23d2d4c4bb30: Pulling fs layer 23:17:49 c68163c4e522: Waiting 23:17:49 50da416c3ac9: Waiting 23:17:49 23d2d4c4bb30: Waiting 23:17:49 ad3a456e5733: Waiting 23:17:49 33e27b845d1e: Waiting 23:17:49 c4d48a809fc2: Verifying Checksum 23:17:49 c4d48a809fc2: Download complete 23:17:49 ad3a456e5733: Verifying Checksum 23:17:49 ad3a456e5733: Download complete 23:17:49 33e27b845d1e: Verifying Checksum 23:17:49 33e27b845d1e: Download complete 23:17:49 7264a8db6415: Verifying Checksum 23:17:49 7264a8db6415: Download complete 23:17:49 c68163c4e522: Verifying Checksum 23:17:49 c68163c4e522: Download complete 23:17:49 7264a8db6415: Pull complete 23:17:49 23d2d4c4bb30: Verifying Checksum 23:17:49 23d2d4c4bb30: Download complete 23:17:49 c4d48a809fc2: Pull complete 23:17:49 4f1c88b9dad5: Verifying Checksum 23:17:49 4f1c88b9dad5: Download complete 23:17:50 50da416c3ac9: Verifying Checksum 23:17:50 50da416c3ac9: Download complete 23:17:53 4f1c88b9dad5: Pull complete 23:17:53 ad3a456e5733: Pull complete 23:17:53 33e27b845d1e: Pull complete 23:17:53 c68163c4e522: Pull complete 23:17:56 50da416c3ac9: Pull complete 23:17:56 23d2d4c4bb30: Pull complete 23:17:56 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 23:17:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 23:17:56 ---> 0786185ac409 23:17:56 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:18:01 ---> Running in 72ce8108ba10 23:18:01 Removing intermediate container 72ce8108ba10 23:18:01 ---> 7bf1120d0ba7 23:18:01 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:18:01 ---> Running in a4b07d9eddee 23:18:01 Removing intermediate container a4b07d9eddee 23:18:01 ---> ec293eaee07d 23:18:01 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:18:01 ---> Running in a6a47cb92e1c 23:18:01 Removing intermediate container a6a47cb92e1c 23:18:01 ---> 5e969f3b09c0 23:18:01 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:18:01 ---> Running in d794c87db129 23:18:01 Removing intermediate container d794c87db129 23:18:01 ---> f8ad3d2f4e47 23:18:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:18:01 ---> Running in 5bc38460e1ae 23:18:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:18:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:18:02 (1/4) Installing openssh-keygen (9.3_p2-r0) 23:18:02 (2/4) Installing libedit (20221030.3.1-r1) 23:18:02 (3/4) Installing openssh-client-common (9.3_p2-r0) 23:18:02 (4/4) Installing openssh-client-default (9.3_p2-r0) 23:18:02 Executing busybox-1.36.1-r2.trigger 23:18:02 OK: 268 MiB in 56 packages 23:18:02 Removing intermediate container 5bc38460e1ae 23:18:02 ---> f263688b8c64 23:18:02 Step 8/12 : WORKDIR /device-mqtt-go 23:18:02 ---> Running in c3c9b1392c9c 23:18:02 Still waiting to schedule task 23:18:02 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:18:03 Removing intermediate container c3c9b1392c9c 23:18:03 ---> 67cedcb64ad7 23:18:03 Step 9/12 : COPY go.mod vendor* ./ 23:18:03 ---> 32d807763630 23:18:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:18:03 ---> Running in 31ec4d143aea 23:18:42 Removing intermediate container 31ec4d143aea 23:18:42 ---> 423e1c1dae4b 23:18:42 Step 11/12 : COPY . . 23:18:42 ---> 33a4e5a7f380 23:18:42 Step 12/12 : RUN $MAKE 23:18:42 ---> Running in dc18d6af6844 23:18:42 noop 23:18:42 Removing intermediate container dc18d6af6844 23:18:42 ---> dc1453036404 23:18:42 Successfully built dc1453036404 23:18:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:42 + docker inspect -f . ci-base-image-x86_64 23:18:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:42 prd-ubuntu20.04-docker-8c-8g-17096 does not seem to be running inside a container 23:18:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-645 -v /w/workspace/gexfoundry_device-mqtt-go_PR-645:/w/workspace/gexfoundry_device-mqtt-go_PR-645:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-645@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-645@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:18:43 $ docker top 83c474f695c6436536c089045fdd78724f81be66d6d40727956ce75598c82bc9 -eo pid,comm [Pipeline] { [Pipeline] sh 23:18:43 + go version 23:18:43 go version go1.21.0 linux/amd64 [Pipeline] } 23:18:43 $ docker stop --time=1 83c474f695c6436536c089045fdd78724f81be66d6d40727956ce75598c82bc9 23:18:44 $ docker rm -f --volumes 83c474f695c6436536c089045fdd78724f81be66d6d40727956ce75598c82bc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:45 + docker inspect -f . ci-base-image-x86_64 23:18:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:45 prd-ubuntu20.04-docker-8c-8g-17096 does not seem to be running inside a container 23:18:45 $ 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-645 -v /w/workspace/gexfoundry_device-mqtt-go_PR-645:/w/workspace/gexfoundry_device-mqtt-go_PR-645:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-645@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-645@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:18:45 $ docker top 0464d2ace133628d25ab9bc662f21bad96d16689be2f598da273c8693242abe0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:18:45 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-645 [Pipeline] fileExists [Pipeline] sh 23:18:46 + make test 23:18:46 go test ./... -coverprofile=coverage.out ./... 23:18:47 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:18:57 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:18:57 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:18:57 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.8% of statements 23:19:04 go vet ./... 23:19:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:19:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:19:06 ./bin/test-attribution-txt.sh [Pipeline] echo 23:19:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 23:19:07 $ docker stop --time=1 0464d2ace133628d25ab9bc662f21bad96d16689be2f598da273c8693242abe0 23:19:11 $ docker rm -f --volumes 0464d2ace133628d25ab9bc662f21bad96d16689be2f598da273c8693242abe0 [Pipeline] // withDockerContainer [Pipeline] sh 23:19:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:19:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:19:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:19:12 + ls -al . 23:19:12 total 184 23:19:12 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 23:18 . 23:19:12 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:17 .. 23:19:12 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 23:17 .dockerignore 23:19:12 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 23:18 .git 23:19:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:17 .github 23:19:12 -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 23:17 .gitignore 23:19:12 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 23:17 .golangci.yml 23:19:12 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 23:17 .semver 23:19:12 -rw-rw-r-- 1 jenkins jenkins 10386 Nov 8 23:17 Attribution.txt 23:19:12 -rw-rw-r-- 1 jenkins jenkins 18574 Nov 8 23:17 CHANGELOG.md 23:19:12 -rw-rw-r-- 1 jenkins jenkins 1689 Nov 8 23:17 Dockerfile 23:19:12 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 23:17 GOVERNANCE.md 23:19:12 -rw-rw-r-- 1 jenkins jenkins 657 Nov 8 23:17 Jenkinsfile 23:19:12 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 23:17 LICENSE 23:19:12 -rw-rw-r-- 1 jenkins jenkins 1963 Nov 8 23:17 Makefile 23:19:12 -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 23:17 OWNERS.md 23:19:12 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 8 23:17 README.md 23:19:12 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 23:17 VERSION 23:19:12 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:17 bin 23:19:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:17 cmd 23:19:12 -rw-r--r-- 1 jenkins jenkins 18506 Nov 8 23:18 coverage.out 23:19:12 -rw-rw-r-- 1 jenkins jenkins 3775 Nov 8 23:17 go.mod 23:19:12 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 8 23:17 go.sum 23:19:12 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:17 internal 23:19:12 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:17 mock 23:19:12 -rw-rw-r-- 1 jenkins jenkins 227 Nov 8 23:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:12 + 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=b15a30809fa01d45f27adf4e1ca76333c70fc7cd --label arch=amd64 --label version=0.0.0 . 23:19:12 Sending build context to Docker daemon 6.605MB 23:19:12 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 23:19:12 Step 2/24 : FROM ${BASE} AS builder 23:19:12 ---> dc1453036404 23:19:12 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:19:13 ---> Running in 034f0984632d 23:19:13 Removing intermediate container 034f0984632d 23:19:13 ---> 892f425c0242 23:19:13 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:19:13 ---> Running in 573ce53402d6 23:19:13 Removing intermediate container 573ce53402d6 23:19:13 ---> 621704e1259a 23:19:13 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:19:13 ---> Running in c9ba55577504 23:19:13 Removing intermediate container c9ba55577504 23:19:13 ---> bab5a46cba7f 23:19:13 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:19:13 ---> Running in 0e9fd364044f 23:19:13 Removing intermediate container 0e9fd364044f 23:19:13 ---> c5015d8aee42 23:19:13 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:19:13 ---> Running in a32871b8cc4b 23:19:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:19:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:19:14 OK: 268 MiB in 56 packages 23:19:14 Removing intermediate container a32871b8cc4b 23:19:14 ---> 5b127b940c18 23:19:14 Step 8/24 : WORKDIR /device-mqtt-go 23:19:14 ---> Running in 7e018e4c31c8 23:19:14 Removing intermediate container 7e018e4c31c8 23:19:14 ---> 0475b8d601d7 23:19:14 Step 9/24 : COPY go.mod vendor* ./ 23:19:14 ---> 9725cc106996 23:19:14 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:19:14 ---> Running in 5ef4b53ba0c1 23:19:16 Removing intermediate container 5ef4b53ba0c1 23:19:16 ---> 4b9e648068b7 23:19:16 Step 11/24 : COPY . . 23:19:16 ---> 1aba7d41ec98 23:19:16 Step 12/24 : RUN $MAKE 23:19:16 ---> Running in 477344cd13e8 23:19:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:19:39 Removing intermediate container 477344cd13e8 23:19:39 ---> dd80f31c8fa1 23:19:39 Step 13/24 : FROM alpine:3.18 23:19:39 3.18: Pulling from library/alpine 23:19:39 96526aa774ef: Pulling fs layer 23:19:39 96526aa774ef: Verifying Checksum 23:19:39 96526aa774ef: Download complete 23:19:39 96526aa774ef: Pull complete 23:19:39 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 23:19:39 Status: Downloaded newer image for alpine:3.18 23:19:39 ---> 8ca4688f4f35 23:19:39 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:19:39 ---> Running in 353b6d282cf3 23:19:39 Removing intermediate container 353b6d282cf3 23:19:39 ---> f76031679389 23:19:39 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:19:40 ---> Running in db5c0f9c6875 23:19:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 23:19:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 23:19:40 (1/1) Installing dumb-init (1.2.5-r2) 23:19:40 Executing busybox-1.36.1-r2.trigger 23:19:40 OK: 7 MiB in 16 packages 23:19:40 Removing intermediate container db5c0f9c6875 23:19:40 ---> ce647b98f2d4 23:19:40 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:19:41 Running on prd-ubuntu20.04-docker-arm64-4c-16g-17097 in /w/workspace/gexfoundry_device-mqtt-go_PR-645 [Pipeline] { [Pipeline] ws 23:19:41 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 23:19:41 The recommended git tool is: git 23:19:42 ---> da0ddff4e1e1 23:19:42 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:19:42 ---> 5360c4cd5fa4 23:19:42 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:19:42 ---> 33707e2f765b 23:19:42 Step 19/24 : EXPOSE 59982 23:19:42 ---> Running in 20713f1e5b27 23:19:42 Removing intermediate container 20713f1e5b27 23:19:42 ---> 16c8bcd4f07b 23:19:42 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:19:42 ---> Running in 8a700a8b13d8 23:19:42 Removing intermediate container 8a700a8b13d8 23:19:42 ---> 3dfb25271536 23:19:42 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:19:42 ---> Running in f940fd6c241d 23:19:42 Removing intermediate container f940fd6c241d 23:19:42 ---> d702b1012f74 23:19:42 Step 22/24 : LABEL arch=amd64 23:19:42 ---> Running in 2971f386d279 23:19:42 Removing intermediate container 2971f386d279 23:19:42 ---> 06089a2a3060 23:19:42 Step 23/24 : LABEL git_sha=b15a30809fa01d45f27adf4e1ca76333c70fc7cd 23:19:42 ---> Running in ae4a71c47b9b 23:19:43 Removing intermediate container ae4a71c47b9b 23:19:43 ---> e5b302160ffc 23:19:43 Step 24/24 : LABEL version=0.0.0 23:19:43 ---> Running in f47a63f01b09 23:19:43 Removing intermediate container f47a63f01b09 23:19:43 ---> 9c115fb6d14d 23:19:43 [Warning] One or more build-args [ARCH] were not consumed 23:19:43 Successfully built 9c115fb6d14d 23:19:43 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:19:43 23:19:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:19:44 latest: Pulling from edgex-lftools-log-publisher 23:19:44 5eb5b503b376: Pulling fs layer 23:19:44 5c69ac0246d0: Pulling fs layer 23:19:44 ec43610c2a17: Pulling fs layer 23:19:44 3a2ae6a8a46f: Pulling fs layer 23:19:44 33b1e0a273af: Pulling fs layer 23:19:44 5d3b04190fa2: Pulling fs layer 23:19:44 2f39f015ded8: Pulling fs layer 23:19:44 3a2ae6a8a46f: Waiting 23:19:44 33b1e0a273af: Waiting 23:19:44 2f39f015ded8: Waiting 23:19:44 5c69ac0246d0: Verifying Checksum 23:19:44 5c69ac0246d0: Download complete 23:19:44 3a2ae6a8a46f: Verifying Checksum 23:19:44 3a2ae6a8a46f: Download complete 23:19:44 33b1e0a273af: Verifying Checksum 23:19:44 33b1e0a273af: Download complete 23:19:44 ec43610c2a17: Verifying Checksum 23:19:44 ec43610c2a17: Download complete 23:19:44 5d3b04190fa2: Verifying Checksum 23:19:44 5d3b04190fa2: Download complete 23:19:44 5eb5b503b376: Verifying Checksum 23:19:44 5eb5b503b376: Download complete 23:19:45 2f39f015ded8: Verifying Checksum 23:19:45 2f39f015ded8: Download complete 23:19:45 5eb5b503b376: Pull complete 23:19:46 using credential edgex-jenkins-ssh 23:19:46 Cloning the remote Git repository 23:19:46 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:19:46 5c69ac0246d0: Pull complete 23:19:46 ec43610c2a17: Pull complete 23:19:47 3a2ae6a8a46f: Pull complete 23:19:47 33b1e0a273af: Pull complete 23:19:47 5d3b04190fa2: Pull complete 23:19:46 > git init /w/workspace/device-mqtt-go/2 # timeout=10 23:19:49 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:19:49 > git --version # timeout=10 23:19:49 > git --version # 'git version 2.25.1' 23:19:49 using GIT_SSH to set credentials SSH Credentials for GitHub 23:19:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:19:50 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:19:50 > git config --add remote.origin.fetch +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 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:19:51 using GIT_SSH to set credentials SSH Credentials for GitHub 23:19:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/645/head:refs/remotes/origin/PR-645 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:19:52 Merging remotes/origin/main commit 2a80116fa1f446abff1b1e1c9092e6aedb73b14f into PR head commit c50e0250f90ce80985879acac8c100133ce26eeb 23:19:52 Merge succeeded, producing e3dbda6c2dc62242aed90286cd8583b811f4f61e 23:19:52 Checking out Revision e3dbda6c2dc62242aed90286cd8583b811f4f61e (PR-645) 23:19:52 2f39f015ded8: Pull complete 23:19:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:19:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:19:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:52 prd-ubuntu20.04-docker-8c-8g-17096 does not seem to be running inside a container 23:19:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-645 -v /w/workspace/gexfoundry_device-mqtt-go_PR-645:/w/workspace/gexfoundry_device-mqtt-go_PR-645:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-645@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-645@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:19:52 > git config core.sparsecheckout # timeout=10 23:19:52 > git checkout -f c50e0250f90ce80985879acac8c100133ce26eeb # timeout=10 23:19:52 > git remote # timeout=10 23:19:52 > git config --get remote.origin.url # timeout=10 23:19:52 using GIT_SSH to set credentials SSH Credentials for GitHub 23:19:52 > git merge 2a80116fa1f446abff1b1e1c9092e6aedb73b14f # timeout=10 23:19:52 > git rev-parse HEAD^{commit} # timeout=10 23:19:52 > git config core.sparsecheckout # timeout=10 23:19:52 > git checkout -f e3dbda6c2dc62242aed90286cd8583b811f4f61e # timeout=10 23:19:55 Commit message: "Merge commit '2a80116fa1f446abff1b1e1c9092e6aedb73b14f' into HEAD" 23:19:55 > git rev-list --no-walk c50e0250f90ce80985879acac8c100133ce26eeb # timeout=10 23:19:56 23:19:56 GitHub has been notified of this commit’s build result 23:19:56 23:20:02 $ docker top d729b04a72944a099539a8e69f7d1a7f796b0d4bb33712c30cf297ebba9c1362 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:20:02 ---> job-cost.sh 23:20:02 lf-activate-venv: SKIPPING 23:20:02 INFO: No Stack... 23:20:02 INFO: Retrieving Pricing Info for: v3-standard-8 23:20:03 INFO: Archiving Costs [Pipeline] sh 23:20:04 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-645/archives/cost.csv 23:20:04 + cut -d, -f6 [Pipeline] lock 23:20:04 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-645-2-stack-cost] 23:20:04 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-645-2-stack-cost] did not exist. Created. 23:20:04 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-645-2-stack-cost] 23:20:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:20:04 % Total % Received % Xferd Average Speed Time Time Time Current 23:20:04 Dload Upload Total Spent Left Speed 23:20:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 87 12682 87 11015 0 0 71064 0 --:--:-- --:--:-- --:--:-- 70608 100 12682 100 12682 0 0 80777 0 --:--:-- --:--:-- --:--:-- 80265 [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:20:04 + echo total: 0.2199999988079071 [Pipeline] stash 23:20:04 Stashed 1 file(s) [Pipeline] } 23:20:04 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-645-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:20:04 $ docker stop --time=1 d729b04a72944a099539a8e69f7d1a7f796b0d4bb33712c30cf297ebba9c1362 23:20:05 $ docker rm -f --volumes d729b04a72944a099539a8e69f7d1a7f796b0d4bb33712c30cf297ebba9c1362 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:20:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:20:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:20:06 + sudo tee /etc/docker/daemon.new 23:20:06 { 23:20:06 "registry-mirrors": [ 23:20:06 "https://nexus3.edgexfoundry.org:10001" 23:20:06 ], 23:20:06 "bip": "10.250.0.254/24", 23:20:06 "hosts": [ 23:20:06 "tcp://0.0.0.0:5555", 23:20:06 "unix:///var/run/docker.sock" 23:20:06 ], 23:20:06 "mtu": 1458, 23:20:06 "selinux-enabled": true, 23:20:06 "seccomp-profile": "/etc/docker/seccomp.json" 23:20:06 } [Pipeline] sh 23:20:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:20:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:20:25 provisioning config files... 23:20:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config17846785770188831271tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:20:25 ---> docker-login.sh 23:20:25 nexus3.edgexfoundry.org:10001 23:20:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:26 Configure a credential helper to remove this warning. See 23:20:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:26 23:20:26 Login Succeeded 23:20:26 nexus3.edgexfoundry.org:10002 23:20:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:26 Configure a credential helper to remove this warning. See 23:20:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:26 23:20:26 Login Succeeded 23:20:26 nexus3.edgexfoundry.org:10003 23:20:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:27 Configure a credential helper to remove this warning. See 23:20:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:27 23:20:27 Login Succeeded 23:20:27 nexus3.edgexfoundry.org:10004 23:20:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:27 Configure a credential helper to remove this warning. See 23:20:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:27 23:20:27 Login Succeeded 23:20:27 docker.io 23:20:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:27 Configure a credential helper to remove this warning. See 23:20:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:27 23:20:27 Login Succeeded 23:20:27 ---> docker-login.sh ends [Pipeline] } 23:20:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:20:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:20:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 23:20:28 ========================================================= 23:20:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 23:20:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:28 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 23:20:28 Sending build context to Docker daemon 3.396MB 23:20:28 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 23:20:28 Step 2/12 : FROM ${BASE} AS builder 23:20:33 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:20:33 9fda8d8052c6: Pulling fs layer 23:20:33 5d54e960e981: Pulling fs layer 23:20:33 c4a7e357bf2a: Pulling fs layer 23:20:33 f0e02332f6b5: Pulling fs layer 23:20:33 cefa15bbcfad: Pulling fs layer 23:20:33 17808c966233: Pulling fs layer 23:20:33 f4c1fc716caa: Pulling fs layer 23:20:33 f0e02332f6b5: Waiting 23:20:33 cefa15bbcfad: Waiting 23:20:33 17808c966233: Waiting 23:20:33 f4c1fc716caa: Waiting 23:20:33 5d54e960e981: Verifying Checksum 23:20:33 5d54e960e981: Download complete 23:20:33 f0e02332f6b5: Verifying Checksum 23:20:33 f0e02332f6b5: Download complete 23:20:33 cefa15bbcfad: Verifying Checksum 23:20:33 cefa15bbcfad: Download complete 23:20:33 9fda8d8052c6: Download complete 23:20:33 f4c1fc716caa: Verifying Checksum 23:20:33 f4c1fc716caa: Download complete 23:20:33 9fda8d8052c6: Pull complete 23:20:34 5d54e960e981: Pull complete 23:20:34 c4a7e357bf2a: Verifying Checksum 23:20:34 c4a7e357bf2a: Download complete 23:20:35 17808c966233: Verifying Checksum 23:20:35 17808c966233: Download complete 23:20:47 c4a7e357bf2a: Pull complete 23:20:47 f0e02332f6b5: Pull complete 23:20:47 cefa15bbcfad: Pull complete 23:20:55 17808c966233: Pull complete 23:20:57 f4c1fc716caa: Pull complete 23:20:57 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 23:20:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 23:20:57 ---> ea914061e18c 23:20:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:20:58 ---> Running in 6fd1554144d3 23:20:58 Removing intermediate container 6fd1554144d3 23:20:58 ---> f0afaf8cabec 23:20:58 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:20:58 ---> Running in 367571d8f769 23:20:58 Removing intermediate container 367571d8f769 23:20:58 ---> 80d95a2a02c6 23:20:58 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:20:58 ---> Running in c63f06c9ad99 23:20:59 Removing intermediate container c63f06c9ad99 23:20:59 ---> 822979a2d0d0 23:20:59 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:20:59 ---> Running in 7ec38e181c0f 23:20:59 Removing intermediate container 7ec38e181c0f 23:20:59 ---> 78cd940c0216 23:20:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:20:59 ---> Running in 5187ada03a56 23:21:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:21:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:21:02 (1/4) Installing openssh-keygen (9.3_p2-r0) 23:21:02 (2/4) Installing libedit (20221030.3.1-r1) 23:21:02 (3/4) Installing openssh-client-common (9.3_p2-r0) 23:21:02 (4/4) Installing openssh-client-default (9.3_p2-r0) 23:21:02 Executing busybox-1.36.1-r2.trigger 23:21:02 OK: 270 MiB in 56 packages 23:21:03 Removing intermediate container 5187ada03a56 23:21:03 ---> 512298554235 23:21:03 Step 8/12 : WORKDIR /device-mqtt-go 23:21:03 ---> Running in 8ba7aafa5abf 23:21:03 Removing intermediate container 8ba7aafa5abf 23:21:03 ---> df3fb242f733 23:21:03 Step 9/12 : COPY go.mod vendor* ./ 23:21:04 ---> 84922c1f54a5 23:21:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:21:04 ---> Running in 7d6cc60d7250 23:22:25 Removing intermediate container 7d6cc60d7250 23:22:25 ---> 73e84c04a834 23:22:25 Step 11/12 : COPY . . 23:22:25 ---> ad17c4303895 23:22:25 Step 12/12 : RUN $MAKE 23:22:25 ---> Running in d17b01619f99 23:22:25 noop 23:22:25 Removing intermediate container d17b01619f99 23:22:25 ---> ca1d5c91a9df 23:22:25 Successfully built ca1d5c91a9df 23:22:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:26 + docker inspect -f . ci-base-image-arm64 23:22:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:26 prd-ubuntu20.04-docker-arm64-4c-16g-17097 does not seem to be running inside a container 23:22:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:22:27 $ docker top 89692cc5dec9289a17b3e088c04c0ab8182d24f0342914e89203f0154845ba71 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:28 + go version 23:22:28 go version go1.21.0 linux/arm64 [Pipeline] } 23:22:28 $ docker stop --time=1 89692cc5dec9289a17b3e088c04c0ab8182d24f0342914e89203f0154845ba71 23:22:30 $ docker rm -f --volumes 89692cc5dec9289a17b3e088c04c0ab8182d24f0342914e89203f0154845ba71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:30 + docker inspect -f . ci-base-image-arm64 23:22:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:30 prd-ubuntu20.04-docker-arm64-4c-16g-17097 does not seem to be running inside a container 23:22:30 $ 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/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:22:32 $ docker top 4ab6d80888b4fda55b411263f96405a1cd05506743eac0ce450f31f0186b49c7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:32 + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh 23:22:33 + make test 23:22:33 go test ./... -coverprofile=coverage.out ./... 23:22:40 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:24:16 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:24:16 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:24:16 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.058s coverage: 22.8% of statements 23:24:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:24:16 go vet ./... 23:24:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:24:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:24:29 ./bin/test-attribution-txt.sh [Pipeline] echo 23:24:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 23:24:29 $ docker stop --time=1 4ab6d80888b4fda55b411263f96405a1cd05506743eac0ce450f31f0186b49c7 23:24:31 $ docker rm -f --volumes 4ab6d80888b4fda55b411263f96405a1cd05506743eac0ce450f31f0186b49c7 [Pipeline] // withDockerContainer [Pipeline] sh 23:24:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:24:32 Warning: overwriting stash ‘coverage-report’ 23:24:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:24:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:24:33 + ls -al . 23:24:33 total 180 23:24:33 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 23:22 . 23:24:33 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 23:19 .. 23:24:33 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 23:19 .dockerignore 23:24:33 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 23:19 .git 23:24:33 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:19 .github 23:24:33 -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 23:19 .gitignore 23:24:33 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 23:19 .golangci.yml 23:24:33 -rw-rw-r-- 1 jenkins jenkins 10386 Nov 8 23:19 Attribution.txt 23:24:33 -rw-rw-r-- 1 jenkins jenkins 18574 Nov 8 23:19 CHANGELOG.md 23:24:33 -rw-rw-r-- 1 jenkins jenkins 1689 Nov 8 23:19 Dockerfile 23:24:33 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 23:19 GOVERNANCE.md 23:24:33 -rw-rw-r-- 1 jenkins jenkins 657 Nov 8 23:19 Jenkinsfile 23:24:33 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 23:19 LICENSE 23:24:33 -rw-rw-r-- 1 jenkins jenkins 1963 Nov 8 23:19 Makefile 23:24:33 -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 23:19 OWNERS.md 23:24:33 -rw-rw-r-- 1 jenkins jenkins 3599 Nov 8 23:19 README.md 23:24:33 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 23:17 VERSION 23:24:33 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:19 bin 23:24:33 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:19 cmd 23:24:33 -rw-r--r-- 1 jenkins jenkins 18506 Nov 8 23:24 coverage.out 23:24:33 -rw-rw-r-- 1 jenkins jenkins 3775 Nov 8 23:19 go.mod 23:24:33 -rw-rw-r-- 1 jenkins jenkins 35000 Nov 8 23:19 go.sum 23:24:33 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 23:19 internal 23:24:33 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 23:19 mock 23:24:33 -rw-rw-r-- 1 jenkins jenkins 227 Nov 8 23:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:33 + 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=e3dbda6c2dc62242aed90286cd8583b811f4f61e --label arch=arm64 --label version=0.0.0 . 23:24:34 Sending build context to Docker daemon 3.416MB 23:24:34 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 23:24:34 Step 2/24 : FROM ${BASE} AS builder 23:24:34 ---> ca1d5c91a9df 23:24:34 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:24:34 ---> Running in 60b54bd7561a 23:24:34 Removing intermediate container 60b54bd7561a 23:24:34 ---> bf079b1bb3a2 23:24:34 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:24:34 ---> Running in cb22ce502abf 23:24:34 Removing intermediate container cb22ce502abf 23:24:34 ---> e1cd4c6e0536 23:24:34 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:24:34 ---> Running in a1f46074ee76 23:24:35 Removing intermediate container a1f46074ee76 23:24:35 ---> 5b15592a50f3 23:24:35 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:24:35 ---> Running in cc2a67d936b0 23:24:35 Removing intermediate container cc2a67d936b0 23:24:35 ---> 6c7fedd3a3b7 23:24:35 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:24:35 ---> Running in 9f3c2703cd5f 23:24:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:24:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:24:38 OK: 270 MiB in 56 packages 23:24:38 Removing intermediate container 9f3c2703cd5f 23:24:38 ---> bce225a7f9d3 23:24:38 Step 8/24 : WORKDIR /device-mqtt-go 23:24:38 ---> Running in 3be9b3244cf0 23:24:39 Removing intermediate container 3be9b3244cf0 23:24:39 ---> 9e86082a1801 23:24:39 Step 9/24 : COPY go.mod vendor* ./ 23:24:39 ---> 37d51f065727 23:24:39 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:24:39 ---> Running in e67335380337 23:24:41 Removing intermediate container e67335380337 23:24:41 ---> 38b1a13e4a08 23:24:41 Step 11/24 : COPY . . 23:24:42 ---> 5aea6d09b0f6 23:24:42 Step 12/24 : RUN $MAKE 23:24:42 ---> Running in e1ea05505c76 23:24:43 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:26:20 Removing intermediate container e1ea05505c76 23:26:20 ---> 308b7570bd9a 23:26:20 Step 13/24 : FROM alpine:3.18 23:26:20 3.18: Pulling from library/alpine 23:26:20 579b34f0a95b: Pulling fs layer 23:26:21 579b34f0a95b: Download complete 23:26:21 579b34f0a95b: Pull complete 23:26:21 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 23:26:21 Status: Downloaded newer image for alpine:3.18 23:26:21 ---> 3cc203321400 23:26:21 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:26:21 ---> Running in a88b65a839af 23:26:22 Removing intermediate container a88b65a839af 23:26:22 ---> 09e19f6257a4 23:26:22 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:26:22 ---> Running in f0a5cb23db3a 23:26:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 23:26:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 23:26:24 (1/1) Installing dumb-init (1.2.5-r2) 23:26:24 Executing busybox-1.36.1-r2.trigger 23:26:24 OK: 8 MiB in 16 packages 23:26:25 Removing intermediate container f0a5cb23db3a 23:26:25 ---> e3f70297a0ad 23:26:25 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:26:27 ---> 1a9c3ec4a23b 23:26:27 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:26:27 ---> ccf7ec940870 23:26:27 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:26:28 ---> 40c26a71c660 23:26:28 Step 19/24 : EXPOSE 59982 23:26:28 ---> Running in 1b2f69bc27fa 23:26:28 Removing intermediate container 1b2f69bc27fa 23:26:28 ---> 08cc4d8dce94 23:26:28 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:26:28 ---> Running in de72f6836732 23:26:28 Removing intermediate container de72f6836732 23:26:28 ---> 7c8279596575 23:26:28 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:26:28 ---> Running in 739f7c84e1d4 23:26:29 Removing intermediate container 739f7c84e1d4 23:26:29 ---> 03b6de102075 23:26:29 Step 22/24 : LABEL arch=arm64 23:26:29 ---> Running in c5b59478a54b 23:26:29 Removing intermediate container c5b59478a54b 23:26:29 ---> 68eb42e4564d 23:26:29 Step 23/24 : LABEL git_sha=e3dbda6c2dc62242aed90286cd8583b811f4f61e 23:26:29 ---> Running in 6065e4471085 23:26:29 Removing intermediate container 6065e4471085 23:26:29 ---> 4f32c78fbb11 23:26:29 Step 24/24 : LABEL version=0.0.0 23:26:30 ---> Running in 9133a3f37ad9 23:26:30 Removing intermediate container 9133a3f37ad9 23:26:30 ---> 65c56ca3110b 23:26:30 [Warning] One or more build-args [ARCH] were not consumed 23:26:30 Successfully built 65c56ca3110b 23:26:30 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:26:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:26:30 23:26:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:26:31 arm64: Pulling from edgex-lftools-log-publisher 23:26:31 8998bd30e6a1: Pulling fs layer 23:26:31 04944245beec: Pulling fs layer 23:26:31 699f458cf7ca: Pulling fs layer 23:26:31 765212b225bb: Pulling fs layer 23:26:31 f23df028b6ca: Pulling fs layer 23:26:31 d65c8cfc05b1: Pulling fs layer 23:26:31 2437ff75d9bd: Pulling fs layer 23:26:31 f23df028b6ca: Waiting 23:26:31 d65c8cfc05b1: Waiting 23:26:31 2437ff75d9bd: Waiting 23:26:31 765212b225bb: Waiting 23:26:31 04944245beec: Verifying Checksum 23:26:31 04944245beec: Download complete 23:26:31 765212b225bb: Verifying Checksum 23:26:31 765212b225bb: Download complete 23:26:31 f23df028b6ca: Verifying Checksum 23:26:31 f23df028b6ca: Download complete 23:26:31 d65c8cfc05b1: Verifying Checksum 23:26:31 d65c8cfc05b1: Download complete 23:26:31 699f458cf7ca: Verifying Checksum 23:26:31 699f458cf7ca: Download complete 23:26:32 8998bd30e6a1: Verifying Checksum 23:26:32 8998bd30e6a1: Download complete 23:26:34 2437ff75d9bd: Verifying Checksum 23:26:34 2437ff75d9bd: Download complete 23:26:36 8998bd30e6a1: Pull complete 23:26:36 04944245beec: Pull complete 23:26:38 699f458cf7ca: Pull complete 23:26:38 765212b225bb: Pull complete 23:26:39 f23df028b6ca: Pull complete 23:26:39 d65c8cfc05b1: Pull complete 23:26:57 2437ff75d9bd: Pull complete 23:26:57 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:26:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:26:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:26:58 prd-ubuntu20.04-docker-arm64-4c-16g-17097 does not seem to be running inside a container 23:26:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:27:00 $ docker top 9d7ba7e81bf098f97edcb5326738540268e85a7071ba55e7fd9232b64a00c80e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:27:01 ---> job-cost.sh 23:27:01 lf-activate-venv: SKIPPING 23:27:01 INFO: No Stack... 23:27:01 INFO: Retrieving Pricing Info for: v3-standard-4 23:27:02 INFO: Archiving Costs [Pipeline] sh 23:27:03 + cut -d, -f6 23:27:03 + cat /w/workspace/device-mqtt-go/2/archives/cost.csv [Pipeline] lock 23:27:03 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-645-2-stack-cost] 23:27:03 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-645-2-stack-cost] did not exist. Created. 23:27:03 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-645-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:27:03 /w/workspace/device-mqtt-go/2@tmp/durable-22a211bd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:27:03 + echo total: 0.10999999940395355 [Pipeline] stash 23:27:03 Warning: overwriting stash ‘stack-cost’ 23:27:03 Stashed 1 file(s) [Pipeline] } 23:27:03 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-645-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:27:03 $ docker stop --time=1 9d7ba7e81bf098f97edcb5326738540268e85a7071ba55e7fd9232b64a00c80e 23:27:05 $ docker rm -f --volumes 9d7ba7e81bf098f97edcb5326738540268e85a7071ba55e7fd9232b64a00c80e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:27:05 provisioning config files... 23:27:05 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-645@tmp/config511116441509039800tmp [Pipeline] { [Pipeline] sh 23:27:06 + set +x 23:27:06 + curl -s https://codecov.io/bash 23:27:06 + bash -s -- 23:27:06 23:27:06 _____ _ 23:27:06 / ____| | | 23:27:06 | | ___ __| | ___ ___ _____ __ 23:27:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:27:06 | |___| (_) | (_| | __/ (_| (_) \ V / 23:27:06 \_____\___/ \__,_|\___|\___\___/ \_/ 23:27:06 Bash-1.0.6 23:27:06 23:27:06 23:27:06 ==> git version 2.25.1 found 23:27:06 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:27:06 Release-Date: 2020-01-08 23:27:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:27:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:27:06 ==> Jenkins CI detected. 23:27:06 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-645 23:27:06 project root: . 23:27:06 --> token set from env 23:27:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:27:06 ==> Running gcov in . (disable via -X gcov) 23:27:06 ==> Python coveragepy not found 23:27:06 ==> Searching for coverage reports in: 23:27:06 + . 23:27:06 -> Found 1 reports 23:27:06 ==> Detecting git/mercurial file structure 23:27:06 ==> Reading reports 23:27:06 + ./coverage.out bytes=18506 23:27:06 ==> Appending adjustments 23:27:06 https://docs.codecov.io/docs/fixing-reports 23:27:06 + Found adjustments 23:27:06 ==> Gzipping contents 23:27:06 4.0K /tmp/codecov.P65ahW.gz 23:27:06 ==> Uploading reports 23:27:06 url: https://codecov.io 23:27:06 query: branch=PR-645&commit=b15a30809fa01d45f27adf4e1ca76333c70fc7cd&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-645%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=645&job=&cmd_args= 23:27:06 -> Pinging Codecov 23:27:06 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-645&commit=b15a30809fa01d45f27adf4e1ca76333c70fc7cd&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-645%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=645&job=&cmd_args= 23:27:06 -> Uploading to 23:27:06 https://storage.googleapis.com/codecov/v4/raw/2023-11-08/7D719EC7BBE17E464838252E33014C33/b15a30809fa01d45f27adf4e1ca76333c70fc7cd/866a8406-d3cd-4571-bbe0-5f4d1ddfee11.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231108T232706Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=89a74d64bb1195020971981b2acd51d67bcf88d3e371e5996daa337a8d18f1e0 23:27:06 % Total % Received % Xferd Average Speed Time Time Time Current 23:27:06 Dload Upload Total Spent Left Speed 23:27:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 13431 --:--:-- --:--:-- --:--:-- 13431 23:27:06 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/b15a30809fa01d45f27adf4e1ca76333c70fc7cd [Pipeline] } 23:27:06 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:27:07 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-645/archives ] 23:27:07 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-645/archives 23:27:07 total 16 23:27:07 drwxr-xr-x 3 root root 4096 Nov 8 23:20 . 23:27:07 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 23:20 .. 23:27:07 drwxr-xr-x 2 root root 4096 Nov 8 23:20 cost 23:27:07 -rw-r--r-- 1 root root 86 Nov 8 23:20 cost.csv 23:27:07 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-645/archives 23:27:07 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-645/archives 23:27:07 total 16 23:27:07 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 23:20 . 23:27:07 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 23:20 .. 23:27:07 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 23:20 cost 23:27:07 -rw-r--r-- 1 jenkins jenkins 86 Nov 8 23:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:27:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:27:08 ---> package-listing.sh 23:27:08 ++ facter osfamily 23:27:08 ++ tr '[:upper:]' '[:lower:]' 23:27:08 + OS_FAMILY=debian 23:27:08 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-645 23:27:08 + START_PACKAGES=/tmp/packages_start.txt 23:27:08 + END_PACKAGES=/tmp/packages_end.txt 23:27:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:27:08 + PACKAGES=/tmp/packages_start.txt 23:27:08 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-645 ']' 23:27:08 + PACKAGES=/tmp/packages_end.txt 23:27:08 + case "${OS_FAMILY}" in 23:27:08 + dpkg -l 23:27:08 + grep '^ii' 23:27:08 + '[' -f /tmp/packages_start.txt ']' 23:27:08 + '[' -f /tmp/packages_end.txt ']' 23:27:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:27:08 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-645 ']' 23:27:08 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-645/archives/ 23:27:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-645/archives/ [Pipeline] echo 23:27:08 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-645/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:27:09 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:27:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:09 prd-ubuntu20.04-docker-8c-8g-17096 does not seem to be running inside a container 23:27:09 $ 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-645/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-645 -v /w/workspace/gexfoundry_device-mqtt-go_PR-645:/w/workspace/gexfoundry_device-mqtt-go_PR-645:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-645@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-645@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:27:09 $ docker top 8853e6f9b3ceab628d1a81692322b4f41d29438b8adc1b3e87a92b0412ef165a -eo pid,comm [Pipeline] { [Pipeline] sh 23:27:10 + touch /tmp/pre-build-complete [Pipeline] sh 23:27:10 + mkdir -p /var/log/sysstat [Pipeline] sh 23:27:10 + ls /var/log/sa-host 23:27:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:27:10 provisioning config files... 23:27:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-645@tmp/config11108161865179380484tmp [Pipeline] { [Pipeline] echo 23:27:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:27:11 ---> create-netrc.sh [Pipeline] } 23:27:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:27:11 ---> python-tools-install.sh [Pipeline] echo 23:27:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:27:11 ---> sudo-logs.sh 23:27:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:27:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:27:12 ---> job-cost.sh 23:27:12 lf-activate-venv: SKIPPING 23:27:12 DEBUG: total: 0.2199999988079071 23:27:12 INFO: Retrieving Stack Cost... 23:27:12 INFO: Retrieving Pricing Info for: v3-standard-8 23:27:13 INFO: Archiving Costs [Pipeline] echo 23:27:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:27:13 ---> logs-deploy.sh 23:27:13 lf-activate-venv: SKIPPING 23:27:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-645/2 23:27:13 INFO: archiving workspace using pattern(s): 23:27:14 Archives upload complete. 23:27:14 INFO: archiving logs to Nexus