Pull request #532 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b+1f5b40587cdb269dc0901b5b892d918e86924932 (390f51c53e557830c2abd00d5b3e6d42d59b1580) 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-ssh15780142057272274732.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-ssh14833270272332341375.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-ssh1585592004778557192.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-ssh1883751865989755787.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-ssh9881363115896322080.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-2474’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2476 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 bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b Merge succeeded, producing bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b Checking out Revision bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b (PR-532) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:23:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:23:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:23:15 ========================================================= 16:23:15 EdgeX Global Pipelines Version Info 16:23:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b # 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 bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b # timeout=10 > git rev-list --no-walk d0ffb9c99584a1d50c25c4a8969c3540fe6359fe # timeout=10 16:23:16 ------------------- 16:23:16 stable info: 16:23:16 ------------------- 16:23:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:23:16 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 16:23:16 Message: update stable to v1.0.245 16:23:16 ------------------- 16:23:16 experimental info: 16:23:16 ------------------- 16:23:16 Commited By: **** collab-it+edgex@linuxfoundation.org 16:23:16 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 16:23:16 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:23:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 16:23:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 16:23:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-532 [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-532 [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-532 [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc85d54 [Pipeline] echo 16:23:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:23:17 provisioning config files... 16:23:17 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-532@tmp/config17136371555006335727tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:23:17 ---> docker-login.sh 16:23:17 nexus3.edgexfoundry.org:10001 16:23:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:18 Configure a credential helper to remove this warning. See 16:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:18 16:23:18 Login Succeeded 16:23:18 nexus3.edgexfoundry.org:10002 16:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:18 Configure a credential helper to remove this warning. See 16:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:18 16:23:18 Login Succeeded 16:23:18 nexus3.edgexfoundry.org:10003 16:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:18 Configure a credential helper to remove this warning. See 16:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:18 16:23:18 Login Succeeded 16:23:18 nexus3.edgexfoundry.org:10004 16:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:18 Configure a credential helper to remove this warning. See 16:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:18 16:23:18 Login Succeeded 16:23:18 docker.io 16:23:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:18 Configure a credential helper to remove this warning. See 16:23:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:18 16:23:18 Login Succeeded 16:23:18 ---> docker-login.sh ends [Pipeline] } 16:23:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:23:19 + git rev-list -1 --merges bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b~1..bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b [Pipeline] echo 16:23:19 -----------> git rev-list -1 --merges bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b~1..bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b [false] [Pipeline] sh 16:23:19 + git log --format=format:%s -1 bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b [Pipeline] echo 16:23:19 ========================================================= 16:23:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:23:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:23:19 + git log --format=format:%s -1 bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b [Pipeline] echo 16:23:19 [semverPrep] GIT_COMMIT: bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 16:23:19 [semverPrep] This is not a build commit. [Pipeline] sh 16:23:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:23:20 + grep -v github /etc/ssh/ssh_known_hosts 16:23:20 + [ -e /tmp/ssh_known_hosts ] 16:23:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:23:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:23:20 + sudo tee -a /etc/ssh/ssh_known_hosts 16:23:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:23:20 16:23:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:23:20 0.1.4: Pulling from edgex-devops/py-git-semver 16:23:20 b85a868b505f: Pulling fs layer 16:23:20 e2be974225ed: Pulling fs layer 16:23:20 339a4e72a1f5: Pulling fs layer 16:23:20 988bab9f4d93: Pulling fs layer 16:23:20 1469e6f7b9e6: Pulling fs layer 16:23:20 eaf3925da568: Pulling fs layer 16:23:20 bab4dde63d76: Pulling fs layer 16:23:20 bde34c3a00c8: Pulling fs layer 16:23:20 b352a97aabf1: Pulling fs layer 16:23:20 4872d77fe225: Pulling fs layer 16:23:20 5851b861e8e6: Pulling fs layer 16:23:20 b352a97aabf1: Waiting 16:23:20 eaf3925da568: Waiting 16:23:20 bab4dde63d76: Waiting 16:23:20 bde34c3a00c8: Waiting 16:23:20 4872d77fe225: Waiting 16:23:20 1469e6f7b9e6: Waiting 16:23:20 988bab9f4d93: Waiting 16:23:20 5851b861e8e6: Waiting 16:23:20 e2be974225ed: Verifying Checksum 16:23:20 e2be974225ed: Download complete 16:23:20 988bab9f4d93: Verifying Checksum 16:23:20 988bab9f4d93: Download complete 16:23:21 1469e6f7b9e6: Verifying Checksum 16:23:21 1469e6f7b9e6: Download complete 16:23:21 339a4e72a1f5: Verifying Checksum 16:23:21 339a4e72a1f5: Download complete 16:23:21 eaf3925da568: Verifying Checksum 16:23:21 eaf3925da568: Download complete 16:23:21 bde34c3a00c8: Download complete 16:23:21 b352a97aabf1: Verifying Checksum 16:23:21 b352a97aabf1: Download complete 16:23:21 4872d77fe225: Verifying Checksum 16:23:21 4872d77fe225: Download complete 16:23:21 5851b861e8e6: Verifying Checksum 16:23:21 5851b861e8e6: Download complete 16:23:21 b85a868b505f: Verifying Checksum 16:23:21 b85a868b505f: Download complete 16:23:21 bab4dde63d76: Verifying Checksum 16:23:21 bab4dde63d76: Download complete 16:23:22 b85a868b505f: Pull complete 16:23:22 e2be974225ed: Pull complete 16:23:22 339a4e72a1f5: Pull complete 16:23:22 988bab9f4d93: Pull complete 16:23:23 1469e6f7b9e6: Pull complete 16:23:23 eaf3925da568: Pull complete 16:23:24 bab4dde63d76: Pull complete 16:23:24 bde34c3a00c8: Pull complete 16:23:24 b352a97aabf1: Pull complete 16:23:24 4872d77fe225: Pull complete 16:23:25 5851b861e8e6: Pull complete 16:23:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:23:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:23:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:23:25 prd-ubuntu20.04-docker-8c-8g-2476 does not seem to be running inside a container 16:23:25 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:23:28 $ docker top 6679fe1f74437a4e5adf6ae1563d44fdfd95d021defb0904a0aef55f88d39a32 -eo pid,comm 16:23:29 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:23:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:23:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:23:29 [ssh-agent] Looking for ssh-agent implementation... 16:23:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:23:29 $ docker exec 6679fe1f74437a4e5adf6ae1563d44fdfd95d021defb0904a0aef55f88d39a32 ssh-agent 16:23:29 SSH_AUTH_SOCK=/tmp/ssh-D2Ond8QRwVjX/agent.32 16:23:29 SSH_AGENT_PID=39 16:23:29 Running ssh-add (command line suppressed) 16:23:29 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-532@tmp/private_key_8478745251696388416.key (/w/workspace/gexfoundry_device-mqtt-go_PR-532@tmp/private_key_8478745251696388416.key) 16:23:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:23:29 + git tag --points-at HEAD [Pipeline] } 16:23:29 $ docker exec --env ******** --env ******** 6679fe1f74437a4e5adf6ae1563d44fdfd95d021defb0904a0aef55f88d39a32 ssh-agent -k 16:23:29 unset SSH_AUTH_SOCK; 16:23:29 unset SSH_AGENT_PID; 16:23:29 echo Agent pid 39 killed; 16:23:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:23:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:23:29 [ssh-agent] Looking for ssh-agent implementation... 16:23:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:23:29 $ docker exec 6679fe1f74437a4e5adf6ae1563d44fdfd95d021defb0904a0aef55f88d39a32 ssh-agent 16:23:30 SSH_AUTH_SOCK=/tmp/ssh-JFM2acI8UGhd/agent.71 16:23:30 SSH_AGENT_PID=77 16:23:30 Running ssh-add (command line suppressed) 16:23:30 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-532@tmp/private_key_13587704177049430060.key (/w/workspace/gexfoundry_device-mqtt-go_PR-532@tmp/private_key_13587704177049430060.key) 16:23:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:23:30 + git semver init 16:23:30 2023-03-16 16:23:30,645 [run_init] DEBUG init version:0.0.0 force:False 16:23:30 2023-03-16 16:23:30,646 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-532/.semver 16:23:30 2023-03-16 16:23:30,646 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-532/.semver 16:23:30 2023-03-16 16:23:30,647 [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:23:31 2023-03-16 16:23:31,421 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-532/.git/info/exclude 16:23:31 2023-03-16 16:23:31,421 [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:23:31 2023-03-16 16:23:31,421 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-532/.semver/PR-532 16:23:31 2023-03-16 16:23:31,426 [execute] INFO git cat-file --batch-check 16:23:31 2023-03-16 16:23:31,426 [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:23:31 2023-03-16 16:23:31,432 [execute] INFO git cat-file --batch 16:23:31 2023-03-16 16:23:31,432 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-532/.semver, universal_newlines=False, shell=None, istream=) 16:23:31 2023-03-16 16:23:31,437 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-532/.semver/PR-532 16:23:31 0.0.0 [Pipeline] } 16:23:31 $ docker exec --env ******** --env ******** 6679fe1f74437a4e5adf6ae1563d44fdfd95d021defb0904a0aef55f88d39a32 ssh-agent -k 16:23:31 unset SSH_AUTH_SOCK; 16:23:31 unset SSH_AGENT_PID; 16:23:31 echo Agent pid 77 killed; 16:23:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:23:32 + git semver [Pipeline] } 16:23:32 $ docker stop --time=1 6679fe1f74437a4e5adf6ae1563d44fdfd95d021defb0904a0aef55f88d39a32 16:23:33 $ docker rm -f --volumes 6679fe1f74437a4e5adf6ae1563d44fdfd95d021defb0904a0aef55f88d39a32 [Pipeline] // withDockerContainer [Pipeline] sh 16:23:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:23:34 Stashed 1 file(s) [Pipeline] echo 16:23:34 [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:23:34 provisioning config files... 16:23:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-532@tmp/config11830772796058789426tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:23:34 ---> docker-login.sh 16:23:34 nexus3.edgexfoundry.org:10001 16:23:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:34 Configure a credential helper to remove this warning. See 16:23:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:34 16:23:34 Login Succeeded 16:23:34 nexus3.edgexfoundry.org:10002 16:23:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:34 Configure a credential helper to remove this warning. See 16:23:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:34 16:23:34 Login Succeeded 16:23:34 nexus3.edgexfoundry.org:10003 16:23:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:34 Configure a credential helper to remove this warning. See 16:23:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:34 16:23:34 Login Succeeded 16:23:34 nexus3.edgexfoundry.org:10004 16:23:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:34 Configure a credential helper to remove this warning. See 16:23:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:34 16:23:34 Login Succeeded 16:23:34 docker.io 16:23:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:35 Configure a credential helper to remove this warning. See 16:23:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:35 16:23:35 Login Succeeded 16:23:35 ---> docker-login.sh ends [Pipeline] } 16:23:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:23:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:23:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:23:35 ========================================================= 16:23:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:23:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:23:35 + 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:23:35 Sending build context to Docker daemon 6.384MB 16:23:35 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:23:35 Step 2/12 : FROM ${BASE} AS builder 16:23:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:23:35 63b65145d645: Pulling fs layer 16:23:35 a2d21d5440eb: Pulling fs layer 16:23:35 935e6c44a52c: Pulling fs layer 16:23:35 94cc34f8dd06: Pulling fs layer 16:23:35 30dea6a524f1: Pulling fs layer 16:23:35 a2aff8979fd8: Pulling fs layer 16:23:35 6808be2612f2: Pulling fs layer 16:23:35 f25807f1079a: Pulling fs layer 16:23:35 a2aff8979fd8: Waiting 16:23:35 6808be2612f2: Waiting 16:23:35 f25807f1079a: Waiting 16:23:35 94cc34f8dd06: Waiting 16:23:35 30dea6a524f1: Waiting 16:23:35 a2d21d5440eb: Verifying Checksum 16:23:35 a2d21d5440eb: Download complete 16:23:35 94cc34f8dd06: Download complete 16:23:35 30dea6a524f1: Verifying Checksum 16:23:35 30dea6a524f1: Download complete 16:23:35 63b65145d645: Verifying Checksum 16:23:35 63b65145d645: Download complete 16:23:35 a2aff8979fd8: Verifying Checksum 16:23:35 a2aff8979fd8: Download complete 16:23:35 63b65145d645: Pull complete 16:23:36 a2d21d5440eb: Pull complete 16:23:36 f25807f1079a: Verifying Checksum 16:23:36 f25807f1079a: Download complete 16:23:36 935e6c44a52c: Verifying Checksum 16:23:36 935e6c44a52c: Download complete 16:23:36 6808be2612f2: Verifying Checksum 16:23:36 6808be2612f2: Download complete 16:23:40 935e6c44a52c: Pull complete 16:23:40 94cc34f8dd06: Pull complete 16:23:40 30dea6a524f1: Pull complete 16:23:40 a2aff8979fd8: Pull complete 16:23:42 6808be2612f2: Pull complete 16:23:43 f25807f1079a: Pull complete 16:23:43 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 16:23:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:23:43 ---> 3b553350e43f 16:23:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:23:48 ---> Running in da4ce3b7b81f 16:23:48 Removing intermediate container da4ce3b7b81f 16:23:48 ---> dca892394b16 16:23:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:23:48 ---> Running in e22452d5e45b 16:23:48 Removing intermediate container e22452d5e45b 16:23:48 ---> c5ccbac93c09 16:23:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:23:48 ---> Running in f76d2ee22672 16:23:48 Removing intermediate container f76d2ee22672 16:23:48 ---> 31d76eb864d6 16:23:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:23:48 ---> Running in f124b73c569b 16:23:48 Removing intermediate container f124b73c569b 16:23:48 ---> ab2c2f6803f2 16:23:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:23:48 ---> Running in 67bd9310a823 16:23:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:23:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:23:49 Still waiting to schedule task 16:23:49 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2475’ is offline 16:23:49 (1/4) Installing openssh-keygen (9.1_p1-r2) 16:23:49 (2/4) Installing libedit (20221030.3.1-r0) 16:23:49 (3/4) Installing openssh-client-common (9.1_p1-r2) 16:23:49 (4/4) Installing openssh-client-default (9.1_p1-r2) 16:23:49 Executing busybox-1.35.0-r29.trigger 16:23:49 OK: 269 MiB in 57 packages 16:23:49 Removing intermediate container 67bd9310a823 16:23:49 ---> fa83d1918a9a 16:23:49 Step 8/12 : WORKDIR /device-mqtt-go 16:23:49 ---> Running in 7163d1942554 16:23:49 Removing intermediate container 7163d1942554 16:23:49 ---> bccbf7dc3002 16:23:49 Step 9/12 : COPY go.mod vendor* ./ 16:23:50 ---> dbc8b7b82d93 16:23:50 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:23:50 ---> Running in c51a3456cfc3 16:24:36 Removing intermediate container c51a3456cfc3 16:24:36 ---> 6a2113d4f4ee 16:24:36 Step 11/12 : COPY . . 16:24:36 ---> b7dd41e46e9d 16:24:36 Step 12/12 : RUN $MAKE 16:24:36 ---> Running in 3020563b13be 16:24:36 noop 16:24:36 Removing intermediate container 3020563b13be 16:24:36 ---> 17f7cfb7b0c3 16:24:36 Successfully built 17f7cfb7b0c3 16:24:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:37 + docker inspect -f . ci-base-image-x86_64 16:24:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:24:37 prd-ubuntu20.04-docker-8c-8g-2476 does not seem to be running inside a container 16:24:37 $ 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 ******** -e ******** ci-base-image-x86_64 cat 16:24:37 $ docker top 3b103134bba43e82e71dae861f898ec9d357fb41bed85f2dfc5f734317e50b4c -eo pid,comm [Pipeline] { [Pipeline] sh 16:24:37 + go version 16:24:37 go version go1.20.2 linux/amd64 [Pipeline] } 16:24:37 $ docker stop --time=1 3b103134bba43e82e71dae861f898ec9d357fb41bed85f2dfc5f734317e50b4c 16:24:39 $ docker rm -f --volumes 3b103134bba43e82e71dae861f898ec9d357fb41bed85f2dfc5f734317e50b4c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:39 + docker inspect -f . ci-base-image-x86_64 16:24:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:24:39 prd-ubuntu20.04-docker-8c-8g-2476 does not seem to be running inside a container 16:24:39 $ 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 ******** -e ******** ci-base-image-x86_64 cat 16:24:40 $ docker top b2288dc24b2331bfacacb1df858f7375f6d3847ddb2f5eb1db33f7ffeb90581b -eo pid,comm [Pipeline] { [Pipeline] sh 16:24:40 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-532 [Pipeline] fileExists [Pipeline] sh 16:24:40 + make test 16:24:40 go test ./... -coverprofile=coverage.out ./... 16:24:45 ? github.com/edgexfoundry/device-mqtt-go [no test files] 16:24:55 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 16:24:55 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 16:24:55 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.2% of statements 16:25:02 go vet ./... 16:25:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:25:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:25:06 ./bin/test-attribution-txt.sh [Pipeline] echo 16:25:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:25:06 $ docker stop --time=1 b2288dc24b2331bfacacb1df858f7375f6d3847ddb2f5eb1db33f7ffeb90581b 16:25:10 $ docker rm -f --volumes b2288dc24b2331bfacacb1df858f7375f6d3847ddb2f5eb1db33f7ffeb90581b [Pipeline] // withDockerContainer [Pipeline] sh 16:25:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:25:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:25:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:25:11 + ls -al . 16:25:11 total 180 16:25:11 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 16:24 . 16:25:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:23 .. 16:25:11 -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 16:23 .dockerignore 16:25:11 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 16:23 .git 16:25:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:23 .github 16:25:11 -rw-rw-r-- 1 jenkins jenkins 329 Mar 16 16:23 .gitignore 16:25:11 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 16:23 .golangci.yml 16:25:11 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 16:23 .semver 16:25:11 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 16 16:23 Attribution.txt 16:25:11 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 16 16:23 CHANGELOG.md 16:25:11 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 16 16:23 Dockerfile 16:25:11 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 16:23 GOVERNANCE.md 16:25:11 -rw-rw-r-- 1 jenkins jenkins 678 Mar 16 16:23 Jenkinsfile 16:25:11 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 16:23 LICENSE 16:25:11 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 16 16:23 Makefile 16:25:11 -rw-rw-r-- 1 jenkins jenkins 620 Mar 16 16:23 OWNERS.md 16:25:11 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 16 16:23 README.md 16:25:11 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 16:23 VERSION 16:25:11 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 16:23 bin 16:25:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:23 cmd 16:25:11 -rw-r--r-- 1 jenkins jenkins 18047 Mar 16 16:24 coverage.out 16:25:11 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 16 16:23 go.mod 16:25:11 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 16 16:23 go.sum 16:25:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:23 internal 16:25:11 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 16:23 mock 16:25:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:23 snap 16:25:11 -rw-rw-r-- 1 jenkins jenkins 227 Mar 16 16:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:12 + docker build -t device-mqtt -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b --label arch=amd64 --label version=0.0.0 . 16:25:12 Sending build context to Docker daemon 6.403MB 16:25:12 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 16:25:12 Step 2/24 : FROM ${BASE} AS builder 16:25:12 ---> 17f7cfb7b0c3 16:25:12 Step 3/24 : ARG ADD_BUILD_TAGS="" 16:25:12 ---> Running in a4d13d3a5745 16:25:12 Removing intermediate container a4d13d3a5745 16:25:12 ---> 28eaaf4918ca 16:25:12 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:25:12 ---> Running in 9b9a9e845d0b 16:25:12 Removing intermediate container 9b9a9e845d0b 16:25:12 ---> 8b28ec36ef29 16:25:12 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:25:12 ---> Running in 513400383a54 16:25:12 Removing intermediate container 513400383a54 16:25:12 ---> 14bc54e66d86 16:25:12 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 16:25:12 ---> Running in 97a58bec9911 16:25:12 Removing intermediate container 97a58bec9911 16:25:12 ---> 0a64ca528d87 16:25:12 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:25:12 ---> Running in 6d2554aab280 16:25:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:25:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:25:13 OK: 269 MiB in 57 packages 16:25:13 Removing intermediate container 6d2554aab280 16:25:13 ---> 6bd1e081d84c 16:25:13 Step 8/24 : WORKDIR /device-mqtt-go 16:25:13 ---> Running in 8facea3512df 16:25:13 Removing intermediate container 8facea3512df 16:25:13 ---> aaa976e0dc0d 16:25:13 Step 9/24 : COPY go.mod vendor* ./ 16:25:13 ---> ed475a593ec2 16:25:13 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:25:13 ---> Running in 508d6db6f450 16:25:15 Removing intermediate container 508d6db6f450 16:25:15 ---> b7aafc346740 16:25:15 Step 11/24 : COPY . . 16:25:15 ---> 4ddc3e2db8ee 16:25:15 Step 12/24 : RUN $MAKE 16:25:15 ---> Running in 36d6a088e041 16:25:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 16:25:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2477 in /w/workspace/gexfoundry_device-mqtt-go_PR-532 [Pipeline] { [Pipeline] ws 16:25:19 Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout 16:25:19 Selected Git installation does not exist. Using Default 16:25:19 The recommended git tool is: NONE 16:25:25 using credential edgex-jenkins-ssh 16:25:25 Cloning the remote Git repository 16:25:25 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 16:25:25 > git init /w/workspace/device-mqtt-go/3 # timeout=10 16:25:25 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:25:25 > git --version # timeout=10 16:25:25 > git --version # 'git version 2.25.1' 16:25:25 using GIT_SSH to set credentials SSH Credentials for GitHub 16:25:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:25:26 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:25:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:25:27 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 16:25:27 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 16:25:27 using GIT_SSH to set credentials SSH Credentials for GitHub 16:25:27 > 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:25:28 Merging remotes/origin/main commit 1f5b40587cdb269dc0901b5b892d918e86924932 into PR head commit bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b 16:25:28 Merge succeeded, producing bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b 16:25:28 Checking out Revision bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b (PR-532) 16:25:29 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:25:28 > git config core.sparsecheckout # timeout=10 16:25:28 > git checkout -f bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b # timeout=10 16:25:28 > git remote # timeout=10 16:25:28 > git config --get remote.origin.url # timeout=10 16:25:28 using GIT_SSH to set credentials SSH Credentials for GitHub 16:25:28 > git merge 1f5b40587cdb269dc0901b5b892d918e86924932 # timeout=10 16:25:28 > git rev-parse HEAD^{commit} # timeout=10 16:25:28 > git config core.sparsecheckout # timeout=10 16:25:28 > git checkout -f bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b # timeout=10 16:25:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:25:29 % Total % Received % Xferd Average Speed Time Time Time Current 16:25:29 Dload Upload Total Spent Left Speed 16:25:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 77278 0 --:--:-- --:--:-- --:--:-- 77278 [Pipeline] sh 16:25:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:25:30 + sudo tee /etc/docker/daemon.new 16:25:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:25:30 { 16:25:30 "registry-mirrors": [ 16:25:30 "https://nexus3.edgexfoundry.org:10001" 16:25:30 ], 16:25:30 "bip": "10.250.0.254/24", 16:25:30 "hosts": [ 16:25:30 "tcp://0.0.0.0:5555", 16:25:30 "unix:///var/run/docker.sock" 16:25:30 ], 16:25:30 "mtu": 1458, 16:25:30 "selinux-enabled": true, 16:25:30 "seccomp-profile": "/etc/docker/seccomp.json" 16:25:30 } [Pipeline] sh 16:25:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:25:31 + sudo service docker restart 16:25:37 Removing intermediate container 36d6a088e041 16:25:37 ---> bf7c094a0967 16:25:37 Step 13/24 : FROM alpine:3.17 16:25:37 3.17: Pulling from library/alpine 16:25:37 63b65145d645: Already exists 16:25:37 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:25:37 Status: Downloaded newer image for alpine:3.17 16:25:37 ---> b2aa39c304c2 16:25:37 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 16:25:37 ---> Running in 32e48fe89a8a 16:25:37 Removing intermediate container 32e48fe89a8a 16:25:37 ---> f11eab8138ec 16:25:37 Step 15/24 : RUN apk add --update --no-cache dumb-init 16:25:37 ---> Running in 7eebecc0d496 16:25:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:25:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:25:37 (1/1) Installing dumb-init (1.2.5-r2) 16:25:37 Executing busybox-1.35.0-r29.trigger 16:25:37 OK: 7 MiB in 16 packages 16:25:37 Removing intermediate container 7eebecc0d496 16:25:37 ---> 53475106dca8 16:25:37 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 16:25:37 ---> efde6b943f18 16:25:37 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 16:25:37 ---> ffe96f1b4a06 16:25:37 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 16:25:38 ---> 8c8ebafd76ca 16:25:38 Step 19/24 : EXPOSE 59982 16:25:38 ---> Running in 2713dde452c6 16:25:38 Removing intermediate container 2713dde452c6 16:25:38 ---> ed71ee015495 16:25:38 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 16:25:38 ---> Running in c9761ff262e3 16:25:38 Removing intermediate container c9761ff262e3 16:25:38 ---> a98e082bdc85 16:25:38 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:25:38 ---> Running in 3c78c3acac74 16:25:38 Removing intermediate container 3c78c3acac74 16:25:38 ---> ba906634d4c7 16:25:38 Step 22/24 : LABEL arch=amd64 16:25:38 ---> Running in 026110f78bb3 16:25:38 Removing intermediate container 026110f78bb3 16:25:38 ---> ae404f78c6f7 16:25:38 Step 23/24 : LABEL git_sha=bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b 16:25:38 ---> Running in 9181026575a0 16:25:38 Removing intermediate container 9181026575a0 16:25:38 ---> a56c22fdfb08 16:25:38 Step 24/24 : LABEL version=0.0.0 16:25:38 ---> Running in 3e94241b2a93 16:25:38 Removing intermediate container 3e94241b2a93 16:25:38 ---> c14c0a857d80 16:25:38 [Warning] One or more build-args [ARCH] were not consumed 16:25:38 Successfully built c14c0a857d80 16:25:38 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:25:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:25:39 16:25:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:25:39 latest: Pulling from edgex-lftools-log-publisher 16:25:39 5eb5b503b376: Pulling fs layer 16:25:39 5c69ac0246d0: Pulling fs layer 16:25:39 ec43610c2a17: Pulling fs layer 16:25:39 3a2ae6a8a46f: Pulling fs layer 16:25:39 33b1e0a273af: Pulling fs layer 16:25:39 3a2ae6a8a46f: Waiting 16:25:39 33b1e0a273af: Waiting 16:25:39 5d3b04190fa2: Pulling fs layer 16:25:39 2f39f015ded8: Pulling fs layer 16:25:39 5d3b04190fa2: Waiting 16:25:39 2f39f015ded8: Waiting 16:25:39 5c69ac0246d0: Verifying Checksum 16:25:39 5c69ac0246d0: Download complete 16:25:39 3a2ae6a8a46f: Verifying Checksum 16:25:39 3a2ae6a8a46f: Download complete 16:25:39 33b1e0a273af: Verifying Checksum 16:25:39 33b1e0a273af: Download complete 16:25:39 5d3b04190fa2: Verifying Checksum 16:25:39 5d3b04190fa2: Download complete 16:25:39 ec43610c2a17: Verifying Checksum 16:25:39 ec43610c2a17: Download complete 16:25:39 5eb5b503b376: Verifying Checksum 16:25:39 5eb5b503b376: Download complete 16:25:40 2f39f015ded8: Download complete 16:25:41 5eb5b503b376: Pull complete 16:25:41 5c69ac0246d0: Pull complete 16:25:41 ec43610c2a17: Pull complete 16:25:41 3a2ae6a8a46f: Pull complete 16:25:41 33b1e0a273af: Pull complete 16:25:41 5d3b04190fa2: Pull complete 16:25:46 2f39f015ded8: Pull complete 16:25:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:25:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:25:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:46 prd-ubuntu20.04-docker-8c-8g-2476 does not seem to be running inside a container 16:25:46 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:25:51 $ docker top 3fd6aae60823e4a484fa63bb8003b4b5c8c267b33eaa14a77742b8b5e257c342 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 16:25:51 provisioning config files... 16:25:51 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config421775903855914403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:25:52 ---> job-cost.sh 16:25:52 lf-activate-venv: SKIPPING 16:25:52 INFO: No Stack... 16:25:52 ---> docker-login.sh 16:25:52 nexus3.edgexfoundry.org:10001 16:25:52 INFO: Retrieving Pricing Info for: v3-standard-8 16:25:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:52 INFO: Archiving Costs [Pipeline] sh 16:25:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:52 Configure a credential helper to remove this warning. See 16:25:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:52 16:25:52 Login Succeeded 16:25:52 nexus3.edgexfoundry.org:10002 16:25:52 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-532/archives/cost.csv 16:25:52 + cut -d, -f6 [Pipeline] lock 16:25:52 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-532-3-stack-cost] 16:25:52 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-532-3-stack-cost] did not exist. Created. 16:25:52 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-532-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:25:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:53 Configure a credential helper to remove this warning. See 16:25:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:53 16:25:53 Login Succeeded 16:25:53 + echo total: 0.2199999988079071 [Pipeline] stash 16:25:53 Stashed 1 file(s) [Pipeline] } 16:25:53 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-532-3-stack-cost] [Pipeline] // lock [Pipeline] } 16:25:53 $ docker stop --time=1 3fd6aae60823e4a484fa63bb8003b4b5c8c267b33eaa14a77742b8b5e257c342 16:25:53 nexus3.edgexfoundry.org:10003 16:25:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:53 Configure a credential helper to remove this warning. See 16:25:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:53 16:25:53 Login Succeeded 16:25:53 nexus3.edgexfoundry.org:10004 16:25:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:53 Configure a credential helper to remove this warning. See 16:25:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:53 16:25:53 Login Succeeded 16:25:53 docker.io 16:25:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:25:54 $ docker rm -f --volumes 3fd6aae60823e4a484fa63bb8003b4b5c8c267b33eaa14a77742b8b5e257c342 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:25:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:25:54 Configure a credential helper to remove this warning. See 16:25:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:25:54 16:25:54 Login Succeeded 16:25:54 ---> docker-login.sh ends [Pipeline] } 16:25:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:25:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:25:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:25:54 ========================================================= 16:25:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:25:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:55 + 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:25:55 Sending build context to Docker daemon 3.312MB 16:25:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:25:55 Step 2/12 : FROM ${BASE} AS builder 16:25:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:25:55 af6eaf76a39c: Pulling fs layer 16:25:55 55522c791124: Pulling fs layer 16:25:55 ce5c4a1c91eb: Pulling fs layer 16:25:55 169dfbe0d373: Pulling fs layer 16:25:55 e1ff8fa3b103: Pulling fs layer 16:25:55 52ebb69f0ebf: Pulling fs layer 16:25:55 5abe8eddf0d5: Pulling fs layer 16:25:55 169dfbe0d373: Waiting 16:25:55 52ebb69f0ebf: Waiting 16:25:55 5abe8eddf0d5: Waiting 16:25:55 e1ff8fa3b103: Waiting 16:25:55 55522c791124: Verifying Checksum 16:25:55 55522c791124: Download complete 16:25:55 169dfbe0d373: Verifying Checksum 16:25:55 169dfbe0d373: Download complete 16:25:55 e1ff8fa3b103: Verifying Checksum 16:25:55 e1ff8fa3b103: Download complete 16:25:55 af6eaf76a39c: Verifying Checksum 16:25:55 af6eaf76a39c: Download complete 16:25:56 af6eaf76a39c: Pull complete 16:25:56 5abe8eddf0d5: Verifying Checksum 16:25:56 5abe8eddf0d5: Download complete 16:25:57 55522c791124: Pull complete 16:25:58 ce5c4a1c91eb: Verifying Checksum 16:25:58 ce5c4a1c91eb: Download complete 16:25:58 52ebb69f0ebf: Verifying Checksum 16:25:58 52ebb69f0ebf: Download complete 16:26:08 ce5c4a1c91eb: Pull complete 16:26:08 169dfbe0d373: Pull complete 16:26:08 e1ff8fa3b103: Pull complete 16:26:14 52ebb69f0ebf: Pull complete 16:26:15 5abe8eddf0d5: Pull complete 16:26:16 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 16:26:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:26:16 ---> 6cb57ee374ae 16:26:16 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:26:18 ---> Running in dbc3443a9143 16:26:18 Removing intermediate container dbc3443a9143 16:26:18 ---> 96d987338f95 16:26:18 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:26:18 ---> Running in a32e9ccd5fd9 16:26:18 Removing intermediate container a32e9ccd5fd9 16:26:18 ---> 8450ddfc702e 16:26:18 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:26:18 ---> Running in f1799cfd2577 16:26:18 Removing intermediate container f1799cfd2577 16:26:18 ---> 3908b685db22 16:26:18 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:26:18 ---> Running in 54c3dbf0354f 16:26:19 Removing intermediate container 54c3dbf0354f 16:26:19 ---> 61c6b78f1467 16:26:19 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:26:19 ---> Running in 3ed7d50ceee3 16:26:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:26:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:26:21 (1/4) Installing openssh-keygen (9.1_p1-r2) 16:26:21 (2/4) Installing libedit (20221030.3.1-r0) 16:26:21 (3/4) Installing openssh-client-common (9.1_p1-r2) 16:26:21 (4/4) Installing openssh-client-default (9.1_p1-r2) 16:26:21 Executing busybox-1.35.0-r29.trigger 16:26:21 OK: 268 MiB in 57 packages 16:26:22 Removing intermediate container 3ed7d50ceee3 16:26:22 ---> eeb89767be0a 16:26:22 Step 8/12 : WORKDIR /device-mqtt-go 16:26:22 ---> Running in a6d77b5b0acb 16:26:23 Removing intermediate container a6d77b5b0acb 16:26:23 ---> 4aade3ec01a7 16:26:23 Step 9/12 : COPY go.mod vendor* ./ 16:26:23 ---> e8635e0d4277 16:26:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:26:23 ---> Running in cde5874e0df8 16:27:20 Removing intermediate container cde5874e0df8 16:27:20 ---> b6c0ae16be4b 16:27:20 Step 11/12 : COPY . . 16:27:20 ---> eba139bee15a 16:27:20 Step 12/12 : RUN $MAKE 16:27:20 ---> Running in 65da5564bef5 16:27:20 noop 16:27:20 Removing intermediate container 65da5564bef5 16:27:20 ---> 150bb803d763 16:27:20 Successfully built 150bb803d763 16:27:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:20 + docker inspect -f . ci-base-image-arm64 16:27:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:27:20 prd-ubuntu20.04-docker-arm64-4c-16g-2477 does not seem to be running inside a container 16:27:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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:27:21 $ docker top 7e292fa8db0269c489b49bb98471ec5979b113e57af5571d01249f464e954f83 -eo pid,comm [Pipeline] { [Pipeline] sh 16:27:22 + go version 16:27:22 go version go1.20.2 linux/arm64 [Pipeline] } 16:27:22 $ docker stop --time=1 7e292fa8db0269c489b49bb98471ec5979b113e57af5571d01249f464e954f83 16:27:24 $ docker rm -f --volumes 7e292fa8db0269c489b49bb98471ec5979b113e57af5571d01249f464e954f83 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:24 + docker inspect -f . ci-base-image-arm64 16:27:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:27:25 prd-ubuntu20.04-docker-arm64-4c-16g-2477 does not seem to be running inside a container 16:27:25 $ 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/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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:27:26 $ docker top 517ef062794b35ac66333d480c87ea321830ea80058bb570e6e469f1ea5664b4 -eo pid,comm [Pipeline] { [Pipeline] sh 16:27:26 + git config --global --add safe.directory /w/workspace/device-mqtt-go/3 [Pipeline] fileExists [Pipeline] sh 16:27:27 + make test 16:27:27 go test ./... -coverprofile=coverage.out ./... 16:27:59 ? github.com/edgexfoundry/device-mqtt-go [no test files] 16:29:50 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 16:29:50 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 16:29:50 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.071s coverage: 22.2% of statements 16:29:50 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:29:50 go vet ./... 16:30:17 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:30:17 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:30:17 ./bin/test-attribution-txt.sh [Pipeline] echo 16:30:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:30:17 $ docker stop --time=1 517ef062794b35ac66333d480c87ea321830ea80058bb570e6e469f1ea5664b4 16:30:19 $ docker rm -f --volumes 517ef062794b35ac66333d480c87ea321830ea80058bb570e6e469f1ea5664b4 [Pipeline] // withDockerContainer [Pipeline] sh 16:30:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:30:21 Warning: overwriting stash ‘coverage-report’ 16:30:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:30:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:30:22 + ls -al . 16:30:22 total 176 16:30:22 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 16:27 . 16:30:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:25 .. 16:30:22 -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 16:25 .dockerignore 16:30:22 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 16:25 .git 16:30:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:25 .github 16:30:22 -rw-rw-r-- 1 jenkins jenkins 329 Mar 16 16:25 .gitignore 16:30:22 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 16:25 .golangci.yml 16:30:22 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 16 16:25 Attribution.txt 16:30:22 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 16 16:25 CHANGELOG.md 16:30:22 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 16 16:25 Dockerfile 16:30:22 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 16:25 GOVERNANCE.md 16:30:22 -rw-rw-r-- 1 jenkins jenkins 678 Mar 16 16:25 Jenkinsfile 16:30:22 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 16:25 LICENSE 16:30:22 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 16 16:25 Makefile 16:30:22 -rw-rw-r-- 1 jenkins jenkins 620 Mar 16 16:25 OWNERS.md 16:30:22 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 16 16:25 README.md 16:30:22 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 16:23 VERSION 16:30:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 16:25 bin 16:30:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:25 cmd 16:30:22 -rw-r--r-- 1 jenkins jenkins 18047 Mar 16 16:29 coverage.out 16:30:22 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 16 16:25 go.mod 16:30:22 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 16 16:25 go.sum 16:30:22 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 16:25 internal 16:30:22 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 16:25 mock 16:30:22 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 16:25 snap 16:30:22 -rw-rw-r-- 1 jenkins jenkins 227 Mar 16 16:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:22 + 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=bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b --label arch=arm64 --label version=0.0.0 . 16:30:22 Sending build context to Docker daemon 3.331MB 16:30:22 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 16:30:22 Step 2/24 : FROM ${BASE} AS builder 16:30:22 ---> 150bb803d763 16:30:22 Step 3/24 : ARG ADD_BUILD_TAGS="" 16:30:23 ---> Running in 70deb465cc35 16:30:23 Removing intermediate container 70deb465cc35 16:30:23 ---> b6cae742c6f5 16:30:23 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:30:23 ---> Running in eabaed6d8bb3 16:30:24 Removing intermediate container eabaed6d8bb3 16:30:24 ---> d8e1aa8c6261 16:30:24 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:30:24 ---> Running in d062892c44a2 16:30:24 Removing intermediate container d062892c44a2 16:30:24 ---> d00f4c6b6ea8 16:30:24 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 16:30:24 ---> Running in 8e281b1b6f80 16:30:24 Removing intermediate container 8e281b1b6f80 16:30:24 ---> 0f1ed931d873 16:30:24 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:30:25 ---> Running in 1f19d042d977 16:30:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:30:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:30:27 OK: 268 MiB in 57 packages 16:30:28 Removing intermediate container 1f19d042d977 16:30:28 ---> e6129d758f48 16:30:28 Step 8/24 : WORKDIR /device-mqtt-go 16:30:28 ---> Running in 07c5da7cbcc8 16:30:28 Removing intermediate container 07c5da7cbcc8 16:30:28 ---> 4d1cc0b6f490 16:30:28 Step 9/24 : COPY go.mod vendor* ./ 16:30:29 ---> e9d43f709440 16:30:29 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:30:29 ---> Running in 32e14a9d3d5b 16:30:35 Removing intermediate container 32e14a9d3d5b 16:30:35 ---> 73e90825132f 16:30:35 Step 11/24 : COPY . . 16:30:36 ---> 6b9744bf9a6c 16:30:36 Step 12/24 : RUN $MAKE 16:30:36 ---> Running in 09be70f7813d 16:30:38 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:33:00 Removing intermediate container 09be70f7813d 16:33:00 ---> ff5241760914 16:33:00 Step 13/24 : FROM alpine:3.17 16:33:00 3.17: Pulling from library/alpine 16:33:00 af6eaf76a39c: Already exists 16:33:00 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:33:00 Status: Downloaded newer image for alpine:3.17 16:33:00 ---> d74e625d9115 16:33:00 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 16:33:00 ---> Running in 0de6dc024f20 16:33:00 Removing intermediate container 0de6dc024f20 16:33:00 ---> ce624b41f5c3 16:33:00 Step 15/24 : RUN apk add --update --no-cache dumb-init 16:33:00 ---> Running in 9350419158e9 16:33:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:33:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:33:00 (1/1) Installing dumb-init (1.2.5-r2) 16:33:00 Executing busybox-1.35.0-r29.trigger 16:33:00 OK: 8 MiB in 16 packages 16:33:00 Removing intermediate container 9350419158e9 16:33:00 ---> ffb22aec7ed7 16:33:00 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 16:33:01 ---> 1f1d8da20e4d 16:33:01 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 16:33:02 ---> 3b5cbb8c8a83 16:33:02 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 16:33:02 ---> 93bf077efe9e 16:33:02 Step 19/24 : EXPOSE 59982 16:33:02 ---> Running in 0fe6475446d6 16:33:03 Removing intermediate container 0fe6475446d6 16:33:03 ---> 5b32181e59ec 16:33:03 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 16:33:03 ---> Running in 5f94200bcc3d 16:33:03 Removing intermediate container 5f94200bcc3d 16:33:03 ---> 7b1743f736c6 16:33:03 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:33:03 ---> Running in 140bddfce98f 16:33:03 Removing intermediate container 140bddfce98f 16:33:03 ---> 33d37bc40395 16:33:03 Step 22/24 : LABEL arch=arm64 16:33:03 ---> Running in 8f184d0d8772 16:33:04 Removing intermediate container 8f184d0d8772 16:33:04 ---> 2353aa989716 16:33:04 Step 23/24 : LABEL git_sha=bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b 16:33:04 ---> Running in acdc644114b3 16:33:04 Removing intermediate container acdc644114b3 16:33:04 ---> a1e38221848e 16:33:04 Step 24/24 : LABEL version=0.0.0 16:33:04 ---> Running in 9243ff28d842 16:33:04 Removing intermediate container 9243ff28d842 16:33:04 ---> ebdacf3f343c 16:33:04 [Warning] One or more build-args [ARCH] were not consumed 16:33:05 Successfully built ebdacf3f343c 16:33:05 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:33:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:33:05 16:33:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:33:05 arm64: Pulling from edgex-lftools-log-publisher 16:33:05 8998bd30e6a1: Pulling fs layer 16:33:05 04944245beec: Pulling fs layer 16:33:05 699f458cf7ca: Pulling fs layer 16:33:05 765212b225bb: Pulling fs layer 16:33:05 f23df028b6ca: Pulling fs layer 16:33:05 d65c8cfc05b1: Pulling fs layer 16:33:05 2437ff75d9bd: Pulling fs layer 16:33:05 765212b225bb: Waiting 16:33:05 f23df028b6ca: Waiting 16:33:05 d65c8cfc05b1: Waiting 16:33:05 2437ff75d9bd: Waiting 16:33:06 04944245beec: Verifying Checksum 16:33:06 04944245beec: Download complete 16:33:06 765212b225bb: Verifying Checksum 16:33:06 765212b225bb: Download complete 16:33:06 f23df028b6ca: Verifying Checksum 16:33:06 f23df028b6ca: Download complete 16:33:06 d65c8cfc05b1: Verifying Checksum 16:33:06 d65c8cfc05b1: Download complete 16:33:06 699f458cf7ca: Verifying Checksum 16:33:06 699f458cf7ca: Download complete 16:33:06 8998bd30e6a1: Verifying Checksum 16:33:06 8998bd30e6a1: Download complete 16:33:08 2437ff75d9bd: Verifying Checksum 16:33:08 2437ff75d9bd: Download complete 16:33:10 8998bd30e6a1: Pull complete 16:33:10 04944245beec: Pull complete 16:33:12 699f458cf7ca: Pull complete 16:33:12 765212b225bb: Pull complete 16:33:12 f23df028b6ca: Pull complete 16:33:13 d65c8cfc05b1: Pull complete 16:33:25 2437ff75d9bd: Pull complete 16:33:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:33:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:33:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:33:25 prd-ubuntu20.04-docker-arm64-4c-16g-2477 does not seem to be running inside a container 16:33:25 $ 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/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@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:33:28 $ docker top 2d0bf9b34c6360aa58e120167b7efc191553fe168a439744efff7015eecfd8f3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:33:29 ---> job-cost.sh 16:33:29 lf-activate-venv: SKIPPING 16:33:29 INFO: No Stack... 16:33:29 INFO: Retrieving Pricing Info for: v3-standard-4 16:33:30 INFO: Archiving Costs [Pipeline] sh 16:33:31 + cut -d, -f6 16:33:31 + cat /w/workspace/device-mqtt-go/3/archives/cost.csv [Pipeline] lock 16:33:31 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-532-3-stack-cost] 16:33:31 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-532-3-stack-cost] did not exist. Created. 16:33:31 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-532-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:33:31 /w/workspace/device-mqtt-go/3@tmp/durable-c6229668/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:33:32 + echo total: 0.10999999940395355 [Pipeline] stash 16:33:32 Warning: overwriting stash ‘stack-cost’ 16:33:32 Stashed 1 file(s) [Pipeline] } 16:33:32 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-532-3-stack-cost] [Pipeline] // lock [Pipeline] } 16:33:32 $ docker stop --time=1 2d0bf9b34c6360aa58e120167b7efc191553fe168a439744efff7015eecfd8f3 16:33:34 $ docker rm -f --volumes 2d0bf9b34c6360aa58e120167b7efc191553fe168a439744efff7015eecfd8f3 [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:33:34 provisioning config files... 16:33:34 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-532@tmp/config2586260865897380932tmp [Pipeline] { [Pipeline] sh 16:33:34 + set +x 16:33:34 + curl -s https://codecov.io/bash 16:33:34 + bash -s -- 16:33:34 16:33:34 _____ _ 16:33:34 / ____| | | 16:33:34 | | ___ __| | ___ ___ _____ __ 16:33:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:33:34 | |___| (_) | (_| | __/ (_| (_) \ V / 16:33:34 \_____\___/ \__,_|\___|\___\___/ \_/ 16:33:34 Bash-1.0.6 16:33:34 16:33:34 16:33:34 ==> git version 2.25.1 found 16:33:34 ==> 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:33:34 Release-Date: 2020-01-08 16:33:34 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:33:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:33:34 ==> Jenkins CI detected. 16:33:34 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-532 16:33:34 project root: . 16:33:34 --> token set from env 16:33:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:33:34 ==> Running gcov in . (disable via -X gcov) 16:33:34 ==> Python coveragepy not found 16:33:34 ==> Searching for coverage reports in: 16:33:34 + . 16:33:34 -> Found 1 reports 16:33:34 ==> Detecting git/mercurial file structure 16:33:34 ==> Reading reports 16:33:34 + ./coverage.out bytes=18047 16:33:34 ==> Appending adjustments 16:33:34 https://docs.codecov.io/docs/fixing-reports 16:33:35 + Found adjustments 16:33:35 ==> Gzipping contents 16:33:35 4.0K /tmp/codecov.hiLBe7.gz 16:33:35 ==> Uploading reports 16:33:35 url: https://codecov.io 16:33:35 query: branch=PR-532&commit=bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-532%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=532&job=&cmd_args= 16:33:35 -> Pinging Codecov 16:33:35 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=bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-532%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=532&job=&cmd_args= 16:33:35 -> Uploading to 16:33:35 https://storage.googleapis.com/codecov/v4/raw/2023-03-16/7D719EC7BBE17E464838252E33014C33/bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b/9e59c570-8114-43ae-babb-6967504f4af8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T163335Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3bd6852050e244d787409b56c587242bd8d36b6b7d8b32ffe80aa1f12b6bae12 16:33:35 % Total % Received % Xferd Average Speed Time Time Time Current 16:33:35 Dload Upload Total Spent Left Speed 16:33:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3149 0 0 100 3149 0 15512 --:--:-- --:--:-- --:--:-- 15436 100 3149 0 0 100 3149 0 13400 --:--:-- --:--:-- --:--:-- 13343 16:33:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/bc85d542c5cd6b8062191ebf3c62a762d1dd6b0b [Pipeline] } 16:33:35 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:33:36 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-532/archives ] 16:33:36 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-532/archives 16:33:36 total 16 16:33:36 drwxr-xr-x 3 root root 4096 Mar 16 16:25 . 16:33:36 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 16:25 .. 16:33:36 drwxr-xr-x 2 root root 4096 Mar 16 16:25 cost 16:33:36 -rw-r--r-- 1 root root 86 Mar 16 16:25 cost.csv 16:33:36 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-532/archives 16:33:36 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-532/archives 16:33:36 total 16 16:33:36 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 16:25 . 16:33:36 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 16:25 .. 16:33:36 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 16:25 cost 16:33:36 -rw-r--r-- 1 jenkins jenkins 86 Mar 16 16:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:33:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:33:37 ---> package-listing.sh 16:33:37 ++ facter osfamily 16:33:37 ++ tr '[:upper:]' '[:lower:]' 16:33:37 + OS_FAMILY=debian 16:33:37 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-532 16:33:37 + START_PACKAGES=/tmp/packages_start.txt 16:33:37 + END_PACKAGES=/tmp/packages_end.txt 16:33:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:33:37 + PACKAGES=/tmp/packages_start.txt 16:33:37 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-532 ']' 16:33:37 + PACKAGES=/tmp/packages_end.txt 16:33:37 + case "${OS_FAMILY}" in 16:33:37 + dpkg -l 16:33:37 + grep '^ii' 16:33:37 + '[' -f /tmp/packages_start.txt ']' 16:33:37 + '[' -f /tmp/packages_end.txt ']' 16:33:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:33:37 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-532 ']' 16:33:37 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-532/archives/ 16:33:37 + 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:33:37 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:33:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:33:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:33:38 prd-ubuntu20.04-docker-8c-8g-2476 does not seem to be running inside a container 16:33:38 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:33:38 $ docker top 1b1d890dea181faea98f7655a45baab5d463693292bb9c066c53ff8582b1659c -eo pid,comm [Pipeline] { [Pipeline] sh 16:33:38 + touch /tmp/pre-build-complete [Pipeline] sh 16:33:39 + mkdir -p /var/log/sysstat [Pipeline] sh 16:33:39 + ls /var/log/sa-host 16:33:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:33:39 provisioning config files... 16:33:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-532@tmp/config5112831058846132196tmp [Pipeline] { [Pipeline] echo 16:33:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:33:39 ---> create-netrc.sh [Pipeline] } 16:33:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:33:40 ---> python-tools-install.sh [Pipeline] echo 16:33:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:33:40 ---> sudo-logs.sh 16:33:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:33:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:33:40 ---> job-cost.sh 16:33:40 lf-activate-venv: SKIPPING 16:33:40 DEBUG: total: 0.2199999988079071 16:33:40 INFO: Retrieving Stack Cost... 16:33:41 INFO: Retrieving Pricing Info for: v3-standard-8 16:33:41 INFO: Archiving Costs [Pipeline] echo 16:33:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:33:41 ---> logs-deploy.sh 16:33:41 lf-activate-venv: SKIPPING 16:33:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-532/3 16:33:41 INFO: archiving workspace using pattern(s): 16:33:42 Archives upload complete. 16:33:42 INFO: archiving logs to Nexus