Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 93463789da1293ec58fdbcb73275c398457a668b+15e121638b61dd5d2b05931572372c8312ebd12f (eb0432e594a8dad0e6f96004e6890d3078847174) 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-ssh14447289311730977869.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-ssh1266593089832329096.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-578/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-578/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2299823774990739284.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-ssh14971379481327416822.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-578/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-578/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1936198811009972685.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 Running on prd-ubuntu20.04-docker-8c-8g-11129 in /w/workspace/gexfoundry_device-mqtt-go_PR-578 [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-578 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 15e121638b61dd5d2b05931572372c8312ebd12f into PR head commit 93463789da1293ec58fdbcb73275c398457a668b Merge succeeded, producing 8f49a44b459ffb97a572235c21491a40115e66c3 Checking out Revision 8f49a44b459ffb97a572235c21491a40115e66c3 (PR-578) > 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/578/head:refs/remotes/origin/PR-578 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93463789da1293ec58fdbcb73275c398457a668b # 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 15e121638b61dd5d2b05931572372c8312ebd12f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8f49a44b459ffb97a572235c21491a40115e66c3 # timeout=10 Commit message: "Merge commit '15e121638b61dd5d2b05931572372c8312ebd12f' into HEAD" > git rev-list --no-walk 93463789da1293ec58fdbcb73275c398457a668b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:16:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:16:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:16:30 ========================================================= 23:16:30 EdgeX Global Pipelines Version Info 23:16:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:16:31 ------------------- 23:16:31 stable info: 23:16:31 ------------------- 23:16:31 Commited By: Bill Mahoney bill.mahoney@intel.com 23:16:31 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 23:16:31 Message: update stable to v1.0.248 23:16:31 ------------------- 23:16:31 experimental info: 23:16:31 ------------------- 23:16:31 Commited By: **** collab-it+edgex@linuxfoundation.org 23:16:31 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 23:16:31 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-578 [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-578 [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-578 [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8f49a44b459ffb97a572235c21491a40115e66c3 [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8f49a44 [Pipeline] echo 23:16:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:16:32 provisioning config files... 23:16:32 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp/config10838901712571247244tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:16:32 ---> docker-login.sh 23:16:32 nexus3.edgexfoundry.org:10001 23:16:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:33 Configure a credential helper to remove this warning. See 23:16:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:33 23:16:33 Login Succeeded 23:16:33 nexus3.edgexfoundry.org:10002 23:16:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:33 Configure a credential helper to remove this warning. See 23:16:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:33 23:16:33 Login Succeeded 23:16:33 nexus3.edgexfoundry.org:10003 23:16:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:33 Configure a credential helper to remove this warning. See 23:16:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:33 23:16:33 Login Succeeded 23:16:33 nexus3.edgexfoundry.org:10004 23:16:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:33 Configure a credential helper to remove this warning. See 23:16:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:33 23:16:33 Login Succeeded 23:16:33 docker.io 23:16:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:33 Configure a credential helper to remove this warning. See 23:16:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:33 23:16:33 Login Succeeded 23:16:33 ---> docker-login.sh ends [Pipeline] } 23:16:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:16:34 + git rev-list -1 --merges 8f49a44b459ffb97a572235c21491a40115e66c3~1..8f49a44b459ffb97a572235c21491a40115e66c3 [Pipeline] echo 23:16:34 -----------> git rev-list -1 --merges 8f49a44b459ffb97a572235c21491a40115e66c3~1..8f49a44b459ffb97a572235c21491a40115e66c3 8f49a44b459ffb97a572235c21491a40115e66c3 23:16:34 8f49a44b459ffb97a572235c21491a40115e66c3 [false] [Pipeline] sh 23:16:34 + git log --format=format:%s -1 8f49a44b459ffb97a572235c21491a40115e66c3 [Pipeline] echo 23:16:34 ========================================================= 23:16:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:16:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:16:34 + git log --format=format:%s -1 8f49a44b459ffb97a572235c21491a40115e66c3 [Pipeline] echo 23:16:34 [semverPrep] GIT_COMMIT: 8f49a44b459ffb97a572235c21491a40115e66c3, Commit Message: Merge commit '15e121638b61dd5d2b05931572372c8312ebd12f' into HEAD [Pipeline] echo 23:16:34 [semverPrep] This is not a build commit. [Pipeline] sh 23:16:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:16:35 + grep -v github /etc/ssh/ssh_known_hosts 23:16:35 + [ -e /tmp/ssh_known_hosts ] 23:16:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:16:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:16:35 + sudo tee -a /etc/ssh/ssh_known_hosts 23:16:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:16:35 23:16:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:16:36 0.1.4: Pulling from edgex-devops/py-git-semver 23:16:36 b85a868b505f: Pulling fs layer 23:16:36 e2be974225ed: Pulling fs layer 23:16:36 339a4e72a1f5: Pulling fs layer 23:16:36 988bab9f4d93: Pulling fs layer 23:16:36 1469e6f7b9e6: Pulling fs layer 23:16:36 eaf3925da568: Pulling fs layer 23:16:36 bab4dde63d76: Pulling fs layer 23:16:36 bde34c3a00c8: Pulling fs layer 23:16:36 b352a97aabf1: Pulling fs layer 23:16:36 4872d77fe225: Pulling fs layer 23:16:36 5851b861e8e6: Pulling fs layer 23:16:36 bab4dde63d76: Waiting 23:16:36 b352a97aabf1: Waiting 23:16:36 bde34c3a00c8: Waiting 23:16:36 4872d77fe225: Waiting 23:16:36 5851b861e8e6: Waiting 23:16:36 1469e6f7b9e6: Waiting 23:16:36 eaf3925da568: Waiting 23:16:36 e2be974225ed: Verifying Checksum 23:16:36 e2be974225ed: Download complete 23:16:36 988bab9f4d93: Download complete 23:16:36 1469e6f7b9e6: Download complete 23:16:36 eaf3925da568: Verifying Checksum 23:16:36 339a4e72a1f5: Download complete 23:16:36 bde34c3a00c8: Download complete 23:16:36 b352a97aabf1: Verifying Checksum 23:16:36 b352a97aabf1: Download complete 23:16:36 4872d77fe225: Verifying Checksum 23:16:36 4872d77fe225: Download complete 23:16:36 5851b861e8e6: Verifying Checksum 23:16:36 5851b861e8e6: Download complete 23:16:36 b85a868b505f: Verifying Checksum 23:16:36 b85a868b505f: Download complete 23:16:36 bab4dde63d76: Verifying Checksum 23:16:36 bab4dde63d76: Download complete 23:16:37 b85a868b505f: Pull complete 23:16:37 e2be974225ed: Pull complete 23:16:38 339a4e72a1f5: Pull complete 23:16:38 988bab9f4d93: Pull complete 23:16:38 1469e6f7b9e6: Pull complete 23:16:38 eaf3925da568: Pull complete 23:16:40 bab4dde63d76: Pull complete 23:16:40 bde34c3a00c8: Pull complete 23:16:40 b352a97aabf1: Pull complete 23:16:40 4872d77fe225: Pull complete 23:16:40 5851b861e8e6: Pull complete 23:16:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:16:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:16:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:16:40 prd-ubuntu20.04-docker-8c-8g-11129 does not seem to be running inside a container 23:16:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-578 -v /w/workspace/gexfoundry_device-mqtt-go_PR-578:/w/workspace/gexfoundry_device-mqtt-go_PR-578:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-578@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:16:42 $ docker top b83bbc678b89049cb10d71d31e15d498f48f175b7162fa3ff360ad915202cc71 -eo pid,comm 23:16:42 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:16:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:16:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:16:42 [ssh-agent] Looking for ssh-agent implementation... 23:16:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:16:42 $ docker exec b83bbc678b89049cb10d71d31e15d498f48f175b7162fa3ff360ad915202cc71 ssh-agent 23:16:42 SSH_AUTH_SOCK=/tmp/ssh-OsLRLhWvvAj6/agent.32 23:16:42 SSH_AGENT_PID=38 23:16:42 Running ssh-add (command line suppressed) 23:16:43 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp/private_key_2872518186907207331.key (/w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp/private_key_2872518186907207331.key) 23:16:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:16:43 + git tag --points-at HEAD [Pipeline] } 23:16:43 $ docker exec --env ******** --env ******** b83bbc678b89049cb10d71d31e15d498f48f175b7162fa3ff360ad915202cc71 ssh-agent -k 23:16:43 unset SSH_AUTH_SOCK; 23:16:43 unset SSH_AGENT_PID; 23:16:43 echo Agent pid 38 killed; 23:16:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:16:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:16:43 [ssh-agent] Looking for ssh-agent implementation... 23:16:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:16:43 $ docker exec b83bbc678b89049cb10d71d31e15d498f48f175b7162fa3ff360ad915202cc71 ssh-agent 23:16:43 SSH_AUTH_SOCK=/tmp/ssh-sOl5d7wfc8oz/agent.71 23:16:43 SSH_AGENT_PID=77 23:16:43 Running ssh-add (command line suppressed) 23:16:43 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp/private_key_13002628668951855359.key (/w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp/private_key_13002628668951855359.key) 23:16:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:16:44 + git semver init 23:16:44 2023-04-26 23:16:44,330 [run_init] DEBUG init version:0.0.0 force:False 23:16:44 2023-04-26 23:16:44,331 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-578/.semver 23:16:44 2023-04-26 23:16:44,331 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-578/.semver 23:16:44 2023-04-26 23:16:44,332 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-578/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-578, universal_newlines=False, shell=None, istream=None) 23:16:45 2023-04-26 23:16:45,086 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-578/.git/info/exclude 23:16:45 2023-04-26 23:16:45,086 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-578/.semver/PR-578 with force:False 23:16:45 2023-04-26 23:16:45,086 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-578/.semver/PR-578 23:16:45 2023-04-26 23:16:45,091 [execute] INFO git cat-file --batch-check 23:16:45 2023-04-26 23:16:45,092 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-578/.semver, universal_newlines=False, shell=None, istream=) 23:16:45 2023-04-26 23:16:45,097 [execute] INFO git cat-file --batch 23:16:45 2023-04-26 23:16:45,097 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-578/.semver, universal_newlines=False, shell=None, istream=) 23:16:45 2023-04-26 23:16:45,100 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-578/.semver/PR-578 23:16:45 0.0.0 [Pipeline] } 23:16:45 $ docker exec --env ******** --env ******** b83bbc678b89049cb10d71d31e15d498f48f175b7162fa3ff360ad915202cc71 ssh-agent -k 23:16:45 unset SSH_AUTH_SOCK; 23:16:45 unset SSH_AGENT_PID; 23:16:45 echo Agent pid 77 killed; 23:16:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:16:45 + git semver [Pipeline] } 23:16:46 $ docker stop --time=1 b83bbc678b89049cb10d71d31e15d498f48f175b7162fa3ff360ad915202cc71 23:16:47 $ docker rm -f --volumes b83bbc678b89049cb10d71d31e15d498f48f175b7162fa3ff360ad915202cc71 [Pipeline] // withDockerContainer [Pipeline] sh 23:16:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:16:48 Stashed 1 file(s) [Pipeline] echo 23:16:48 [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:16:48 provisioning config files... 23:16:48 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp/config18294486566110785156tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:16:48 ---> docker-login.sh 23:16:48 nexus3.edgexfoundry.org:10001 23:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:48 Configure a credential helper to remove this warning. See 23:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:48 23:16:48 Login Succeeded 23:16:48 nexus3.edgexfoundry.org:10002 23:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:48 Configure a credential helper to remove this warning. See 23:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:48 23:16:48 Login Succeeded 23:16:48 nexus3.edgexfoundry.org:10003 23:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:48 Configure a credential helper to remove this warning. See 23:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:48 23:16:48 Login Succeeded 23:16:48 nexus3.edgexfoundry.org:10004 23:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:48 Configure a credential helper to remove this warning. See 23:16:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:48 23:16:48 Login Succeeded 23:16:48 docker.io 23:16:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:49 Configure a credential helper to remove this warning. See 23:16:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:49 23:16:49 Login Succeeded 23:16:49 ---> docker-login.sh ends [Pipeline] } 23:16:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:16:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:16:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:16:49 ========================================================= 23:16:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:16:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:49 + 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:16:49 Sending build context to Docker daemon 6.487MB 23:16:49 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:16:49 Step 2/12 : FROM ${BASE} AS builder 23:16:49 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:16:49 f56be85fc22e: Pulling fs layer 23:16:49 85791d961cd3: Pulling fs layer 23:16:49 d694b5ae8c79: Pulling fs layer 23:16:49 9f32a84ed3da: Pulling fs layer 23:16:49 4d19c01a9841: Pulling fs layer 23:16:49 9325e15d5711: Pulling fs layer 23:16:49 556b6ee489ea: Pulling fs layer 23:16:49 c5a4b2cf53e6: Pulling fs layer 23:16:49 9f32a84ed3da: Waiting 23:16:49 4d19c01a9841: Waiting 23:16:49 9325e15d5711: Waiting 23:16:49 556b6ee489ea: Waiting 23:16:49 c5a4b2cf53e6: Waiting 23:16:49 85791d961cd3: Verifying Checksum 23:16:49 85791d961cd3: Download complete 23:16:49 9f32a84ed3da: Verifying Checksum 23:16:49 9f32a84ed3da: Download complete 23:16:49 4d19c01a9841: Verifying Checksum 23:16:49 4d19c01a9841: Download complete 23:16:49 f56be85fc22e: Verifying Checksum 23:16:49 f56be85fc22e: Download complete 23:16:49 9325e15d5711: Verifying Checksum 23:16:49 9325e15d5711: Download complete 23:16:49 f56be85fc22e: Pull complete 23:16:49 85791d961cd3: Pull complete 23:16:50 d694b5ae8c79: Download complete 23:16:50 c5a4b2cf53e6: Verifying Checksum 23:16:50 c5a4b2cf53e6: Download complete 23:16:50 556b6ee489ea: Verifying Checksum 23:16:50 556b6ee489ea: Download complete 23:16:53 d694b5ae8c79: Pull complete 23:16:53 9f32a84ed3da: Pull complete 23:16:53 4d19c01a9841: Pull complete 23:16:53 9325e15d5711: Pull complete 23:16:56 556b6ee489ea: Pull complete 23:16:56 c5a4b2cf53e6: Pull complete 23:16:56 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:16:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:16:56 ---> c4be618373d6 23:16:56 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:16:59 ---> Running in df57edc7a4e4 23:16:59 Removing intermediate container df57edc7a4e4 23:16:59 ---> 4d1467a7e242 23:16:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:16:59 ---> Running in 086454e96fe6 23:16:59 Removing intermediate container 086454e96fe6 23:16:59 ---> c52dab687fbe 23:16:59 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:16:59 ---> Running in 7f2146727c80 23:16:59 Removing intermediate container 7f2146727c80 23:16:59 ---> 6b9da71aeedb 23:16:59 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:16:59 ---> Running in 07ba1096f1b9 23:16:59 Removing intermediate container 07ba1096f1b9 23:16:59 ---> b7ea5435caa5 23:16:59 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:16:59 ---> Running in 09ae529b7a4b 23:17:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:17:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:17:00 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:17:00 (2/4) Installing libedit (20221030.3.1-r0) 23:17:00 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:17:00 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:17:00 Executing busybox-1.35.0-r29.trigger 23:17:00 OK: 269 MiB in 57 packages 23:17:01 Removing intermediate container 09ae529b7a4b 23:17:01 ---> 6edbfa459199 23:17:01 Step 8/12 : WORKDIR /device-mqtt-go 23:17:01 ---> Running in d781341a9aaa 23:17:01 Removing intermediate container d781341a9aaa 23:17:01 ---> 69cc087b654d 23:17:01 Step 9/12 : COPY go.mod vendor* ./ 23:17:01 ---> 996655330ff8 23:17:01 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:17:01 ---> Running in cd3a0ce3ef3d 23:17:03 Still waiting to schedule task 23:17:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:17:39 Removing intermediate container cd3a0ce3ef3d 23:17:39 ---> 3063dbe1a9ef 23:17:39 Step 11/12 : COPY . . 23:17:39 ---> 94d4636e6617 23:17:39 Step 12/12 : RUN $MAKE 23:17:39 ---> Running in 523228c6f8d4 23:17:39 noop 23:17:39 Removing intermediate container 523228c6f8d4 23:17:39 ---> 99125119928a 23:17:39 Successfully built 99125119928a 23:17:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:40 + docker inspect -f . ci-base-image-x86_64 23:17:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:40 prd-ubuntu20.04-docker-8c-8g-11129 does not seem to be running inside a container 23:17:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-578 -v /w/workspace/gexfoundry_device-mqtt-go_PR-578:/w/workspace/gexfoundry_device-mqtt-go_PR-578:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-578@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:17:40 $ docker top b721f7c4647eda820121b9778098116cfc30f9f9c66196c2a0fb2b1ef21f44b7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:17:41 + go version 23:17:41 go version go1.20.2 linux/amd64 [Pipeline] } 23:17:41 $ docker stop --time=1 b721f7c4647eda820121b9778098116cfc30f9f9c66196c2a0fb2b1ef21f44b7 23:17:42 $ docker rm -f --volumes b721f7c4647eda820121b9778098116cfc30f9f9c66196c2a0fb2b1ef21f44b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:42 + docker inspect -f . ci-base-image-x86_64 23:17:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:42 prd-ubuntu20.04-docker-8c-8g-11129 does not seem to be running inside a container 23:17:42 $ 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-578 -v /w/workspace/gexfoundry_device-mqtt-go_PR-578:/w/workspace/gexfoundry_device-mqtt-go_PR-578:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-578@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:17:43 $ docker top c26c95a9b67bab2ddcccb57b4d102f3c40ba7c027e4140b439ffb9a3a3219ba1 -eo pid,comm [Pipeline] { [Pipeline] sh 23:17:43 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-578 [Pipeline] fileExists [Pipeline] sh 23:17:43 + make test 23:17:43 go test ./... -coverprofile=coverage.out ./... 23:17:48 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:17:58 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:17:58 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:17:58 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.022s coverage: 24.6% of statements 23:18:05 go vet ./... 23:18:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:18:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:18:09 ./bin/test-attribution-txt.sh [Pipeline] echo 23:18:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:18:09 $ docker stop --time=1 c26c95a9b67bab2ddcccb57b4d102f3c40ba7c027e4140b439ffb9a3a3219ba1 23:18:12 $ docker rm -f --volumes c26c95a9b67bab2ddcccb57b4d102f3c40ba7c027e4140b439ffb9a3a3219ba1 [Pipeline] // withDockerContainer [Pipeline] sh 23:18:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:18:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:18:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:18:13 + ls -al . 23:18:13 total 180 23:18:13 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 23:17 . 23:18:13 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 23:16 .. 23:18:13 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 23:16 .dockerignore 23:18:13 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 23:16 .git 23:18:13 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 23:16 .github 23:18:13 -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 23:16 .gitignore 23:18:13 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 23:16 .golangci.yml 23:18:13 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 23:16 .semver 23:18:13 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 26 23:16 Attribution.txt 23:18:13 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 26 23:16 CHANGELOG.md 23:18:13 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 26 23:16 Dockerfile 23:18:13 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 23:16 GOVERNANCE.md 23:18:13 -rw-rw-r-- 1 jenkins jenkins 678 Apr 26 23:16 Jenkinsfile 23:18:13 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 23:16 LICENSE 23:18:13 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 26 23:16 Makefile 23:18:13 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 23:16 OWNERS.md 23:18:13 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 26 23:16 README.md 23:18:13 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 23:16 VERSION 23:18:13 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 23:16 bin 23:18:13 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 23:16 cmd 23:18:13 -rw-r--r-- 1 jenkins jenkins 16535 Apr 26 23:17 coverage.out 23:18:13 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 26 23:16 go.mod 23:18:13 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 26 23:16 go.sum 23:18:13 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 23:16 internal 23:18:13 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 23:16 mock 23:18:13 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 23:16 snap 23:18:13 -rw-rw-r-- 1 jenkins jenkins 227 Apr 26 23:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:14 + 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=8f49a44b459ffb97a572235c21491a40115e66c3 --label arch=amd64 --label version=0.0.0 . 23:18:14 Sending build context to Docker daemon 6.504MB 23:18:14 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:18:14 Step 2/24 : FROM ${BASE} AS builder 23:18:14 ---> 99125119928a 23:18:14 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:18:14 ---> Running in 2cd5cf0a7204 23:18:14 Removing intermediate container 2cd5cf0a7204 23:18:14 ---> a78e389def83 23:18:14 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:18:14 ---> Running in 7b47ae936057 23:18:14 Removing intermediate container 7b47ae936057 23:18:14 ---> d9042edb20d2 23:18:14 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:18:14 ---> Running in fa657721c880 23:18:14 Removing intermediate container fa657721c880 23:18:14 ---> 80f51fd41ae3 23:18:14 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:18:14 ---> Running in a3500dd8480a 23:18:14 Removing intermediate container a3500dd8480a 23:18:14 ---> 3e538ac1d8f7 23:18:14 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:18:14 ---> Running in f68cd1a754fa 23:18:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:18:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:18:15 OK: 269 MiB in 57 packages 23:18:15 Removing intermediate container f68cd1a754fa 23:18:15 ---> 88116079af9c 23:18:15 Step 8/24 : WORKDIR /device-mqtt-go 23:18:15 ---> Running in bd5e83115302 23:18:15 Removing intermediate container bd5e83115302 23:18:15 ---> ee128d6d8142 23:18:15 Step 9/24 : COPY go.mod vendor* ./ 23:18:15 ---> 4a27af1df72d 23:18:15 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:18:15 ---> Running in 8f1a296ebac9 23:18:16 Removing intermediate container 8f1a296ebac9 23:18:16 ---> 16baf0e05104 23:18:16 Step 11/24 : COPY . . 23:18:17 ---> a104a4e6b121 23:18:17 Step 12/24 : RUN $MAKE 23:18:17 ---> Running in f8b28ac7e66a 23:18:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:18:39 Removing intermediate container f8b28ac7e66a 23:18:39 ---> d09758a84c41 23:18:39 Step 13/24 : FROM alpine:3.17 23:18:39 3.17: Pulling from library/alpine 23:18:39 f56be85fc22e: Already exists 23:18:39 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:18:39 Status: Downloaded newer image for alpine:3.17 23:18:39 ---> 9ed4aefc74f6 23:18:39 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:18:39 ---> Running in b26f1dab91c8 23:18:39 Removing intermediate container b26f1dab91c8 23:18:39 ---> d7ebf4bbd5cd 23:18:39 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:18:39 ---> Running in edef61bfd4c0 23:18:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:18:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:18:39 (1/1) Installing dumb-init (1.2.5-r2) 23:18:39 Executing busybox-1.35.0-r29.trigger 23:18:39 OK: 7 MiB in 16 packages 23:18:39 Removing intermediate container edef61bfd4c0 23:18:39 ---> 361331d1d96f 23:18:39 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:18:39 ---> c91767037735 23:18:39 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:18:39 ---> 9f0f8974ab92 23:18:39 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:18:39 ---> ce1e3959d460 23:18:39 Step 19/24 : EXPOSE 59982 23:18:39 ---> Running in b29b87ffbd8a 23:18:39 Removing intermediate container b29b87ffbd8a 23:18:39 ---> 308b589dad18 23:18:39 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:18:39 ---> Running in 69517b707e51 23:18:39 Removing intermediate container 69517b707e51 23:18:39 ---> 5ead0ce58284 23:18:39 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:18:39 ---> Running in 0ea12b4b4a87 23:18:39 Removing intermediate container 0ea12b4b4a87 23:18:39 ---> ddd0e7cae274 23:18:39 Step 22/24 : LABEL arch=amd64 23:18:39 ---> Running in 8efa2b1bb426 23:18:39 Removing intermediate container 8efa2b1bb426 23:18:39 ---> e8246673a45e 23:18:39 Step 23/24 : LABEL git_sha=8f49a44b459ffb97a572235c21491a40115e66c3 23:18:39 ---> Running in f7d8f2227f00 23:18:40 Removing intermediate container f7d8f2227f00 23:18:40 ---> 65fcffaa0c98 23:18:40 Step 24/24 : LABEL version=0.0.0 23:18:40 ---> Running in c062ac713839 23:18:40 Removing intermediate container c062ac713839 23:18:40 ---> 25c1717474cf 23:18:40 [Warning] One or more build-args [ARCH] were not consumed 23:18:40 Successfully built 25c1717474cf 23:18:40 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:18:40 23:18:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:18:40 latest: Pulling from edgex-lftools-log-publisher 23:18:40 5eb5b503b376: Pulling fs layer 23:18:40 5c69ac0246d0: Pulling fs layer 23:18:40 ec43610c2a17: Pulling fs layer 23:18:40 3a2ae6a8a46f: Pulling fs layer 23:18:40 33b1e0a273af: Pulling fs layer 23:18:40 5d3b04190fa2: Pulling fs layer 23:18:40 2f39f015ded8: Pulling fs layer 23:18:40 2f39f015ded8: Waiting 23:18:40 5d3b04190fa2: Waiting 23:18:40 3a2ae6a8a46f: Waiting 23:18:40 33b1e0a273af: Waiting 23:18:40 5c69ac0246d0: Download complete 23:18:40 3a2ae6a8a46f: Download complete 23:18:40 33b1e0a273af: Verifying Checksum 23:18:40 33b1e0a273af: Download complete 23:18:40 ec43610c2a17: Verifying Checksum 23:18:40 ec43610c2a17: Download complete 23:18:40 5d3b04190fa2: Verifying Checksum 23:18:40 5d3b04190fa2: Download complete 23:18:41 5eb5b503b376: Verifying Checksum 23:18:41 5eb5b503b376: Download complete 23:18:41 2f39f015ded8: Download complete 23:18:42 5eb5b503b376: Pull complete 23:18:42 5c69ac0246d0: Pull complete 23:18:43 ec43610c2a17: Pull complete 23:18:43 3a2ae6a8a46f: Pull complete 23:18:43 33b1e0a273af: Pull complete 23:18:43 5d3b04190fa2: Pull complete 23:18:47 2f39f015ded8: Pull complete 23:18:47 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:18:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:18:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:47 prd-ubuntu20.04-docker-8c-8g-11129 does not seem to be running inside a container 23:18:47 $ 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-578 -v /w/workspace/gexfoundry_device-mqtt-go_PR-578:/w/workspace/gexfoundry_device-mqtt-go_PR-578:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-578@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:18:50 $ docker top d2a208e8a6c4b4eb3fc0fe7bf46803f0cacd9f07a3459db1f19f8280f01c518d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:18:50 ---> job-cost.sh 23:18:50 lf-activate-venv: SKIPPING 23:18:50 INFO: No Stack... 23:18:50 INFO: Retrieving Pricing Info for: v3-standard-8 23:18:51 INFO: Archiving Costs [Pipeline] sh 23:18:51 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-578/archives/cost.csv 23:18:51 + cut -d, -f6 [Pipeline] lock 23:18:51 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-578-2-stack-cost] 23:18:51 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-578-2-stack-cost] did not exist. Created. 23:18:51 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-578-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:18:51 + echo total: 0.2199999988079071 [Pipeline] stash 23:18:51 Stashed 1 file(s) [Pipeline] } 23:18:51 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-578-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:18:51 $ docker stop --time=1 d2a208e8a6c4b4eb3fc0fe7bf46803f0cacd9f07a3459db1f19f8280f01c518d 23:18:53 $ docker rm -f --volumes d2a208e8a6c4b4eb3fc0fe7bf46803f0cacd9f07a3459db1f19f8280f01c518d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:18:54 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11133 in /w/workspace/gexfoundry_device-mqtt-go_PR-578 [Pipeline] { [Pipeline] ws 23:18:54 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 23:18:54 Selected Git installation does not exist. Using Default 23:18:54 The recommended git tool is: NONE 23:19:00 using credential edgex-jenkins-ssh 23:19:00 Cloning the remote Git repository 23:19:00 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:19:00 > git init /w/workspace/device-mqtt-go/2 # timeout=10 23:19:01 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:19:01 > git --version # timeout=10 23:19:01 > git --version # 'git version 2.25.1' 23:19:01 using GIT_SSH to set credentials SSH Credentials for GitHub 23:19:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:19:02 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:19:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:19:03 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:19:03 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:19:03 using GIT_SSH to set credentials SSH Credentials for GitHub 23:19:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/578/head:refs/remotes/origin/PR-578 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:19:04 Merging remotes/origin/main commit 15e121638b61dd5d2b05931572372c8312ebd12f into PR head commit 93463789da1293ec58fdbcb73275c398457a668b 23:19:04 Merge succeeded, producing db291a4fe70d4f1eaab1a53a2107848507ce7052 23:19:04 Checking out Revision db291a4fe70d4f1eaab1a53a2107848507ce7052 (PR-578) 23:19:04 > git config core.sparsecheckout # timeout=10 23:19:04 > git checkout -f 93463789da1293ec58fdbcb73275c398457a668b # timeout=10 23:19:04 > git remote # timeout=10 23:19:04 > git config --get remote.origin.url # timeout=10 23:19:04 using GIT_SSH to set credentials SSH Credentials for GitHub 23:19:04 > git merge 15e121638b61dd5d2b05931572372c8312ebd12f # timeout=10 23:19:04 > git rev-parse HEAD^{commit} # timeout=10 23:19:04 > git config core.sparsecheckout # timeout=10 23:19:04 > git checkout -f db291a4fe70d4f1eaab1a53a2107848507ce7052 # timeout=10 23:19:08 Commit message: "Merge commit '15e121638b61dd5d2b05931572372c8312ebd12f' into HEAD" 23:19:08 > git rev-list --no-walk 93463789da1293ec58fdbcb73275c398457a668b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:19:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:19:09 % Total % Received % Xferd Average Speed Time Time Time Current 23:19:09 Dload Upload Total Spent Left Speed 23:19:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 68187 0 --:--:-- --:--:-- --:--:-- 67824 [Pipeline] sh 23:19:09 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:19:10 + + sudo tee /etc/docker/daemon.new 23:19:10 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:19:10 { 23:19:10 "registry-mirrors": [ 23:19:10 "https://nexus3.edgexfoundry.org:10001" 23:19:10 ], 23:19:10 "bip": "10.250.0.254/24", 23:19:10 "hosts": [ 23:19:10 "tcp://0.0.0.0:5555", 23:19:10 "unix:///var/run/docker.sock" 23:19:10 ], 23:19:10 "mtu": 1458, 23:19:10 "selinux-enabled": true, 23:19:10 "seccomp-profile": "/etc/docker/seccomp.json" 23:19:10 } [Pipeline] sh 23:19:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:19:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:19:29 provisioning config files... 23:19:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config17000559836073983888tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:19:29 ---> docker-login.sh 23:19:29 nexus3.edgexfoundry.org:10001 23:19:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:30 Configure a credential helper to remove this warning. See 23:19:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:30 23:19:30 Login Succeeded 23:19:30 nexus3.edgexfoundry.org:10002 23:19:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:30 Configure a credential helper to remove this warning. See 23:19:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:30 23:19:30 Login Succeeded 23:19:30 nexus3.edgexfoundry.org:10003 23:19:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:31 Configure a credential helper to remove this warning. See 23:19:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:31 23:19:31 Login Succeeded 23:19:31 nexus3.edgexfoundry.org:10004 23:19:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:31 Configure a credential helper to remove this warning. See 23:19:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:31 23:19:31 Login Succeeded 23:19:31 docker.io 23:19:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:32 Configure a credential helper to remove this warning. See 23:19:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:32 23:19:32 Login Succeeded 23:19:32 ---> docker-login.sh ends [Pipeline] } 23:19:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:19:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:19:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:19:32 ========================================================= 23:19:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:19:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:32 + 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:19:33 Sending build context to Docker daemon 3.37MB 23:19:33 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:19:33 Step 2/12 : FROM ${BASE} AS builder 23:19:33 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:19:33 c41833b44d91: Pulling fs layer 23:19:33 ed15518f5707: Pulling fs layer 23:19:33 feae8fd75edb: Pulling fs layer 23:19:33 242c74f7c9fa: Pulling fs layer 23:19:33 3cdef696dda3: Pulling fs layer 23:19:33 2ced38df9373: Pulling fs layer 23:19:33 58f1dce35555: Pulling fs layer 23:19:33 242c74f7c9fa: Waiting 23:19:33 3cdef696dda3: Waiting 23:19:33 58f1dce35555: Waiting 23:19:33 2ced38df9373: Waiting 23:19:33 ed15518f5707: Verifying Checksum 23:19:33 ed15518f5707: Download complete 23:19:33 242c74f7c9fa: Verifying Checksum 23:19:33 242c74f7c9fa: Download complete 23:19:33 3cdef696dda3: Verifying Checksum 23:19:33 3cdef696dda3: Download complete 23:19:33 c41833b44d91: Verifying Checksum 23:19:33 c41833b44d91: Download complete 23:19:34 c41833b44d91: Pull complete 23:19:34 58f1dce35555: Verifying Checksum 23:19:34 58f1dce35555: Download complete 23:19:35 ed15518f5707: Pull complete 23:19:36 feae8fd75edb: Download complete 23:19:36 2ced38df9373: Verifying Checksum 23:19:36 2ced38df9373: Download complete 23:19:46 feae8fd75edb: Pull complete 23:19:46 242c74f7c9fa: Pull complete 23:19:46 3cdef696dda3: Pull complete 23:19:53 2ced38df9373: Pull complete 23:19:54 58f1dce35555: Pull complete 23:19:54 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:19:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:19:54 ---> fadd8f120f05 23:19:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:19:56 ---> Running in 7141b4b27f71 23:19:56 Removing intermediate container 7141b4b27f71 23:19:56 ---> ae18d27f924a 23:19:56 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:19:57 ---> Running in 1c12286a2363 23:19:57 Removing intermediate container 1c12286a2363 23:19:57 ---> df3ef46cbb03 23:19:57 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:19:57 ---> Running in ab27456157b8 23:19:58 Removing intermediate container ab27456157b8 23:19:58 ---> 6d8b5985e579 23:19:58 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:19:58 ---> Running in 6c80dbe7a524 23:19:58 Removing intermediate container 6c80dbe7a524 23:19:58 ---> 87c909d7f2b7 23:19:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:19:58 ---> Running in 5b0ced046d3b 23:19:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:20:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:20:01 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:20:01 (2/4) Installing libedit (20221030.3.1-r0) 23:20:01 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:20:01 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:20:01 Executing busybox-1.35.0-r29.trigger 23:20:01 OK: 268 MiB in 57 packages 23:20:02 Removing intermediate container 5b0ced046d3b 23:20:02 ---> 81bd98d0a1bd 23:20:02 Step 8/12 : WORKDIR /device-mqtt-go 23:20:02 ---> Running in 66178eec9d3b 23:20:02 Removing intermediate container 66178eec9d3b 23:20:02 ---> 1ae8968adae5 23:20:02 Step 9/12 : COPY go.mod vendor* ./ 23:20:03 ---> 7ec25d545713 23:20:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:20:03 ---> Running in 094efd3fb5c8 23:21:11 Removing intermediate container 094efd3fb5c8 23:21:11 ---> e496aebea99e 23:21:11 Step 11/12 : COPY . . 23:21:11 ---> 40b15f821874 23:21:11 Step 12/12 : RUN $MAKE 23:21:11 ---> Running in bd51c31028aa 23:21:11 noop 23:21:11 Removing intermediate container bd51c31028aa 23:21:11 ---> ed35bb44c34e 23:21:11 Successfully built ed35bb44c34e 23:21:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:11 + docker inspect -f . ci-base-image-arm64 23:21:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:21:12 prd-ubuntu20.04-docker-arm64-4c-16g-11133 does not seem to be running inside a container 23:21:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:21:13 $ docker top 1b168f351ba619ecb3b13f732d4d19173cb9d2934a53a61984ebf39263d3e5ea -eo pid,comm [Pipeline] { [Pipeline] sh 23:21:14 + go version 23:21:14 go version go1.20.2 linux/arm64 [Pipeline] } 23:21:14 $ docker stop --time=1 1b168f351ba619ecb3b13f732d4d19173cb9d2934a53a61984ebf39263d3e5ea 23:21:16 $ docker rm -f --volumes 1b168f351ba619ecb3b13f732d4d19173cb9d2934a53a61984ebf39263d3e5ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:21:16 + docker inspect -f . ci-base-image-arm64 23:21:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:21:16 prd-ubuntu20.04-docker-arm64-4c-16g-11133 does not seem to be running inside a container 23:21:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:21:18 $ docker top d04c71f8cc5b945d32d6b3e509f5e23371e9f17ad7f143a4ef090ee7f1253119 -eo pid,comm [Pipeline] { [Pipeline] sh 23:21:19 + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh 23:21:19 + make test 23:21:19 go test ./... -coverprofile=coverage.out ./... 23:21:55 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:24:01 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:24:01 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:24:01 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.078s coverage: 24.6% of statements 23:24:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:24:01 go vet ./... 23:24:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:24:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:24:24 ./bin/test-attribution-txt.sh [Pipeline] echo 23:24:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:24:24 $ docker stop --time=1 d04c71f8cc5b945d32d6b3e509f5e23371e9f17ad7f143a4ef090ee7f1253119 23:24:26 $ docker rm -f --volumes d04c71f8cc5b945d32d6b3e509f5e23371e9f17ad7f143a4ef090ee7f1253119 [Pipeline] // withDockerContainer [Pipeline] sh 23:24:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:24:27 Warning: overwriting stash ‘coverage-report’ 23:24:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:24:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:24:28 + ls -al . 23:24:28 total 176 23:24:28 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 23:21 . 23:24:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 23:19 .. 23:24:28 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 23:19 .dockerignore 23:24:28 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 23:19 .git 23:24:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 23:19 .github 23:24:28 -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 23:19 .gitignore 23:24:28 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 23:19 .golangci.yml 23:24:28 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 26 23:19 Attribution.txt 23:24:28 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 26 23:19 CHANGELOG.md 23:24:28 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 26 23:19 Dockerfile 23:24:28 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 23:19 GOVERNANCE.md 23:24:28 -rw-rw-r-- 1 jenkins jenkins 678 Apr 26 23:19 Jenkinsfile 23:24:28 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 23:19 LICENSE 23:24:28 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 26 23:19 Makefile 23:24:28 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 23:19 OWNERS.md 23:24:28 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 26 23:19 README.md 23:24:28 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 23:16 VERSION 23:24:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 23:19 bin 23:24:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 23:19 cmd 23:24:28 -rw-r--r-- 1 jenkins jenkins 16535 Apr 26 23:23 coverage.out 23:24:28 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 26 23:19 go.mod 23:24:28 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 26 23:19 go.sum 23:24:28 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 23:19 internal 23:24:28 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 23:19 mock 23:24:28 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 23:19 snap 23:24:28 -rw-rw-r-- 1 jenkins jenkins 227 Apr 26 23:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:29 + 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=db291a4fe70d4f1eaab1a53a2107848507ce7052 --label arch=arm64 --label version=0.0.0 . 23:24:29 Sending build context to Docker daemon 3.388MB 23:24:29 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:24:29 Step 2/24 : FROM ${BASE} AS builder 23:24:29 ---> ed35bb44c34e 23:24:29 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:24:31 ---> Running in 00275a52dc51 23:24:31 Removing intermediate container 00275a52dc51 23:24:31 ---> 52130a116d5b 23:24:31 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:24:31 ---> Running in c4f02ce0aef0 23:24:31 Removing intermediate container c4f02ce0aef0 23:24:31 ---> 4cbfcf0fb885 23:24:31 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:24:31 ---> Running in 47e174121b73 23:24:32 Removing intermediate container 47e174121b73 23:24:32 ---> cf8faaf68349 23:24:32 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:24:32 ---> Running in 77b7efb7791f 23:24:32 Removing intermediate container 77b7efb7791f 23:24:32 ---> e21ec3646782 23:24:32 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:24:32 ---> Running in 02db34acf034 23:24:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:24:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:24:36 OK: 268 MiB in 57 packages 23:24:36 Removing intermediate container 02db34acf034 23:24:36 ---> 2bccf6630932 23:24:36 Step 8/24 : WORKDIR /device-mqtt-go 23:24:37 ---> Running in 58a2ad23cf64 23:24:37 Removing intermediate container 58a2ad23cf64 23:24:37 ---> c2de9426f4b4 23:24:37 Step 9/24 : COPY go.mod vendor* ./ 23:24:37 ---> 3c7247cd65d1 23:24:37 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:24:37 ---> Running in c748f7052e5e 23:24:40 Removing intermediate container c748f7052e5e 23:24:40 ---> ac04ddc23c1a 23:24:40 Step 11/24 : COPY . . 23:24:41 ---> 3e40db985bcc 23:24:41 Step 12/24 : RUN $MAKE 23:24:41 ---> Running in c5dc2528020b 23:24:42 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:27:19 Removing intermediate container c5dc2528020b 23:27:19 ---> f5474b448f5b 23:27:19 Step 13/24 : FROM alpine:3.17 23:27:19 3.17: Pulling from library/alpine 23:27:19 c41833b44d91: Already exists 23:27:19 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:27:19 Status: Downloaded newer image for alpine:3.17 23:27:19 ---> 51e60588ff2c 23:27:19 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:27:19 ---> Running in a8141139aae9 23:27:19 Removing intermediate container a8141139aae9 23:27:19 ---> ead6ac8550db 23:27:19 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:27:19 ---> Running in 67f513a390da 23:27:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:27:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:27:19 (1/1) Installing dumb-init (1.2.5-r2) 23:27:19 Executing busybox-1.35.0-r29.trigger 23:27:19 OK: 8 MiB in 16 packages 23:27:19 Removing intermediate container 67f513a390da 23:27:19 ---> 41292fcdb360 23:27:19 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:27:19 ---> f9e15ad21e29 23:27:19 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:27:19 ---> da60afac3b96 23:27:19 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:27:19 ---> e66fcfc62e51 23:27:19 Step 19/24 : EXPOSE 59982 23:27:19 ---> Running in 242edb625d9e 23:27:19 Removing intermediate container 242edb625d9e 23:27:19 ---> 6b15ddccf851 23:27:19 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:27:19 ---> Running in 5f86facd0314 23:27:19 Removing intermediate container 5f86facd0314 23:27:19 ---> 4b40d35f880c 23:27:19 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:27:19 ---> Running in a2c9045a759b 23:27:19 Removing intermediate container a2c9045a759b 23:27:19 ---> 72d903811d20 23:27:19 Step 22/24 : LABEL arch=arm64 23:27:19 ---> Running in af773bd7bfb8 23:27:19 Removing intermediate container af773bd7bfb8 23:27:19 ---> b97d49a398a7 23:27:19 Step 23/24 : LABEL git_sha=db291a4fe70d4f1eaab1a53a2107848507ce7052 23:27:19 ---> Running in 16ce1ebeb956 23:27:19 Removing intermediate container 16ce1ebeb956 23:27:19 ---> 7c919f596fa5 23:27:19 Step 24/24 : LABEL version=0.0.0 23:27:19 ---> Running in a2ac4fdd315b 23:27:19 Removing intermediate container a2ac4fdd315b 23:27:19 ---> 5bdbc02fb023 23:27:19 [Warning] One or more build-args [ARCH] were not consumed 23:27:19 Successfully built 5bdbc02fb023 23:27:19 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:27:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:20 23:27:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:20 arm64: Pulling from edgex-lftools-log-publisher 23:27:20 8998bd30e6a1: Pulling fs layer 23:27:20 04944245beec: Pulling fs layer 23:27:20 699f458cf7ca: Pulling fs layer 23:27:20 765212b225bb: Pulling fs layer 23:27:20 f23df028b6ca: Pulling fs layer 23:27:20 d65c8cfc05b1: Pulling fs layer 23:27:20 2437ff75d9bd: Pulling fs layer 23:27:20 f23df028b6ca: Waiting 23:27:20 d65c8cfc05b1: Waiting 23:27:20 2437ff75d9bd: Waiting 23:27:20 765212b225bb: Waiting 23:27:20 04944245beec: Verifying Checksum 23:27:20 04944245beec: Download complete 23:27:20 765212b225bb: Verifying Checksum 23:27:20 765212b225bb: Download complete 23:27:20 f23df028b6ca: Verifying Checksum 23:27:20 f23df028b6ca: Download complete 23:27:20 d65c8cfc05b1: Verifying Checksum 23:27:20 d65c8cfc05b1: Download complete 23:27:20 699f458cf7ca: Verifying Checksum 23:27:20 699f458cf7ca: Download complete 23:27:21 8998bd30e6a1: Verifying Checksum 23:27:21 8998bd30e6a1: Download complete 23:27:23 2437ff75d9bd: Verifying Checksum 23:27:23 2437ff75d9bd: Download complete 23:27:26 8998bd30e6a1: Pull complete 23:27:26 04944245beec: Pull complete 23:27:28 699f458cf7ca: Pull complete 23:27:28 765212b225bb: Pull complete 23:27:29 f23df028b6ca: Pull complete 23:27:29 d65c8cfc05b1: Pull complete 23:27:44 2437ff75d9bd: Pull complete 23:27:44 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:27:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:27:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:44 prd-ubuntu20.04-docker-arm64-4c-16g-11133 does not seem to be running inside a container 23:27:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:27:47 $ docker top 1dc26917f25b64b1f0d755c90b1d13a764d1f4953197377e090fc0240123ffd5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:27:48 ---> job-cost.sh 23:27:48 lf-activate-venv: SKIPPING 23:27:48 INFO: No Stack... 23:27:49 INFO: Retrieving Pricing Info for: v3-standard-4 23:27:50 INFO: Archiving Costs [Pipeline] sh 23:27:50 + + cutcat /w/workspace/device-mqtt-go/2/archives/cost.csv 23:27:50 -d, -f6 [Pipeline] lock 23:27:50 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-578-2-stack-cost] 23:27:50 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-578-2-stack-cost] did not exist. Created. 23:27:50 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-578-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:27:51 /w/workspace/device-mqtt-go/2@tmp/durable-78b964ae/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:27:52 + echo total: 0.10999999940395355 [Pipeline] stash 23:27:52 Warning: overwriting stash ‘stack-cost’ 23:27:52 Stashed 1 file(s) [Pipeline] } 23:27:52 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-578-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:27:52 $ docker stop --time=1 1dc26917f25b64b1f0d755c90b1d13a764d1f4953197377e090fc0240123ffd5 23:27:53 $ docker rm -f --volumes 1dc26917f25b64b1f0d755c90b1d13a764d1f4953197377e090fc0240123ffd5 [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:27:54 provisioning config files... 23:27:54 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp/config5726978302454523723tmp [Pipeline] { [Pipeline] sh 23:27:54 + set +x 23:27:54 + curl -s https://codecov.io/bash 23:27:54 + bash -s -- 23:27:54 23:27:54 _____ _ 23:27:54 / ____| | | 23:27:54 | | ___ __| | ___ ___ _____ __ 23:27:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:27:54 | |___| (_) | (_| | __/ (_| (_) \ V / 23:27:54 \_____\___/ \__,_|\___|\___\___/ \_/ 23:27:54 Bash-1.0.6 23:27:54 23:27:54 23:27:54 ==> git version 2.25.1 found 23:27:54 ==> 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:27:54 Release-Date: 2020-01-08 23:27:54 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:27:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:27:54 ==> Jenkins CI detected. 23:27:54 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-578 23:27:54 project root: . 23:27:54 --> token set from env 23:27:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:27:54 ==> Running gcov in . (disable via -X gcov) 23:27:54 ==> Python coveragepy not found 23:27:54 ==> Searching for coverage reports in: 23:27:54 + . 23:27:54 -> Found 1 reports 23:27:54 ==> Detecting git/mercurial file structure 23:27:54 ==> Reading reports 23:27:54 + ./coverage.out bytes=16535 23:27:54 ==> Appending adjustments 23:27:54 https://docs.codecov.io/docs/fixing-reports 23:27:54 + Found adjustments 23:27:54 ==> Gzipping contents 23:27:54 4.0K /tmp/codecov.mSombD.gz 23:27:54 ==> Uploading reports 23:27:54 url: https://codecov.io 23:27:54 query: branch=PR-578&commit=8f49a44b459ffb97a572235c21491a40115e66c3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-578%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=578&job=&cmd_args= 23:27:54 -> Pinging Codecov 23:27:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-578&commit=8f49a44b459ffb97a572235c21491a40115e66c3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-578%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=578&job=&cmd_args= 23:27:55 -> Uploading to 23:27:55 https://storage.googleapis.com/codecov/v4/raw/2023-04-26/7D719EC7BBE17E464838252E33014C33/8f49a44b459ffb97a572235c21491a40115e66c3/d2823726-2688-46a4-8bcc-3b5e4ed3deb8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230426T232754Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6978a48ad413b82b7aad332b224a674989054040fd09704b75c01b2d238bc726 23:27:55 % Total % Received % Xferd Average Speed Time Time Time Current 23:27:55 Dload Upload Total Spent Left Speed 23:27:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3017 0 0 100 3017 0 12314 --:--:-- --:--:-- --:--:-- 12314 23:27:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/8f49a44b459ffb97a572235c21491a40115e66c3 [Pipeline] } 23:27:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:27:56 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-578/archives ] 23:27:56 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-578/archives 23:27:56 total 16 23:27:56 drwxr-xr-x 3 root root 4096 Apr 26 23:18 . 23:27:56 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 23:18 .. 23:27:56 drwxr-xr-x 2 root root 4096 Apr 26 23:18 cost 23:27:56 -rw-r--r-- 1 root root 87 Apr 26 23:18 cost.csv 23:27:56 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-578/archives 23:27:56 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-578/archives 23:27:56 total 16 23:27:56 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 23:18 . 23:27:56 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 23:18 .. 23:27:56 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 23:18 cost 23:27:56 -rw-r--r-- 1 jenkins jenkins 87 Apr 26 23:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:27:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:27:57 ---> package-listing.sh 23:27:57 ++ facter osfamily 23:27:57 ++ tr '[:upper:]' '[:lower:]' 23:27:57 + OS_FAMILY=debian 23:27:57 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-578 23:27:57 + START_PACKAGES=/tmp/packages_start.txt 23:27:57 + END_PACKAGES=/tmp/packages_end.txt 23:27:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:27:57 + PACKAGES=/tmp/packages_start.txt 23:27:57 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-578 ']' 23:27:57 + PACKAGES=/tmp/packages_end.txt 23:27:57 + case "${OS_FAMILY}" in 23:27:57 + dpkg -l 23:27:57 + grep '^ii' 23:27:57 + '[' -f /tmp/packages_start.txt ']' 23:27:57 + '[' -f /tmp/packages_end.txt ']' 23:27:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:27:57 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-578 ']' 23:27:57 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-578/archives/ 23:27:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-578/archives/ [Pipeline] echo 23:27:57 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-578/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:27:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:27:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:27:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:27:58 prd-ubuntu20.04-docker-8c-8g-11129 does not seem to be running inside a container 23:27:58 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-578/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-578 -v /w/workspace/gexfoundry_device-mqtt-go_PR-578:/w/workspace/gexfoundry_device-mqtt-go_PR-578:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-578@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:27:58 $ docker top 822145198a3ad321e8f1568b8297946483c99a9650e9ef837768f1c5cd45b007 -eo pid,comm [Pipeline] { [Pipeline] sh 23:27:59 + touch /tmp/pre-build-complete [Pipeline] sh 23:27:59 + mkdir -p /var/log/sysstat [Pipeline] sh 23:27:59 + ls /var/log/sa-host 23:27:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:27:59 provisioning config files... 23:27:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp/config2040351206915567917tmp [Pipeline] { [Pipeline] echo 23:27:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:28:00 ---> create-netrc.sh [Pipeline] } 23:28:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:28:00 ---> python-tools-install.sh [Pipeline] echo 23:28:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:28:00 ---> sudo-logs.sh 23:28:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:28:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:28:01 ---> job-cost.sh 23:28:01 lf-activate-venv: SKIPPING 23:28:01 DEBUG: total: 0.2199999988079071 23:28:01 INFO: Retrieving Stack Cost... 23:28:01 INFO: Retrieving Pricing Info for: v3-standard-8 23:28:01 INFO: Archiving Costs [Pipeline] echo 23:28:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:28:02 ---> logs-deploy.sh 23:28:02 lf-activate-venv: SKIPPING 23:28:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-578/2 23:28:02 INFO: archiving workspace using pattern(s): 23:28:03 Archives upload complete. 23:28:03 INFO: archiving logs to Nexus