Pull request #532 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 79fbfda525077c0064600fa1e623afd2945b7fa5+1f5b40587cdb269dc0901b5b892d918e86924932 (12a60c7ffc75f067cd841d1c347b56595caeacb6) 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-ssh15609372786397234652.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-ssh11298308608296478582.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-532/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-532/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18109206700931543824.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-ssh10189211922779243912.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-532/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-532/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4780271135412546704.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2474 in /w/workspace/gexfoundry_device-mqtt-go_PR-532 [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-532 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/532/head:refs/remotes/origin/PR-532 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1f5b40587cdb269dc0901b5b892d918e86924932 into PR head commit 79fbfda525077c0064600fa1e623afd2945b7fa5 Merge succeeded, producing d44cc070bf3f877b5494fd482a6004f0cbeb029a Checking out Revision d44cc070bf3f877b5494fd482a6004f0cbeb029a (PR-532) > git config core.sparsecheckout # timeout=10 > git checkout -f 79fbfda525077c0064600fa1e623afd2945b7fa5 # 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 1f5b40587cdb269dc0901b5b892d918e86924932 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d44cc070bf3f877b5494fd482a6004f0cbeb029a # timeout=10 Commit message: "Merge commit '1f5b40587cdb269dc0901b5b892d918e86924932' into HEAD" > git rev-list --no-walk 79fbfda525077c0064600fa1e623afd2945b7fa5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:11:27 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:11:27 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:11:27 ========================================================= 16:11:27 EdgeX Global Pipelines Version Info 16:11:27 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:11:28 ------------------- 16:11:28 stable info: 16:11:28 ------------------- 16:11:28 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:11:28 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 16:11:28 Message: update stable to v1.0.245 16:11:28 ------------------- 16:11:28 experimental info: 16:11:28 ------------------- 16:11:28 Commited By: **** collab-it+edgex@linuxfoundation.org 16:11:28 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 16:11:28 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-532 [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-532 [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-532 [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d44cc070bf3f877b5494fd482a6004f0cbeb029a [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d44cc07 [Pipeline] echo 16:11:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:11:29 provisioning config files... 16:11:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-532@tmp/config550817763265423978tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:11:29 ---> docker-login.sh 16:11:29 nexus3.edgexfoundry.org:10001 16:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:30 Configure a credential helper to remove this warning. See 16:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:30 16:11:30 Login Succeeded 16:11:30 nexus3.edgexfoundry.org:10002 16:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:30 Configure a credential helper to remove this warning. See 16:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:30 16:11:30 Login Succeeded 16:11:30 nexus3.edgexfoundry.org:10003 16:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:30 Configure a credential helper to remove this warning. See 16:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:30 16:11:30 Login Succeeded 16:11:30 nexus3.edgexfoundry.org:10004 16:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:30 Configure a credential helper to remove this warning. See 16:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:30 16:11:30 Login Succeeded 16:11:30 docker.io 16:11:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:30 Configure a credential helper to remove this warning. See 16:11:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:30 16:11:30 Login Succeeded 16:11:30 ---> docker-login.sh ends [Pipeline] } 16:11:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:11:31 + git rev-list -1 --merges d44cc070bf3f877b5494fd482a6004f0cbeb029a~1..d44cc070bf3f877b5494fd482a6004f0cbeb029a [Pipeline] echo 16:11:31 -----------> git rev-list -1 --merges d44cc070bf3f877b5494fd482a6004f0cbeb029a~1..d44cc070bf3f877b5494fd482a6004f0cbeb029a d44cc070bf3f877b5494fd482a6004f0cbeb029a 16:11:31 d44cc070bf3f877b5494fd482a6004f0cbeb029a [false] [Pipeline] sh 16:11:31 + git log --format=format:%s -1 d44cc070bf3f877b5494fd482a6004f0cbeb029a [Pipeline] echo 16:11:31 ========================================================= 16:11:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:11:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:11:31 + git log --format=format:%s -1 d44cc070bf3f877b5494fd482a6004f0cbeb029a [Pipeline] echo 16:11:31 [semverPrep] GIT_COMMIT: d44cc070bf3f877b5494fd482a6004f0cbeb029a, Commit Message: Merge commit '1f5b40587cdb269dc0901b5b892d918e86924932' into HEAD [Pipeline] echo 16:11:31 [semverPrep] This is not a build commit. [Pipeline] sh 16:11:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:11:32 + grep -v github /etc/ssh/ssh_known_hosts 16:11:32 + [ -e /tmp/ssh_known_hosts ] 16:11:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:11:32 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 16:11:32 -a /etc/ssh/ssh_known_hosts 16:11:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:11:32 16:11:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:11:32 0.1.4: Pulling from edgex-devops/py-git-semver 16:11:32 b85a868b505f: Pulling fs layer 16:11:32 e2be974225ed: Pulling fs layer 16:11:32 339a4e72a1f5: Pulling fs layer 16:11:32 988bab9f4d93: Pulling fs layer 16:11:32 1469e6f7b9e6: Pulling fs layer 16:11:32 eaf3925da568: Pulling fs layer 16:11:32 bab4dde63d76: Pulling fs layer 16:11:32 bde34c3a00c8: Pulling fs layer 16:11:32 b352a97aabf1: Pulling fs layer 16:11:32 4872d77fe225: Pulling fs layer 16:11:32 5851b861e8e6: Pulling fs layer 16:11:32 988bab9f4d93: Waiting 16:11:32 1469e6f7b9e6: Waiting 16:11:32 5851b861e8e6: Waiting 16:11:32 eaf3925da568: Waiting 16:11:32 b352a97aabf1: Waiting 16:11:32 4872d77fe225: Waiting 16:11:32 bde34c3a00c8: Waiting 16:11:32 e2be974225ed: Verifying Checksum 16:11:32 e2be974225ed: Download complete 16:11:32 988bab9f4d93: Verifying Checksum 16:11:32 988bab9f4d93: Download complete 16:11:33 1469e6f7b9e6: Verifying Checksum 16:11:33 1469e6f7b9e6: Download complete 16:11:33 eaf3925da568: Download complete 16:11:33 339a4e72a1f5: Verifying Checksum 16:11:33 339a4e72a1f5: Download complete 16:11:33 bde34c3a00c8: Download complete 16:11:33 b352a97aabf1: Download complete 16:11:33 4872d77fe225: Verifying Checksum 16:11:33 4872d77fe225: Download complete 16:11:33 b85a868b505f: Verifying Checksum 16:11:33 b85a868b505f: Download complete 16:11:33 5851b861e8e6: Verifying Checksum 16:11:33 5851b861e8e6: Download complete 16:11:33 bab4dde63d76: Verifying Checksum 16:11:33 bab4dde63d76: Download complete 16:11:34 b85a868b505f: Pull complete 16:11:34 e2be974225ed: Pull complete 16:11:34 339a4e72a1f5: Pull complete 16:11:34 988bab9f4d93: Pull complete 16:11:35 1469e6f7b9e6: Pull complete 16:11:35 eaf3925da568: Pull complete 16:11:37 bab4dde63d76: Pull complete 16:11:37 bde34c3a00c8: Pull complete 16:11:37 b352a97aabf1: Pull complete 16:11:37 4872d77fe225: Pull complete 16:11:37 5851b861e8e6: Pull complete 16:11:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:11:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:11:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:37 prd-ubuntu20.04-docker-8c-8g-2474 does not seem to be running inside a container 16:11:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-532 -v /w/workspace/gexfoundry_device-mqtt-go_PR-532:/w/workspace/gexfoundry_device-mqtt-go_PR-532:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-532@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-532@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 16:11:41 $ docker top 6aa8e1cea0f63f24d0f3fb8cc5b58f249e0c4c1eb48dc99fe5151b91661a058e -eo pid,comm 16:11:41 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). 16:11:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:11:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:11:41 [ssh-agent] Looking for ssh-agent implementation... 16:11:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:11:41 $ docker exec 6aa8e1cea0f63f24d0f3fb8cc5b58f249e0c4c1eb48dc99fe5151b91661a058e ssh-agent 16:11:41 SSH_AUTH_SOCK=/tmp/ssh-cAAqXlj2GDfg/agent.33 16:11:41 SSH_AGENT_PID=40 16:11:41 Running ssh-add (command line suppressed) 16:11:41 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-532@tmp/private_key_9390187677683622931.key (/w/workspace/gexfoundry_device-mqtt-go_PR-532@tmp/private_key_9390187677683622931.key) 16:11:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:11:41 + git tag --points-at HEAD [Pipeline] } 16:11:41 $ docker exec --env ******** --env ******** 6aa8e1cea0f63f24d0f3fb8cc5b58f249e0c4c1eb48dc99fe5151b91661a058e ssh-agent -k 16:11:42 unset SSH_AUTH_SOCK; 16:11:42 unset SSH_AGENT_PID; 16:11:42 echo Agent pid 40 killed; 16:11:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:11:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:11:42 [ssh-agent] Looking for ssh-agent implementation... 16:11:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:11:42 $ docker exec 6aa8e1cea0f63f24d0f3fb8cc5b58f249e0c4c1eb48dc99fe5151b91661a058e ssh-agent 16:11:42 SSH_AUTH_SOCK=/tmp/ssh-Et6EDZOqAU8U/agent.72 16:11:42 SSH_AGENT_PID=78 16:11:42 Running ssh-add (command line suppressed) 16:11:42 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-532@tmp/private_key_14366173196579534350.key (/w/workspace/gexfoundry_device-mqtt-go_PR-532@tmp/private_key_14366173196579534350.key) 16:11:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:11:42 + git semver init 16:11:42 2023-03-16 16:11:42,885 [run_init] DEBUG init version:0.0.0 force:False 16:11:42 2023-03-16 16:11:42,886 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-532/.semver 16:11:42 2023-03-16 16:11:42,886 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-532/.semver 16:11:42 2023-03-16 16:11:42,886 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-532/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-532, universal_newlines=False, shell=None, istream=None) 16:11:43 2023-03-16 16:11:43,657 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-532/.git/info/exclude 16:11:43 2023-03-16 16:11:43,657 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-532/.semver/PR-532 with force:False 16:11:43 2023-03-16 16:11:43,657 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-532/.semver/PR-532 16:11:43 2023-03-16 16:11:43,661 [execute] INFO git cat-file --batch-check 16:11:43 2023-03-16 16:11:43,662 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-532/.semver, universal_newlines=False, shell=None, istream=) 16:11:43 2023-03-16 16:11:43,667 [execute] INFO git cat-file --batch 16:11:43 2023-03-16 16:11:43,667 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-532/.semver, universal_newlines=False, shell=None, istream=) 16:11:43 2023-03-16 16:11:43,672 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-532/.semver/PR-532 16:11:43 0.0.0 [Pipeline] } 16:11:43 $ docker exec --env ******** --env ******** 6aa8e1cea0f63f24d0f3fb8cc5b58f249e0c4c1eb48dc99fe5151b91661a058e ssh-agent -k 16:11:44 unset SSH_AUTH_SOCK; 16:11:44 unset SSH_AGENT_PID; 16:11:44 echo Agent pid 78 killed; 16:11:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:11:44 + git semver [Pipeline] } 16:11:44 $ docker stop --time=1 6aa8e1cea0f63f24d0f3fb8cc5b58f249e0c4c1eb48dc99fe5151b91661a058e 16:11:45 $ docker rm -f --volumes 6aa8e1cea0f63f24d0f3fb8cc5b58f249e0c4c1eb48dc99fe5151b91661a058e [Pipeline] // withDockerContainer [Pipeline] sh 16:11:46 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:11:46 Stashed 1 file(s) [Pipeline] echo 16:11:46 [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 16:11:46 provisioning config files... 16:11:46 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-532@tmp/config5658335715289360766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:11:46 ---> docker-login.sh 16:11:46 nexus3.edgexfoundry.org:10001 16:11:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:46 Configure a credential helper to remove this warning. See 16:11:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:46 16:11:46 Login Succeeded 16:11:46 nexus3.edgexfoundry.org:10002 16:11:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:46 Configure a credential helper to remove this warning. See 16:11:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:46 16:11:46 Login Succeeded 16:11:46 nexus3.edgexfoundry.org:10003 16:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:47 Configure a credential helper to remove this warning. See 16:11:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:47 16:11:47 Login Succeeded 16:11:47 nexus3.edgexfoundry.org:10004 16:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:47 Configure a credential helper to remove this warning. See 16:11:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:47 16:11:47 Login Succeeded 16:11:47 docker.io 16:11:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:11:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:11:47 Configure a credential helper to remove this warning. See 16:11:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:11:47 16:11:47 Login Succeeded 16:11:47 ---> docker-login.sh ends [Pipeline] } 16:11:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:11:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:11:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:11:47 ========================================================= 16:11:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:11:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:47 + 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 . 16:11:47 Sending build context to Docker daemon 6.384MB 16:11:47 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:11:47 Step 2/12 : FROM ${BASE} AS builder 16:11:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:11:47 63b65145d645: Pulling fs layer 16:11:47 a2d21d5440eb: Pulling fs layer 16:11:47 935e6c44a52c: Pulling fs layer 16:11:47 94cc34f8dd06: Pulling fs layer 16:11:47 30dea6a524f1: Pulling fs layer 16:11:47 a2aff8979fd8: Pulling fs layer 16:11:47 6808be2612f2: Pulling fs layer 16:11:47 f25807f1079a: Pulling fs layer 16:11:47 a2aff8979fd8: Waiting 16:11:47 94cc34f8dd06: Waiting 16:11:47 30dea6a524f1: Waiting 16:11:47 6808be2612f2: Waiting 16:11:47 f25807f1079a: Waiting 16:11:47 a2d21d5440eb: Verifying Checksum 16:11:47 a2d21d5440eb: Download complete 16:11:48 94cc34f8dd06: Verifying Checksum 16:11:48 94cc34f8dd06: Download complete 16:11:48 30dea6a524f1: Verifying Checksum 16:11:48 30dea6a524f1: Download complete 16:11:48 63b65145d645: Verifying Checksum 16:11:48 63b65145d645: Download complete 16:11:48 a2aff8979fd8: Verifying Checksum 16:11:48 a2aff8979fd8: Download complete 16:11:48 63b65145d645: Pull complete 16:11:48 a2d21d5440eb: Pull complete 16:11:48 f25807f1079a: Verifying Checksum 16:11:48 f25807f1079a: Download complete 16:11:48 935e6c44a52c: Verifying Checksum 16:11:48 935e6c44a52c: Download complete 16:11:48 6808be2612f2: Verifying Checksum 16:11:48 6808be2612f2: Download complete 16:11:52 935e6c44a52c: Pull complete 16:11:52 94cc34f8dd06: Pull complete 16:11:52 30dea6a524f1: Pull complete 16:11:52 a2aff8979fd8: Pull complete 16:11:53 6808be2612f2: Pull complete 16:11:54 f25807f1079a: Pull complete 16:11:54 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 16:11:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:11:54 ---> 3b553350e43f 16:11:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:11:58 ---> Running in 0d46f19e1af6 16:11:58 Removing intermediate container 0d46f19e1af6 16:11:58 ---> 7d88d17889d4 16:11:58 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:11:58 ---> Running in babdf1bb623f 16:11:58 Removing intermediate container babdf1bb623f 16:11:58 ---> f799868af6aa 16:11:58 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:11:58 ---> Running in 3a5b76916e7e 16:11:59 Removing intermediate container 3a5b76916e7e 16:11:59 ---> d6ddb3522f22 16:11:59 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:11:59 ---> Running in bdb8c561ff25 16:11:59 Removing intermediate container bdb8c561ff25 16:11:59 ---> a89af6799bba 16:11:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:11:59 ---> Running in 2cdfe62fadfb 16:11:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:11:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:11:59 (1/4) Installing openssh-keygen (9.1_p1-r2) 16:11:59 (2/4) Installing libedit (20221030.3.1-r0) 16:11:59 (3/4) Installing openssh-client-common (9.1_p1-r2) 16:11:59 (4/4) Installing openssh-client-default (9.1_p1-r2) 16:11:59 Executing busybox-1.35.0-r29.trigger 16:11:59 OK: 269 MiB in 57 packages 16:12:00 Removing intermediate container 2cdfe62fadfb 16:12:00 ---> bb7053e58218 16:12:00 Step 8/12 : WORKDIR /device-mqtt-go 16:12:00 ---> Running in f375bca50230 16:12:00 Removing intermediate container f375bca50230 16:12:00 ---> fc4ba4cfe272 16:12:00 Step 9/12 : COPY go.mod vendor* ./ 16:12:00 ---> 02db66aee108 16:12:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:12:00 ---> Running in 1931c1f3e6d9 16:12:01 Still waiting to schedule task 16:12:01 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:12:27 Removing intermediate container 1931c1f3e6d9 16:12:27 ---> 053c815e16c9 16:12:27 Step 11/12 : COPY . . 16:12:27 ---> 300fe8182f84 16:12:27 Step 12/12 : RUN $MAKE 16:12:27 ---> Running in 7832b115f513 16:12:27 noop 16:12:27 Removing intermediate container 7832b115f513 16:12:27 ---> 0839f289601a 16:12:27 Successfully built 0839f289601a 16:12:27 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:27 + docker inspect -f . ci-base-image-x86_64 16:12:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:12:27 prd-ubuntu20.04-docker-8c-8g-2474 does not seem to be running inside a container 16:12:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-532 -v /w/workspace/gexfoundry_device-mqtt-go_PR-532:/w/workspace/gexfoundry_device-mqtt-go_PR-532:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-532@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-532@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 16:12:27 $ docker top 0a9c9277619ca5f949fab9128193368e791e51cc8a608b3fdedffe5140c742e8 -eo pid,comm [Pipeline] { [Pipeline] sh 16:12:28 + go version 16:12:28 go version go1.20.2 linux/amd64 [Pipeline] } 16:12:28 $ docker stop --time=1 0a9c9277619ca5f949fab9128193368e791e51cc8a608b3fdedffe5140c742e8 16:12:29 $ docker rm -f --volumes 0a9c9277619ca5f949fab9128193368e791e51cc8a608b3fdedffe5140c742e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:29 + docker inspect -f . ci-base-image-x86_64 16:12:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:12:29 prd-ubuntu20.04-docker-8c-8g-2474 does not seem to be running inside a container 16:12:29 $ 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-532 -v /w/workspace/gexfoundry_device-mqtt-go_PR-532:/w/workspace/gexfoundry_device-mqtt-go_PR-532:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-532@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-532@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 16:12:30 $ docker top cfeaff0e368228a429f039ba2fb6c409879bb5eaff9fffc51fab13bd04f87a1b -eo pid,comm [Pipeline] { [Pipeline] sh 16:12:30 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-532 [Pipeline] fileExists [Pipeline] sh 16:12:30 + make test 16:12:30 go test ./... -coverprofile=coverage.out ./... 16:12:34 ? github.com/edgexfoundry/device-mqtt-go [no test files] 16:12:44 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 16:12:44 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 16:12:44 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 22.2% of statements 16:12:50 go vet ./... 16:12:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:12:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:12:52 ./bin/test-attribution-txt.sh [Pipeline] echo 16:12:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:12:52 $ docker stop --time=1 cfeaff0e368228a429f039ba2fb6c409879bb5eaff9fffc51fab13bd04f87a1b 16:12:56 $ docker rm -f --volumes cfeaff0e368228a429f039ba2fb6c409879bb5eaff9fffc51fab13bd04f87a1b [Pipeline] // withDockerContainer [Pipeline] sh 16:12:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:12:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:12:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:12:57 + ls -al . 16:12:57 total 180 16:12:57 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 16:12 . 16:12:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:11 .. 16:12:57 -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 16:11 .dockerignore 16:12:57 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 16:11 .git 16:12:57 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:11 .github 16:12:57 -rw-rw-r-- 1 jenkins jenkins 329 Mar 16 16:11 .gitignore 16:12:57 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 16:11 .golangci.yml 16:12:57 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 16:11 .semver 16:12:57 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 16 16:11 Attribution.txt 16:12:57 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 16 16:11 CHANGELOG.md 16:12:57 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 16 16:11 Dockerfile 16:12:57 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 16:11 GOVERNANCE.md 16:12:57 -rw-rw-r-- 1 jenkins jenkins 678 Mar 16 16:11 Jenkinsfile 16:12:57 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 16:11 LICENSE 16:12:57 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 16 16:11 Makefile 16:12:57 -rw-rw-r-- 1 jenkins jenkins 620 Mar 16 16:11 OWNERS.md 16:12:57 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 16 16:11 README.md 16:12:57 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 16:11 VERSION 16:12:57 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 16:11 bin 16:12:57 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:11 cmd 16:12:57 -rw-r--r-- 1 jenkins jenkins 18047 Mar 16 16:12 coverage.out 16:12:57 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 16 16:11 go.mod 16:12:57 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 16 16:11 go.sum 16:12:57 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:11 internal 16:12:57 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 16:11 mock 16:12:57 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:11 snap 16:12:57 -rw-rw-r-- 1 jenkins jenkins 227 Mar 16 16:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:12:57 + 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=d44cc070bf3f877b5494fd482a6004f0cbeb029a --label arch=amd64 --label version=0.0.0 . 16:12:57 Sending build context to Docker daemon 6.403MB 16:12:57 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 16:12:57 Step 2/24 : FROM ${BASE} AS builder 16:12:57 ---> 0839f289601a 16:12:57 Step 3/24 : ARG ADD_BUILD_TAGS="" 16:12:58 ---> Running in d1ba4b938a21 16:12:58 Removing intermediate container d1ba4b938a21 16:12:58 ---> 96a94dbd96cd 16:12:58 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:12:58 ---> Running in 24f517b81463 16:12:58 Removing intermediate container 24f517b81463 16:12:58 ---> 0e8bbec904f0 16:12:58 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:12:58 ---> Running in 82f68e1158f1 16:12:58 Removing intermediate container 82f68e1158f1 16:12:58 ---> 0da18e96ff58 16:12:58 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 16:12:58 ---> Running in 1ba3739da294 16:12:58 Removing intermediate container 1ba3739da294 16:12:58 ---> 984cfc4bf47d 16:12:58 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:12:58 ---> Running in a14499a37dc6 16:12:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:12:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:12:59 OK: 269 MiB in 57 packages 16:12:59 Removing intermediate container a14499a37dc6 16:12:59 ---> 18eab8fb116c 16:12:59 Step 8/24 : WORKDIR /device-mqtt-go 16:12:59 ---> Running in 9696a1606978 16:12:59 Removing intermediate container 9696a1606978 16:12:59 ---> 29f7f7294ce2 16:12:59 Step 9/24 : COPY go.mod vendor* ./ 16:12:59 ---> 19651f3357bf 16:12:59 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:12:59 ---> Running in b28384408a11 16:13:00 Removing intermediate container b28384408a11 16:13:00 ---> db75431e3af0 16:13:00 Step 11/24 : COPY . . 16:13:00 ---> 2ae6372eefa4 16:13:00 Step 12/24 : RUN $MAKE 16:13:00 ---> Running in beec6c169479 16:13:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 16:13:18 Removing intermediate container beec6c169479 16:13:18 ---> f03be8c11da7 16:13:18 Step 13/24 : FROM alpine:3.17 16:13:18 3.17: Pulling from library/alpine 16:13:18 63b65145d645: Already exists 16:13:18 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:13:18 Status: Downloaded newer image for alpine:3.17 16:13:18 ---> b2aa39c304c2 16:13:18 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 16:13:18 ---> Running in 7057b67a9aa3 16:13:18 Removing intermediate container 7057b67a9aa3 16:13:18 ---> b8d3c683ee9f 16:13:18 Step 15/24 : RUN apk add --update --no-cache dumb-init 16:13:18 ---> Running in 6a9156585327 16:13:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:13:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:13:18 (1/1) Installing dumb-init (1.2.5-r2) 16:13:18 Executing busybox-1.35.0-r29.trigger 16:13:18 OK: 7 MiB in 16 packages 16:13:19 Removing intermediate container 6a9156585327 16:13:19 ---> f65545ef197b 16:13:19 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 16:13:20 ---> a3d7034cd2a9 16:13:20 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 16:13:20 ---> 1616ddc98aa1 16:13:20 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 16:13:20 ---> ad89696665eb 16:13:20 Step 19/24 : EXPOSE 59982 16:13:20 ---> Running in 1e2329ba3b5f 16:13:20 Removing intermediate container 1e2329ba3b5f 16:13:20 ---> 136a9bab9025 16:13:20 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 16:13:20 ---> Running in aab8987609f0 16:13:20 Removing intermediate container aab8987609f0 16:13:20 ---> 55f7eb307ab3 16:13:20 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:13:20 ---> Running in 233f621bfa67 16:13:20 Removing intermediate container 233f621bfa67 16:13:20 ---> 32bca2ed55d2 16:13:20 Step 22/24 : LABEL arch=amd64 16:13:20 ---> Running in fbdb5bdc74d3 16:13:20 Removing intermediate container fbdb5bdc74d3 16:13:20 ---> ac205c222eed 16:13:20 Step 23/24 : LABEL git_sha=d44cc070bf3f877b5494fd482a6004f0cbeb029a 16:13:20 ---> Running in fc913e7987f4 16:13:20 Removing intermediate container fc913e7987f4 16:13:20 ---> 447e977aeec1 16:13:20 Step 24/24 : LABEL version=0.0.0 16:13:20 ---> Running in f161ae944378 16:13:20 Removing intermediate container f161ae944378 16:13:20 ---> dff4f980a37e 16:13:20 [Warning] One or more build-args [ARCH] were not consumed 16:13:20 Successfully built dff4f980a37e 16:13:20 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 16:13:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:13:21 16:13:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:13:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:13:21 latest: Pulling from edgex-lftools-log-publisher 16:13:21 5eb5b503b376: Pulling fs layer 16:13:21 5c69ac0246d0: Pulling fs layer 16:13:21 ec43610c2a17: Pulling fs layer 16:13:21 3a2ae6a8a46f: Pulling fs layer 16:13:21 33b1e0a273af: Pulling fs layer 16:13:21 5d3b04190fa2: Pulling fs layer 16:13:21 2f39f015ded8: Pulling fs layer 16:13:21 33b1e0a273af: Waiting 16:13:21 5d3b04190fa2: Waiting 16:13:21 2f39f015ded8: Waiting 16:13:21 3a2ae6a8a46f: Waiting 16:13:21 5c69ac0246d0: Verifying Checksum 16:13:21 5c69ac0246d0: Download complete 16:13:21 3a2ae6a8a46f: Download complete 16:13:21 33b1e0a273af: Verifying Checksum 16:13:21 33b1e0a273af: Download complete 16:13:21 5d3b04190fa2: Verifying Checksum 16:13:21 5d3b04190fa2: Download complete 16:13:21 ec43610c2a17: Verifying Checksum 16:13:21 ec43610c2a17: Download complete 16:13:21 5eb5b503b376: Verifying Checksum 16:13:21 5eb5b503b376: Download complete 16:13:22 2f39f015ded8: Verifying Checksum 16:13:22 2f39f015ded8: Download complete 16:13:22 5eb5b503b376: Pull complete 16:13:23 5c69ac0246d0: Pull complete 16:13:23 ec43610c2a17: Pull complete 16:13:23 3a2ae6a8a46f: Pull complete 16:13:23 33b1e0a273af: Pull complete 16:13:23 5d3b04190fa2: Pull complete 16:13:27 2f39f015ded8: Pull complete 16:13:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:13:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:13:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:13:28 prd-ubuntu20.04-docker-8c-8g-2474 does not seem to be running inside a container 16:13:28 $ 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-532 -v /w/workspace/gexfoundry_device-mqtt-go_PR-532:/w/workspace/gexfoundry_device-mqtt-go_PR-532:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-532@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-532@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 16:13:32 $ docker top be7553a808ce2bbb582b46dc2ba0845797c52bbb1e63d211f06939d801c7ce65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:13:32 ---> job-cost.sh 16:13:32 lf-activate-venv: SKIPPING 16:13:32 INFO: No Stack... 16:13:32 INFO: Retrieving Pricing Info for: v3-standard-8 16:13:33 INFO: Archiving Costs [Pipeline] sh 16:13:33 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-532/archives/cost.csv 16:13:33 + cut -d, -f6 [Pipeline] lock 16:13:33 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-532-2-stack-cost] 16:13:33 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-532-2-stack-cost] did not exist. Created. 16:13:33 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-532-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:13:34 + echo total: 0.2199999988079071 [Pipeline] stash 16:13:34 Stashed 1 file(s) [Pipeline] } 16:13:34 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-532-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:13:34 $ docker stop --time=1 be7553a808ce2bbb582b46dc2ba0845797c52bbb1e63d211f06939d801c7ce65 16:13:35 $ docker rm -f --volumes be7553a808ce2bbb582b46dc2ba0845797c52bbb1e63d211f06939d801c7ce65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:13:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2475 in /w/workspace/gexfoundry_device-mqtt-go_PR-532 [Pipeline] { [Pipeline] ws 16:13:36 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 16:13:36 Selected Git installation does not exist. Using Default 16:13:36 The recommended git tool is: NONE 16:13:41 using credential edgex-jenkins-ssh 16:13:41 Cloning the remote Git repository 16:13:41 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 16:13:42 > git init /w/workspace/device-mqtt-go/2 # timeout=10 16:13:42 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:13:42 > git --version # timeout=10 16:13:42 > git --version # 'git version 2.25.1' 16:13:42 using GIT_SSH to set credentials SSH Credentials for GitHub 16:13:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:13:43 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:13:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:13:44 Merging remotes/origin/main commit 1f5b40587cdb269dc0901b5b892d918e86924932 into PR head commit 79fbfda525077c0064600fa1e623afd2945b7fa5 16:13:45 Merge succeeded, producing d0ffb9c99584a1d50c25c4a8969c3540fe6359fe 16:13:45 Checking out Revision d0ffb9c99584a1d50c25c4a8969c3540fe6359fe (PR-532) 16:13:44 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:13:44 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:13:44 using GIT_SSH to set credentials SSH Credentials for GitHub 16:13:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/532/head:refs/remotes/origin/PR-532 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:13:44 > git config core.sparsecheckout # timeout=10 16:13:44 > git checkout -f 79fbfda525077c0064600fa1e623afd2945b7fa5 # timeout=10 16:13:45 > git remote # timeout=10 16:13:45 > git config --get remote.origin.url # timeout=10 16:13:45 using GIT_SSH to set credentials SSH Credentials for GitHub 16:13:45 > git merge 1f5b40587cdb269dc0901b5b892d918e86924932 # timeout=10 16:13:45 > git rev-parse HEAD^{commit} # timeout=10 16:13:45 > git config core.sparsecheckout # timeout=10 16:13:45 > git checkout -f d0ffb9c99584a1d50c25c4a8969c3540fe6359fe # timeout=10 16:13:48 Commit message: "Merge commit '1f5b40587cdb269dc0901b5b892d918e86924932' into HEAD" 16:13:48 > git rev-list --no-walk 79fbfda525077c0064600fa1e623afd2945b7fa5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:13:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:13:49 % Total % Received % Xferd Average Speed Time Time Time Current 16:13:49 Dload Upload Total Spent Left Speed 16:13:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 25811 0 --:--:-- --:--:-- --:--:-- 25759 100 12751 100 12751 0 0 25759 0 --:--:-- --:--:-- --:--:-- 25707 [Pipeline] sh 16:13:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:13:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:13:50 + sudo tee /etc/docker/daemon.new 16:13:50 { 16:13:50 "registry-mirrors": [ 16:13:50 "https://nexus3.edgexfoundry.org:10001" 16:13:50 ], 16:13:50 "bip": "10.250.0.254/24", 16:13:50 "hosts": [ 16:13:50 "tcp://0.0.0.0:5555", 16:13:50 "unix:///var/run/docker.sock" 16:13:50 ], 16:13:50 "mtu": 1458, 16:13:50 "selinux-enabled": true, 16:13:50 "seccomp-profile": "/etc/docker/seccomp.json" 16:13:50 } [Pipeline] sh 16:13:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:13:51 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:14:09 provisioning config files... 16:14:09 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config5367936496466535798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:14:10 ---> docker-login.sh 16:14:10 nexus3.edgexfoundry.org:10001 16:14:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:10 Configure a credential helper to remove this warning. See 16:14:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:10 16:14:10 Login Succeeded 16:14:10 nexus3.edgexfoundry.org:10002 16:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:11 Configure a credential helper to remove this warning. See 16:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:11 16:14:11 Login Succeeded 16:14:11 nexus3.edgexfoundry.org:10003 16:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:11 Configure a credential helper to remove this warning. See 16:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:11 16:14:11 Login Succeeded 16:14:11 nexus3.edgexfoundry.org:10004 16:14:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:11 Configure a credential helper to remove this warning. See 16:14:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:11 16:14:11 Login Succeeded 16:14:12 docker.io 16:14:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:12 Configure a credential helper to remove this warning. See 16:14:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:12 16:14:12 Login Succeeded 16:14:12 ---> docker-login.sh ends [Pipeline] } 16:14:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:14:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:14:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:14:12 ========================================================= 16:14:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:14:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:13 + 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 . 16:14:13 Sending build context to Docker daemon 3.314MB 16:14:13 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:14:13 Step 2/12 : FROM ${BASE} AS builder 16:14:13 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:14:13 af6eaf76a39c: Pulling fs layer 16:14:13 55522c791124: Pulling fs layer 16:14:13 ce5c4a1c91eb: Pulling fs layer 16:14:13 169dfbe0d373: Pulling fs layer 16:14:13 e1ff8fa3b103: Pulling fs layer 16:14:13 52ebb69f0ebf: Pulling fs layer 16:14:13 5abe8eddf0d5: Pulling fs layer 16:14:13 e1ff8fa3b103: Waiting 16:14:13 52ebb69f0ebf: Waiting 16:14:13 5abe8eddf0d5: Waiting 16:14:13 169dfbe0d373: Waiting 16:14:13 55522c791124: Download complete 16:14:13 169dfbe0d373: Verifying Checksum 16:14:13 169dfbe0d373: Download complete 16:14:13 e1ff8fa3b103: Verifying Checksum 16:14:13 e1ff8fa3b103: Download complete 16:14:13 af6eaf76a39c: Verifying Checksum 16:14:13 af6eaf76a39c: Download complete 16:14:14 af6eaf76a39c: Pull complete 16:14:14 5abe8eddf0d5: Verifying Checksum 16:14:14 5abe8eddf0d5: Download complete 16:14:15 55522c791124: Pull complete 16:14:16 ce5c4a1c91eb: Verifying Checksum 16:14:16 ce5c4a1c91eb: Download complete 16:14:16 52ebb69f0ebf: Verifying Checksum 16:14:16 52ebb69f0ebf: Download complete 16:14:26 ce5c4a1c91eb: Pull complete 16:14:26 169dfbe0d373: Pull complete 16:14:26 e1ff8fa3b103: Pull complete 16:14:34 52ebb69f0ebf: Pull complete 16:14:35 5abe8eddf0d5: Pull complete 16:14:35 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 16:14:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:14:35 ---> 6cb57ee374ae 16:14:35 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:14:37 ---> Running in 7adc54ce8e1c 16:14:37 Removing intermediate container 7adc54ce8e1c 16:14:37 ---> 4d26050cb9ec 16:14:37 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:14:37 ---> Running in db2d330e4899 16:14:37 Removing intermediate container db2d330e4899 16:14:37 ---> 41c10aab0029 16:14:37 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:14:37 ---> Running in 00f3dfae1e18 16:14:37 Removing intermediate container 00f3dfae1e18 16:14:37 ---> 0aed73e3facb 16:14:37 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:14:37 ---> Running in 7ec2b9e5b204 16:14:38 Removing intermediate container 7ec2b9e5b204 16:14:38 ---> d1748d8b2f5a 16:14:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:14:38 ---> Running in 67774f74ce0e 16:14:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:14:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:14:40 (1/4) Installing openssh-keygen (9.1_p1-r2) 16:14:40 (2/4) Installing libedit (20221030.3.1-r0) 16:14:40 (3/4) Installing openssh-client-common (9.1_p1-r2) 16:14:40 (4/4) Installing openssh-client-default (9.1_p1-r2) 16:14:40 Executing busybox-1.35.0-r29.trigger 16:14:40 OK: 268 MiB in 57 packages 16:14:41 Removing intermediate container 67774f74ce0e 16:14:41 ---> e176b4c46404 16:14:41 Step 8/12 : WORKDIR /device-mqtt-go 16:14:41 ---> Running in 0d2f003f4448 16:14:42 Removing intermediate container 0d2f003f4448 16:14:42 ---> 1818be01fb69 16:14:42 Step 9/12 : COPY go.mod vendor* ./ 16:14:42 ---> d2b0ea1b7506 16:14:42 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:14:42 ---> Running in d38f9387a4ab 16:15:50 Removing intermediate container d38f9387a4ab 16:15:50 ---> b01e3d5e88b2 16:15:50 Step 11/12 : COPY . . 16:15:50 ---> 390e4a011d53 16:15:50 Step 12/12 : RUN $MAKE 16:15:50 ---> Running in dbe9f70b71ff 16:15:50 noop 16:15:50 Removing intermediate container dbe9f70b71ff 16:15:50 ---> 87b0781b9747 16:15:50 Successfully built 87b0781b9747 16:15:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:50 + docker inspect -f . ci-base-image-arm64 16:15:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:15:51 prd-ubuntu20.04-docker-arm64-4c-16g-2475 does not seem to be running inside a container 16:15:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:15:52 $ docker top 8ae450d5ee0ec76669a7a6236981f79ed6a06f8244c5d7bea10435ab64689764 -eo pid,comm [Pipeline] { [Pipeline] sh 16:15:53 + go version 16:15:53 go version go1.20.2 linux/arm64 [Pipeline] } 16:15:53 $ docker stop --time=1 8ae450d5ee0ec76669a7a6236981f79ed6a06f8244c5d7bea10435ab64689764 16:15:55 $ docker rm -f --volumes 8ae450d5ee0ec76669a7a6236981f79ed6a06f8244c5d7bea10435ab64689764 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:55 + docker inspect -f . ci-base-image-arm64 16:15:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:15:55 prd-ubuntu20.04-docker-arm64-4c-16g-2475 does not seem to be running inside a container 16:15:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:15:57 $ docker top 5f2d7b02f62d6f87d5ef3e4bfcbaf4ecd0f27754937e66f2443d5058d9294d7c -eo pid,comm [Pipeline] { [Pipeline] sh 16:15:57 + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh 16:15:58 + make test 16:15:58 go test ./... -coverprofile=coverage.out ./... 16:16:30 ? github.com/edgexfoundry/device-mqtt-go [no test files] 16:18:22 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 16:18:22 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 16:18:22 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.066s coverage: 22.2% of statements 16:18:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:18:22 go vet ./... 16:18:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:18:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:18:48 ./bin/test-attribution-txt.sh [Pipeline] echo 16:18:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:18:48 $ docker stop --time=1 5f2d7b02f62d6f87d5ef3e4bfcbaf4ecd0f27754937e66f2443d5058d9294d7c 16:18:50 $ docker rm -f --volumes 5f2d7b02f62d6f87d5ef3e4bfcbaf4ecd0f27754937e66f2443d5058d9294d7c [Pipeline] // withDockerContainer [Pipeline] sh 16:18:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:18:52 Warning: overwriting stash ‘coverage-report’ 16:18:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:18:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:18:53 + ls -al . 16:18:53 total 176 16:18:53 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 16:16 . 16:18:53 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:13 .. 16:18:53 -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 16:13 .dockerignore 16:18:53 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 16:13 .git 16:18:53 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:13 .github 16:18:53 -rw-rw-r-- 1 jenkins jenkins 329 Mar 16 16:13 .gitignore 16:18:53 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 16:13 .golangci.yml 16:18:53 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 16 16:13 Attribution.txt 16:18:53 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 16 16:13 CHANGELOG.md 16:18:53 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 16 16:13 Dockerfile 16:18:53 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 16:13 GOVERNANCE.md 16:18:53 -rw-rw-r-- 1 jenkins jenkins 678 Mar 16 16:13 Jenkinsfile 16:18:53 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 16:13 LICENSE 16:18:53 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 16 16:13 Makefile 16:18:53 -rw-rw-r-- 1 jenkins jenkins 620 Mar 16 16:13 OWNERS.md 16:18:53 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 16 16:13 README.md 16:18:53 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 16:11 VERSION 16:18:53 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 16:13 bin 16:18:53 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:13 cmd 16:18:53 -rw-r--r-- 1 jenkins jenkins 18047 Mar 16 16:18 coverage.out 16:18:53 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 16 16:13 go.mod 16:18:53 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 16 16:13 go.sum 16:18:53 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:13 internal 16:18:53 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 16:13 mock 16:18:53 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:13 snap 16:18:53 -rw-rw-r-- 1 jenkins jenkins 227 Mar 16 16:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:53 + 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=d0ffb9c99584a1d50c25c4a8969c3540fe6359fe --label arch=arm64 --label version=0.0.0 . 16:18:55 Sending build context to Docker daemon 3.333MB 16:18:55 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 16:18:55 Step 2/24 : FROM ${BASE} AS builder 16:18:55 ---> 87b0781b9747 16:18:55 Step 3/24 : ARG ADD_BUILD_TAGS="" 16:18:55 ---> Running in 008a4fc43914 16:18:56 Removing intermediate container 008a4fc43914 16:18:56 ---> 0269aab28228 16:18:56 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:18:56 ---> Running in f8056e04bbdc 16:18:56 Removing intermediate container f8056e04bbdc 16:18:56 ---> 28f599f1c8d8 16:18:56 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:18:56 ---> Running in 651216c6868d 16:18:57 Removing intermediate container 651216c6868d 16:18:57 ---> d99ac6f0aedf 16:18:57 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 16:18:57 ---> Running in 3d0dd3026760 16:18:57 Removing intermediate container 3d0dd3026760 16:18:57 ---> 2221d8b1b44f 16:18:57 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:18:57 ---> Running in 19a013583f69 16:18:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:19:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:19:01 OK: 268 MiB in 57 packages 16:19:02 Removing intermediate container 19a013583f69 16:19:02 ---> d5bba53153ba 16:19:02 Step 8/24 : WORKDIR /device-mqtt-go 16:19:02 ---> Running in 9293b9ab7274 16:19:04 Removing intermediate container 9293b9ab7274 16:19:04 ---> 8130e6f93569 16:19:04 Step 9/24 : COPY go.mod vendor* ./ 16:19:04 ---> e3f2229915a9 16:19:04 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:19:04 ---> Running in bc3881f7b075 16:19:07 Removing intermediate container bc3881f7b075 16:19:07 ---> 961d24161985 16:19:07 Step 11/24 : COPY . . 16:19:08 ---> fb5001535141 16:19:08 Step 12/24 : RUN $MAKE 16:19:08 ---> Running in 113fed377021 16:19:09 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 16:21:16 Removing intermediate container 113fed377021 16:21:16 ---> 369602e7d125 16:21:16 Step 13/24 : FROM alpine:3.17 16:21:16 3.17: Pulling from library/alpine 16:21:16 af6eaf76a39c: Already exists 16:21:16 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:21:16 Status: Downloaded newer image for alpine:3.17 16:21:16 ---> d74e625d9115 16:21:16 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 16:21:16 ---> Running in bc3c7edd1b31 16:21:16 Removing intermediate container bc3c7edd1b31 16:21:16 ---> ab34aaa87178 16:21:16 Step 15/24 : RUN apk add --update --no-cache dumb-init 16:21:16 ---> Running in 8823945e31f7 16:21:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:21:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:21:16 (1/1) Installing dumb-init (1.2.5-r2) 16:21:16 Executing busybox-1.35.0-r29.trigger 16:21:16 OK: 8 MiB in 16 packages 16:21:17 Removing intermediate container 8823945e31f7 16:21:17 ---> 9e98b15f71aa 16:21:17 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 16:21:18 ---> f96cbc9afc88 16:21:18 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 16:21:19 ---> 484d83648187 16:21:19 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 16:21:19 ---> 58ccb055d1fb 16:21:19 Step 19/24 : EXPOSE 59982 16:21:19 ---> Running in ad3fb95c578f 16:21:19 Removing intermediate container ad3fb95c578f 16:21:19 ---> 75b216b2bd74 16:21:19 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 16:21:19 ---> Running in 1d74c2533bf6 16:21:20 Removing intermediate container 1d74c2533bf6 16:21:20 ---> c0ae756d9b7b 16:21:20 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:21:20 ---> Running in f1e46edf8a96 16:21:20 Removing intermediate container f1e46edf8a96 16:21:20 ---> 989537586d23 16:21:20 Step 22/24 : LABEL arch=arm64 16:21:20 ---> Running in bd649b589f71 16:21:21 Removing intermediate container bd649b589f71 16:21:21 ---> a23733dd683d 16:21:21 Step 23/24 : LABEL git_sha=d0ffb9c99584a1d50c25c4a8969c3540fe6359fe 16:21:21 ---> Running in 31feb2c3d843 16:21:21 Removing intermediate container 31feb2c3d843 16:21:21 ---> a1944daeac09 16:21:21 Step 24/24 : LABEL version=0.0.0 16:21:21 ---> Running in 450a5977cdee 16:21:21 Removing intermediate container 450a5977cdee 16:21:21 ---> 8e50761d7620 16:21:21 [Warning] One or more build-args [ARCH] were not consumed 16:21:21 Successfully built 8e50761d7620 16:21:21 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 16:21:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:21:22 16:21:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:21:22 arm64: Pulling from edgex-lftools-log-publisher 16:21:22 8998bd30e6a1: Pulling fs layer 16:21:22 04944245beec: Pulling fs layer 16:21:22 699f458cf7ca: Pulling fs layer 16:21:22 765212b225bb: Pulling fs layer 16:21:22 f23df028b6ca: Pulling fs layer 16:21:22 d65c8cfc05b1: Pulling fs layer 16:21:22 2437ff75d9bd: Pulling fs layer 16:21:22 765212b225bb: Waiting 16:21:22 d65c8cfc05b1: Waiting 16:21:22 f23df028b6ca: Waiting 16:21:22 2437ff75d9bd: Waiting 16:21:22 04944245beec: Verifying Checksum 16:21:22 04944245beec: Download complete 16:21:22 765212b225bb: Verifying Checksum 16:21:22 765212b225bb: Download complete 16:21:22 f23df028b6ca: Verifying Checksum 16:21:22 f23df028b6ca: Download complete 16:21:22 d65c8cfc05b1: Verifying Checksum 16:21:22 d65c8cfc05b1: Download complete 16:21:23 699f458cf7ca: Verifying Checksum 16:21:23 699f458cf7ca: Download complete 16:21:23 8998bd30e6a1: Verifying Checksum 16:21:23 8998bd30e6a1: Download complete 16:21:25 2437ff75d9bd: Verifying Checksum 16:21:25 2437ff75d9bd: Download complete 16:21:27 8998bd30e6a1: Pull complete 16:21:27 04944245beec: Pull complete 16:21:29 699f458cf7ca: Pull complete 16:21:29 765212b225bb: Pull complete 16:21:29 f23df028b6ca: Pull complete 16:21:29 d65c8cfc05b1: Pull complete 16:21:44 2437ff75d9bd: Pull complete 16:21:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:21:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:21:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:45 prd-ubuntu20.04-docker-arm64-4c-16g-2475 does not seem to be running inside a container 16:21:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:21:47 $ docker top c10ecf2734b6a6c1fae769034f030e1da5171789ad5999230c0084e43fcb5f32 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:48 ---> job-cost.sh 16:21:48 lf-activate-venv: SKIPPING 16:21:48 INFO: No Stack... 16:21:49 INFO: Retrieving Pricing Info for: v3-standard-4 16:21:49 INFO: Archiving Costs [Pipeline] sh 16:21:50 + cat /w/workspace/device-mqtt-go/2/archives/cost.csv 16:21:50 + cut -d, -f6 [Pipeline] lock 16:21:50 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-532-2-stack-cost] 16:21:50 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-532-2-stack-cost] did not exist. Created. 16:21:50 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-532-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:21:50 /w/workspace/device-mqtt-go/2@tmp/durable-1897cb29/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:21:51 + echo total: 0.10999999940395355 [Pipeline] stash 16:21:51 Warning: overwriting stash ‘stack-cost’ 16:21:51 Stashed 1 file(s) [Pipeline] } 16:21:51 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-532-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:21:51 $ docker stop --time=1 c10ecf2734b6a6c1fae769034f030e1da5171789ad5999230c0084e43fcb5f32 16:21:54 $ docker rm -f --volumes c10ecf2734b6a6c1fae769034f030e1da5171789ad5999230c0084e43fcb5f32 [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 16:21:54 provisioning config files... 16:21:54 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-532@tmp/config9518109247443324255tmp [Pipeline] { [Pipeline] sh 16:21:55 + set +x 16:21:55 + curl -s https://codecov.io/bash 16:21:55 + bash -s -- 16:21:55 16:21:55 _____ _ 16:21:55 / ____| | | 16:21:55 | | ___ __| | ___ ___ _____ __ 16:21:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:21:55 | |___| (_) | (_| | __/ (_| (_) \ V / 16:21:55 \_____\___/ \__,_|\___|\___\___/ \_/ 16:21:55 Bash-1.0.6 16:21:55 16:21:55 16:21:55 ==> git version 2.25.1 found 16:21:55 ==> 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 16:21:55 Release-Date: 2020-01-08 16:21:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:21:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:21:55 ==> Jenkins CI detected. 16:21:55 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-532 16:21:55 project root: . 16:21:55 --> token set from env 16:21:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:21:55 ==> Running gcov in . (disable via -X gcov) 16:21:55 ==> Python coveragepy not found 16:21:55 ==> Searching for coverage reports in: 16:21:55 + . 16:21:55 -> Found 1 reports 16:21:55 ==> Detecting git/mercurial file structure 16:21:55 ==> Reading reports 16:21:55 + ./coverage.out bytes=18047 16:21:55 ==> Appending adjustments 16:21:55 https://docs.codecov.io/docs/fixing-reports 16:21:55 + Found adjustments 16:21:55 ==> Gzipping contents 16:21:55 4.0K /tmp/codecov.2FlWWg.gz 16:21:55 ==> Uploading reports 16:21:55 url: https://codecov.io 16:21:55 query: branch=PR-532&commit=d44cc070bf3f877b5494fd482a6004f0cbeb029a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-532%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=532&job=&cmd_args= 16:21:55 -> Pinging Codecov 16:21:55 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-532&commit=d44cc070bf3f877b5494fd482a6004f0cbeb029a&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-532%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=532&job=&cmd_args= 16:21:55 -> Uploading to 16:21:55 https://storage.googleapis.com/codecov/v4/raw/2023-03-16/7D719EC7BBE17E464838252E33014C33/d44cc070bf3f877b5494fd482a6004f0cbeb029a/b359ff5f-43f6-4b4a-b129-b6b961f4fabc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T162155Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=11b6f4d49ef308eaa9bec157340606cbac90aa9767a2491035b09232feefe43c 16:21:55 % Total % Received % Xferd Average Speed Time Time Time Current 16:21:55 Dload Upload Total Spent Left Speed 16:21:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3149 0 0 100 3149 0 14248 --:--:-- --:--:-- --:--:-- 14184 100 3149 0 0 100 3149 0 12800 --:--:-- --:--:-- --:--:-- 12748 16:21:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/d44cc070bf3f877b5494fd482a6004f0cbeb029a [Pipeline] } 16:21:55 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 16:21:56 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-532/archives ] 16:21:56 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-532/archives 16:21:56 total 16 16:21:56 drwxr-xr-x 3 root root 4096 Mar 16 16:13 . 16:21:56 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 16:13 .. 16:21:56 drwxr-xr-x 2 root root 4096 Mar 16 16:13 cost 16:21:56 -rw-r--r-- 1 root root 86 Mar 16 16:13 cost.csv 16:21:56 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-532/archives 16:21:56 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-532/archives 16:21:56 total 16 16:21:56 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 16:13 . 16:21:56 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 16:13 .. 16:21:56 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 16:13 cost 16:21:56 -rw-r--r-- 1 jenkins jenkins 86 Mar 16 16:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:21:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:21:57 ---> package-listing.sh 16:21:57 ++ facter osfamily 16:21:57 ++ tr '[:upper:]' '[:lower:]' 16:21:57 + OS_FAMILY=debian 16:21:57 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-532 16:21:57 + START_PACKAGES=/tmp/packages_start.txt 16:21:57 + END_PACKAGES=/tmp/packages_end.txt 16:21:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:21:57 + PACKAGES=/tmp/packages_start.txt 16:21:57 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-532 ']' 16:21:57 + PACKAGES=/tmp/packages_end.txt 16:21:57 + case "${OS_FAMILY}" in 16:21:57 + dpkg -l 16:21:57 + grep '^ii' 16:21:57 + '[' -f /tmp/packages_start.txt ']' 16:21:57 + '[' -f /tmp/packages_end.txt ']' 16:21:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:21:57 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-532 ']' 16:21:57 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-532/archives/ 16:21:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-532/archives/ [Pipeline] echo 16:21:57 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-532/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:21:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:21:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:21:58 prd-ubuntu20.04-docker-8c-8g-2474 does not seem to be running inside a container 16:21:58 $ 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-532/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-532 -v /w/workspace/gexfoundry_device-mqtt-go_PR-532:/w/workspace/gexfoundry_device-mqtt-go_PR-532:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-532@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-532@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 16:21:58 $ docker top a0c4508ab3dcbb1d11488fa6948529d40ac4e8ea82da5502ca8af35ef92428ee -eo pid,comm [Pipeline] { [Pipeline] sh 16:21:59 + touch /tmp/pre-build-complete [Pipeline] sh 16:21:59 + mkdir -p /var/log/sysstat [Pipeline] sh 16:21:59 + ls /var/log/sa-host 16:21:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:21:59 provisioning config files... 16:21:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-532@tmp/config776418241686391939tmp [Pipeline] { [Pipeline] echo 16:21:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:22:00 ---> create-netrc.sh [Pipeline] } 16:22:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:22:00 ---> python-tools-install.sh [Pipeline] echo 16:22:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:22:00 ---> sudo-logs.sh 16:22:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:22:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:22:01 ---> job-cost.sh 16:22:01 lf-activate-venv: SKIPPING 16:22:01 DEBUG: total: 0.2199999988079071 16:22:01 INFO: Retrieving Stack Cost... 16:22:01 INFO: Retrieving Pricing Info for: v3-standard-8 16:22:02 INFO: Archiving Costs [Pipeline] echo 16:22:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:22:02 ---> logs-deploy.sh 16:22:02 lf-activate-venv: SKIPPING 16:22:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-532/2 16:22:02 INFO: archiving workspace using pattern(s): 16:22:03 Archives upload complete. 16:22:03 INFO: archiving logs to Nexus