Pull request #575 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b949b0bab75a809025d73d91052ff423c94fb163+5b2c861b7985e68cc74183010c56eea75d87e84b (51d6107389eecf865156167787d63954d31c698e) 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-ssh6480555794302296560.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh1037952622592753887.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-575/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-575/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7423712920352357053.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh8042889941660969555.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-575/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-575/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11523149719612788271.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9458’ Running on prd-ubuntu20.04-docker-8c-8g-9459 in /w/workspace/gexfoundry_device-mqtt-go_PR-575 [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-575 # 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/575/head:refs/remotes/origin/PR-575 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5b2c861b7985e68cc74183010c56eea75d87e84b into PR head commit b949b0bab75a809025d73d91052ff423c94fb163 Merge succeeded, producing b949b0bab75a809025d73d91052ff423c94fb163 Checking out Revision b949b0bab75a809025d73d91052ff423c94fb163 (PR-575) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:34:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:34:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:34:06 ========================================================= 02:34:06 EdgeX Global Pipelines Version Info 02:34:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f b949b0bab75a809025d73d91052ff423c94fb163 # 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 5b2c861b7985e68cc74183010c56eea75d87e84b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b949b0bab75a809025d73d91052ff423c94fb163 # timeout=10 > git rev-list --no-walk 570e87e0558778374474c0216c27cd7d1f7897c5 # timeout=10 02:34:07 ------------------- 02:34:07 stable info: 02:34:07 ------------------- 02:34:07 Commited By: Bill Mahoney bill.mahoney@intel.com 02:34:07 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:34:07 Message: update stable to v1.0.248 02:34:07 ------------------- 02:34:07 experimental info: 02:34:07 ------------------- 02:34:07 Commited By: **** collab-it+edgex@linuxfoundation.org 02:34:07 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 02:34:07 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-575 [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-575 [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-575 [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b949b0bab75a809025d73d91052ff423c94fb163 [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b949b0b [Pipeline] echo 02:34:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:34:08 provisioning config files... 02:34:08 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/config8192770110809531235tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:34:08 ---> docker-login.sh 02:34:08 nexus3.edgexfoundry.org:10001 02:34:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:09 Configure a credential helper to remove this warning. See 02:34:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:09 02:34:09 Login Succeeded 02:34:09 nexus3.edgexfoundry.org:10002 02:34:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:09 Configure a credential helper to remove this warning. See 02:34:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:09 02:34:09 Login Succeeded 02:34:09 nexus3.edgexfoundry.org:10003 02:34:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:09 Configure a credential helper to remove this warning. See 02:34:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:09 02:34:09 Login Succeeded 02:34:09 nexus3.edgexfoundry.org:10004 02:34:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:09 Configure a credential helper to remove this warning. See 02:34:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:09 02:34:09 Login Succeeded 02:34:09 docker.io 02:34:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:09 Configure a credential helper to remove this warning. See 02:34:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:09 02:34:09 Login Succeeded 02:34:09 ---> docker-login.sh ends [Pipeline] } 02:34:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:34:10 + git rev-list -1 --merges b949b0bab75a809025d73d91052ff423c94fb163~1..b949b0bab75a809025d73d91052ff423c94fb163 [Pipeline] echo 02:34:10 -----------> git rev-list -1 --merges b949b0bab75a809025d73d91052ff423c94fb163~1..b949b0bab75a809025d73d91052ff423c94fb163 b949b0bab75a809025d73d91052ff423c94fb163 [false] [Pipeline] sh 02:34:10 + git log --format=format:%s -1 b949b0bab75a809025d73d91052ff423c94fb163 [Pipeline] echo 02:34:10 ========================================================= 02:34:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:34:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:34:11 + git log --format=format:%s -1 b949b0bab75a809025d73d91052ff423c94fb163 [Pipeline] echo 02:34:11 [semverPrep] GIT_COMMIT: b949b0bab75a809025d73d91052ff423c94fb163, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 02:34:11 [semverPrep] This is not a build commit. [Pipeline] sh 02:34:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:34:11 + grep -v github /etc/ssh/ssh_known_hosts 02:34:11 + [ -e /tmp/ssh_known_hosts ] 02:34:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:34:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:34:11 + sudo tee -a /etc/ssh/ssh_known_hosts 02:34:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:34:11 02:34:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:34:12 0.1.4: Pulling from edgex-devops/py-git-semver 02:34:12 b85a868b505f: Pulling fs layer 02:34:12 e2be974225ed: Pulling fs layer 02:34:12 339a4e72a1f5: Pulling fs layer 02:34:12 988bab9f4d93: Pulling fs layer 02:34:12 1469e6f7b9e6: Pulling fs layer 02:34:12 eaf3925da568: Pulling fs layer 02:34:12 bab4dde63d76: Pulling fs layer 02:34:12 bde34c3a00c8: Pulling fs layer 02:34:12 b352a97aabf1: Pulling fs layer 02:34:12 4872d77fe225: Pulling fs layer 02:34:12 5851b861e8e6: Pulling fs layer 02:34:12 988bab9f4d93: Waiting 02:34:12 bab4dde63d76: Waiting 02:34:12 5851b861e8e6: Waiting 02:34:12 bde34c3a00c8: Waiting 02:34:12 1469e6f7b9e6: Waiting 02:34:12 b352a97aabf1: Waiting 02:34:12 4872d77fe225: Waiting 02:34:12 eaf3925da568: Waiting 02:34:12 e2be974225ed: Verifying Checksum 02:34:12 e2be974225ed: Download complete 02:34:12 988bab9f4d93: Verifying Checksum 02:34:12 988bab9f4d93: Download complete 02:34:12 1469e6f7b9e6: Download complete 02:34:12 eaf3925da568: Download complete 02:34:12 339a4e72a1f5: Verifying Checksum 02:34:12 339a4e72a1f5: Download complete 02:34:12 bde34c3a00c8: Verifying Checksum 02:34:12 bde34c3a00c8: Download complete 02:34:12 b352a97aabf1: Download complete 02:34:12 4872d77fe225: Verifying Checksum 02:34:12 4872d77fe225: Download complete 02:34:12 5851b861e8e6: Download complete 02:34:12 b85a868b505f: Verifying Checksum 02:34:12 b85a868b505f: Download complete 02:34:12 bab4dde63d76: Verifying Checksum 02:34:12 bab4dde63d76: Download complete 02:34:13 b85a868b505f: Pull complete 02:34:13 e2be974225ed: Pull complete 02:34:14 339a4e72a1f5: Pull complete 02:34:14 988bab9f4d93: Pull complete 02:34:14 1469e6f7b9e6: Pull complete 02:34:14 eaf3925da568: Pull complete 02:34:16 bab4dde63d76: Pull complete 02:34:16 bde34c3a00c8: Pull complete 02:34:16 b352a97aabf1: Pull complete 02:34:16 4872d77fe225: Pull complete 02:34:16 5851b861e8e6: Pull complete 02:34:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:34:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:34:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:34:16 prd-ubuntu20.04-docker-8c-8g-9459 does not seem to be running inside a container 02:34:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-575 -v /w/workspace/gexfoundry_device-mqtt-go_PR-575:/w/workspace/gexfoundry_device-mqtt-go_PR-575:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-575@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 02:34:20 $ docker top 5f86dcd519a55522f43b3d182ba8454a5c91a2d41778e9c2134bfb7fae661b18 -eo pid,comm 02:34:20 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). 02:34:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:34:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:34:20 [ssh-agent] Looking for ssh-agent implementation... 02:34:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:34:20 $ docker exec 5f86dcd519a55522f43b3d182ba8454a5c91a2d41778e9c2134bfb7fae661b18 ssh-agent 02:34:20 SSH_AUTH_SOCK=/tmp/ssh-jJX8m3I5Fz8s/agent.31 02:34:20 SSH_AGENT_PID=37 02:34:21 Running ssh-add (command line suppressed) 02:34:21 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/private_key_13519488534543224319.key (/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/private_key_13519488534543224319.key) 02:34:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:34:21 + git tag --points-at HEAD [Pipeline] } 02:34:21 $ docker exec --env ******** --env ******** 5f86dcd519a55522f43b3d182ba8454a5c91a2d41778e9c2134bfb7fae661b18 ssh-agent -k 02:34:21 unset SSH_AUTH_SOCK; 02:34:21 unset SSH_AGENT_PID; 02:34:21 echo Agent pid 37 killed; 02:34:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:34:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:34:21 [ssh-agent] Looking for ssh-agent implementation... 02:34:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:34:21 $ docker exec 5f86dcd519a55522f43b3d182ba8454a5c91a2d41778e9c2134bfb7fae661b18 ssh-agent 02:34:21 SSH_AUTH_SOCK=/tmp/ssh-Dj9WQIL2aPMK/agent.69 02:34:21 SSH_AGENT_PID=75 02:34:21 Running ssh-add (command line suppressed) 02:34:21 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/private_key_14300416851837447192.key (/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/private_key_14300416851837447192.key) 02:34:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:34:22 + git semver init 02:34:22 2023-04-24 02:34:22,366 [run_init] DEBUG init version:0.0.0 force:False 02:34:22 2023-04-24 02:34:22,368 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver 02:34:22 2023-04-24 02:34:22,369 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver 02:34:22 2023-04-24 02:34:22,370 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-575, universal_newlines=False, shell=None, istream=None) 02:34:23 2023-04-24 02:34:23,165 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-575/.git/info/exclude 02:34:23 2023-04-24 02:34:23,166 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver/PR-575 with force:False 02:34:23 2023-04-24 02:34:23,166 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver/PR-575 02:34:23 2023-04-24 02:34:23,170 [execute] INFO git cat-file --batch-check 02:34:23 2023-04-24 02:34:23,171 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver, universal_newlines=False, shell=None, istream=) 02:34:23 2023-04-24 02:34:23,176 [execute] INFO git cat-file --batch 02:34:23 2023-04-24 02:34:23,177 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver, universal_newlines=False, shell=None, istream=) 02:34:23 2023-04-24 02:34:23,181 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver/PR-575 02:34:23 0.0.0 [Pipeline] } 02:34:23 $ docker exec --env ******** --env ******** 5f86dcd519a55522f43b3d182ba8454a5c91a2d41778e9c2134bfb7fae661b18 ssh-agent -k 02:34:23 unset SSH_AUTH_SOCK; 02:34:23 unset SSH_AGENT_PID; 02:34:23 echo Agent pid 75 killed; 02:34:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:34:23 + git semver [Pipeline] } 02:34:24 $ docker stop --time=1 5f86dcd519a55522f43b3d182ba8454a5c91a2d41778e9c2134bfb7fae661b18 02:34:25 $ docker rm -f --volumes 5f86dcd519a55522f43b3d182ba8454a5c91a2d41778e9c2134bfb7fae661b18 [Pipeline] // withDockerContainer [Pipeline] sh 02:34:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:34:26 Stashed 1 file(s) [Pipeline] echo 02:34:26 [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 02:34:26 provisioning config files... 02:34:26 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/config6455427519130575605tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:34:26 ---> docker-login.sh 02:34:26 nexus3.edgexfoundry.org:10001 02:34:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:26 Configure a credential helper to remove this warning. See 02:34:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:26 02:34:26 Login Succeeded 02:34:26 nexus3.edgexfoundry.org:10002 02:34:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:26 Configure a credential helper to remove this warning. See 02:34:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:26 02:34:26 Login Succeeded 02:34:26 nexus3.edgexfoundry.org:10003 02:34:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:26 Configure a credential helper to remove this warning. See 02:34:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:26 02:34:26 Login Succeeded 02:34:26 nexus3.edgexfoundry.org:10004 02:34:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:26 Configure a credential helper to remove this warning. See 02:34:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:26 02:34:26 Login Succeeded 02:34:26 docker.io 02:34:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:34:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:34:27 Configure a credential helper to remove this warning. See 02:34:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:34:27 02:34:27 Login Succeeded 02:34:27 ---> docker-login.sh ends [Pipeline] } 02:34:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:34:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:34:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:34:27 ========================================================= 02:34:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:34:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:34:27 + 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 . 02:34:27 Sending build context to Docker daemon 6.477MB 02:34:27 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:34:27 Step 2/12 : FROM ${BASE} AS builder 02:34:27 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:34:27 63b65145d645: Pulling fs layer 02:34:27 a2d21d5440eb: Pulling fs layer 02:34:27 935e6c44a52c: Pulling fs layer 02:34:27 94cc34f8dd06: Pulling fs layer 02:34:27 30dea6a524f1: Pulling fs layer 02:34:27 a2aff8979fd8: Pulling fs layer 02:34:27 6808be2612f2: Pulling fs layer 02:34:27 f25807f1079a: Pulling fs layer 02:34:27 94cc34f8dd06: Waiting 02:34:27 a2aff8979fd8: Waiting 02:34:27 6808be2612f2: Waiting 02:34:27 30dea6a524f1: Waiting 02:34:27 a2d21d5440eb: Verifying Checksum 02:34:27 a2d21d5440eb: Download complete 02:34:27 94cc34f8dd06: Verifying Checksum 02:34:27 94cc34f8dd06: Download complete 02:34:27 30dea6a524f1: Verifying Checksum 02:34:27 30dea6a524f1: Download complete 02:34:27 63b65145d645: Verifying Checksum 02:34:27 63b65145d645: Download complete 02:34:27 a2aff8979fd8: Verifying Checksum 02:34:27 a2aff8979fd8: Download complete 02:34:27 63b65145d645: Pull complete 02:34:27 a2d21d5440eb: Pull complete 02:34:27 f25807f1079a: Verifying Checksum 02:34:27 f25807f1079a: Download complete 02:34:28 935e6c44a52c: Verifying Checksum 02:34:28 935e6c44a52c: Download complete 02:34:28 6808be2612f2: Verifying Checksum 02:34:28 6808be2612f2: Download complete 02:34:31 935e6c44a52c: Pull complete 02:34:32 94cc34f8dd06: Pull complete 02:34:32 30dea6a524f1: Pull complete 02:34:32 a2aff8979fd8: Pull complete 02:34:34 6808be2612f2: Pull complete 02:34:35 f25807f1079a: Pull complete 02:34:35 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 02:34:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:34:35 ---> 3b553350e43f 02:34:35 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:34:41 Still waiting to schedule task 02:34:41 ‘prd-ubuntu20.04-docker-arm64-4c-16g-9460’ is offline 02:34:50 ---> Running in bd7c1b7d1728 02:34:50 Removing intermediate container bd7c1b7d1728 02:34:50 ---> f47c78c7c36d 02:34:50 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:34:50 ---> Running in 9c9049f17119 02:34:50 Removing intermediate container 9c9049f17119 02:34:50 ---> d554ab2a7499 02:34:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:34:50 ---> Running in 9eed5aab802d 02:34:50 Removing intermediate container 9eed5aab802d 02:34:50 ---> 60a19d79f9e3 02:34:50 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:34:50 ---> Running in b2ed81346f8c 02:34:50 Removing intermediate container b2ed81346f8c 02:34:50 ---> 2c45817fe79a 02:34:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:34:50 ---> Running in 63357815cf37 02:34:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:34:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:34:50 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:34:50 (2/4) Installing libedit (20221030.3.1-r0) 02:34:50 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:34:50 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:34:50 Executing busybox-1.35.0-r29.trigger 02:34:50 OK: 269 MiB in 57 packages 02:34:51 Removing intermediate container 63357815cf37 02:34:51 ---> 68dae6088974 02:34:51 Step 8/12 : WORKDIR /device-mqtt-go 02:34:51 ---> Running in 1b686d36eb43 02:34:51 Removing intermediate container 1b686d36eb43 02:34:51 ---> 2de00a76e8d0 02:34:51 Step 9/12 : COPY go.mod vendor* ./ 02:34:51 ---> 8b6e0904900c 02:34:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:34:51 ---> Running in 4d7a657b263c 02:35:30 Removing intermediate container 4d7a657b263c 02:35:30 ---> 5456a5bf9194 02:35:30 Step 11/12 : COPY . . 02:35:30 ---> 29966c874c93 02:35:30 Step 12/12 : RUN $MAKE 02:35:30 ---> Running in 8208bab9f541 02:35:30 noop 02:35:30 Removing intermediate container 8208bab9f541 02:35:30 ---> 7f1680387a97 02:35:30 Successfully built 7f1680387a97 02:35:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:30 + docker inspect -f . ci-base-image-x86_64 02:35:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:35:30 prd-ubuntu20.04-docker-8c-8g-9459 does not seem to be running inside a container 02:35:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-575 -v /w/workspace/gexfoundry_device-mqtt-go_PR-575:/w/workspace/gexfoundry_device-mqtt-go_PR-575:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-575@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 02:35:31 $ docker top ba06a56f203fdbab1d860feaf597848f83fc28acafad466e81e5b110f0f8fd79 -eo pid,comm [Pipeline] { [Pipeline] sh 02:35:31 + go version 02:35:31 go version go1.20.2 linux/amd64 [Pipeline] } 02:35:31 $ docker stop --time=1 ba06a56f203fdbab1d860feaf597848f83fc28acafad466e81e5b110f0f8fd79 02:35:32 $ docker rm -f --volumes ba06a56f203fdbab1d860feaf597848f83fc28acafad466e81e5b110f0f8fd79 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:35:33 + docker inspect -f . ci-base-image-x86_64 02:35:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:35:33 prd-ubuntu20.04-docker-8c-8g-9459 does not seem to be running inside a container 02:35:33 $ 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-575 -v /w/workspace/gexfoundry_device-mqtt-go_PR-575:/w/workspace/gexfoundry_device-mqtt-go_PR-575:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-575@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 02:35:33 $ docker top a1c1ea83f52463008a566ed7de685ebb2093e6cd4900b25eec7b7376172a6638 -eo pid,comm [Pipeline] { [Pipeline] sh 02:35:33 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-575 [Pipeline] fileExists [Pipeline] sh 02:35:34 + make test 02:35:34 go test ./... -coverprofile=coverage.out ./... 02:35:38 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:35:48 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:35:48 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:35:48 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 21.9% of statements 02:35:53 go vet ./... 02:35:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:35:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:35:56 ./bin/test-attribution-txt.sh [Pipeline] echo 02:35:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:35:56 $ docker stop --time=1 a1c1ea83f52463008a566ed7de685ebb2093e6cd4900b25eec7b7376172a6638 02:36:04 $ docker rm -f --volumes a1c1ea83f52463008a566ed7de685ebb2093e6cd4900b25eec7b7376172a6638 [Pipeline] // withDockerContainer [Pipeline] sh 02:36:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:36:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:36:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:36:05 + ls -al . 02:36:05 total 180 02:36:05 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 02:35 . 02:36:05 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 02:34 .. 02:36:05 -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 02:34 .dockerignore 02:36:05 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 02:34 .git 02:36:05 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 02:34 .github 02:36:05 -rw-rw-r-- 1 jenkins jenkins 329 Apr 24 02:34 .gitignore 02:36:05 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 02:34 .golangci.yml 02:36:05 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 02:34 .semver 02:36:05 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 24 02:34 Attribution.txt 02:36:05 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 24 02:34 CHANGELOG.md 02:36:05 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 24 02:34 Dockerfile 02:36:05 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 02:34 GOVERNANCE.md 02:36:05 -rw-rw-r-- 1 jenkins jenkins 678 Apr 24 02:34 Jenkinsfile 02:36:05 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 02:34 LICENSE 02:36:05 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 24 02:34 Makefile 02:36:05 -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 02:34 OWNERS.md 02:36:05 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 24 02:34 README.md 02:36:05 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 02:34 VERSION 02:36:05 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 02:34 bin 02:36:05 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 02:34 cmd 02:36:05 -rw-r--r-- 1 jenkins jenkins 18460 Apr 24 02:35 coverage.out 02:36:05 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 24 02:34 go.mod 02:36:05 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 24 02:34 go.sum 02:36:05 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 02:34 internal 02:36:05 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 02:34 mock 02:36:05 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 02:34 snap 02:36:05 -rw-rw-r-- 1 jenkins jenkins 227 Apr 24 02:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:05 + 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=b949b0bab75a809025d73d91052ff423c94fb163 --label arch=amd64 --label version=0.0.0 . 02:36:05 Sending build context to Docker daemon 6.496MB 02:36:05 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:36:05 Step 2/24 : FROM ${BASE} AS builder 02:36:05 ---> 7f1680387a97 02:36:05 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:36:06 ---> Running in ce12a87530d6 02:36:06 Removing intermediate container ce12a87530d6 02:36:06 ---> f31ff00646be 02:36:06 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:36:07 ---> Running in cc6877717772 02:36:07 Removing intermediate container cc6877717772 02:36:07 ---> f6a2bc746036 02:36:07 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:36:08 ---> Running in c2f369cfea7e 02:36:08 Removing intermediate container c2f369cfea7e 02:36:08 ---> 3de7544bd9c2 02:36:08 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:36:08 ---> Running in 6c08820c8aaa 02:36:08 Removing intermediate container 6c08820c8aaa 02:36:08 ---> 69e4350056f4 02:36:08 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:36:09 ---> Running in 928b049c7862 02:36:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:36:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:36:10 OK: 269 MiB in 57 packages 02:36:11 Removing intermediate container 928b049c7862 02:36:11 ---> 317618311871 02:36:11 Step 8/24 : WORKDIR /device-mqtt-go 02:36:11 ---> Running in 3b751e23c4be 02:36:12 Removing intermediate container 3b751e23c4be 02:36:12 ---> 9105176907ac 02:36:12 Step 9/24 : COPY go.mod vendor* ./ 02:36:13 ---> 3b7b012232e2 02:36:13 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:36:13 ---> Running in f2b72180ee8f 02:36:15 Removing intermediate container f2b72180ee8f 02:36:15 ---> c26248c7b760 02:36:15 Step 11/24 : COPY . . 02:36:16 ---> 20e78cc5df8a 02:36:16 Step 12/24 : RUN $MAKE 02:36:16 ---> Running in 1bc7a2382cc9 02:36:17 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 02:36:39 Removing intermediate container 1bc7a2382cc9 02:36:39 ---> 3ee49869606a 02:36:39 Step 13/24 : FROM alpine:3.17 02:36:39 3.17: Pulling from library/alpine 02:36:39 f56be85fc22e: Pulling fs layer 02:36:39 f56be85fc22e: Download complete 02:36:39 f56be85fc22e: Pull complete 02:36:39 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:36:39 Status: Downloaded newer image for alpine:3.17 02:36:39 ---> 9ed4aefc74f6 02:36:39 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:36:39 ---> Running in e02f2174be18 02:36:39 Removing intermediate container e02f2174be18 02:36:39 ---> 8e2efae08e67 02:36:39 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:36:39 ---> Running in 8a9b0eacb750 02:36:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:36:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:36:39 (1/1) Installing dumb-init (1.2.5-r2) 02:36:39 Executing busybox-1.35.0-r29.trigger 02:36:39 OK: 7 MiB in 16 packages 02:36:39 Removing intermediate container 8a9b0eacb750 02:36:39 ---> f90f0b31ebb0 02:36:39 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:36:39 ---> ad5ad67e9119 02:36:39 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:36:39 ---> 8884f4351224 02:36:39 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:36:39 ---> e74d074588af 02:36:39 Step 19/24 : EXPOSE 59982 02:36:39 ---> Running in 8bea8b657be4 02:36:39 Removing intermediate container 8bea8b657be4 02:36:39 ---> d10711ee4b90 02:36:39 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:36:39 ---> Running in 0aff49a0f671 02:36:40 Removing intermediate container 0aff49a0f671 02:36:40 ---> 5ac38978c2ed 02:36:40 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:36:40 ---> Running in da5e3a857485 02:36:40 Removing intermediate container da5e3a857485 02:36:40 ---> 3ff998792f04 02:36:40 Step 22/24 : LABEL arch=amd64 02:36:40 ---> Running in f3e4f921302d 02:36:40 Removing intermediate container f3e4f921302d 02:36:40 ---> dec5be7761cb 02:36:40 Step 23/24 : LABEL git_sha=b949b0bab75a809025d73d91052ff423c94fb163 02:36:40 ---> Running in 7941fc7394e2 02:36:40 Removing intermediate container 7941fc7394e2 02:36:40 ---> 0b2e8f10adab 02:36:40 Step 24/24 : LABEL version=0.0.0 02:36:40 ---> Running in 27559ff77293 02:36:40 Removing intermediate container 27559ff77293 02:36:40 ---> 43a6f99bd718 02:36:40 [Warning] One or more build-args [ARCH] were not consumed 02:36:40 Successfully built 43a6f99bd718 02:36:40 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 02:36:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:36:40 02:36:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:36:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:36:41 latest: Pulling from edgex-lftools-log-publisher 02:36:41 5eb5b503b376: Pulling fs layer 02:36:41 5c69ac0246d0: Pulling fs layer 02:36:41 ec43610c2a17: Pulling fs layer 02:36:41 3a2ae6a8a46f: Pulling fs layer 02:36:41 33b1e0a273af: Pulling fs layer 02:36:41 5d3b04190fa2: Pulling fs layer 02:36:41 2f39f015ded8: Pulling fs layer 02:36:41 33b1e0a273af: Waiting 02:36:41 2f39f015ded8: Waiting 02:36:41 5d3b04190fa2: Waiting 02:36:41 3a2ae6a8a46f: Waiting 02:36:41 5c69ac0246d0: Download complete 02:36:41 3a2ae6a8a46f: Download complete 02:36:41 33b1e0a273af: Verifying Checksum 02:36:41 33b1e0a273af: Download complete 02:36:41 ec43610c2a17: Verifying Checksum 02:36:41 ec43610c2a17: Download complete 02:36:41 5d3b04190fa2: Verifying Checksum 02:36:41 5d3b04190fa2: Download complete 02:36:41 5eb5b503b376: Verifying Checksum 02:36:41 5eb5b503b376: Download complete 02:36:41 2f39f015ded8: Download complete 02:36:42 5eb5b503b376: Pull complete 02:36:42 5c69ac0246d0: Pull complete 02:36:43 ec43610c2a17: Pull complete 02:36:43 3a2ae6a8a46f: Pull complete 02:36:43 33b1e0a273af: Pull complete 02:36:43 5d3b04190fa2: Pull complete 02:36:47 2f39f015ded8: Pull complete 02:36:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:36:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:36:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:36:48 prd-ubuntu20.04-docker-8c-8g-9459 does not seem to be running inside a container 02:36:48 $ 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-575 -v /w/workspace/gexfoundry_device-mqtt-go_PR-575:/w/workspace/gexfoundry_device-mqtt-go_PR-575:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-575@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 02:36:49 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9462 in /w/workspace/gexfoundry_device-mqtt-go_PR-575 02:36:54 $ docker top b0cae1d9cbfc43b4fbdb39161e695738563e94a0ab6d68d67edb125690a7f940 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 02:36:54 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 02:36:54 Selected Git installation does not exist. Using Default 02:36:54 The recommended git tool is: NONE 02:36:54 ---> job-cost.sh 02:36:54 lf-activate-venv: SKIPPING 02:36:54 INFO: No Stack... 02:36:55 INFO: Retrieving Pricing Info for: v3-standard-8 02:36:55 INFO: Archiving Costs [Pipeline] sh 02:36:56 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-575/archives/cost.csv 02:36:56 + cut -d, -f6 [Pipeline] lock 02:36:56 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-575-2-stack-cost] 02:36:56 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-575-2-stack-cost] did not exist. Created. 02:36:56 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-575-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:36:56 + echo total: 0.2199999988079071 [Pipeline] stash 02:36:56 Stashed 1 file(s) [Pipeline] } 02:36:56 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-575-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:36:56 $ docker stop --time=1 b0cae1d9cbfc43b4fbdb39161e695738563e94a0ab6d68d67edb125690a7f940 02:36:57 $ docker rm -f --volumes b0cae1d9cbfc43b4fbdb39161e695738563e94a0ab6d68d67edb125690a7f940 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:37:00 using credential edgex-jenkins-ssh 02:37:00 Cloning the remote Git repository 02:37:00 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:37:00 > git init /w/workspace/device-mqtt-go/2 # timeout=10 02:37:00 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:37:00 > git --version # timeout=10 02:37:00 > git --version # 'git version 2.25.1' 02:37:00 using GIT_SSH to set credentials SSH Credentials for GitHub 02:37:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:37:01 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:37:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:37:03 Merging remotes/origin/main commit 5b2c861b7985e68cc74183010c56eea75d87e84b into PR head commit b949b0bab75a809025d73d91052ff423c94fb163 02:37:02 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:37:02 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:37:02 using GIT_SSH to set credentials SSH Credentials for GitHub 02:37:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/575/head:refs/remotes/origin/PR-575 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:37:03 > git config core.sparsecheckout # timeout=10 02:37:03 > git checkout -f b949b0bab75a809025d73d91052ff423c94fb163 # timeout=10 02:37:03 Merge succeeded, producing b949b0bab75a809025d73d91052ff423c94fb163 02:37:03 Checking out Revision b949b0bab75a809025d73d91052ff423c94fb163 (PR-575) 02:37:04 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:37:03 > git remote # timeout=10 02:37:03 > git config --get remote.origin.url # timeout=10 02:37:03 using GIT_SSH to set credentials SSH Credentials for GitHub 02:37:03 > git merge 5b2c861b7985e68cc74183010c56eea75d87e84b # timeout=10 02:37:03 > git rev-parse HEAD^{commit} # timeout=10 02:37:03 > git config core.sparsecheckout # timeout=10 02:37:03 > git checkout -f b949b0bab75a809025d73d91052ff423c94fb163 # timeout=10 02:37:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:37:05 % Total % Received % Xferd Average Speed Time Time Time Current 02:37:05 Dload Upload Total Spent Left Speed 02:37:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 230k 0 --:--:-- --:--:-- --:--:-- 230k [Pipeline] sh 02:37:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:37:06 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:37:06 + sudo tee /etc/docker/daemon.new 02:37:06 { 02:37:06 "registry-mirrors": [ 02:37:06 "https://nexus3.edgexfoundry.org:10001" 02:37:06 ], 02:37:06 "bip": "10.250.0.254/24", 02:37:06 "hosts": [ 02:37:06 "tcp://0.0.0.0:5555", 02:37:06 "unix:///var/run/docker.sock" 02:37:06 ], 02:37:06 "mtu": 1458, 02:37:06 "selinux-enabled": true, 02:37:06 "seccomp-profile": "/etc/docker/seccomp.json" 02:37:06 } [Pipeline] sh 02:37:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:37:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:37:25 provisioning config files... 02:37:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config1125449775321347513tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:37:25 ---> docker-login.sh 02:37:25 nexus3.edgexfoundry.org:10001 02:37:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:26 Configure a credential helper to remove this warning. See 02:37:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:26 02:37:26 Login Succeeded 02:37:26 nexus3.edgexfoundry.org:10002 02:37:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:26 Configure a credential helper to remove this warning. See 02:37:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:26 02:37:26 Login Succeeded 02:37:26 nexus3.edgexfoundry.org:10003 02:37:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:27 Configure a credential helper to remove this warning. See 02:37:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:27 02:37:27 Login Succeeded 02:37:27 nexus3.edgexfoundry.org:10004 02:37:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:27 Configure a credential helper to remove this warning. See 02:37:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:27 02:37:27 Login Succeeded 02:37:27 docker.io 02:37:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:37:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:37:28 Configure a credential helper to remove this warning. See 02:37:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:37:28 02:37:28 Login Succeeded 02:37:28 ---> docker-login.sh ends [Pipeline] } 02:37:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:37:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:37:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:37:28 ========================================================= 02:37:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:37:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:37:28 + 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 . 02:37:29 Sending build context to Docker daemon 3.362MB 02:37:29 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:37:29 Step 2/12 : FROM ${BASE} AS builder 02:37:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:37:29 af6eaf76a39c: Pulling fs layer 02:37:29 55522c791124: Pulling fs layer 02:37:29 ce5c4a1c91eb: Pulling fs layer 02:37:29 169dfbe0d373: Pulling fs layer 02:37:29 e1ff8fa3b103: Pulling fs layer 02:37:29 52ebb69f0ebf: Pulling fs layer 02:37:29 5abe8eddf0d5: Pulling fs layer 02:37:29 e1ff8fa3b103: Waiting 02:37:29 52ebb69f0ebf: Waiting 02:37:29 5abe8eddf0d5: Waiting 02:37:29 169dfbe0d373: Waiting 02:37:29 55522c791124: Verifying Checksum 02:37:29 55522c791124: Download complete 02:37:29 169dfbe0d373: Verifying Checksum 02:37:29 169dfbe0d373: Download complete 02:37:29 e1ff8fa3b103: Verifying Checksum 02:37:29 e1ff8fa3b103: Download complete 02:37:29 af6eaf76a39c: Verifying Checksum 02:37:29 af6eaf76a39c: Download complete 02:37:30 5abe8eddf0d5: Verifying Checksum 02:37:30 5abe8eddf0d5: Download complete 02:37:30 af6eaf76a39c: Pull complete 02:37:31 55522c791124: Pull complete 02:37:32 ce5c4a1c91eb: Verifying Checksum 02:37:32 ce5c4a1c91eb: Download complete 02:37:32 52ebb69f0ebf: Verifying Checksum 02:37:32 52ebb69f0ebf: Download complete 02:37:44 ce5c4a1c91eb: Pull complete 02:37:44 169dfbe0d373: Pull complete 02:37:44 e1ff8fa3b103: Pull complete 02:37:51 52ebb69f0ebf: Pull complete 02:37:53 5abe8eddf0d5: Pull complete 02:37:53 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 02:37:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:37:53 ---> 6cb57ee374ae 02:37:53 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:37:55 ---> Running in 272ba1a82329 02:37:55 Removing intermediate container 272ba1a82329 02:37:55 ---> fe3036233e49 02:37:55 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:37:55 ---> Running in 0ae87a3d60b7 02:37:55 Removing intermediate container 0ae87a3d60b7 02:37:55 ---> df305725b0d9 02:37:55 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:37:56 ---> Running in 5d0c324754f9 02:37:56 Removing intermediate container 5d0c324754f9 02:37:56 ---> 9ffd48f6f5ac 02:37:56 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:37:56 ---> Running in 8fc773f9a12e 02:37:56 Removing intermediate container 8fc773f9a12e 02:37:56 ---> cc20866c8471 02:37:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:37:56 ---> Running in 8e8b4e440ee3 02:37:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:37:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:37:59 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:37:59 (2/4) Installing libedit (20221030.3.1-r0) 02:37:59 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:37:59 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:37:59 Executing busybox-1.35.0-r29.trigger 02:37:59 OK: 268 MiB in 57 packages 02:38:02 Removing intermediate container 8e8b4e440ee3 02:38:02 ---> 3c8493e3f960 02:38:02 Step 8/12 : WORKDIR /device-mqtt-go 02:38:02 ---> Running in 0c8d8218f1e7 02:38:02 Removing intermediate container 0c8d8218f1e7 02:38:02 ---> 8774f9adad6e 02:38:02 Step 9/12 : COPY go.mod vendor* ./ 02:38:03 ---> 8a5fa8e9f4cc 02:38:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:38:03 ---> Running in 321d59127197 02:39:11 Removing intermediate container 321d59127197 02:39:11 ---> 94714f57d325 02:39:11 Step 11/12 : COPY . . 02:39:11 ---> 48534d8c68a4 02:39:11 Step 12/12 : RUN $MAKE 02:39:11 ---> Running in 1be09e7b9cdb 02:39:11 noop 02:39:11 Removing intermediate container 1be09e7b9cdb 02:39:11 ---> d53f6c48395a 02:39:11 Successfully built d53f6c48395a 02:39:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:11 + docker inspect -f . ci-base-image-arm64 02:39:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:11 prd-ubuntu20.04-docker-arm64-4c-16g-9462 does not seem to be running inside a container 02:39:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:39:13 $ docker top 753fb3ac4e0a34561e16e3bc306323a7d0bcca8b66e99e37fbd023bfa0cc4a1f -eo pid,comm [Pipeline] { [Pipeline] sh 02:39:14 + go version 02:39:14 go version go1.20.2 linux/arm64 [Pipeline] } 02:39:14 $ docker stop --time=1 753fb3ac4e0a34561e16e3bc306323a7d0bcca8b66e99e37fbd023bfa0cc4a1f 02:39:15 $ docker rm -f --volumes 753fb3ac4e0a34561e16e3bc306323a7d0bcca8b66e99e37fbd023bfa0cc4a1f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:39:16 + docker inspect -f . ci-base-image-arm64 02:39:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:39:16 prd-ubuntu20.04-docker-arm64-4c-16g-9462 does not seem to be running inside a container 02:39:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:39:18 $ docker top 5f1e83c1a288401cbf10b3d31b6544baae99b29168e25c8b57a376cf4bfbe5fb -eo pid,comm [Pipeline] { [Pipeline] sh 02:39:18 + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh 02:39:19 + make test 02:39:19 go test ./... -coverprofile=coverage.out ./... 02:39:58 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:42:05 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:42:05 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:42:05 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.077s coverage: 21.9% of statements 02:42:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:42:05 go vet ./... 02:42:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:42:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:42:32 ./bin/test-attribution-txt.sh [Pipeline] echo 02:42:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:42:32 $ docker stop --time=1 5f1e83c1a288401cbf10b3d31b6544baae99b29168e25c8b57a376cf4bfbe5fb 02:42:34 $ docker rm -f --volumes 5f1e83c1a288401cbf10b3d31b6544baae99b29168e25c8b57a376cf4bfbe5fb [Pipeline] // withDockerContainer [Pipeline] sh 02:42:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:42:35 Warning: overwriting stash ‘coverage-report’ 02:42:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:42:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:42:36 + ls -al . 02:42:36 total 176 02:42:36 drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 02:39 . 02:42:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 02:37 .. 02:42:36 -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 02:37 .dockerignore 02:42:36 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 02:37 .git 02:42:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 02:37 .github 02:42:36 -rw-rw-r-- 1 jenkins jenkins 329 Apr 24 02:37 .gitignore 02:42:36 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 02:37 .golangci.yml 02:42:36 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 24 02:37 Attribution.txt 02:42:36 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 24 02:37 CHANGELOG.md 02:42:36 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 24 02:37 Dockerfile 02:42:36 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 02:37 GOVERNANCE.md 02:42:36 -rw-rw-r-- 1 jenkins jenkins 678 Apr 24 02:37 Jenkinsfile 02:42:36 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 02:37 LICENSE 02:42:36 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 24 02:37 Makefile 02:42:36 -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 02:37 OWNERS.md 02:42:36 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 24 02:37 README.md 02:42:36 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 02:34 VERSION 02:42:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 02:37 bin 02:42:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 02:37 cmd 02:42:36 -rw-r--r-- 1 jenkins jenkins 18460 Apr 24 02:42 coverage.out 02:42:36 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 24 02:37 go.mod 02:42:36 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 24 02:37 go.sum 02:42:36 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 02:37 internal 02:42:36 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 02:37 mock 02:42:36 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 02:37 snap 02:42:36 -rw-rw-r-- 1 jenkins jenkins 227 Apr 24 02:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:42:37 + 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=b949b0bab75a809025d73d91052ff423c94fb163 --label arch=arm64 --label version=0.0.0 . 02:42:37 Sending build context to Docker daemon 3.381MB 02:42:37 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:42:37 Step 2/24 : FROM ${BASE} AS builder 02:42:37 ---> d53f6c48395a 02:42:37 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:42:37 ---> Running in 09e72fee8aa3 02:42:37 Removing intermediate container 09e72fee8aa3 02:42:37 ---> cdbd6963cb59 02:42:37 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:42:37 ---> Running in a3dca4009bcb 02:42:38 Removing intermediate container a3dca4009bcb 02:42:38 ---> 6acdc3a3f081 02:42:38 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:42:38 ---> Running in afb914d7de5e 02:42:38 Removing intermediate container afb914d7de5e 02:42:38 ---> e8f02124a5e5 02:42:38 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:42:38 ---> Running in db90dcbf7720 02:42:39 Removing intermediate container db90dcbf7720 02:42:39 ---> 29d61694a994 02:42:39 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:42:39 ---> Running in 0e7fa146cc12 02:42:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:42:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:42:42 OK: 268 MiB in 57 packages 02:42:42 Removing intermediate container 0e7fa146cc12 02:42:42 ---> 79bad8010ba4 02:42:42 Step 8/24 : WORKDIR /device-mqtt-go 02:42:43 ---> Running in 09c50f32efbf 02:42:43 Removing intermediate container 09c50f32efbf 02:42:43 ---> 7cd26291b794 02:42:43 Step 9/24 : COPY go.mod vendor* ./ 02:42:44 ---> 7a967acfb697 02:42:44 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:42:44 ---> Running in 914423afcf04 02:42:46 Removing intermediate container 914423afcf04 02:42:46 ---> 841c665074bd 02:42:46 Step 11/24 : COPY . . 02:42:47 ---> ac5fcd544e6a 02:42:47 Step 12/24 : RUN $MAKE 02:42:47 ---> Running in 51bb0666decd 02:42:48 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 02:45:25 Removing intermediate container 51bb0666decd 02:45:25 ---> 3e50550fc95c 02:45:25 Step 13/24 : FROM alpine:3.17 02:45:25 3.17: Pulling from library/alpine 02:45:25 c41833b44d91: Pulling fs layer 02:45:25 c41833b44d91: Verifying Checksum 02:45:25 c41833b44d91: Download complete 02:45:25 c41833b44d91: Pull complete 02:45:25 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:45:25 Status: Downloaded newer image for alpine:3.17 02:45:25 ---> 51e60588ff2c 02:45:25 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:45:25 ---> Running in 2a2a0a3da25f 02:45:25 Removing intermediate container 2a2a0a3da25f 02:45:25 ---> fb7dd2b9db02 02:45:25 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:45:25 ---> Running in 4f33fc680065 02:45:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:45:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:45:25 (1/1) Installing dumb-init (1.2.5-r2) 02:45:25 Executing busybox-1.35.0-r29.trigger 02:45:25 OK: 8 MiB in 16 packages 02:45:25 Removing intermediate container 4f33fc680065 02:45:25 ---> c24e9ba75ccf 02:45:25 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:45:25 ---> 85508f0b0ed3 02:45:25 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:45:25 ---> f65ecd4d1a48 02:45:25 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:45:25 ---> f4430f648c47 02:45:25 Step 19/24 : EXPOSE 59982 02:45:25 ---> Running in 14ce5cf1d8a2 02:45:25 Removing intermediate container 14ce5cf1d8a2 02:45:25 ---> 90eaf399b046 02:45:25 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:45:25 ---> Running in c735773b89a2 02:45:25 Removing intermediate container c735773b89a2 02:45:25 ---> ea39f43ec045 02:45:25 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:45:25 ---> Running in cc5cf87549e7 02:45:25 Removing intermediate container cc5cf87549e7 02:45:25 ---> eba071e7fc0b 02:45:25 Step 22/24 : LABEL arch=arm64 02:45:25 ---> Running in 81749bf9c5fb 02:45:25 Removing intermediate container 81749bf9c5fb 02:45:25 ---> b92d0c82725e 02:45:25 Step 23/24 : LABEL git_sha=b949b0bab75a809025d73d91052ff423c94fb163 02:45:25 ---> Running in 65cb31504dd8 02:45:25 Removing intermediate container 65cb31504dd8 02:45:25 ---> c51a654119dc 02:45:25 Step 24/24 : LABEL version=0.0.0 02:45:25 ---> Running in dfc1c3f35f53 02:45:25 Removing intermediate container dfc1c3f35f53 02:45:25 ---> 6d8c1050b386 02:45:25 [Warning] One or more build-args [ARCH] were not consumed 02:45:25 Successfully built 6d8c1050b386 02:45:25 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 02:45:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:45:25 02:45:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:45:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:45:26 arm64: Pulling from edgex-lftools-log-publisher 02:45:26 8998bd30e6a1: Pulling fs layer 02:45:26 04944245beec: Pulling fs layer 02:45:26 699f458cf7ca: Pulling fs layer 02:45:26 765212b225bb: Pulling fs layer 02:45:26 f23df028b6ca: Pulling fs layer 02:45:26 d65c8cfc05b1: Pulling fs layer 02:45:26 2437ff75d9bd: Pulling fs layer 02:45:26 f23df028b6ca: Waiting 02:45:26 d65c8cfc05b1: Waiting 02:45:26 2437ff75d9bd: Waiting 02:45:26 765212b225bb: Waiting 02:45:26 04944245beec: Verifying Checksum 02:45:26 04944245beec: Download complete 02:45:26 765212b225bb: Verifying Checksum 02:45:26 765212b225bb: Download complete 02:45:26 f23df028b6ca: Verifying Checksum 02:45:26 f23df028b6ca: Download complete 02:45:26 d65c8cfc05b1: Verifying Checksum 02:45:26 d65c8cfc05b1: Download complete 02:45:26 699f458cf7ca: Verifying Checksum 02:45:26 699f458cf7ca: Download complete 02:45:26 8998bd30e6a1: Verifying Checksum 02:45:26 8998bd30e6a1: Download complete 02:45:29 2437ff75d9bd: Verifying Checksum 02:45:29 2437ff75d9bd: Download complete 02:45:30 8998bd30e6a1: Pull complete 02:45:31 04944245beec: Pull complete 02:45:32 699f458cf7ca: Pull complete 02:45:32 765212b225bb: Pull complete 02:45:33 f23df028b6ca: Pull complete 02:45:33 d65c8cfc05b1: Pull complete 02:45:48 2437ff75d9bd: Pull complete 02:45:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:45:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:45:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:45:49 prd-ubuntu20.04-docker-arm64-4c-16g-9462 does not seem to be running inside a container 02:45:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:45:51 $ docker top 2e17c106c53ccdd44a3e48606fae3b49e5fed0c40e03a50dc05c14a93c8e8b61 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:45:52 ---> job-cost.sh 02:45:52 lf-activate-venv: SKIPPING 02:45:52 INFO: No Stack... 02:45:52 INFO: Retrieving Pricing Info for: v3-standard-4 02:45:53 INFO: Archiving Costs [Pipeline] sh 02:45:54 + cat+ /w/workspace/device-mqtt-go/2/archives/cost.csv 02:45:54 cut -d, -f6 [Pipeline] lock 02:45:54 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-575-2-stack-cost] 02:45:54 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-575-2-stack-cost] did not exist. Created. 02:45:54 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-575-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:45:55 /w/workspace/device-mqtt-go/2@tmp/durable-c0ea0915/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:45:55 + echo total: 0.10999999940395355 [Pipeline] stash 02:45:55 Warning: overwriting stash ‘stack-cost’ 02:45:55 Stashed 1 file(s) [Pipeline] } 02:45:55 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-575-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:45:56 $ docker stop --time=1 2e17c106c53ccdd44a3e48606fae3b49e5fed0c40e03a50dc05c14a93c8e8b61 02:45:57 $ docker rm -f --volumes 2e17c106c53ccdd44a3e48606fae3b49e5fed0c40e03a50dc05c14a93c8e8b61 [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 02:45:57 provisioning config files... 02:45:57 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/config5803208825962365696tmp [Pipeline] { [Pipeline] sh 02:45:58 + set +x 02:45:58 + curl -s https://codecov.io/bash 02:45:58 + bash -s -- 02:45:58 02:45:58 _____ _ 02:45:58 / ____| | | 02:45:58 | | ___ __| | ___ ___ _____ __ 02:45:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:45:58 | |___| (_) | (_| | __/ (_| (_) \ V / 02:45:58 \_____\___/ \__,_|\___|\___\___/ \_/ 02:45:58 Bash-1.0.6 02:45:58 02:45:58 02:45:58 ==> git version 2.25.1 found 02:45:58 ==> 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 02:45:58 Release-Date: 2020-01-08 02:45:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:45:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:45:58 ==> Jenkins CI detected. 02:45:58 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-575 02:45:58 project root: . 02:45:58 --> token set from env 02:45:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:45:58 ==> Running gcov in . (disable via -X gcov) 02:45:58 ==> Python coveragepy not found 02:45:58 ==> Searching for coverage reports in: 02:45:58 + . 02:45:58 -> Found 1 reports 02:45:58 ==> Detecting git/mercurial file structure 02:45:58 ==> Reading reports 02:45:58 + ./coverage.out bytes=18460 02:45:58 ==> Appending adjustments 02:45:58 https://docs.codecov.io/docs/fixing-reports 02:45:58 + Found adjustments 02:45:58 ==> Gzipping contents 02:45:58 4.0K /tmp/codecov.T05ljA.gz 02:45:58 ==> Uploading reports 02:45:58 url: https://codecov.io 02:45:58 query: branch=PR-575&commit=b949b0bab75a809025d73d91052ff423c94fb163&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-575%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=575&job=&cmd_args= 02:45:58 -> Pinging Codecov 02:45:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-575&commit=b949b0bab75a809025d73d91052ff423c94fb163&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-575%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=575&job=&cmd_args= 02:45:58 -> Uploading to 02:45:58 https://storage.googleapis.com/codecov/v4/raw/2023-04-24/7D719EC7BBE17E464838252E33014C33/b949b0bab75a809025d73d91052ff423c94fb163/32179053-2502-4c9e-a24d-cf909520c1d6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T024558Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8e2243897a4c2ecf4664983c57cc638a7428dbd92c584c38d406f848daa091b1 02:45:58 % Total % Received % Xferd Average Speed Time Time Time Current 02:45:58 Dload Upload Total Spent Left Speed 02:45:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3182 0 0 100 3182 0 14333 --:--:-- --:--:-- --:--:-- 14333 100 3182 0 0 100 3182 0 13774 --:--:-- --:--:-- --:--:-- 13715 02:45:58 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/b949b0bab75a809025d73d91052ff423c94fb163 [Pipeline] } 02:45:58 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 02:45:59 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-575/archives ] 02:45:59 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-575/archives 02:45:59 total 16 02:45:59 drwxr-xr-x 3 root root 4096 Apr 24 02:36 . 02:45:59 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 02:36 .. 02:45:59 drwxr-xr-x 2 root root 4096 Apr 24 02:36 cost 02:45:59 -rw-r--r-- 1 root root 86 Apr 24 02:36 cost.csv 02:45:59 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-575/archives 02:45:59 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-575/archives 02:45:59 total 16 02:45:59 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 02:36 . 02:45:59 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 02:36 .. 02:45:59 drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 02:36 cost 02:45:59 -rw-r--r-- 1 jenkins jenkins 86 Apr 24 02:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:45:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:46:00 ---> package-listing.sh 02:46:00 ++ facter osfamily 02:46:00 ++ tr '[:upper:]' '[:lower:]' 02:46:00 + OS_FAMILY=debian 02:46:00 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-575 02:46:00 + START_PACKAGES=/tmp/packages_start.txt 02:46:00 + END_PACKAGES=/tmp/packages_end.txt 02:46:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:46:00 + PACKAGES=/tmp/packages_start.txt 02:46:00 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-575 ']' 02:46:00 + PACKAGES=/tmp/packages_end.txt 02:46:00 + case "${OS_FAMILY}" in 02:46:00 + dpkg -l 02:46:00 + grep '^ii' 02:46:00 + '[' -f /tmp/packages_start.txt ']' 02:46:00 + '[' -f /tmp/packages_end.txt ']' 02:46:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:46:00 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-575 ']' 02:46:00 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-575/archives/ 02:46:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-575/archives/ [Pipeline] echo 02:46:00 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-575/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:46:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:46:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:46:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:46:01 prd-ubuntu20.04-docker-8c-8g-9459 does not seem to be running inside a container 02:46:01 $ 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-575/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-575 -v /w/workspace/gexfoundry_device-mqtt-go_PR-575:/w/workspace/gexfoundry_device-mqtt-go_PR-575:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-575@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 02:46:01 $ docker top 04e7090624a6ad9af383802b6f03f49c389b02ac6a6a0b588571b78e938be3d2 -eo pid,comm [Pipeline] { [Pipeline] sh 02:46:02 + touch /tmp/pre-build-complete [Pipeline] sh 02:46:02 + mkdir -p /var/log/sysstat [Pipeline] sh 02:46:02 + ls /var/log/sa-host 02:46:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:46:02 provisioning config files... 02:46:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/config11761374314044896923tmp [Pipeline] { [Pipeline] echo 02:46:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:46:03 ---> create-netrc.sh [Pipeline] } 02:46:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:46:03 ---> python-tools-install.sh [Pipeline] echo 02:46:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:46:03 ---> sudo-logs.sh 02:46:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:46:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:46:04 ---> job-cost.sh 02:46:04 lf-activate-venv: SKIPPING 02:46:04 DEBUG: total: 0.2199999988079071 02:46:04 INFO: Retrieving Stack Cost... 02:46:04 INFO: Retrieving Pricing Info for: v3-standard-8 02:46:05 INFO: Archiving Costs [Pipeline] echo 02:46:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:46:05 ---> logs-deploy.sh 02:46:05 lf-activate-venv: SKIPPING 02:46:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-575/2 02:46:05 INFO: archiving workspace using pattern(s): 02:46:06 Archives upload complete. 02:46:06 INFO: archiving logs to Nexus