Pull request #534 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e+4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa (ce998e9bd154c04a8f3286f94fd296e924ade670) 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-ssh11144462698010564908.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh16854158883980273667.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-534/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-534/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4424696404596960430.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh4178545517164839818.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-534/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-534/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7976338596279868004.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4356’ Running on prd-ubuntu20.04-docker-8c-8g-4358 in /w/workspace/gexfoundry_device-mqtt-go_PR-534 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-534 # 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 Merging remotes/origin/main commit 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa into PR head commit ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/534/head:refs/remotes/origin/PR-534 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e # 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 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa # timeout=10 Merge succeeded, producing ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e Checking out Revision ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e (PR-534) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:15:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:15:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:15:35 ========================================================= 07:15:35 EdgeX Global Pipelines Version Info 07:15:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e # timeout=10 > git rev-list --no-walk b120bce5e2fdd726c9368a5e33e32bdfacb2f593 # timeout=10 07:15:36 ------------------- 07:15:36 stable info: 07:15:36 ------------------- 07:15:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:15:36 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 07:15:36 Message: update stable to v1.0.245 07:15:36 ------------------- 07:15:36 experimental info: 07:15:36 ------------------- 07:15:36 Commited By: **** collab-it+edgex@linuxfoundation.org 07:15:36 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 07:15:36 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:15:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 07:15:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-534 [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-534 [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-534 [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec55e13 [Pipeline] echo 07:15:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:15:37 provisioning config files... 07:15:37 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-534@tmp/config7520901201331785123tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:15:37 ---> docker-login.sh 07:15:37 nexus3.edgexfoundry.org:10001 07:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:38 Configure a credential helper to remove this warning. See 07:15:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:38 07:15:38 Login Succeeded 07:15:38 nexus3.edgexfoundry.org:10002 07:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:38 Configure a credential helper to remove this warning. See 07:15:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:38 07:15:38 Login Succeeded 07:15:38 nexus3.edgexfoundry.org:10003 07:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:38 Configure a credential helper to remove this warning. See 07:15:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:38 07:15:38 Login Succeeded 07:15:38 nexus3.edgexfoundry.org:10004 07:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:38 Configure a credential helper to remove this warning. See 07:15:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:38 07:15:38 Login Succeeded 07:15:38 docker.io 07:15:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:38 Configure a credential helper to remove this warning. See 07:15:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:38 07:15:38 Login Succeeded 07:15:38 ---> docker-login.sh ends [Pipeline] } 07:15:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:15:39 + git rev-list -1 --merges ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e~1..ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e [Pipeline] echo 07:15:39 -----------> git rev-list -1 --merges ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e~1..ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e [false] [Pipeline] sh 07:15:39 + git log --format=format:%s -1 ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e [Pipeline] echo 07:15:39 ========================================================= 07:15:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:15:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:15:39 + git log --format=format:%s -1 ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e [Pipeline] echo 07:15:39 [semverPrep] GIT_COMMIT: ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 07:15:39 [semverPrep] This is not a build commit. [Pipeline] sh 07:15:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:15:40 + grep -v github /etc/ssh/ssh_known_hosts 07:15:40 + [ -e /tmp/ssh_known_hosts ] 07:15:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:15:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:15:40 + sudo tee -a /etc/ssh/ssh_known_hosts 07:15:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:15:40 07:15:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:15:40 0.1.4: Pulling from edgex-devops/py-git-semver 07:15:40 b85a868b505f: Pulling fs layer 07:15:40 e2be974225ed: Pulling fs layer 07:15:40 339a4e72a1f5: Pulling fs layer 07:15:40 988bab9f4d93: Pulling fs layer 07:15:40 1469e6f7b9e6: Pulling fs layer 07:15:40 eaf3925da568: Pulling fs layer 07:15:40 bab4dde63d76: Pulling fs layer 07:15:40 bde34c3a00c8: Pulling fs layer 07:15:40 b352a97aabf1: Pulling fs layer 07:15:40 4872d77fe225: Pulling fs layer 07:15:40 5851b861e8e6: Pulling fs layer 07:15:40 1469e6f7b9e6: Waiting 07:15:40 eaf3925da568: Waiting 07:15:40 bab4dde63d76: Waiting 07:15:40 bde34c3a00c8: Waiting 07:15:40 b352a97aabf1: Waiting 07:15:40 4872d77fe225: Waiting 07:15:40 5851b861e8e6: Waiting 07:15:40 988bab9f4d93: Waiting 07:15:40 e2be974225ed: Verifying Checksum 07:15:40 e2be974225ed: Download complete 07:15:40 988bab9f4d93: Verifying Checksum 07:15:40 988bab9f4d93: Download complete 07:15:41 1469e6f7b9e6: Download complete 07:15:41 339a4e72a1f5: Verifying Checksum 07:15:41 339a4e72a1f5: Download complete 07:15:41 eaf3925da568: Verifying Checksum 07:15:41 eaf3925da568: Download complete 07:15:41 bde34c3a00c8: Download complete 07:15:41 b352a97aabf1: Verifying Checksum 07:15:41 b352a97aabf1: Download complete 07:15:41 4872d77fe225: Verifying Checksum 07:15:41 4872d77fe225: Download complete 07:15:41 5851b861e8e6: Download complete 07:15:41 b85a868b505f: Verifying Checksum 07:15:41 b85a868b505f: Download complete 07:15:41 bab4dde63d76: Verifying Checksum 07:15:41 bab4dde63d76: Download complete 07:15:42 b85a868b505f: Pull complete 07:15:42 e2be974225ed: Pull complete 07:15:43 339a4e72a1f5: Pull complete 07:15:43 988bab9f4d93: Pull complete 07:15:43 1469e6f7b9e6: Pull complete 07:15:43 eaf3925da568: Pull complete 07:15:45 bab4dde63d76: Pull complete 07:15:45 bde34c3a00c8: Pull complete 07:15:45 b352a97aabf1: Pull complete 07:15:45 4872d77fe225: Pull complete 07:15:45 5851b861e8e6: Pull complete 07:15:45 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:15:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:15:45 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:15:45 prd-ubuntu20.04-docker-8c-8g-4358 does not seem to be running inside a container 07:15:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-534 -v /w/workspace/gexfoundry_device-mqtt-go_PR-534:/w/workspace/gexfoundry_device-mqtt-go_PR-534:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-534@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-534@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:15:49 $ docker top 6a145325cf68732bf1318b4d7756aeb8dd671c6501c2eed52255f5fd6a21ebcf -eo pid,comm 07:15:49 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:15:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:15:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:15:49 [ssh-agent] Looking for ssh-agent implementation... 07:15:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:15:49 $ docker exec 6a145325cf68732bf1318b4d7756aeb8dd671c6501c2eed52255f5fd6a21ebcf ssh-agent 07:15:49 SSH_AUTH_SOCK=/tmp/ssh-qh3Os52RstV7/agent.32 07:15:49 SSH_AGENT_PID=38 07:15:49 Running ssh-add (command line suppressed) 07:15:49 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-534@tmp/private_key_940638714260567188.key (/w/workspace/gexfoundry_device-mqtt-go_PR-534@tmp/private_key_940638714260567188.key) 07:15:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:15:49 + git tag --points-at HEAD [Pipeline] } 07:15:49 $ docker exec --env ******** --env ******** 6a145325cf68732bf1318b4d7756aeb8dd671c6501c2eed52255f5fd6a21ebcf ssh-agent -k 07:15:50 unset SSH_AUTH_SOCK; 07:15:50 unset SSH_AGENT_PID; 07:15:50 echo Agent pid 38 killed; 07:15:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:15:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:15:50 [ssh-agent] Looking for ssh-agent implementation... 07:15:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:15:50 $ docker exec 6a145325cf68732bf1318b4d7756aeb8dd671c6501c2eed52255f5fd6a21ebcf ssh-agent 07:15:50 SSH_AUTH_SOCK=/tmp/ssh-b19UXnhPxecz/agent.70 07:15:50 SSH_AGENT_PID=76 07:15:50 Running ssh-add (command line suppressed) 07:15:50 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-534@tmp/private_key_8889909414854703391.key (/w/workspace/gexfoundry_device-mqtt-go_PR-534@tmp/private_key_8889909414854703391.key) 07:15:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:15:50 + git semver init 07:15:50 2023-03-17 07:15:50,899 [run_init] DEBUG init version:0.0.0 force:False 07:15:50 2023-03-17 07:15:50,900 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-534/.semver 07:15:50 2023-03-17 07:15:50,901 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-534/.semver 07:15:50 2023-03-17 07:15:50,901 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-534/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-534, universal_newlines=False, shell=None, istream=None) 07:15:51 2023-03-17 07:15:51,647 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-534/.git/info/exclude 07:15:51 2023-03-17 07:15:51,648 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-534/.semver/PR-534 with force:False 07:15:51 2023-03-17 07:15:51,648 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-534/.semver/PR-534 07:15:51 2023-03-17 07:15:51,652 [execute] INFO git cat-file --batch-check 07:15:51 2023-03-17 07:15:51,653 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-534/.semver, universal_newlines=False, shell=None, istream=) 07:15:51 2023-03-17 07:15:51,659 [execute] INFO git cat-file --batch 07:15:51 2023-03-17 07:15:51,660 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-534/.semver, universal_newlines=False, shell=None, istream=) 07:15:51 2023-03-17 07:15:51,669 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-534/.semver/PR-534 07:15:51 0.0.0 [Pipeline] } 07:15:51 $ docker exec --env ******** --env ******** 6a145325cf68732bf1318b4d7756aeb8dd671c6501c2eed52255f5fd6a21ebcf ssh-agent -k 07:15:52 unset SSH_AUTH_SOCK; 07:15:52 unset SSH_AGENT_PID; 07:15:52 echo Agent pid 76 killed; 07:15:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:15:52 + git semver [Pipeline] } 07:15:52 $ docker stop --time=1 6a145325cf68732bf1318b4d7756aeb8dd671c6501c2eed52255f5fd6a21ebcf 07:15:53 $ docker rm -f --volumes 6a145325cf68732bf1318b4d7756aeb8dd671c6501c2eed52255f5fd6a21ebcf [Pipeline] // withDockerContainer [Pipeline] sh 07:15:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:15:54 Stashed 1 file(s) [Pipeline] echo 07:15:54 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:15:54 provisioning config files... 07:15:54 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-534@tmp/config9653300449002479254tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:15:54 ---> docker-login.sh 07:15:54 nexus3.edgexfoundry.org:10001 07:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:54 Configure a credential helper to remove this warning. See 07:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:54 07:15:54 Login Succeeded 07:15:54 nexus3.edgexfoundry.org:10002 07:15:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:54 Configure a credential helper to remove this warning. See 07:15:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:54 07:15:54 Login Succeeded 07:15:54 nexus3.edgexfoundry.org:10003 07:15:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:55 Configure a credential helper to remove this warning. See 07:15:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:55 07:15:55 Login Succeeded 07:15:55 nexus3.edgexfoundry.org:10004 07:15:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:55 Configure a credential helper to remove this warning. See 07:15:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:55 07:15:55 Login Succeeded 07:15:55 docker.io 07:15:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:55 Configure a credential helper to remove this warning. See 07:15:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:55 07:15:55 Login Succeeded 07:15:55 ---> docker-login.sh ends [Pipeline] } 07:15:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:15:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:15:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:15:55 ========================================================= 07:15:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 07:15:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:55 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:15:55 Sending build context to Docker daemon 6.397MB 07:15:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:15:55 Step 2/12 : FROM ${BASE} AS builder 07:15:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 07:15:55 63b65145d645: Pulling fs layer 07:15:55 a2d21d5440eb: Pulling fs layer 07:15:55 935e6c44a52c: Pulling fs layer 07:15:55 94cc34f8dd06: Pulling fs layer 07:15:55 30dea6a524f1: Pulling fs layer 07:15:55 a2aff8979fd8: Pulling fs layer 07:15:55 6808be2612f2: Pulling fs layer 07:15:55 f25807f1079a: Pulling fs layer 07:15:55 94cc34f8dd06: Waiting 07:15:55 f25807f1079a: Waiting 07:15:55 6808be2612f2: Waiting 07:15:55 30dea6a524f1: Waiting 07:15:55 a2aff8979fd8: Waiting 07:15:55 a2d21d5440eb: Verifying Checksum 07:15:55 a2d21d5440eb: Download complete 07:15:56 94cc34f8dd06: Download complete 07:15:56 30dea6a524f1: Verifying Checksum 07:15:56 30dea6a524f1: Download complete 07:15:56 63b65145d645: Verifying Checksum 07:15:56 63b65145d645: Download complete 07:15:56 a2aff8979fd8: Verifying Checksum 07:15:56 a2aff8979fd8: Download complete 07:15:56 63b65145d645: Pull complete 07:15:56 a2d21d5440eb: Pull complete 07:15:56 f25807f1079a: Verifying Checksum 07:15:56 f25807f1079a: Download complete 07:15:56 935e6c44a52c: Verifying Checksum 07:15:56 935e6c44a52c: Download complete 07:15:57 6808be2612f2: Verifying Checksum 07:15:57 6808be2612f2: Download complete 07:16:00 935e6c44a52c: Pull complete 07:16:00 94cc34f8dd06: Pull complete 07:16:00 30dea6a524f1: Pull complete 07:16:00 a2aff8979fd8: Pull complete 07:16:03 6808be2612f2: Pull complete 07:16:03 f25807f1079a: Pull complete 07:16:03 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 07:16:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 07:16:03 ---> 3b553350e43f 07:16:03 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:16:08 ---> Running in ed52fedd15a0 07:16:08 Removing intermediate container ed52fedd15a0 07:16:08 ---> 0979eaaaef28 07:16:08 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:16:08 ---> Running in fac6de03dd53 07:16:08 Removing intermediate container fac6de03dd53 07:16:08 ---> 7ea938e4f23d 07:16:08 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:16:08 ---> Running in bc06c1e753a1 07:16:08 Removing intermediate container bc06c1e753a1 07:16:08 ---> ad4801aee49a 07:16:08 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:16:08 ---> Running in 6b1832b7b1f2 07:16:08 Removing intermediate container 6b1832b7b1f2 07:16:08 ---> 15859c814089 07:16:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:16:08 ---> Running in 1303a1b3ac84 07:16:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:16:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:16:09 (1/4) Installing openssh-keygen (9.1_p1-r2) 07:16:09 (2/4) Installing libedit (20221030.3.1-r0) 07:16:09 (3/4) Installing openssh-client-common (9.1_p1-r2) 07:16:09 (4/4) Installing openssh-client-default (9.1_p1-r2) 07:16:09 Executing busybox-1.35.0-r29.trigger 07:16:09 OK: 269 MiB in 57 packages 07:16:09 Still waiting to schedule task 07:16:09 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4357’ 07:16:09 Removing intermediate container 1303a1b3ac84 07:16:09 ---> c06c1941184f 07:16:09 Step 8/12 : WORKDIR /device-mqtt-go 07:16:09 ---> Running in c29d736664e0 07:16:09 Removing intermediate container c29d736664e0 07:16:09 ---> 6c92e8a95f5d 07:16:09 Step 9/12 : COPY go.mod vendor* ./ 07:16:10 ---> eaa72c359989 07:16:10 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:16:10 ---> Running in cf4120f5e38a 07:16:42 Removing intermediate container cf4120f5e38a 07:16:42 ---> 79e56e939748 07:16:42 Step 11/12 : COPY . . 07:16:42 ---> 499382dd52ca 07:16:42 Step 12/12 : RUN $MAKE 07:16:42 ---> Running in 29da0fdae334 07:16:42 noop 07:16:42 Removing intermediate container 29da0fdae334 07:16:42 ---> f213a9b12cc2 07:16:42 Successfully built f213a9b12cc2 07:16:42 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:42 + docker inspect -f . ci-base-image-x86_64 07:16:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:16:42 prd-ubuntu20.04-docker-8c-8g-4358 does not seem to be running inside a container 07:16:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-534 -v /w/workspace/gexfoundry_device-mqtt-go_PR-534:/w/workspace/gexfoundry_device-mqtt-go_PR-534:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-534@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-534@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 ******** ci-base-image-x86_64 cat 07:16:43 $ docker top bbaf5d64e5554e746fdf9810b506bd83638acd2538b17c2b5324d09f688158a7 -eo pid,comm [Pipeline] { [Pipeline] sh 07:16:43 + go version 07:16:43 go version go1.20.2 linux/amd64 [Pipeline] } 07:16:43 $ docker stop --time=1 bbaf5d64e5554e746fdf9810b506bd83638acd2538b17c2b5324d09f688158a7 07:16:44 $ docker rm -f --volumes bbaf5d64e5554e746fdf9810b506bd83638acd2538b17c2b5324d09f688158a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:45 + docker inspect -f . ci-base-image-x86_64 07:16:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:16:45 prd-ubuntu20.04-docker-8c-8g-4358 does not seem to be running inside a container 07:16: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-534 -v /w/workspace/gexfoundry_device-mqtt-go_PR-534:/w/workspace/gexfoundry_device-mqtt-go_PR-534:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-534@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-534@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 ******** ci-base-image-x86_64 cat 07:16:45 $ docker top 3801688b6921bcef9e57e63118979005f7249f14d6a3c36873a30189496b8abc -eo pid,comm [Pipeline] { [Pipeline] sh 07:16:45 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-534 [Pipeline] fileExists [Pipeline] sh 07:16:46 + make test 07:16:46 go test ./... -coverprofile=coverage.out ./... 07:16:51 ? github.com/edgexfoundry/device-mqtt-go [no test files] 07:17:03 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 07:17:03 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 07:17:03 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 22.2% of statements 07:17:10 go vet ./... 07:17:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:17:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:17:13 ./bin/test-attribution-txt.sh [Pipeline] echo 07:17:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:17:13 $ docker stop --time=1 3801688b6921bcef9e57e63118979005f7249f14d6a3c36873a30189496b8abc 07:17:16 $ docker rm -f --volumes 3801688b6921bcef9e57e63118979005f7249f14d6a3c36873a30189496b8abc [Pipeline] // withDockerContainer [Pipeline] sh 07:17:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:17:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:17:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:17:18 + ls -al . 07:17:18 total 180 07:17:18 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 07:16 . 07:17:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 07:15 .. 07:17:18 -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 07:15 .dockerignore 07:17:18 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 07:15 .git 07:17:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:15 .github 07:17:18 -rw-rw-r-- 1 jenkins jenkins 329 Mar 17 07:15 .gitignore 07:17:18 -rw-rw-r-- 1 jenkins jenkins 41 Mar 17 07:15 .golangci.yml 07:17:18 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 07:15 .semver 07:17:18 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 17 07:15 Attribution.txt 07:17:18 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 17 07:15 CHANGELOG.md 07:17:18 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 17 07:15 Dockerfile 07:17:18 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 07:15 GOVERNANCE.md 07:17:18 -rw-rw-r-- 1 jenkins jenkins 678 Mar 17 07:15 Jenkinsfile 07:17:18 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 07:15 LICENSE 07:17:18 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 17 07:15 Makefile 07:17:18 -rw-rw-r-- 1 jenkins jenkins 620 Mar 17 07:15 OWNERS.md 07:17:18 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 17 07:15 README.md 07:17:18 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 07:15 VERSION 07:17:18 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 07:15 bin 07:17:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:15 cmd 07:17:18 -rw-r--r-- 1 jenkins jenkins 18047 Mar 17 07:17 coverage.out 07:17:18 -rw-rw-r-- 1 jenkins jenkins 3378 Mar 17 07:15 go.mod 07:17:18 -rw-rw-r-- 1 jenkins jenkins 31301 Mar 17 07:15 go.sum 07:17:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:15 internal 07:17:18 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 07:15 mock 07:17:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 07:15 snap 07:17:18 -rw-rw-r-- 1 jenkins jenkins 227 Mar 17 07:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:18 + 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=ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e --label arch=amd64 --label version=0.0.0 . 07:17:18 Sending build context to Docker daemon 6.416MB 07:17:18 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 07:17:18 Step 2/24 : FROM ${BASE} AS builder 07:17:18 ---> f213a9b12cc2 07:17:18 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:17:18 ---> Running in 21b284ca0a78 07:17:18 Removing intermediate container 21b284ca0a78 07:17:18 ---> b1443cfea7d5 07:17:18 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:17:18 ---> Running in d3005b1f25e3 07:17:18 Removing intermediate container d3005b1f25e3 07:17:18 ---> 42049027acc9 07:17:18 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:17:18 ---> Running in 1abd3ec96a32 07:17:18 Removing intermediate container 1abd3ec96a32 07:17:18 ---> 7da08b1a47a4 07:17:18 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 07:17:18 ---> Running in f12a7890fa12 07:17:18 Removing intermediate container f12a7890fa12 07:17:18 ---> 94ea7bb1eaca 07:17:18 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:17:18 ---> Running in 828d5911ce84 07:17:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:17:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:17:19 OK: 269 MiB in 57 packages 07:17:20 Removing intermediate container 828d5911ce84 07:17:20 ---> 95de533ae84d 07:17:20 Step 8/24 : WORKDIR /device-mqtt-go 07:17:20 ---> Running in f8a4c4f37d5a 07:17:20 Removing intermediate container f8a4c4f37d5a 07:17:20 ---> 7f80c81b4c97 07:17:20 Step 9/24 : COPY go.mod vendor* ./ 07:17:20 ---> 14e801cdeb77 07:17:20 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:17:20 ---> Running in 484032b483cc 07:17:21 Removing intermediate container 484032b483cc 07:17:21 ---> d18865cb02e3 07:17:21 Step 11/24 : COPY . . 07:17:21 ---> 1222672870e8 07:17:21 Step 12/24 : RUN $MAKE 07:17:21 ---> Running in e8ead0fd3f60 07:17:21 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 07:17:43 Removing intermediate container e8ead0fd3f60 07:17:43 ---> b98a828e0953 07:17:43 Step 13/24 : FROM alpine:3.17 07:17:43 3.17: Pulling from library/alpine 07:17:43 63b65145d645: Already exists 07:17:43 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 07:17:43 Status: Downloaded newer image for alpine:3.17 07:17:43 ---> b2aa39c304c2 07:17:43 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 07:17:43 ---> Running in 44c1d642953c 07:17:43 Removing intermediate container 44c1d642953c 07:17:43 ---> f783d85fd5a2 07:17:43 Step 15/24 : RUN apk add --update --no-cache dumb-init 07:17:43 ---> Running in 17b4858c31c3 07:17:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 07:17:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 07:17:43 (1/1) Installing dumb-init (1.2.5-r2) 07:17:43 Executing busybox-1.35.0-r29.trigger 07:17:43 OK: 7 MiB in 16 packages 07:17:43 Removing intermediate container 17b4858c31c3 07:17:43 ---> a76f29e4310b 07:17:43 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 07:17:44 ---> 593b1d369747 07:17:44 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 07:17:45 ---> b93b3c219bad 07:17:45 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 07:17:45 ---> 3711799ae7d8 07:17:45 Step 19/24 : EXPOSE 59982 07:17:45 ---> Running in 384c4288dbed 07:17:45 Removing intermediate container 384c4288dbed 07:17:45 ---> 8daade4dfbcb 07:17:45 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 07:17:45 ---> Running in 45e4abc77a32 07:17:45 Removing intermediate container 45e4abc77a32 07:17:45 ---> 13a46f7e8e29 07:17:45 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:17:45 ---> Running in a9889113a2a4 07:17:45 Removing intermediate container a9889113a2a4 07:17:45 ---> 0e07976aa98d 07:17:45 Step 22/24 : LABEL arch=amd64 07:17:45 ---> Running in 85e30d4086e6 07:17:45 Removing intermediate container 85e30d4086e6 07:17:45 ---> 3d73a92dcd91 07:17:45 Step 23/24 : LABEL git_sha=ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e 07:17:45 ---> Running in a50f02d2f586 07:17:45 Removing intermediate container a50f02d2f586 07:17:45 ---> 79a25f8028d7 07:17:45 Step 24/24 : LABEL version=0.0.0 07:17:45 ---> Running in f4bd4f78de4d 07:17:45 Removing intermediate container f4bd4f78de4d 07:17:45 ---> ca78bb407e0d 07:17:45 [Warning] One or more build-args [ARCH] were not consumed 07:17:45 Successfully built ca78bb407e0d 07:17:45 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:17:46 07:17:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:17:46 latest: Pulling from edgex-lftools-log-publisher 07:17:46 5eb5b503b376: Pulling fs layer 07:17:46 5c69ac0246d0: Pulling fs layer 07:17:46 ec43610c2a17: Pulling fs layer 07:17:46 3a2ae6a8a46f: Pulling fs layer 07:17:46 33b1e0a273af: Pulling fs layer 07:17:46 5d3b04190fa2: Pulling fs layer 07:17:46 2f39f015ded8: Pulling fs layer 07:17:46 33b1e0a273af: Waiting 07:17:46 5d3b04190fa2: Waiting 07:17:46 3a2ae6a8a46f: Waiting 07:17:46 2f39f015ded8: Waiting 07:17:46 5c69ac0246d0: Verifying Checksum 07:17:46 5c69ac0246d0: Download complete 07:17:46 3a2ae6a8a46f: Verifying Checksum 07:17:46 3a2ae6a8a46f: Download complete 07:17:46 33b1e0a273af: Verifying Checksum 07:17:46 33b1e0a273af: Download complete 07:17:46 5d3b04190fa2: Verifying Checksum 07:17:46 5d3b04190fa2: Download complete 07:17:46 ec43610c2a17: Verifying Checksum 07:17:46 ec43610c2a17: Download complete 07:17:46 5eb5b503b376: Verifying Checksum 07:17:46 5eb5b503b376: Download complete 07:17:47 2f39f015ded8: Verifying Checksum 07:17:48 5eb5b503b376: Pull complete 07:17:48 5c69ac0246d0: Pull complete 07:17:48 ec43610c2a17: Pull complete 07:17:48 3a2ae6a8a46f: Pull complete 07:17:48 33b1e0a273af: Pull complete 07:17:48 5d3b04190fa2: Pull complete 07:17:54 2f39f015ded8: Pull complete 07:17:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:17:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:17:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:17:54 prd-ubuntu20.04-docker-8c-8g-4358 does not seem to be running inside a container 07:17:54 $ 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-534 -v /w/workspace/gexfoundry_device-mqtt-go_PR-534:/w/workspace/gexfoundry_device-mqtt-go_PR-534:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-534@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-534@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:17:59 $ docker top 836518f94fbfe0ad3098dfcebf0659bc43f44de9e858e90cf1b5555c6c3da938 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:18:00 ---> job-cost.sh 07:18:00 lf-activate-venv: SKIPPING 07:18:00 INFO: No Stack... 07:18:00 INFO: Retrieving Pricing Info for: v3-standard-8 07:18:00 INFO: Archiving Costs [Pipeline] sh 07:18:01 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-534/archives/cost.csv 07:18:01 + cut -d, -f6 [Pipeline] lock 07:18:01 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-534-2-stack-cost] 07:18:01 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-534-2-stack-cost] did not exist. Created. 07:18:01 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-534-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:18:01 + echo total: 0.2199999988079071 [Pipeline] stash 07:18:01 Stashed 1 file(s) [Pipeline] } 07:18:01 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-534-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:18:01 $ docker stop --time=1 836518f94fbfe0ad3098dfcebf0659bc43f44de9e858e90cf1b5555c6c3da938 07:18:02 $ docker rm -f --volumes 836518f94fbfe0ad3098dfcebf0659bc43f44de9e858e90cf1b5555c6c3da938 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:19:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4359 in /w/workspace/gexfoundry_device-mqtt-go_PR-534 [Pipeline] { [Pipeline] ws 07:19:38 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 07:19:38 Selected Git installation does not exist. Using Default 07:19:38 The recommended git tool is: NONE 07:19:44 using credential edgex-jenkins-ssh 07:19:44 Cloning the remote Git repository 07:19:44 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 07:19:44 > git init /w/workspace/device-mqtt-go/2 # timeout=10 07:19:44 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 07:19:44 > git --version # timeout=10 07:19:44 > git --version # 'git version 2.25.1' 07:19:44 using GIT_SSH to set credentials SSH Credentials for GitHub 07:19:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:19:45 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 07:19:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:19:46 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 07:19:46 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 07:19:46 using GIT_SSH to set credentials SSH Credentials for GitHub 07:19:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/534/head:refs/remotes/origin/PR-534 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:19:47 Merging remotes/origin/main commit 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa into PR head commit ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e 07:19:47 Merge succeeded, producing ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e 07:19:47 Checking out Revision ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e (PR-534) 07:19:48 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 07:19:47 > git config core.sparsecheckout # timeout=10 07:19:47 > git checkout -f ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e # timeout=10 07:19:47 > git remote # timeout=10 07:19:47 > git config --get remote.origin.url # timeout=10 07:19:47 using GIT_SSH to set credentials SSH Credentials for GitHub 07:19:47 > git merge 4e0b4e1467e5d0b71ee56d242ee70fbcd071ceaa # timeout=10 07:19:47 > git rev-parse HEAD^{commit} # timeout=10 07:19:47 > git config core.sparsecheckout # timeout=10 07:19:47 > git checkout -f ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:19:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:19:51 % Total % Received % Xferd Average Speed Time Time Time Current 07:19:51 Dload Upload Total Spent Left Speed 07:19:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh 07:19:52 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:19:52 + sudo tee /etc/docker/daemon.new+ 07:19:52 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:19:52 { 07:19:52 "registry-mirrors": [ 07:19:52 "https://nexus3.edgexfoundry.org:10001" 07:19:52 ], 07:19:52 "bip": "10.250.0.254/24", 07:19:52 "hosts": [ 07:19:52 "tcp://0.0.0.0:5555", 07:19:52 "unix:///var/run/docker.sock" 07:19:52 ], 07:19:52 "mtu": 1458, 07:19:52 "selinux-enabled": true, 07:19:52 "seccomp-profile": "/etc/docker/seccomp.json" 07:19:52 } [Pipeline] sh 07:19:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:19:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:20:11 provisioning config files... 07:20:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config2649767769267078943tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:20:11 ---> docker-login.sh 07:20:11 nexus3.edgexfoundry.org:10001 07:20:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:12 Configure a credential helper to remove this warning. See 07:20:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:12 07:20:12 Login Succeeded 07:20:12 nexus3.edgexfoundry.org:10002 07:20:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:12 Configure a credential helper to remove this warning. See 07:20:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:12 07:20:12 Login Succeeded 07:20:12 nexus3.edgexfoundry.org:10003 07:20:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:13 Configure a credential helper to remove this warning. See 07:20:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:13 07:20:13 Login Succeeded 07:20:13 nexus3.edgexfoundry.org:10004 07:20:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:13 Configure a credential helper to remove this warning. See 07:20:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:13 07:20:13 Login Succeeded 07:20:13 docker.io 07:20:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:20:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:20:14 Configure a credential helper to remove this warning. See 07:20:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:20:14 07:20:14 Login Succeeded 07:20:14 ---> docker-login.sh ends [Pipeline] } 07:20:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:20:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:20:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:20:14 ========================================================= 07:20:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 07:20:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:14 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 07:20:14 Sending build context to Docker daemon 3.316MB 07:20:14 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 07:20:14 Step 2/12 : FROM ${BASE} AS builder 07:20:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:20:15 af6eaf76a39c: Pulling fs layer 07:20:15 55522c791124: Pulling fs layer 07:20:15 ce5c4a1c91eb: Pulling fs layer 07:20:15 169dfbe0d373: Pulling fs layer 07:20:15 e1ff8fa3b103: Pulling fs layer 07:20:15 52ebb69f0ebf: Pulling fs layer 07:20:15 5abe8eddf0d5: Pulling fs layer 07:20:15 e1ff8fa3b103: Waiting 07:20:15 169dfbe0d373: Waiting 07:20:15 52ebb69f0ebf: Waiting 07:20:15 5abe8eddf0d5: Waiting 07:20:15 55522c791124: Verifying Checksum 07:20:15 55522c791124: Download complete 07:20:15 169dfbe0d373: Download complete 07:20:15 e1ff8fa3b103: Verifying Checksum 07:20:15 e1ff8fa3b103: Download complete 07:20:15 af6eaf76a39c: Verifying Checksum 07:20:16 af6eaf76a39c: Pull complete 07:20:16 5abe8eddf0d5: Verifying Checksum 07:20:16 5abe8eddf0d5: Download complete 07:20:17 ce5c4a1c91eb: Verifying Checksum 07:20:17 ce5c4a1c91eb: Download complete 07:20:17 52ebb69f0ebf: Verifying Checksum 07:20:18 55522c791124: Pull complete 07:20:28 ce5c4a1c91eb: Pull complete 07:20:28 169dfbe0d373: Pull complete 07:20:28 e1ff8fa3b103: Pull complete 07:20:35 52ebb69f0ebf: Pull complete 07:20:37 5abe8eddf0d5: Pull complete 07:20:37 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 07:20:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 07:20:37 ---> 6cb57ee374ae 07:20:37 Step 3/12 : ARG ADD_BUILD_TAGS="" 07:20:39 ---> Running in fffee864d8ae 07:20:39 Removing intermediate container fffee864d8ae 07:20:39 ---> b0b40aa58ef8 07:20:39 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:20:39 ---> Running in 4d22f08d1e0f 07:20:39 Removing intermediate container 4d22f08d1e0f 07:20:39 ---> f93e8a462f26 07:20:39 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:20:39 ---> Running in 79fc5ba44da7 07:20:39 Removing intermediate container 79fc5ba44da7 07:20:39 ---> 242555165da1 07:20:39 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 07:20:39 ---> Running in 9240e2414b98 07:20:40 Removing intermediate container 9240e2414b98 07:20:40 ---> 8a2f39cac355 07:20:40 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:20:40 ---> Running in 8f264487f3b1 07:20:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:20:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:20:43 (1/4) Installing openssh-keygen (9.1_p1-r2) 07:20:43 (2/4) Installing libedit (20221030.3.1-r0) 07:20:43 (3/4) Installing openssh-client-common (9.1_p1-r2) 07:20:43 (4/4) Installing openssh-client-default (9.1_p1-r2) 07:20:43 Executing busybox-1.35.0-r29.trigger 07:20:43 OK: 268 MiB in 57 packages 07:20:45 Removing intermediate container 8f264487f3b1 07:20:45 ---> 5d21699f9f5d 07:20:45 Step 8/12 : WORKDIR /device-mqtt-go 07:20:45 ---> Running in 450d007ad34f 07:20:45 Removing intermediate container 450d007ad34f 07:20:45 ---> 275ebed17374 07:20:45 Step 9/12 : COPY go.mod vendor* ./ 07:20:45 ---> 7c2a2d029bff 07:20:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:20:46 ---> Running in c59c053b3808 07:21:54 Removing intermediate container c59c053b3808 07:21:54 ---> 91dccdce50a1 07:21:54 Step 11/12 : COPY . . 07:21:54 ---> dcbd6819d6c0 07:21:54 Step 12/12 : RUN $MAKE 07:21:54 ---> Running in 4cffee2719c6 07:21:54 noop 07:21:54 Removing intermediate container 4cffee2719c6 07:21:54 ---> 3bfc29d364fd 07:21:54 Successfully built 3bfc29d364fd 07:21:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:54 + docker inspect -f . ci-base-image-arm64 07:21:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:21:54 prd-ubuntu20.04-docker-arm64-4c-16g-4359 does not seem to be running inside a container 07:21:54 $ 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 ******** ci-base-image-arm64 cat 07:21:56 $ docker top cd225f6106db4f59f08807e462439d7c2fe0d51c104ecc03d48b43ceb22fc99a -eo pid,comm [Pipeline] { [Pipeline] sh 07:21:56 + go version 07:21:56 go version go1.20.2 linux/arm64 [Pipeline] } 07:21:57 $ docker stop --time=1 cd225f6106db4f59f08807e462439d7c2fe0d51c104ecc03d48b43ceb22fc99a 07:21:58 $ docker rm -f --volumes cd225f6106db4f59f08807e462439d7c2fe0d51c104ecc03d48b43ceb22fc99a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:21:59 + docker inspect -f . ci-base-image-arm64 07:21:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:21:59 prd-ubuntu20.04-docker-arm64-4c-16g-4359 does not seem to be running inside a container 07:21:59 $ 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 ******** ci-base-image-arm64 cat 07:22:00 $ docker top 79bac01a1dadd72e4474f8e381f614fee8bbf72947752a7010b1d87bc593d754 -eo pid,comm [Pipeline] { [Pipeline] sh 07:22:01 + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh 07:22:02 + make test 07:22:02 go test ./... -coverprofile=coverage.out ./... 07:22:41 ? github.com/edgexfoundry/device-mqtt-go [no test files] 07:24:47 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 07:24:47 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 07:24:47 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.084s coverage: 22.2% of statements 07:24:47 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:24:47 go vet ./... 07:25:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:25:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:25:20 ./bin/test-attribution-txt.sh [Pipeline] echo 07:25:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:25:20 $ docker stop --time=1 79bac01a1dadd72e4474f8e381f614fee8bbf72947752a7010b1d87bc593d754 07:25:22 $ docker rm -f --volumes 79bac01a1dadd72e4474f8e381f614fee8bbf72947752a7010b1d87bc593d754 [Pipeline] // withDockerContainer [Pipeline] sh 07:25:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:25:23 Warning: overwriting stash ‘coverage-report’ 07:25:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:25:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:25:24 + ls -al . 07:25:24 total 176 07:25:24 drwxrwxr-x 9 jenkins jenkins 4096 Mar 17 07:22 . 07:25:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 07:19 .. 07:25:24 -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 07:19 .dockerignore 07:25:24 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 07:19 .git 07:25:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:19 .github 07:25:24 -rw-rw-r-- 1 jenkins jenkins 329 Mar 17 07:19 .gitignore 07:25:24 -rw-rw-r-- 1 jenkins jenkins 41 Mar 17 07:19 .golangci.yml 07:25:24 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 17 07:19 Attribution.txt 07:25:24 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 17 07:19 CHANGELOG.md 07:25:24 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 17 07:19 Dockerfile 07:25:24 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 07:19 GOVERNANCE.md 07:25:24 -rw-rw-r-- 1 jenkins jenkins 678 Mar 17 07:19 Jenkinsfile 07:25:24 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 17 07:19 LICENSE 07:25:24 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 17 07:19 Makefile 07:25:24 -rw-rw-r-- 1 jenkins jenkins 620 Mar 17 07:19 OWNERS.md 07:25:24 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 17 07:19 README.md 07:25:24 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 07:15 VERSION 07:25:24 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 07:19 bin 07:25:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:19 cmd 07:25:24 -rw-r--r-- 1 jenkins jenkins 18047 Mar 17 07:24 coverage.out 07:25:24 -rw-rw-r-- 1 jenkins jenkins 3378 Mar 17 07:19 go.mod 07:25:24 -rw-rw-r-- 1 jenkins jenkins 31301 Mar 17 07:19 go.sum 07:25:24 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 07:19 internal 07:25:24 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 07:19 mock 07:25:24 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 07:19 snap 07:25:24 -rw-rw-r-- 1 jenkins jenkins 227 Mar 17 07:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:24 + 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=ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e --label arch=arm64 --label version=0.0.0 . 07:25:25 Sending build context to Docker daemon 3.335MB 07:25:25 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 07:25:25 Step 2/24 : FROM ${BASE} AS builder 07:25:25 ---> 3bfc29d364fd 07:25:25 Step 3/24 : ARG ADD_BUILD_TAGS="" 07:25:25 ---> Running in 84188462e16a 07:25:25 Removing intermediate container 84188462e16a 07:25:25 ---> 3f32ccaa0f2a 07:25:25 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 07:25:25 ---> Running in 7245f4a24655 07:25:26 Removing intermediate container 7245f4a24655 07:25:26 ---> 7585b44509ef 07:25:26 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 07:25:26 ---> Running in 9a8923cae4db 07:25:26 Removing intermediate container 9a8923cae4db 07:25:26 ---> fb0fc59b89e0 07:25:26 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 07:25:26 ---> Running in ee5993cb53db 07:25:26 Removing intermediate container ee5993cb53db 07:25:26 ---> 33b1fcc9d7f0 07:25:26 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 07:25:26 ---> Running in c7f172cd3eaa 07:25:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:25:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:25:29 OK: 268 MiB in 57 packages 07:25:30 Removing intermediate container c7f172cd3eaa 07:25:30 ---> f275db47c7f6 07:25:30 Step 8/24 : WORKDIR /device-mqtt-go 07:25:30 ---> Running in 24be2c315b29 07:25:31 Removing intermediate container 24be2c315b29 07:25:31 ---> 8b3bea9b670c 07:25:31 Step 9/24 : COPY go.mod vendor* ./ 07:25:31 ---> 73c7965ab420 07:25:31 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:25:31 ---> Running in c30f7005fbef 07:25:35 Removing intermediate container c30f7005fbef 07:25:35 ---> 3a45c9a70c13 07:25:35 Step 11/24 : COPY . . 07:25:36 ---> 009c5eaf0acb 07:25:36 Step 12/24 : RUN $MAKE 07:25:36 ---> Running in 21a1ef0a716f 07:25:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 07:27:59 Removing intermediate container 21a1ef0a716f 07:27:59 ---> 61d1760c4b0a 07:27:59 Step 13/24 : FROM alpine:3.17 07:27:59 3.17: Pulling from library/alpine 07:27:59 af6eaf76a39c: Already exists 07:27:59 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 07:27:59 Status: Downloaded newer image for alpine:3.17 07:27:59 ---> d74e625d9115 07:27:59 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 07:27:59 ---> Running in 0461fb8c2917 07:27:59 Removing intermediate container 0461fb8c2917 07:27:59 ---> 93d10179a805 07:27:59 Step 15/24 : RUN apk add --update --no-cache dumb-init 07:27:59 ---> Running in 2432c9dfdcde 07:28:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 07:28:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 07:28:03 (1/1) Installing dumb-init (1.2.5-r2) 07:28:03 Executing busybox-1.35.0-r29.trigger 07:28:03 OK: 8 MiB in 16 packages 07:28:03 Removing intermediate container 2432c9dfdcde 07:28:03 ---> 0464300127b4 07:28:03 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 07:28:05 ---> e27a8c52dac5 07:28:05 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 07:28:05 ---> d009324a17ce 07:28:05 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 07:28:06 ---> 81cd0b7d3306 07:28:06 Step 19/24 : EXPOSE 59982 07:28:06 ---> Running in aec60096cd1b 07:28:06 Removing intermediate container aec60096cd1b 07:28:06 ---> 18809634eefe 07:28:06 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 07:28:06 ---> Running in 7d2c7f947138 07:28:07 Removing intermediate container 7d2c7f947138 07:28:07 ---> d0d486a68a28 07:28:07 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 07:28:07 ---> Running in 12053ca2201b 07:28:07 Removing intermediate container 12053ca2201b 07:28:07 ---> ca0dd561878c 07:28:07 Step 22/24 : LABEL arch=arm64 07:28:07 ---> Running in 9bd47a9446c4 07:28:07 Removing intermediate container 9bd47a9446c4 07:28:07 ---> f5903badacc1 07:28:07 Step 23/24 : LABEL git_sha=ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e 07:28:07 ---> Running in 66e8d2a4f943 07:28:08 Removing intermediate container 66e8d2a4f943 07:28:08 ---> 1a3277df8339 07:28:08 Step 24/24 : LABEL version=0.0.0 07:28:08 ---> Running in 2a4e06aef6b3 07:28:08 Removing intermediate container 2a4e06aef6b3 07:28:08 ---> 2728bdcc61a6 07:28:08 [Warning] One or more build-args [ARCH] were not consumed 07:28:08 Successfully built 2728bdcc61a6 07:28:08 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 07:28:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:28:09 07:28:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:28:09 arm64: Pulling from edgex-lftools-log-publisher 07:28:09 8998bd30e6a1: Pulling fs layer 07:28:09 04944245beec: Pulling fs layer 07:28:09 699f458cf7ca: Pulling fs layer 07:28:09 765212b225bb: Pulling fs layer 07:28:09 f23df028b6ca: Pulling fs layer 07:28:09 d65c8cfc05b1: Pulling fs layer 07:28:09 2437ff75d9bd: Pulling fs layer 07:28:09 765212b225bb: Waiting 07:28:09 f23df028b6ca: Waiting 07:28:09 2437ff75d9bd: Waiting 07:28:09 d65c8cfc05b1: Waiting 07:28:09 04944245beec: Verifying Checksum 07:28:09 04944245beec: Download complete 07:28:09 765212b225bb: Verifying Checksum 07:28:09 765212b225bb: Download complete 07:28:09 f23df028b6ca: Verifying Checksum 07:28:09 f23df028b6ca: Download complete 07:28:10 d65c8cfc05b1: Verifying Checksum 07:28:10 d65c8cfc05b1: Download complete 07:28:10 699f458cf7ca: Verifying Checksum 07:28:10 699f458cf7ca: Download complete 07:28:10 8998bd30e6a1: Verifying Checksum 07:28:10 8998bd30e6a1: Download complete 07:28:13 2437ff75d9bd: Verifying Checksum 07:28:13 2437ff75d9bd: Download complete 07:28:15 8998bd30e6a1: Pull complete 07:28:15 04944245beec: Pull complete 07:28:16 699f458cf7ca: Pull complete 07:28:17 765212b225bb: Pull complete 07:28:17 f23df028b6ca: Pull complete 07:28:17 d65c8cfc05b1: Pull complete 07:28:32 2437ff75d9bd: Pull complete 07:28:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:28:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:28:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:28:33 prd-ubuntu20.04-docker-arm64-4c-16g-4359 does not seem to be running inside a container 07:28:33 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 07:28:36 $ docker top a6e3d1671ff5ccbfa953d958af213a54a52a740a1bc6a3c7a91417c29397eb4f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:28:37 ---> job-cost.sh 07:28:37 lf-activate-venv: SKIPPING 07:28:37 INFO: No Stack... 07:28:37 INFO: Retrieving Pricing Info for: v3-standard-4 07:28:38 INFO: Archiving Costs [Pipeline] sh 07:28:38 + cat /w/workspace/device-mqtt-go/2/archives/cost.csv 07:28:38 + cut -d, -f6 [Pipeline] lock 07:28:38 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-534-2-stack-cost] 07:28:39 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-534-2-stack-cost] did not exist. Created. 07:28:39 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-534-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:28:40 /w/workspace/device-mqtt-go/2@tmp/durable-e21b1702/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:28:41 + echo total: 0.10999999940395355 [Pipeline] stash 07:28:41 Warning: overwriting stash ‘stack-cost’ 07:28:41 Stashed 1 file(s) [Pipeline] } 07:28:41 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-534-2-stack-cost] [Pipeline] // lock [Pipeline] } 07:28:41 $ docker stop --time=1 a6e3d1671ff5ccbfa953d958af213a54a52a740a1bc6a3c7a91417c29397eb4f 07:28:42 $ docker rm -f --volumes a6e3d1671ff5ccbfa953d958af213a54a52a740a1bc6a3c7a91417c29397eb4f [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 07:28:43 provisioning config files... 07:28:43 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-534@tmp/config5501125457603194576tmp [Pipeline] { [Pipeline] sh 07:28:43 + set +x 07:28:43 + curl -s https://codecov.io/bash 07:28:43 + bash -s -- 07:28:43 07:28:43 _____ _ 07:28:43 / ____| | | 07:28:43 | | ___ __| | ___ ___ _____ __ 07:28:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:28:43 | |___| (_) | (_| | __/ (_| (_) \ V / 07:28:43 \_____\___/ \__,_|\___|\___\___/ \_/ 07:28:43 Bash-1.0.6 07:28:43 07:28:43 07:28:43 ==> git version 2.25.1 found 07:28:43 ==> 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 07:28:43 Release-Date: 2020-01-08 07:28:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:28:43 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:28:43 ==> Jenkins CI detected. 07:28:43 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-534 07:28:43 project root: . 07:28:43 --> token set from env 07:28:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:28:43 ==> Running gcov in . (disable via -X gcov) 07:28:43 ==> Python coveragepy not found 07:28:43 ==> Searching for coverage reports in: 07:28:43 + . 07:28:43 -> Found 1 reports 07:28:43 ==> Detecting git/mercurial file structure 07:28:43 ==> Reading reports 07:28:43 + ./coverage.out bytes=18047 07:28:43 ==> Appending adjustments 07:28:43 https://docs.codecov.io/docs/fixing-reports 07:28:43 + Found adjustments 07:28:43 ==> Gzipping contents 07:28:43 4.0K /tmp/codecov.NaOxfr.gz 07:28:43 ==> Uploading reports 07:28:43 url: https://codecov.io 07:28:43 query: branch=PR-534&commit=ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-534%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=534&job=&cmd_args= 07:28:43 -> Pinging Codecov 07:28:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-534&commit=ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-534%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=534&job=&cmd_args= 07:28:43 -> Uploading to 07:28:43 https://storage.googleapis.com/codecov/v4/raw/2023-03-17/7D719EC7BBE17E464838252E33014C33/ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e/d3edb81c-d6c4-4972-ba2d-7e69b33d3444.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230317T072843Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c1ef808022c99e86fc5839be38a73144c57886d53413324c39bb5dbfc4aad0bc 07:28:43 % Total % Received % Xferd Average Speed Time Time Time Current 07:28:43 Dload Upload Total Spent Left Speed 07:28:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3149 0 0 100 3149 0 9689 --:--:-- --:--:-- --:--:-- 9689 07:28:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/ec55e131e1f90984a1e61dd7ca1e8ec1d6657d8e [Pipeline] } 07:28:44 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 07:28:45 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-534/archives ] 07:28:45 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-534/archives 07:28:45 total 16 07:28:45 drwxr-xr-x 3 root root 4096 Mar 17 07:18 . 07:28:45 drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 07:18 .. 07:28:45 drwxr-xr-x 2 root root 4096 Mar 17 07:18 cost 07:28:45 -rw-r--r-- 1 root root 86 Mar 17 07:18 cost.csv 07:28:45 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-534/archives 07:28:45 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-534/archives 07:28:45 total 16 07:28:45 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 07:18 . 07:28:45 drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 07:18 .. 07:28:45 drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 07:18 cost 07:28:45 -rw-r--r-- 1 jenkins jenkins 86 Mar 17 07:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:28:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:28:46 ---> package-listing.sh 07:28:46 ++ facter osfamily 07:28:46 ++ tr '[:upper:]' '[:lower:]' 07:28:46 + OS_FAMILY=debian 07:28:46 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-534 07:28:46 + START_PACKAGES=/tmp/packages_start.txt 07:28:46 + END_PACKAGES=/tmp/packages_end.txt 07:28:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:28:46 + PACKAGES=/tmp/packages_start.txt 07:28:46 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-534 ']' 07:28:46 + PACKAGES=/tmp/packages_end.txt 07:28:46 + case "${OS_FAMILY}" in 07:28:46 + dpkg -l 07:28:46 + grep '^ii' 07:28:46 + '[' -f /tmp/packages_start.txt ']' 07:28:46 + '[' -f /tmp/packages_end.txt ']' 07:28:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:28:46 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-534 ']' 07:28:46 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-534/archives/ 07:28:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-534/archives/ [Pipeline] echo 07:28:46 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-534/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:28:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:28:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:28:47 prd-ubuntu20.04-docker-8c-8g-4358 does not seem to be running inside a container 07:28:47 $ 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-534/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-534 -v /w/workspace/gexfoundry_device-mqtt-go_PR-534:/w/workspace/gexfoundry_device-mqtt-go_PR-534:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-534@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-534@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-lftools-log-publisher:latest cat 07:28:47 $ docker top a4b8e058f9146defd23f748f8d3657768b6a690e2eacb4667441da9bf3a13984 -eo pid,comm [Pipeline] { [Pipeline] sh 07:28:47 + touch /tmp/pre-build-complete [Pipeline] sh 07:28:48 + mkdir -p /var/log/sysstat [Pipeline] sh 07:28:48 + ls /var/log/sa-host 07:28:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:28:48 provisioning config files... 07:28:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-534@tmp/config1202075074926767726tmp [Pipeline] { [Pipeline] echo 07:28:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:28:48 ---> create-netrc.sh [Pipeline] } 07:28:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:28:49 ---> python-tools-install.sh [Pipeline] echo 07:28:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:28:49 ---> sudo-logs.sh 07:28:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:28:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:28:49 ---> job-cost.sh 07:28:49 lf-activate-venv: SKIPPING 07:28:49 DEBUG: total: 0.2199999988079071 07:28:49 INFO: Retrieving Stack Cost... 07:28:50 INFO: Retrieving Pricing Info for: v3-standard-8 07:28:50 INFO: Archiving Costs [Pipeline] echo 07:28:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:28:50 ---> logs-deploy.sh 07:28:50 lf-activate-venv: SKIPPING 07:28:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-534/2 07:28:50 INFO: archiving workspace using pattern(s): 07:28:51 Archives upload complete. 07:28:51 INFO: archiving logs to Nexus