Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b949b0bab75a809025d73d91052ff423c94fb163+e2c07314706493d6366513279fddb5169d0fbe38 (9de4a818b3618a8f92314ef81c2bcbc0345d168f) 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-ssh14012252909412538390.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-ssh11220048829761187354.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-ssh5252705635690357814.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-ssh1230891990285536577.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-ssh4454045018825606845.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-9574’ Running on prd-ubuntu20.04-docker-8c-8g-9581 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 e2c07314706493d6366513279fddb5169d0fbe38 into PR head commit b949b0bab75a809025d73d91052ff423c94fb163 Merge succeeded, producing 98a5e53106442e8dcf1b85e0481462d3b73aebfa Checking out Revision 98a5e53106442e8dcf1b85e0481462d3b73aebfa (PR-575) > 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 e2c07314706493d6366513279fddb5169d0fbe38 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 98a5e53106442e8dcf1b85e0481462d3b73aebfa # timeout=10 Commit message: "Merge commit 'e2c07314706493d6366513279fddb5169d0fbe38' into HEAD" > git rev-list --no-walk b949b0bab75a809025d73d91052ff423c94fb163 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:21:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:21:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:21:05 ========================================================= 23:21:05 EdgeX Global Pipelines Version Info 23:21:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:21:06 ------------------- 23:21:06 stable info: 23:21:06 ------------------- 23:21:06 Commited By: Bill Mahoney bill.mahoney@intel.com 23:21:06 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 23:21:06 Message: update stable to v1.0.248 23:21:06 ------------------- 23:21:06 experimental info: 23:21:06 ------------------- 23:21:06 Commited By: **** collab-it+edgex@linuxfoundation.org 23:21:06 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 23:21:06 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-575 [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-575 [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-575 [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 98a5e53106442e8dcf1b85e0481462d3b73aebfa [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 98a5e53 [Pipeline] echo 23:21:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:21:07 provisioning config files... 23:21:07 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/config799451522381282431tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:21:07 ---> docker-login.sh 23:21:07 nexus3.edgexfoundry.org:10001 23:21:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:08 Configure a credential helper to remove this warning. See 23:21:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:08 23:21:08 Login Succeeded 23:21:08 nexus3.edgexfoundry.org:10002 23:21:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:08 Configure a credential helper to remove this warning. See 23:21:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:08 23:21:08 Login Succeeded 23:21:08 nexus3.edgexfoundry.org:10003 23:21:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:08 Configure a credential helper to remove this warning. See 23:21:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:08 23:21:08 Login Succeeded 23:21:08 nexus3.edgexfoundry.org:10004 23:21:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:08 Configure a credential helper to remove this warning. See 23:21:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:08 23:21:08 Login Succeeded 23:21:08 docker.io 23:21:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:08 Configure a credential helper to remove this warning. See 23:21:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:08 23:21:08 Login Succeeded 23:21:08 ---> docker-login.sh ends [Pipeline] } 23:21:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:21:09 + git rev-list -1 --merges 98a5e53106442e8dcf1b85e0481462d3b73aebfa~1..98a5e53106442e8dcf1b85e0481462d3b73aebfa [Pipeline] echo 23:21:09 -----------> git rev-list -1 --merges 98a5e53106442e8dcf1b85e0481462d3b73aebfa~1..98a5e53106442e8dcf1b85e0481462d3b73aebfa 98a5e53106442e8dcf1b85e0481462d3b73aebfa 23:21:09 98a5e53106442e8dcf1b85e0481462d3b73aebfa [false] [Pipeline] sh 23:21:09 + git log --format=format:%s -1 98a5e53106442e8dcf1b85e0481462d3b73aebfa [Pipeline] echo 23:21:09 ========================================================= 23:21:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:21:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:21:09 + git log --format=format:%s -1 98a5e53106442e8dcf1b85e0481462d3b73aebfa [Pipeline] echo 23:21:09 [semverPrep] GIT_COMMIT: 98a5e53106442e8dcf1b85e0481462d3b73aebfa, Commit Message: Merge commit 'e2c07314706493d6366513279fddb5169d0fbe38' into HEAD [Pipeline] echo 23:21:09 [semverPrep] This is not a build commit. [Pipeline] sh 23:21:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:21:10 + grep -v github /etc/ssh/ssh_known_hosts 23:21:10 + [ -e /tmp/ssh_known_hosts ] 23:21:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:21:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:21:10 + sudo tee -a /etc/ssh/ssh_known_hosts 23:21:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:21:10 23:21:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:21:10 0.1.4: Pulling from edgex-devops/py-git-semver 23:21:10 b85a868b505f: Pulling fs layer 23:21:10 e2be974225ed: Pulling fs layer 23:21:10 339a4e72a1f5: Pulling fs layer 23:21:10 988bab9f4d93: Pulling fs layer 23:21:10 1469e6f7b9e6: Pulling fs layer 23:21:10 eaf3925da568: Pulling fs layer 23:21:10 bab4dde63d76: Pulling fs layer 23:21:10 bde34c3a00c8: Pulling fs layer 23:21:10 b352a97aabf1: Pulling fs layer 23:21:10 4872d77fe225: Pulling fs layer 23:21:10 5851b861e8e6: Pulling fs layer 23:21:10 1469e6f7b9e6: Waiting 23:21:10 eaf3925da568: Waiting 23:21:10 bab4dde63d76: Waiting 23:21:10 bde34c3a00c8: Waiting 23:21:10 988bab9f4d93: Waiting 23:21:10 b352a97aabf1: Waiting 23:21:10 4872d77fe225: Waiting 23:21:10 5851b861e8e6: Waiting 23:21:10 e2be974225ed: Verifying Checksum 23:21:10 e2be974225ed: Download complete 23:21:10 988bab9f4d93: Download complete 23:21:10 339a4e72a1f5: Verifying Checksum 23:21:10 339a4e72a1f5: Download complete 23:21:10 1469e6f7b9e6: Verifying Checksum 23:21:10 1469e6f7b9e6: Download complete 23:21:10 eaf3925da568: Verifying Checksum 23:21:10 eaf3925da568: Download complete 23:21:10 bde34c3a00c8: Download complete 23:21:10 b352a97aabf1: Verifying Checksum 23:21:10 b352a97aabf1: Download complete 23:21:10 4872d77fe225: Verifying Checksum 23:21:10 4872d77fe225: Download complete 23:21:10 5851b861e8e6: Download complete 23:21:10 b85a868b505f: Verifying Checksum 23:21:10 b85a868b505f: Download complete 23:21:11 bab4dde63d76: Verifying Checksum 23:21:11 bab4dde63d76: Download complete 23:21:12 b85a868b505f: Pull complete 23:21:12 e2be974225ed: Pull complete 23:21:12 339a4e72a1f5: Pull complete 23:21:12 988bab9f4d93: Pull complete 23:21:12 1469e6f7b9e6: Pull complete 23:21:12 eaf3925da568: Pull complete 23:21:14 bab4dde63d76: Pull complete 23:21:14 bde34c3a00c8: Pull complete 23:21:14 b352a97aabf1: Pull complete 23:21:15 4872d77fe225: Pull complete 23:21:15 5851b861e8e6: Pull complete 23:21:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:21:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:21:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:21:15 prd-ubuntu20.04-docker-8c-8g-9581 does not seem to be running inside a container 23:21:15 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:21:17 $ docker top 579998d4ca70bb45235069e48d61322bd912bd16af0ca803d419831b2fa5267f -eo pid,comm 23:21:17 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:21:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:21:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:21:17 [ssh-agent] Looking for ssh-agent implementation... 23:21:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:21:17 $ docker exec 579998d4ca70bb45235069e48d61322bd912bd16af0ca803d419831b2fa5267f ssh-agent 23:21:17 SSH_AUTH_SOCK=/tmp/ssh-itAAr11XABdy/agent.32 23:21:17 SSH_AGENT_PID=38 23:21:17 Running ssh-add (command line suppressed) 23:21:17 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/private_key_4408904121647304179.key (/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/private_key_4408904121647304179.key) 23:21:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:21:18 + git tag --points-at HEAD [Pipeline] } 23:21:18 $ docker exec --env ******** --env ******** 579998d4ca70bb45235069e48d61322bd912bd16af0ca803d419831b2fa5267f ssh-agent -k 23:21:18 unset SSH_AUTH_SOCK; 23:21:18 unset SSH_AGENT_PID; 23:21:18 echo Agent pid 38 killed; 23:21:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:21:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:21:18 [ssh-agent] Looking for ssh-agent implementation... 23:21:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:21:18 $ docker exec 579998d4ca70bb45235069e48d61322bd912bd16af0ca803d419831b2fa5267f ssh-agent 23:21:18 SSH_AUTH_SOCK=/tmp/ssh-JZjspV1rWhDa/agent.71 23:21:18 SSH_AGENT_PID=77 23:21:18 Running ssh-add (command line suppressed) 23:21:18 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/private_key_6789071194187466972.key (/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/private_key_6789071194187466972.key) 23:21:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:21:19 + git semver init 23:21:19 2023-04-24 23:21:19,221 [run_init] DEBUG init version:0.0.0 force:False 23:21:19 2023-04-24 23:21:19,222 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver 23:21:19 2023-04-24 23:21:19,223 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver 23:21:19 2023-04-24 23:21:19,223 [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) 23:21:20 2023-04-24 23:21:19,969 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-575/.git/info/exclude 23:21:20 2023-04-24 23:21:19,970 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver/PR-575 with force:False 23:21:20 2023-04-24 23:21:19,970 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver/PR-575 23:21:20 2023-04-24 23:21:19,973 [execute] INFO git cat-file --batch-check 23:21:20 2023-04-24 23:21:19,974 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver, universal_newlines=False, shell=None, istream=) 23:21:20 2023-04-24 23:21:19,981 [execute] INFO git cat-file --batch 23:21:20 2023-04-24 23:21:19,982 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver, universal_newlines=False, shell=None, istream=) 23:21:20 2023-04-24 23:21:19,987 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver/PR-575 23:21:20 0.0.0 [Pipeline] } 23:21:20 $ docker exec --env ******** --env ******** 579998d4ca70bb45235069e48d61322bd912bd16af0ca803d419831b2fa5267f ssh-agent -k 23:21:20 unset SSH_AUTH_SOCK; 23:21:20 unset SSH_AGENT_PID; 23:21:20 echo Agent pid 77 killed; 23:21:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:21:20 + git semver [Pipeline] } 23:21:20 $ docker stop --time=1 579998d4ca70bb45235069e48d61322bd912bd16af0ca803d419831b2fa5267f 23:21:22 $ docker rm -f --volumes 579998d4ca70bb45235069e48d61322bd912bd16af0ca803d419831b2fa5267f [Pipeline] // withDockerContainer [Pipeline] sh 23:21:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:21:22 Stashed 1 file(s) [Pipeline] echo 23:21:22 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:21:22 provisioning config files... 23:21:22 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/config3500306428065076234tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:21:23 ---> docker-login.sh 23:21:23 nexus3.edgexfoundry.org:10001 23:21:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:23 Configure a credential helper to remove this warning. See 23:21:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:23 23:21:23 Login Succeeded 23:21:23 nexus3.edgexfoundry.org:10002 23:21:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:23 Configure a credential helper to remove this warning. See 23:21:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:23 23:21:23 Login Succeeded 23:21:23 nexus3.edgexfoundry.org:10003 23:21:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:23 Configure a credential helper to remove this warning. See 23:21:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:23 23:21:23 Login Succeeded 23:21:23 nexus3.edgexfoundry.org:10004 23:21:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:23 Configure a credential helper to remove this warning. See 23:21:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:23 23:21:23 Login Succeeded 23:21:23 docker.io 23:21:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:21:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:21:23 Configure a credential helper to remove this warning. See 23:21:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:21:23 23:21:23 Login Succeeded 23:21:23 ---> docker-login.sh ends [Pipeline] } 23:21:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:21:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:21:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:21:23 ========================================================= 23:21:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:21:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:24 + 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 . 23:21:24 Sending build context to Docker daemon 6.489MB 23:21:24 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:21:24 Step 2/12 : FROM ${BASE} AS builder 23:21:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:21:24 f56be85fc22e: Pulling fs layer 23:21:24 85791d961cd3: Pulling fs layer 23:21:24 d694b5ae8c79: Pulling fs layer 23:21:24 9f32a84ed3da: Pulling fs layer 23:21:24 4d19c01a9841: Pulling fs layer 23:21:24 9325e15d5711: Pulling fs layer 23:21:24 556b6ee489ea: Pulling fs layer 23:21:24 c5a4b2cf53e6: Pulling fs layer 23:21:24 4d19c01a9841: Waiting 23:21:24 9325e15d5711: Waiting 23:21:24 556b6ee489ea: Waiting 23:21:24 c5a4b2cf53e6: Waiting 23:21:24 9f32a84ed3da: Waiting 23:21:24 85791d961cd3: Verifying Checksum 23:21:24 85791d961cd3: Download complete 23:21:24 9f32a84ed3da: Verifying Checksum 23:21:24 9f32a84ed3da: Download complete 23:21:24 4d19c01a9841: Verifying Checksum 23:21:24 4d19c01a9841: Download complete 23:21:24 f56be85fc22e: Verifying Checksum 23:21:24 f56be85fc22e: Download complete 23:21:24 9325e15d5711: Verifying Checksum 23:21:24 9325e15d5711: Download complete 23:21:24 f56be85fc22e: Pull complete 23:21:24 85791d961cd3: Pull complete 23:21:24 c5a4b2cf53e6: Verifying Checksum 23:21:24 c5a4b2cf53e6: Download complete 23:21:24 d694b5ae8c79: Verifying Checksum 23:21:24 d694b5ae8c79: Download complete 23:21:25 556b6ee489ea: Verifying Checksum 23:21:25 556b6ee489ea: Download complete 23:21:28 d694b5ae8c79: Pull complete 23:21:28 9f32a84ed3da: Pull complete 23:21:28 4d19c01a9841: Pull complete 23:21:28 9325e15d5711: Pull complete 23:21:30 556b6ee489ea: Pull complete 23:21:31 c5a4b2cf53e6: Pull complete 23:21:31 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:21:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:21:31 ---> c4be618373d6 23:21:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:21:35 ---> Running in abe11b2c9595 23:21:35 Removing intermediate container abe11b2c9595 23:21:35 ---> 8d2d076ece55 23:21:35 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:21:35 ---> Running in 4b3e53ec025d 23:21:35 Removing intermediate container 4b3e53ec025d 23:21:35 ---> efc816d9505f 23:21:35 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:21:35 ---> Running in 470112553c3a 23:21:35 Removing intermediate container 470112553c3a 23:21:35 ---> 6ea720749813 23:21:35 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:21:35 ---> Running in 78b8aa43afff 23:21:35 Removing intermediate container 78b8aa43afff 23:21:35 ---> 6487a495362a 23:21:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:21:35 ---> Running in 70414a84c7e0 23:21:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:21:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:21:35 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:21:35 (2/4) Installing libedit (20221030.3.1-r0) 23:21:35 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:21:35 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:21:35 Executing busybox-1.35.0-r29.trigger 23:21:35 OK: 269 MiB in 57 packages 23:21:36 Removing intermediate container 70414a84c7e0 23:21:36 ---> 8d4614b7109e 23:21:36 Step 8/12 : WORKDIR /device-mqtt-go 23:21:36 ---> Running in 18f04904dc9b 23:21:36 Removing intermediate container 18f04904dc9b 23:21:36 ---> 0b7aac5c355c 23:21:36 Step 9/12 : COPY go.mod vendor* ./ 23:21:36 ---> 292ea776ee7e 23:21:36 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:21:36 ---> Running in a77fe0a5b759 23:21:37 Still waiting to schedule task 23:21:37 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9579’ 23:22:02 Removing intermediate container a77fe0a5b759 23:22:02 ---> 7e6794d06b2b 23:22:02 Step 11/12 : COPY . . 23:22:02 ---> 2257d24227c6 23:22:02 Step 12/12 : RUN $MAKE 23:22:02 ---> Running in 94044ff95ac2 23:22:02 noop 23:22:02 Removing intermediate container 94044ff95ac2 23:22:02 ---> 14516a895328 23:22:02 Successfully built 14516a895328 23:22:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:03 + docker inspect -f . ci-base-image-x86_64 23:22:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:03 prd-ubuntu20.04-docker-8c-8g-9581 does not seem to be running inside a container 23:22:03 $ 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 ******** ci-base-image-x86_64 cat 23:22:03 $ docker top 706659c4e308482fa4d47f08b5e0aa9e8d94245a896e39a508dab24df3318d57 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:03 + go version 23:22:03 go version go1.20.2 linux/amd64 [Pipeline] } 23:22:03 $ docker stop --time=1 706659c4e308482fa4d47f08b5e0aa9e8d94245a896e39a508dab24df3318d57 23:22:05 $ docker rm -f --volumes 706659c4e308482fa4d47f08b5e0aa9e8d94245a896e39a508dab24df3318d57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:05 + docker inspect -f . ci-base-image-x86_64 23:22:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:05 prd-ubuntu20.04-docker-8c-8g-9581 does not seem to be running inside a container 23:22:05 $ 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 ******** ci-base-image-x86_64 cat 23:22:06 $ docker top c7ee5d850f88f43a61fe9afa2606a27ae8add0ac8e206bbd3e6e0c324930826d -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:06 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-575 [Pipeline] fileExists [Pipeline] sh 23:22:06 + make test 23:22:06 go test ./... -coverprofile=coverage.out ./... 23:22:12 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:22:24 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:22:24 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:22:24 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.020s coverage: 21.9% of statements 23:22:29 go vet ./... 23:22:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:22:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:22:33 ./bin/test-attribution-txt.sh [Pipeline] echo 23:22:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:22:33 $ docker stop --time=1 c7ee5d850f88f43a61fe9afa2606a27ae8add0ac8e206bbd3e6e0c324930826d 23:22:36 $ docker rm -f --volumes c7ee5d850f88f43a61fe9afa2606a27ae8add0ac8e206bbd3e6e0c324930826d [Pipeline] // withDockerContainer [Pipeline] sh 23:22:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:22:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:22:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:22:37 + ls -al . 23:22:37 total 180 23:22:37 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 23:22 . 23:22:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 23:21 .. 23:22:37 -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 23:21 .dockerignore 23:22:37 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 23:21 .git 23:22:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 23:21 .github 23:22:37 -rw-rw-r-- 1 jenkins jenkins 329 Apr 24 23:21 .gitignore 23:22:37 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 23:21 .golangci.yml 23:22:37 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 23:21 .semver 23:22:37 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 24 23:21 Attribution.txt 23:22:37 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 24 23:21 CHANGELOG.md 23:22:37 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 24 23:21 Dockerfile 23:22:37 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 23:21 GOVERNANCE.md 23:22:37 -rw-rw-r-- 1 jenkins jenkins 678 Apr 24 23:21 Jenkinsfile 23:22:37 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 23:21 LICENSE 23:22:37 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 24 23:21 Makefile 23:22:37 -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 23:21 OWNERS.md 23:22:37 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 24 23:21 README.md 23:22:37 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 23:21 VERSION 23:22:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 23:21 bin 23:22:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 23:21 cmd 23:22:37 -rw-r--r-- 1 jenkins jenkins 18460 Apr 24 23:22 coverage.out 23:22:37 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 24 23:21 go.mod 23:22:37 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 24 23:21 go.sum 23:22:37 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 23:21 internal 23:22:37 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 23:21 mock 23:22:37 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 23:21 snap 23:22:37 -rw-rw-r-- 1 jenkins jenkins 227 Apr 24 23:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:37 + 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=98a5e53106442e8dcf1b85e0481462d3b73aebfa --label arch=amd64 --label version=0.0.0 . 23:22:37 Sending build context to Docker daemon 6.509MB 23:22:37 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:22:37 Step 2/24 : FROM ${BASE} AS builder 23:22:37 ---> 14516a895328 23:22:37 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:22:37 ---> Running in 620f37a44e3f 23:22:38 Removing intermediate container 620f37a44e3f 23:22:38 ---> 780b5617593a 23:22:38 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:22:38 ---> Running in a26429b6a09f 23:22:38 Removing intermediate container a26429b6a09f 23:22:38 ---> 49ee3b56b764 23:22:38 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:22:38 ---> Running in a7e043fe9872 23:22:38 Removing intermediate container a7e043fe9872 23:22:38 ---> fd11c2bc05c0 23:22:38 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:22:38 ---> Running in faf3d642fc37 23:22:38 Removing intermediate container faf3d642fc37 23:22:38 ---> ce404c294d31 23:22:38 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:22:38 ---> Running in 9b73bffb6418 23:22:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:22:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:22:39 OK: 269 MiB in 57 packages 23:22:39 Removing intermediate container 9b73bffb6418 23:22:39 ---> b325dbf91843 23:22:39 Step 8/24 : WORKDIR /device-mqtt-go 23:22:39 ---> Running in 2e03990436d4 23:22:39 Removing intermediate container 2e03990436d4 23:22:39 ---> e3be8c8f56a2 23:22:39 Step 9/24 : COPY go.mod vendor* ./ 23:22:39 ---> d5fbd1559ba8 23:22:39 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:22:39 ---> Running in 633e3ef1230e 23:22:40 Removing intermediate container 633e3ef1230e 23:22:40 ---> f705d62f59ba 23:22:40 Step 11/24 : COPY . . 23:22:40 ---> 1a3ed9c2b947 23:22:40 Step 12/24 : RUN $MAKE 23:22:40 ---> Running in 1d78306b1cc6 23:22:41 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 23:23:02 Removing intermediate container 1d78306b1cc6 23:23:02 ---> 330bbcfd13b6 23:23:02 Step 13/24 : FROM alpine:3.17 23:23:02 3.17: Pulling from library/alpine 23:23:02 f56be85fc22e: Already exists 23:23:02 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:23:02 Status: Downloaded newer image for alpine:3.17 23:23:02 ---> 9ed4aefc74f6 23:23:02 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:23:02 ---> Running in ebd04c92306c 23:23:02 Removing intermediate container ebd04c92306c 23:23:02 ---> 95b4b7efba98 23:23:02 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:23:02 ---> Running in 05afdcd5097b 23:23:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:23:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:23:02 (1/1) Installing dumb-init (1.2.5-r2) 23:23:02 Executing busybox-1.35.0-r29.trigger 23:23:02 OK: 7 MiB in 16 packages 23:23:02 Removing intermediate container 05afdcd5097b 23:23:02 ---> f420c96b1950 23:23:02 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:23:02 ---> 651b0e23bb6b 23:23:02 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:23:02 ---> 2233c9c90ab5 23:23:02 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:23:02 ---> a7380345eec1 23:23:02 Step 19/24 : EXPOSE 59982 23:23:02 ---> Running in e4eafb3741ff 23:23:02 Removing intermediate container e4eafb3741ff 23:23:02 ---> 3eb68a278c20 23:23:02 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:23:02 ---> Running in 04424b33ef49 23:23:02 Removing intermediate container 04424b33ef49 23:23:02 ---> fb4770544ba1 23:23:02 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:23:02 ---> Running in 7565de96c5dd 23:23:03 Removing intermediate container 7565de96c5dd 23:23:03 ---> 796ca7312f58 23:23:03 Step 22/24 : LABEL arch=amd64 23:23:03 ---> Running in b2a32e559c84 23:23:03 Removing intermediate container b2a32e559c84 23:23:03 ---> 6917bc32affe 23:23:03 Step 23/24 : LABEL git_sha=98a5e53106442e8dcf1b85e0481462d3b73aebfa 23:23:03 ---> Running in 0aa7963529e2 23:23:03 Removing intermediate container 0aa7963529e2 23:23:03 ---> 3df969c51d9b 23:23:03 Step 24/24 : LABEL version=0.0.0 23:23:03 ---> Running in ecaee2eea213 23:23:03 Removing intermediate container ecaee2eea213 23:23:03 ---> c5943753c2dc 23:23:03 [Warning] One or more build-args [ARCH] were not consumed 23:23:03 Successfully built c5943753c2dc 23:23:03 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:23:03 23:23:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:23:04 latest: Pulling from edgex-lftools-log-publisher 23:23:04 5eb5b503b376: Pulling fs layer 23:23:04 5c69ac0246d0: Pulling fs layer 23:23:04 ec43610c2a17: Pulling fs layer 23:23:04 3a2ae6a8a46f: Pulling fs layer 23:23:04 33b1e0a273af: Pulling fs layer 23:23:04 3a2ae6a8a46f: Waiting 23:23:04 5d3b04190fa2: Pulling fs layer 23:23:04 2f39f015ded8: Pulling fs layer 23:23:04 33b1e0a273af: Waiting 23:23:04 5d3b04190fa2: Waiting 23:23:04 2f39f015ded8: Waiting 23:23:04 5c69ac0246d0: Verifying Checksum 23:23:04 5c69ac0246d0: Download complete 23:23:04 3a2ae6a8a46f: Verifying Checksum 23:23:04 3a2ae6a8a46f: Download complete 23:23:04 33b1e0a273af: Verifying Checksum 23:23:04 33b1e0a273af: Download complete 23:23:04 5d3b04190fa2: Download complete 23:23:04 ec43610c2a17: Verifying Checksum 23:23:04 ec43610c2a17: Download complete 23:23:04 5eb5b503b376: Verifying Checksum 23:23:04 5eb5b503b376: Download complete 23:23:05 2f39f015ded8: Download complete 23:23:05 5eb5b503b376: Pull complete 23:23:05 5c69ac0246d0: Pull complete 23:23:06 ec43610c2a17: Pull complete 23:23:06 3a2ae6a8a46f: Pull complete 23:23:06 33b1e0a273af: Pull complete 23:23:06 5d3b04190fa2: Pull complete 23:23:10 2f39f015ded8: Pull complete 23:23:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:23:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:23:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:23:11 prd-ubuntu20.04-docker-8c-8g-9581 does not seem to be running inside a container 23:23:11 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:23:13 $ docker top ba8982debbd1ea2a893d21b6f4d2c5c934f9c8cc89788203d9cdd31b221482ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:23:13 ---> job-cost.sh 23:23:13 lf-activate-venv: SKIPPING 23:23:13 INFO: No Stack... 23:23:14 INFO: Retrieving Pricing Info for: v3-standard-8 23:23:14 INFO: Archiving Costs [Pipeline] sh 23:23:15 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-575/archives/cost.csv 23:23:15 + cut -d, -f6 [Pipeline] lock 23:23:15 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-575-3-stack-cost] 23:23:15 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-575-3-stack-cost] did not exist. Created. 23:23:15 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-575-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:23:15 + echo total: 0.2199999988079071 [Pipeline] stash 23:23:15 Stashed 1 file(s) [Pipeline] } 23:23:15 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-575-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:23:15 $ docker stop --time=1 ba8982debbd1ea2a893d21b6f4d2c5c934f9c8cc89788203d9cdd31b221482ef 23:23:16 $ docker rm -f --volumes ba8982debbd1ea2a893d21b6f4d2c5c934f9c8cc89788203d9cdd31b221482ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:25:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9583 in /w/workspace/gexfoundry_device-mqtt-go_PR-575 [Pipeline] { [Pipeline] ws 23:25:08 Running in /w/workspace/device-mqtt-go/3 [Pipeline] { [Pipeline] checkout 23:25:09 Selected Git installation does not exist. Using Default 23:25:09 The recommended git tool is: NONE 23:25:15 using credential edgex-jenkins-ssh 23:25:15 Cloning the remote Git repository 23:25:15 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:25:15 > git init /w/workspace/device-mqtt-go/3 # timeout=10 23:25:15 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:25:15 > git --version # timeout=10 23:25:15 > git --version # 'git version 2.25.1' 23:25:15 using GIT_SSH to set credentials SSH Credentials for GitHub 23:25:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:25:17 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:25:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:25:18 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:25:18 Merging remotes/origin/main commit e2c07314706493d6366513279fddb5169d0fbe38 into PR head commit b949b0bab75a809025d73d91052ff423c94fb163 23:25:18 Merge succeeded, producing d80be012c4b0298bfe6d921ff55e22729ef82335 23:25:18 Checking out Revision d80be012c4b0298bfe6d921ff55e22729ef82335 (PR-575) 23:25:18 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:25:18 using GIT_SSH to set credentials SSH Credentials for GitHub 23:25:18 > 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 23:25:18 > git config core.sparsecheckout # timeout=10 23:25:18 > git checkout -f b949b0bab75a809025d73d91052ff423c94fb163 # timeout=10 23:25:18 > git remote # timeout=10 23:25:18 > git config --get remote.origin.url # timeout=10 23:25:18 using GIT_SSH to set credentials SSH Credentials for GitHub 23:25:18 > git merge e2c07314706493d6366513279fddb5169d0fbe38 # timeout=10 23:25:18 > git rev-parse HEAD^{commit} # timeout=10 23:25:18 > git config core.sparsecheckout # timeout=10 23:25:18 > git checkout -f d80be012c4b0298bfe6d921ff55e22729ef82335 # timeout=10 23:25:22 Commit message: "Merge commit 'e2c07314706493d6366513279fddb5169d0fbe38' into HEAD" 23:25:22 > git rev-list --no-walk b949b0bab75a809025d73d91052ff423c94fb163 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:25:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:25:23 % Total % Received % Xferd Average Speed Time Time Time Current 23:25:23 Dload Upload Total Spent Left Speed 23:25:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh 23:25:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:25:24 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 23:25:24 /etc/docker/daemon.new 23:25:24 { 23:25:24 "registry-mirrors": [ 23:25:24 "https://nexus3.edgexfoundry.org:10001" 23:25:24 ], 23:25:24 "bip": "10.250.0.254/24", 23:25:24 "hosts": [ 23:25:24 "tcp://0.0.0.0:5555", 23:25:24 "unix:///var/run/docker.sock" 23:25:24 ], 23:25:24 "mtu": 1458, 23:25:24 "selinux-enabled": true, 23:25:24 "seccomp-profile": "/etc/docker/seccomp.json" 23:25:24 } [Pipeline] sh 23:25:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:25:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:25:43 provisioning config files... 23:25:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/3@tmp/config3177109798080938180tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:25:43 ---> docker-login.sh 23:25:43 nexus3.edgexfoundry.org:10001 23:25:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:44 Configure a credential helper to remove this warning. See 23:25:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:44 23:25:44 Login Succeeded 23:25:44 nexus3.edgexfoundry.org:10002 23:25:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:44 Configure a credential helper to remove this warning. See 23:25:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:44 23:25:44 Login Succeeded 23:25:44 nexus3.edgexfoundry.org:10003 23:25:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:45 Configure a credential helper to remove this warning. See 23:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:45 23:25:45 Login Succeeded 23:25:45 nexus3.edgexfoundry.org:10004 23:25:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:45 Configure a credential helper to remove this warning. See 23:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:45 23:25:45 Login Succeeded 23:25:45 docker.io 23:25:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:25:45 Configure a credential helper to remove this warning. See 23:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:25:45 23:25:45 Login Succeeded 23:25:45 ---> docker-login.sh ends [Pipeline] } 23:25:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:25:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:25:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:25:46 ========================================================= 23:25:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:25:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:25:46 + 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 . 23:25:46 Sending build context to Docker daemon 3.36MB 23:25:46 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:25:46 Step 2/12 : FROM ${BASE} AS builder 23:25:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:25:47 c41833b44d91: Pulling fs layer 23:25:47 ed15518f5707: Pulling fs layer 23:25:47 feae8fd75edb: Pulling fs layer 23:25:47 242c74f7c9fa: Pulling fs layer 23:25:47 3cdef696dda3: Pulling fs layer 23:25:47 2ced38df9373: Pulling fs layer 23:25:47 242c74f7c9fa: Waiting 23:25:47 3cdef696dda3: Waiting 23:25:47 58f1dce35555: Pulling fs layer 23:25:47 2ced38df9373: Waiting 23:25:47 58f1dce35555: Waiting 23:25:47 ed15518f5707: Verifying Checksum 23:25:47 ed15518f5707: Download complete 23:25:47 242c74f7c9fa: Verifying Checksum 23:25:47 242c74f7c9fa: Download complete 23:25:47 3cdef696dda3: Download complete 23:25:47 c41833b44d91: Verifying Checksum 23:25:47 c41833b44d91: Download complete 23:25:48 c41833b44d91: Pull complete 23:25:48 58f1dce35555: Verifying Checksum 23:25:48 58f1dce35555: Download complete 23:25:48 ed15518f5707: Pull complete 23:25:49 2ced38df9373: Verifying Checksum 23:25:49 2ced38df9373: Download complete 23:25:49 feae8fd75edb: Verifying Checksum 23:25:49 feae8fd75edb: Download complete 23:26:01 feae8fd75edb: Pull complete 23:26:01 242c74f7c9fa: Pull complete 23:26:01 3cdef696dda3: Pull complete 23:26:08 2ced38df9373: Pull complete 23:26:10 58f1dce35555: Pull complete 23:26:10 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:26:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:26:10 ---> fadd8f120f05 23:26:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:26:12 ---> Running in b9a76037e7cc 23:26:12 Removing intermediate container b9a76037e7cc 23:26:12 ---> e7e2992df6dc 23:26:12 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:26:12 ---> Running in e10bfb1eed25 23:26:13 Removing intermediate container e10bfb1eed25 23:26:13 ---> 83abecfe38a2 23:26:13 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:26:13 ---> Running in 6dbc0a178d25 23:26:13 Removing intermediate container 6dbc0a178d25 23:26:13 ---> d407b4cb3c54 23:26:13 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:26:13 ---> Running in bba66be25601 23:26:13 Removing intermediate container bba66be25601 23:26:13 ---> df9daa936283 23:26:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:26:13 ---> Running in 933ae302ea9a 23:26:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:26:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:26:16 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:26:16 (2/4) Installing libedit (20221030.3.1-r0) 23:26:16 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:26:16 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:26:16 Executing busybox-1.35.0-r29.trigger 23:26:16 OK: 268 MiB in 57 packages 23:26:17 Removing intermediate container 933ae302ea9a 23:26:17 ---> efe09409d6b7 23:26:17 Step 8/12 : WORKDIR /device-mqtt-go 23:26:17 ---> Running in 0ab51b801e1d 23:26:18 Removing intermediate container 0ab51b801e1d 23:26:18 ---> 33a148479534 23:26:18 Step 9/12 : COPY go.mod vendor* ./ 23:26:18 ---> 0ce1dc90378d 23:26:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:26:18 ---> Running in f74bb4f44334 23:27:26 Removing intermediate container f74bb4f44334 23:27:26 ---> a5f094529064 23:27:26 Step 11/12 : COPY . . 23:27:26 ---> 3942f5a4f791 23:27:26 Step 12/12 : RUN $MAKE 23:27:26 ---> Running in f73e458e2acf 23:27:26 noop 23:27:26 Removing intermediate container f73e458e2acf 23:27:26 ---> c4527fb45e5e 23:27:26 Successfully built c4527fb45e5e 23:27:26 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:26 + docker inspect -f . ci-base-image-arm64 23:27:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:27 prd-ubuntu20.04-docker-arm64-4c-16g-9583 does not seem to be running inside a container 23:27:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:27:28 $ docker top d863a9a2abc84ca9a3845494398ab087f65a87b97ebd768bb0f8a780b916c1e4 -eo pid,comm [Pipeline] { [Pipeline] sh 23:27:29 + go version 23:27:29 go version go1.20.2 linux/arm64 [Pipeline] } 23:27:29 $ docker stop --time=1 d863a9a2abc84ca9a3845494398ab087f65a87b97ebd768bb0f8a780b916c1e4 23:27:30 $ docker rm -f --volumes d863a9a2abc84ca9a3845494398ab087f65a87b97ebd768bb0f8a780b916c1e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:31 + docker inspect -f . ci-base-image-arm64 23:27:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:31 prd-ubuntu20.04-docker-arm64-4c-16g-9583 does not seem to be running inside a container 23:27:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:27:32 $ docker top ab3728d0e603175fa5bd99c89be48b2fbdcc677a39039f0ad5a9a1e3989524d6 -eo pid,comm [Pipeline] { [Pipeline] sh 23:27:33 + git config --global --add safe.directory /w/workspace/device-mqtt-go/3 [Pipeline] fileExists [Pipeline] sh 23:27:33 + make test 23:27:33 go test ./... -coverprofile=coverage.out ./... 23:28:06 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:29:57 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:29:58 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:29:58 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.076s coverage: 21.9% of statements 23:29:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:29:59 go vet ./... 23:30:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:30:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:30:38 ./bin/test-attribution-txt.sh [Pipeline] echo 23:30:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:30:38 $ docker stop --time=1 ab3728d0e603175fa5bd99c89be48b2fbdcc677a39039f0ad5a9a1e3989524d6 23:30:40 $ docker rm -f --volumes ab3728d0e603175fa5bd99c89be48b2fbdcc677a39039f0ad5a9a1e3989524d6 [Pipeline] // withDockerContainer [Pipeline] sh 23:30:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:30:41 Warning: overwriting stash ‘coverage-report’ 23:30:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:30:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:30:42 + ls -al . 23:30:42 total 176 23:30:42 drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 23:27 . 23:30:42 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 23:25 .. 23:30:42 -rw-rw-r-- 1 jenkins jenkins 140 Apr 24 23:25 .dockerignore 23:30:42 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 23:25 .git 23:30:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 23:25 .github 23:30:42 -rw-rw-r-- 1 jenkins jenkins 329 Apr 24 23:25 .gitignore 23:30:42 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 23:25 .golangci.yml 23:30:42 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 24 23:25 Attribution.txt 23:30:42 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 24 23:25 CHANGELOG.md 23:30:42 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 24 23:25 Dockerfile 23:30:42 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 23:25 GOVERNANCE.md 23:30:42 -rw-rw-r-- 1 jenkins jenkins 678 Apr 24 23:25 Jenkinsfile 23:30:42 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 23:25 LICENSE 23:30:42 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 24 23:25 Makefile 23:30:42 -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 23:25 OWNERS.md 23:30:42 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 24 23:25 README.md 23:30:42 -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 23:21 VERSION 23:30:42 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 23:25 bin 23:30:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 23:25 cmd 23:30:42 -rw-r--r-- 1 jenkins jenkins 18460 Apr 24 23:29 coverage.out 23:30:42 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 24 23:25 go.mod 23:30:42 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 24 23:25 go.sum 23:30:42 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 23:25 internal 23:30:42 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 23:25 mock 23:30:42 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 23:25 snap 23:30:42 -rw-rw-r-- 1 jenkins jenkins 227 Apr 24 23:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:30:42 + 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=d80be012c4b0298bfe6d921ff55e22729ef82335 --label arch=arm64 --label version=0.0.0 . 23:30:43 Sending build context to Docker daemon 3.38MB 23:30:43 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:30:43 Step 2/24 : FROM ${BASE} AS builder 23:30:43 ---> c4527fb45e5e 23:30:43 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:30:45 ---> Running in 404f052501a8 23:30:45 Removing intermediate container 404f052501a8 23:30:45 ---> fa19f39560c7 23:30:45 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:30:45 ---> Running in 910869265dfb 23:30:45 Removing intermediate container 910869265dfb 23:30:45 ---> ace922c50643 23:30:45 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:30:45 ---> Running in 39f5bcf276a2 23:30:45 Removing intermediate container 39f5bcf276a2 23:30:45 ---> a8d99a381996 23:30:45 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:30:45 ---> Running in ceeae8912059 23:30:46 Removing intermediate container ceeae8912059 23:30:46 ---> c274012fcff5 23:30:46 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:30:46 ---> Running in f4d66806a3cc 23:30:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:30:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:30:49 OK: 268 MiB in 57 packages 23:30:50 Removing intermediate container f4d66806a3cc 23:30:50 ---> 16d7489ec4e1 23:30:50 Step 8/24 : WORKDIR /device-mqtt-go 23:30:50 ---> Running in 4aee19e07aeb 23:30:50 Removing intermediate container 4aee19e07aeb 23:30:50 ---> 831a589362af 23:30:50 Step 9/24 : COPY go.mod vendor* ./ 23:30:50 ---> ba8269f95596 23:30:50 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:30:50 ---> Running in aab1976fd550 23:30:53 Removing intermediate container aab1976fd550 23:30:53 ---> bbb841eaf672 23:30:53 Step 11/24 : COPY . . 23:30:54 ---> 73e07213731c 23:30:54 Step 12/24 : RUN $MAKE 23:30:54 ---> Running in 50deeec949c1 23:30:55 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 23:33:02 Removing intermediate container 50deeec949c1 23:33:02 ---> 4494ad0e5488 23:33:02 Step 13/24 : FROM alpine:3.17 23:33:02 3.17: Pulling from library/alpine 23:33:02 c41833b44d91: Already exists 23:33:02 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:33:02 Status: Downloaded newer image for alpine:3.17 23:33:02 ---> 51e60588ff2c 23:33:02 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:33:02 ---> Running in 98864089614d 23:33:02 Removing intermediate container 98864089614d 23:33:02 ---> f429edee13db 23:33:02 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:33:02 ---> Running in 25ee374ff40e 23:33:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:33:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:33:03 (1/1) Installing dumb-init (1.2.5-r2) 23:33:03 Executing busybox-1.35.0-r29.trigger 23:33:03 OK: 8 MiB in 16 packages 23:33:04 Removing intermediate container 25ee374ff40e 23:33:04 ---> 71e25a0a9d4e 23:33:04 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:33:05 ---> 6189c80ea622 23:33:05 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:33:06 ---> 4ef99b1a04ac 23:33:06 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:33:06 ---> f26f4760e4df 23:33:06 Step 19/24 : EXPOSE 59982 23:33:06 ---> Running in 96fd4f4aeb43 23:33:07 Removing intermediate container 96fd4f4aeb43 23:33:07 ---> 51cc614a5d4c 23:33:07 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:33:07 ---> Running in 8c822c54da4b 23:33:07 Removing intermediate container 8c822c54da4b 23:33:07 ---> b2f71d253347 23:33:07 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:33:07 ---> Running in 6db86e11642e 23:33:07 Removing intermediate container 6db86e11642e 23:33:07 ---> dea073308047 23:33:07 Step 22/24 : LABEL arch=arm64 23:33:07 ---> Running in 5eb53ef8e016 23:33:08 Removing intermediate container 5eb53ef8e016 23:33:08 ---> 6c6e31ea3aaa 23:33:08 Step 23/24 : LABEL git_sha=d80be012c4b0298bfe6d921ff55e22729ef82335 23:33:08 ---> Running in 46fa3843c171 23:33:08 Removing intermediate container 46fa3843c171 23:33:08 ---> 7dd0f73f1d73 23:33:08 Step 24/24 : LABEL version=0.0.0 23:33:08 ---> Running in 96ff8f44dc9d 23:33:08 Removing intermediate container 96ff8f44dc9d 23:33:08 ---> 6ce6c45dd59e 23:33:08 [Warning] One or more build-args [ARCH] were not consumed 23:33:08 Successfully built 6ce6c45dd59e 23:33:08 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:33:09 23:33:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:33:09 arm64: Pulling from edgex-lftools-log-publisher 23:33:09 8998bd30e6a1: Pulling fs layer 23:33:09 04944245beec: Pulling fs layer 23:33:09 699f458cf7ca: Pulling fs layer 23:33:09 765212b225bb: Pulling fs layer 23:33:09 f23df028b6ca: Pulling fs layer 23:33:09 d65c8cfc05b1: Pulling fs layer 23:33:09 2437ff75d9bd: Pulling fs layer 23:33:09 765212b225bb: Waiting 23:33:09 f23df028b6ca: Waiting 23:33:09 d65c8cfc05b1: Waiting 23:33:09 2437ff75d9bd: Waiting 23:33:09 04944245beec: Verifying Checksum 23:33:09 04944245beec: Download complete 23:33:09 765212b225bb: Download complete 23:33:09 f23df028b6ca: Verifying Checksum 23:33:09 f23df028b6ca: Download complete 23:33:09 d65c8cfc05b1: Download complete 23:33:10 699f458cf7ca: Verifying Checksum 23:33:10 699f458cf7ca: Download complete 23:33:10 8998bd30e6a1: Download complete 23:33:12 2437ff75d9bd: Verifying Checksum 23:33:12 2437ff75d9bd: Download complete 23:33:14 8998bd30e6a1: Pull complete 23:33:14 04944245beec: Pull complete 23:33:15 699f458cf7ca: Pull complete 23:33:15 765212b225bb: Pull complete 23:33:16 f23df028b6ca: Pull complete 23:33:16 d65c8cfc05b1: Pull complete 23:33:31 2437ff75d9bd: Pull complete 23:33:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:33:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:33:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:33:32 prd-ubuntu20.04-docker-arm64-4c-16g-9583 does not seem to be running inside a container 23:33:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/3 -v /w/workspace/device-mqtt-go/3:/w/workspace/device-mqtt-go/3:rw,z -v /w/workspace/device-mqtt-go/3@tmp:/w/workspace/device-mqtt-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:33:34 $ docker top f583645927f8213c06425aa1a14ff88438b4683f1458d2cda9378745a03895ba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:33:35 ---> job-cost.sh 23:33:35 lf-activate-venv: SKIPPING 23:33:35 INFO: No Stack... 23:33:36 INFO: Retrieving Pricing Info for: v3-standard-4 23:33:36 INFO: Archiving Costs [Pipeline] sh 23:33:37 + cat /w/workspace/device-mqtt-go/3/archives/cost.csv 23:33:37 + cut -d, -f6 [Pipeline] lock 23:33:37 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-575-3-stack-cost] 23:33:37 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-575-3-stack-cost] did not exist. Created. 23:33:37 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-575-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:33:37 /w/workspace/device-mqtt-go/3@tmp/durable-561be429/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:33:38 + echo total: 0.10999999940395355 [Pipeline] stash 23:33:38 Warning: overwriting stash ‘stack-cost’ 23:33:38 Stashed 1 file(s) [Pipeline] } 23:33:38 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-575-3-stack-cost] [Pipeline] // lock [Pipeline] } 23:33:38 $ docker stop --time=1 f583645927f8213c06425aa1a14ff88438b4683f1458d2cda9378745a03895ba 23:33:39 $ docker rm -f --volumes f583645927f8213c06425aa1a14ff88438b4683f1458d2cda9378745a03895ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:33:40 provisioning config files... 23:33:40 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/config3786655666225251857tmp [Pipeline] { [Pipeline] sh 23:33:40 + set +x 23:33:40 + curl -s https://codecov.io/bash 23:33:40 + bash -s -- 23:33:40 23:33:40 _____ _ 23:33:40 / ____| | | 23:33:40 | | ___ __| | ___ ___ _____ __ 23:33:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:33:40 | |___| (_) | (_| | __/ (_| (_) \ V / 23:33:40 \_____\___/ \__,_|\___|\___\___/ \_/ 23:33:40 Bash-1.0.6 23:33:40 23:33:40 23:33:40 ==> git version 2.25.1 found 23:33:40 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:33:40 Release-Date: 2020-01-08 23:33:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:33:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:33:40 ==> Jenkins CI detected. 23:33:40 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-575 23:33:40 project root: . 23:33:40 --> token set from env 23:33:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:33:40 ==> Running gcov in . (disable via -X gcov) 23:33:40 ==> Python coveragepy not found 23:33:40 ==> Searching for coverage reports in: 23:33:40 + . 23:33:41 -> Found 1 reports 23:33:41 ==> Detecting git/mercurial file structure 23:33:41 ==> Reading reports 23:33:41 + ./coverage.out bytes=18460 23:33:41 ==> Appending adjustments 23:33:41 https://docs.codecov.io/docs/fixing-reports 23:33:41 + Found adjustments 23:33:41 ==> Gzipping contents 23:33:41 4.0K /tmp/codecov.sxxPaz.gz 23:33:41 ==> Uploading reports 23:33:41 url: https://codecov.io 23:33:41 query: branch=PR-575&commit=98a5e53106442e8dcf1b85e0481462d3b73aebfa&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-575%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=575&job=&cmd_args= 23:33:41 -> Pinging Codecov 23:33:41 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=98a5e53106442e8dcf1b85e0481462d3b73aebfa&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-575%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=575&job=&cmd_args= 23:33:41 -> Uploading to 23:33:41 https://storage.googleapis.com/codecov/v4/raw/2023-04-24/7D719EC7BBE17E464838252E33014C33/98a5e53106442e8dcf1b85e0481462d3b73aebfa/9d3c0519-2edb-4da7-90fb-8eb7c07e5b61.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T233341Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=55c055061a4ac5cb14c140bb326cd9b8003d9e66895e543953ede12475d7e6df 23:33:41 % Total % Received % Xferd Average Speed Time Time Time Current 23:33:41 Dload Upload Total Spent Left Speed 23:33:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3182 0 0 100 3182 0 13369 --:--:-- --:--:-- --:--:-- 13369 23:33:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/98a5e53106442e8dcf1b85e0481462d3b73aebfa [Pipeline] } 23:33:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:33:42 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-575/archives ] 23:33:42 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-575/archives 23:33:42 total 16 23:33:42 drwxr-xr-x 3 root root 4096 Apr 24 23:23 . 23:33:42 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 23:23 .. 23:33:42 drwxr-xr-x 2 root root 4096 Apr 24 23:23 cost 23:33:42 -rw-r--r-- 1 root root 86 Apr 24 23:23 cost.csv 23:33:42 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-575/archives 23:33:42 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-575/archives 23:33:42 total 16 23:33:42 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 23:23 . 23:33:42 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 23:23 .. 23:33:42 drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 23:23 cost 23:33:42 -rw-r--r-- 1 jenkins jenkins 86 Apr 24 23:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:33:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:33:43 ---> package-listing.sh 23:33:43 ++ facter osfamily 23:33:43 ++ tr '[:upper:]' '[:lower:]' 23:33:43 + OS_FAMILY=debian 23:33:43 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-575 23:33:43 + START_PACKAGES=/tmp/packages_start.txt 23:33:43 + END_PACKAGES=/tmp/packages_end.txt 23:33:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:33:43 + PACKAGES=/tmp/packages_start.txt 23:33:43 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-575 ']' 23:33:43 + PACKAGES=/tmp/packages_end.txt 23:33:43 + case "${OS_FAMILY}" in 23:33:43 + dpkg -l 23:33:43 + grep '^ii' 23:33:43 + '[' -f /tmp/packages_start.txt ']' 23:33:43 + '[' -f /tmp/packages_end.txt ']' 23:33:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:33:43 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-575 ']' 23:33:43 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-575/archives/ 23:33:43 + 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 23:33:43 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 23:33:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:33:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:33:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:33:44 prd-ubuntu20.04-docker-8c-8g-9581 does not seem to be running inside a container 23:33:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:33:44 $ docker top 99d40645108f479febcec6a3c56dccae20683fe566a1df06947cd10825eb4c3f -eo pid,comm [Pipeline] { [Pipeline] sh 23:33:45 + touch /tmp/pre-build-complete [Pipeline] sh 23:33:45 + mkdir -p /var/log/sysstat [Pipeline] sh 23:33:45 + ls /var/log/sa-host 23:33:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:33:45 provisioning config files... 23:33:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/config2620457642930494017tmp [Pipeline] { [Pipeline] echo 23:33:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:33:46 ---> create-netrc.sh [Pipeline] } 23:33:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:33:46 ---> python-tools-install.sh [Pipeline] echo 23:33:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:33:46 ---> sudo-logs.sh 23:33:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:33:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:33:47 ---> job-cost.sh 23:33:47 lf-activate-venv: SKIPPING 23:33:47 DEBUG: total: 0.2199999988079071 23:33:47 INFO: Retrieving Stack Cost... 23:33:47 INFO: Retrieving Pricing Info for: v3-standard-8 23:33:47 INFO: Archiving Costs [Pipeline] echo 23:33:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:33:48 ---> logs-deploy.sh 23:33:48 lf-activate-venv: SKIPPING 23:33:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-575/3 23:33:48 INFO: archiving workspace using pattern(s): 23:33:49 Archives upload complete. 23:33:49 INFO: archiving logs to Nexus