Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b949b0bab75a809025d73d91052ff423c94fb163+15e121638b61dd5d2b05931572372c8312ebd12f (02e795395ba83ce526688640b86f5d803b73be0e) 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-ssh12701282149490659917.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-ssh15636139586459335491.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-575/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-575/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15514801286653788505.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-ssh398428950335153152.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-575/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-575/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7070272714642312790.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-11127 in /w/workspace/gexfoundry_device-mqtt-go_PR-575 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git > git init /w/workspace/gexfoundry_device-mqtt-go_PR-575 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 15e121638b61dd5d2b05931572372c8312ebd12f into PR head commit b949b0bab75a809025d73d91052ff423c94fb163 Merge succeeded, producing 7e5f3d475ac9d7471ec86ce5ce4be8e4a54f0409 Checking out Revision 7e5f3d475ac9d7471ec86ce5ce4be8e4a54f0409 (PR-575) > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/575/head:refs/remotes/origin/PR-575 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b949b0bab75a809025d73d91052ff423c94fb163 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 15e121638b61dd5d2b05931572372c8312ebd12f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7e5f3d475ac9d7471ec86ce5ce4be8e4a54f0409 # timeout=10 Commit message: "Merge commit '15e121638b61dd5d2b05931572372c8312ebd12f' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:16:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:16:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:16:36 ========================================================= 23:16:36 EdgeX Global Pipelines Version Info 23:16:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk d80be012c4b0298bfe6d921ff55e22729ef82335 # timeout=10 23:16:37 ------------------- 23:16:37 stable info: 23:16:37 ------------------- 23:16:37 Commited By: Bill Mahoney bill.mahoney@intel.com 23:16:37 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 23:16:37 Message: update stable to v1.0.248 23:16:38 ------------------- 23:16:38 experimental info: 23:16:38 ------------------- 23:16:38 Commited By: **** collab-it+edgex@linuxfoundation.org 23:16:38 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 23:16:38 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-575 [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-575 [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-575 [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7e5f3d475ac9d7471ec86ce5ce4be8e4a54f0409 [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7e5f3d4 [Pipeline] echo 23:16:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:16:38 provisioning config files... 23:16:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/config15700882942178146342tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:16:39 ---> docker-login.sh 23:16:39 nexus3.edgexfoundry.org:10001 23:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:39 Configure a credential helper to remove this warning. See 23:16:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:39 23:16:39 Login Succeeded 23:16:39 nexus3.edgexfoundry.org:10002 23:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:39 Configure a credential helper to remove this warning. See 23:16:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:39 23:16:39 Login Succeeded 23:16:39 nexus3.edgexfoundry.org:10003 23:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:39 Configure a credential helper to remove this warning. See 23:16:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:39 23:16:39 Login Succeeded 23:16:39 nexus3.edgexfoundry.org:10004 23:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:39 Configure a credential helper to remove this warning. See 23:16:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:39 23:16:39 Login Succeeded 23:16:39 docker.io 23:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:39 Configure a credential helper to remove this warning. See 23:16:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:39 23:16:39 Login Succeeded 23:16:39 ---> docker-login.sh ends [Pipeline] } 23:16:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:16:40 + git rev-list -1 --merges 7e5f3d475ac9d7471ec86ce5ce4be8e4a54f0409~1..7e5f3d475ac9d7471ec86ce5ce4be8e4a54f0409 [Pipeline] echo 23:16:40 -----------> git rev-list -1 --merges 7e5f3d475ac9d7471ec86ce5ce4be8e4a54f0409~1..7e5f3d475ac9d7471ec86ce5ce4be8e4a54f0409 7e5f3d475ac9d7471ec86ce5ce4be8e4a54f0409 23:16:40 7e5f3d475ac9d7471ec86ce5ce4be8e4a54f0409 [false] [Pipeline] sh 23:16:40 + git log --format=format:%s -1 7e5f3d475ac9d7471ec86ce5ce4be8e4a54f0409 [Pipeline] echo 23:16:40 ========================================================= 23:16:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:16:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:16:40 + git log --format=format:%s -1 7e5f3d475ac9d7471ec86ce5ce4be8e4a54f0409 [Pipeline] echo 23:16:40 [semverPrep] GIT_COMMIT: 7e5f3d475ac9d7471ec86ce5ce4be8e4a54f0409, Commit Message: Merge commit '15e121638b61dd5d2b05931572372c8312ebd12f' into HEAD [Pipeline] echo 23:16:40 [semverPrep] This is not a build commit. [Pipeline] sh 23:16:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:16:41 + grep -v github /etc/ssh/ssh_known_hosts 23:16:41 + [ -e /tmp/ssh_known_hosts ] 23:16:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:16:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:16:41 + sudo tee -a /etc/ssh/ssh_known_hosts 23:16:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:16:41 23:16:41 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:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:16:41 0.1.4: Pulling from edgex-devops/py-git-semver 23:16:41 b85a868b505f: Pulling fs layer 23:16:41 e2be974225ed: Pulling fs layer 23:16:41 339a4e72a1f5: Pulling fs layer 23:16:41 988bab9f4d93: Pulling fs layer 23:16:41 1469e6f7b9e6: Pulling fs layer 23:16:41 eaf3925da568: Pulling fs layer 23:16:41 bab4dde63d76: Pulling fs layer 23:16:41 bde34c3a00c8: Pulling fs layer 23:16:41 b352a97aabf1: Pulling fs layer 23:16:41 4872d77fe225: Pulling fs layer 23:16:41 5851b861e8e6: Pulling fs layer 23:16:41 bab4dde63d76: Waiting 23:16:41 988bab9f4d93: Waiting 23:16:41 bde34c3a00c8: Waiting 23:16:41 b352a97aabf1: Waiting 23:16:41 4872d77fe225: Waiting 23:16:41 eaf3925da568: Waiting 23:16:41 5851b861e8e6: Waiting 23:16:42 e2be974225ed: Download complete 23:16:42 988bab9f4d93: Verifying Checksum 23:16:42 988bab9f4d93: Download complete 23:16:42 1469e6f7b9e6: Verifying Checksum 23:16:42 1469e6f7b9e6: Download complete 23:16:42 eaf3925da568: Verifying Checksum 23:16:42 eaf3925da568: Download complete 23:16:42 339a4e72a1f5: Verifying Checksum 23:16:42 339a4e72a1f5: Download complete 23:16:42 bde34c3a00c8: Verifying Checksum 23:16:42 bde34c3a00c8: Download complete 23:16:42 b352a97aabf1: Verifying Checksum 23:16:42 b352a97aabf1: Download complete 23:16:42 5851b861e8e6: Verifying Checksum 23:16:42 5851b861e8e6: Download complete 23:16:42 b85a868b505f: Verifying Checksum 23:16:42 b85a868b505f: Download complete 23:16:42 bab4dde63d76: Verifying Checksum 23:16:42 bab4dde63d76: Download complete 23:16:43 b85a868b505f: Pull complete 23:16:43 e2be974225ed: Pull complete 23:16:43 339a4e72a1f5: Pull complete 23:16:44 988bab9f4d93: Pull complete 23:16:44 1469e6f7b9e6: Pull complete 23:16:44 eaf3925da568: Pull complete 23:16:45 bab4dde63d76: Pull complete 23:16:45 bde34c3a00c8: Pull complete 23:16:46 b352a97aabf1: Pull complete 23:16:46 4872d77fe225: Pull complete 23:16:46 5851b861e8e6: Pull complete 23:16:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:16:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:16:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:16:46 prd-ubuntu20.04-docker-8c-8g-11127 does not seem to be running inside a container 23:16:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-575 -v /w/workspace/gexfoundry_device-mqtt-go_PR-575:/w/workspace/gexfoundry_device-mqtt-go_PR-575:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:16:48 $ docker top ccea88057ca5a6b23c08ef0469e8bbb352f5d2453185ae8a35bb72bf124a317d -eo pid,comm 23:16:48 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:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:16:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:16:48 [ssh-agent] Looking for ssh-agent implementation... 23:16:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:16:48 $ docker exec ccea88057ca5a6b23c08ef0469e8bbb352f5d2453185ae8a35bb72bf124a317d ssh-agent 23:16:48 SSH_AUTH_SOCK=/tmp/ssh-Vd7cw1C4p6CA/agent.32 23:16:48 SSH_AGENT_PID=38 23:16:48 Running ssh-add (command line suppressed) 23:16:48 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/private_key_2023566280836048398.key (/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/private_key_2023566280836048398.key) 23:16:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:16:49 + git tag --points-at HEAD [Pipeline] } 23:16:49 $ docker exec --env ******** --env ******** ccea88057ca5a6b23c08ef0469e8bbb352f5d2453185ae8a35bb72bf124a317d ssh-agent -k 23:16:49 unset SSH_AUTH_SOCK; 23:16:49 unset SSH_AGENT_PID; 23:16:49 echo Agent pid 38 killed; 23:16:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:16:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:16:49 [ssh-agent] Looking for ssh-agent implementation... 23:16:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:16:49 $ docker exec ccea88057ca5a6b23c08ef0469e8bbb352f5d2453185ae8a35bb72bf124a317d ssh-agent 23:16:49 SSH_AUTH_SOCK=/tmp/ssh-smFmoBfxwtdw/agent.70 23:16:49 SSH_AGENT_PID=77 23:16:49 Running ssh-add (command line suppressed) 23:16:49 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/private_key_13582459842496719793.key (/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/private_key_13582459842496719793.key) 23:16:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:16:50 + git semver init 23:16:50 2023-04-26 23:16:50,197 [run_init] DEBUG init version:0.0.0 force:False 23:16:50 2023-04-26 23:16:50,198 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver 23:16:50 2023-04-26 23:16:50,198 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver 23:16:50 2023-04-26 23:16:50,198 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-575, universal_newlines=False, shell=None, istream=None) 23:16:51 2023-04-26 23:16:50,961 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-575/.git/info/exclude 23:16:51 2023-04-26 23:16:50,962 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver/PR-575 with force:False 23:16:51 2023-04-26 23:16:50,962 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver/PR-575 23:16:51 2023-04-26 23:16:50,966 [execute] INFO git cat-file --batch-check 23:16:51 2023-04-26 23:16:50,966 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver, universal_newlines=False, shell=None, istream=) 23:16:51 2023-04-26 23:16:50,972 [execute] INFO git cat-file --batch 23:16:51 2023-04-26 23:16:50,973 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver, universal_newlines=False, shell=None, istream=) 23:16:51 2023-04-26 23:16:50,977 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-575/.semver/PR-575 23:16:51 0.0.0 [Pipeline] } 23:16:51 $ docker exec --env ******** --env ******** ccea88057ca5a6b23c08ef0469e8bbb352f5d2453185ae8a35bb72bf124a317d ssh-agent -k 23:16:51 unset SSH_AUTH_SOCK; 23:16:51 unset SSH_AGENT_PID; 23:16:51 echo Agent pid 77 killed; 23:16:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:16:51 + git semver [Pipeline] } 23:16:51 $ docker stop --time=1 ccea88057ca5a6b23c08ef0469e8bbb352f5d2453185ae8a35bb72bf124a317d 23:16:53 $ docker rm -f --volumes ccea88057ca5a6b23c08ef0469e8bbb352f5d2453185ae8a35bb72bf124a317d [Pipeline] // withDockerContainer [Pipeline] sh 23:16:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:16:53 Stashed 1 file(s) [Pipeline] echo 23:16:53 [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:53 provisioning config files... 23:16:53 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/config2141228287726103419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:16:54 ---> docker-login.sh 23:16:54 nexus3.edgexfoundry.org:10001 23:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:54 Configure a credential helper to remove this warning. See 23:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:54 23:16:54 Login Succeeded 23:16:54 nexus3.edgexfoundry.org:10002 23:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:54 Configure a credential helper to remove this warning. See 23:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:54 23:16:54 Login Succeeded 23:16:54 nexus3.edgexfoundry.org:10003 23:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:54 Configure a credential helper to remove this warning. See 23:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:54 23:16:54 Login Succeeded 23:16:54 nexus3.edgexfoundry.org:10004 23:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:54 Configure a credential helper to remove this warning. See 23:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:54 23:16:54 Login Succeeded 23:16:54 docker.io 23:16:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:16:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:16:54 Configure a credential helper to remove this warning. See 23:16:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:16:54 23:16:54 Login Succeeded 23:16:54 ---> docker-login.sh ends [Pipeline] } 23:16:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:16:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:16:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:16:54 ========================================================= 23:16:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:16:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:16:55 + 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:55 Sending build context to Docker daemon 6.487MB 23:16:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:16:55 Step 2/12 : FROM ${BASE} AS builder 23:16:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:16:55 f56be85fc22e: Pulling fs layer 23:16:55 85791d961cd3: Pulling fs layer 23:16:55 d694b5ae8c79: Pulling fs layer 23:16:55 9f32a84ed3da: Pulling fs layer 23:16:55 4d19c01a9841: Pulling fs layer 23:16:55 9325e15d5711: Pulling fs layer 23:16:55 556b6ee489ea: Pulling fs layer 23:16:55 c5a4b2cf53e6: Pulling fs layer 23:16:55 9f32a84ed3da: Waiting 23:16:55 9325e15d5711: Waiting 23:16:55 556b6ee489ea: Waiting 23:16:55 4d19c01a9841: Waiting 23:16:55 85791d961cd3: Verifying Checksum 23:16:55 85791d961cd3: Download complete 23:16:55 9f32a84ed3da: Verifying Checksum 23:16:55 9f32a84ed3da: Download complete 23:16:55 4d19c01a9841: Verifying Checksum 23:16:55 4d19c01a9841: Download complete 23:16:55 f56be85fc22e: Download complete 23:16:55 9325e15d5711: Verifying Checksum 23:16:55 9325e15d5711: Download complete 23:16:55 f56be85fc22e: Pull complete 23:16:55 85791d961cd3: Pull complete 23:16:55 c5a4b2cf53e6: Verifying Checksum 23:16:55 c5a4b2cf53e6: Download complete 23:16:56 d694b5ae8c79: Verifying Checksum 23:16:56 d694b5ae8c79: Download complete 23:16:56 556b6ee489ea: Verifying Checksum 23:16:56 556b6ee489ea: Download complete 23:16:59 d694b5ae8c79: Pull complete 23:16:59 9f32a84ed3da: Pull complete 23:16:59 4d19c01a9841: Pull complete 23:16:59 9325e15d5711: Pull complete 23:17:01 556b6ee489ea: Pull complete 23:17:02 c5a4b2cf53e6: Pull complete 23:17:03 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:17:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:17:03 ---> c4be618373d6 23:17:03 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:17:07 ---> Running in 392ea8859ad6 23:17:07 Removing intermediate container 392ea8859ad6 23:17:07 ---> 478e5eb924a1 23:17:07 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:17:07 ---> Running in cdbffdd56630 23:17:07 Removing intermediate container cdbffdd56630 23:17:07 ---> f2f4b3c19b06 23:17:07 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:17:07 ---> Running in 0eca96de8892 23:17:07 Removing intermediate container 0eca96de8892 23:17:07 ---> 35a740edb30b 23:17:07 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:17:07 ---> Running in 58c1e988508e 23:17:07 Removing intermediate container 58c1e988508e 23:17:07 ---> fcf9fa3e0dba 23:17:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:17:07 ---> Running in b1bbfccc6c8a 23:17:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:17:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:17:07 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:17:07 (2/4) Installing libedit (20221030.3.1-r0) 23:17:07 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:17:07 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:17:07 Executing busybox-1.35.0-r29.trigger 23:17:07 OK: 269 MiB in 57 packages 23:17:08 Removing intermediate container b1bbfccc6c8a 23:17:08 ---> 3c5bf8f3600d 23:17:08 Step 8/12 : WORKDIR /device-mqtt-go 23:17:08 ---> Running in a8b051faaf4e 23:17:08 Removing intermediate container a8b051faaf4e 23:17:08 ---> 638f0ffff856 23:17:08 Step 9/12 : COPY go.mod vendor* ./ 23:17:08 ---> de57de8aa995 23:17:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:17:08 ---> Running in 9ee4e8c81001 23:17:08 Still waiting to schedule task 23:17:08 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 23:17:40 Removing intermediate container 9ee4e8c81001 23:17:40 ---> 00b24ad2c76e 23:17:40 Step 11/12 : COPY . . 23:17:40 ---> 9746aa577204 23:17:40 Step 12/12 : RUN $MAKE 23:17:40 ---> Running in c6a4be75bcfb 23:17:40 noop 23:17:40 Removing intermediate container c6a4be75bcfb 23:17:40 ---> 199d7340b037 23:17:40 Successfully built 199d7340b037 23:17:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:41 + docker inspect -f . ci-base-image-x86_64 23:17:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:41 prd-ubuntu20.04-docker-8c-8g-11127 does not seem to be running inside a container 23:17:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-575 -v /w/workspace/gexfoundry_device-mqtt-go_PR-575:/w/workspace/gexfoundry_device-mqtt-go_PR-575:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:17:41 $ docker top 38f7aa4e86ac0cfc454af0dc0efb8e71de4fef81d3fc1c60b83acec4a4cd30b3 -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 38f7aa4e86ac0cfc454af0dc0efb8e71de4fef81d3fc1c60b83acec4a4cd30b3 23:17:43 $ docker rm -f --volumes 38f7aa4e86ac0cfc454af0dc0efb8e71de4fef81d3fc1c60b83acec4a4cd30b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:17:43 + docker inspect -f . ci-base-image-x86_64 23:17:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:17:43 prd-ubuntu20.04-docker-8c-8g-11127 does not seem to be running inside a container 23:17:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-575 -v /w/workspace/gexfoundry_device-mqtt-go_PR-575:/w/workspace/gexfoundry_device-mqtt-go_PR-575:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:17:44 $ docker top f64d10660d75445691b57be8c5b3cb216f4eb8ee34a3ef5df92fd06ac13caeec -eo pid,comm [Pipeline] { [Pipeline] sh 23:17:44 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-575 [Pipeline] fileExists [Pipeline] sh 23:17:44 + make test 23:17:44 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.015s coverage: 24.6% of statements 23:18:04 go vet ./... 23:18:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:18:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:18:06 ./bin/test-attribution-txt.sh [Pipeline] echo 23:18:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:18:06 $ docker stop --time=1 f64d10660d75445691b57be8c5b3cb216f4eb8ee34a3ef5df92fd06ac13caeec 23:18:09 $ docker rm -f --volumes f64d10660d75445691b57be8c5b3cb216f4eb8ee34a3ef5df92fd06ac13caeec [Pipeline] // withDockerContainer [Pipeline] sh 23:18:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:18:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:18:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:18:10 + ls -al . 23:18:10 total 180 23:18:10 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 23:17 . 23:18:10 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 23:16 .. 23:18:10 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 23:16 .dockerignore 23:18:10 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 23:16 .git 23:18:10 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 23:16 .github 23:18:10 -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 23:16 .gitignore 23:18:10 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 23:16 .golangci.yml 23:18:10 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 23:16 .semver 23:18:10 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 26 23:16 Attribution.txt 23:18:10 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 26 23:16 CHANGELOG.md 23:18:10 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 26 23:16 Dockerfile 23:18:10 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 23:16 GOVERNANCE.md 23:18:10 -rw-rw-r-- 1 jenkins jenkins 678 Apr 26 23:16 Jenkinsfile 23:18:10 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 23:16 LICENSE 23:18:10 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 26 23:16 Makefile 23:18:10 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 23:16 OWNERS.md 23:18:10 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 26 23:16 README.md 23:18:10 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 23:16 VERSION 23:18:10 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 23:16 bin 23:18:10 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 23:16 cmd 23:18:10 -rw-r--r-- 1 jenkins jenkins 16535 Apr 26 23:17 coverage.out 23:18:10 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 26 23:16 go.mod 23:18:10 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 26 23:16 go.sum 23:18:10 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 23:16 internal 23:18:10 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 23:16 mock 23:18:10 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 23:16 snap 23:18:10 -rw-rw-r-- 1 jenkins jenkins 227 Apr 26 23:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:11 + 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=7e5f3d475ac9d7471ec86ce5ce4be8e4a54f0409 --label arch=amd64 --label version=0.0.0 . 23:18:11 Sending build context to Docker daemon 6.504MB 23:18:11 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:18:11 Step 2/24 : FROM ${BASE} AS builder 23:18:11 ---> 199d7340b037 23:18:11 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:18:11 ---> Running in 3ae25413ef7c 23:18:11 Removing intermediate container 3ae25413ef7c 23:18:11 ---> b95f6bf833f5 23:18:11 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:18:12 ---> Running in b997df6c897a 23:18:12 Removing intermediate container b997df6c897a 23:18:12 ---> 52aff0e98762 23:18:12 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:18:12 ---> Running in 492b65d5202b 23:18:12 Removing intermediate container 492b65d5202b 23:18:12 ---> 7b8de730b9f2 23:18:12 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:18:12 ---> Running in cfef596ad54a 23:18:12 Removing intermediate container cfef596ad54a 23:18:12 ---> a32f1ade8224 23:18:12 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:18:12 ---> Running in f8f7c7a3f7dd 23:18:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:18:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:18:13 OK: 269 MiB in 57 packages 23:18:13 Removing intermediate container f8f7c7a3f7dd 23:18:13 ---> 138569d0ec72 23:18:13 Step 8/24 : WORKDIR /device-mqtt-go 23:18:13 ---> Running in 275f4bfd92f1 23:18:13 Removing intermediate container 275f4bfd92f1 23:18:13 ---> 1e945b45a90d 23:18:13 Step 9/24 : COPY go.mod vendor* ./ 23:18:13 ---> 0f7b4871547a 23:18:13 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:18:13 ---> Running in fb2d793b7dd1 23:18:14 Removing intermediate container fb2d793b7dd1 23:18:14 ---> ba9162b20b46 23:18:14 Step 11/24 : COPY . . 23:18:15 ---> 5179d2e68e95 23:18:15 Step 12/24 : RUN $MAKE 23:18:15 ---> Running in ddc59910a49a 23:18:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:18:37 Removing intermediate container ddc59910a49a 23:18:37 ---> 018bda9330da 23:18:37 Step 13/24 : FROM alpine:3.17 23:18:37 3.17: Pulling from library/alpine 23:18:37 f56be85fc22e: Already exists 23:18:37 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:18:37 Status: Downloaded newer image for alpine:3.17 23:18:37 ---> 9ed4aefc74f6 23:18:37 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:18:37 ---> Running in 397b9f6dddd7 23:18:37 Removing intermediate container 397b9f6dddd7 23:18:37 ---> 2e151114b035 23:18:37 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:18:37 ---> Running in c8833b9045e7 23:18:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:18:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:18:37 (1/1) Installing dumb-init (1.2.5-r2) 23:18:37 Executing busybox-1.35.0-r29.trigger 23:18:37 OK: 7 MiB in 16 packages 23:18:37 Removing intermediate container c8833b9045e7 23:18:37 ---> c60e9843bb0d 23:18:37 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:18:37 ---> dbbcd2e58cff 23:18:37 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:18:37 ---> 033feba26f37 23:18:37 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:18:37 ---> 05db2e70712e 23:18:37 Step 19/24 : EXPOSE 59982 23:18:37 ---> Running in 6862e1cdc0d8 23:18:37 Removing intermediate container 6862e1cdc0d8 23:18:37 ---> 28fb1c5ed48d 23:18:37 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:18:37 ---> Running in a45e2733c9b3 23:18:37 Removing intermediate container a45e2733c9b3 23:18:37 ---> 009639dc24a7 23:18:37 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:18:37 ---> Running in ec63e1153188 23:18:37 Removing intermediate container ec63e1153188 23:18:37 ---> 7deff62ba866 23:18:37 Step 22/24 : LABEL arch=amd64 23:18:37 ---> Running in e924b1fe8d4d 23:18:37 Removing intermediate container e924b1fe8d4d 23:18:37 ---> b5298fa6d253 23:18:37 Step 23/24 : LABEL git_sha=7e5f3d475ac9d7471ec86ce5ce4be8e4a54f0409 23:18:37 ---> Running in ee6644fe9a26 23:18:37 Removing intermediate container ee6644fe9a26 23:18:37 ---> c89ab82f37ef 23:18:37 Step 24/24 : LABEL version=0.0.0 23:18:37 ---> Running in 081237d48567 23:18:37 Removing intermediate container 081237d48567 23:18:37 ---> d6fc1d7a47fb 23:18:37 [Warning] One or more build-args [ARCH] were not consumed 23:18:37 Successfully built d6fc1d7a47fb 23:18:37 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:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:18:37 23:18:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:18:38 latest: Pulling from edgex-lftools-log-publisher 23:18:38 5eb5b503b376: Pulling fs layer 23:18:38 5c69ac0246d0: Pulling fs layer 23:18:38 ec43610c2a17: Pulling fs layer 23:18:38 3a2ae6a8a46f: Pulling fs layer 23:18:38 33b1e0a273af: Pulling fs layer 23:18:38 5d3b04190fa2: Pulling fs layer 23:18:38 2f39f015ded8: Pulling fs layer 23:18:38 33b1e0a273af: Waiting 23:18:38 5d3b04190fa2: Waiting 23:18:38 2f39f015ded8: Waiting 23:18:38 5c69ac0246d0: Verifying Checksum 23:18:38 5c69ac0246d0: Download complete 23:18:38 3a2ae6a8a46f: Verifying Checksum 23:18:38 3a2ae6a8a46f: Download complete 23:18:38 33b1e0a273af: Verifying Checksum 23:18:38 33b1e0a273af: Download complete 23:18:38 5d3b04190fa2: Verifying Checksum 23:18:38 5d3b04190fa2: Download complete 23:18:38 ec43610c2a17: Verifying Checksum 23:18:38 ec43610c2a17: Download complete 23:18:38 5eb5b503b376: Verifying Checksum 23:18:38 5eb5b503b376: Download complete 23:18:38 2f39f015ded8: Download complete 23:18:39 5eb5b503b376: Pull complete 23:18:39 5c69ac0246d0: Pull complete 23:18:40 ec43610c2a17: Pull complete 23:18:40 3a2ae6a8a46f: Pull complete 23:18:40 33b1e0a273af: Pull complete 23:18:40 5d3b04190fa2: Pull complete 23:18:44 2f39f015ded8: Pull complete 23:18:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:18:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:18:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:18:44 prd-ubuntu20.04-docker-8c-8g-11127 does not seem to be running inside a container 23:18: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/gexfoundry_device-mqtt-go_PR-575 -v /w/workspace/gexfoundry_device-mqtt-go_PR-575:/w/workspace/gexfoundry_device-mqtt-go_PR-575:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:18:48 $ docker top e312f9bf494cef0f6caf5d32fe76b537dd60c02b63d0a03fe4acac5c7d98d394 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:18:49 ---> job-cost.sh 23:18:49 lf-activate-venv: SKIPPING 23:18:49 INFO: No Stack... 23:18:49 INFO: Retrieving Pricing Info for: v3-standard-8 23:18:50 INFO: Archiving Costs [Pipeline] sh 23:18:50 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-575/archives/cost.csv 23:18:50 + cut -d, -f6 [Pipeline] lock 23:18:50 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-575-4-stack-cost] 23:18:50 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-575-4-stack-cost] did not exist. Created. 23:18:50 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-575-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:18:50 + echo total: 0.2199999988079071 [Pipeline] stash 23:18:50 Stashed 1 file(s) [Pipeline] } 23:18:50 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-575-4-stack-cost] [Pipeline] // lock [Pipeline] } 23:18:50 $ docker stop --time=1 e312f9bf494cef0f6caf5d32fe76b537dd60c02b63d0a03fe4acac5c7d98d394 23:18:51 $ docker rm -f --volumes e312f9bf494cef0f6caf5d32fe76b537dd60c02b63d0a03fe4acac5c7d98d394 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:20:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11135 in /w/workspace/gexfoundry_device-mqtt-go_PR-575 [Pipeline] { [Pipeline] ws 23:20:05 Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout 23:20:05 Selected Git installation does not exist. Using Default 23:20:05 The recommended git tool is: NONE 23:20:11 using credential edgex-jenkins-ssh 23:20:11 Cloning the remote Git repository 23:20:11 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:20:11 > git init /w/workspace/device-mqtt-go/4 # timeout=10 23:20:11 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:20:11 > git --version # timeout=10 23:20:11 > git --version # 'git version 2.25.1' 23:20:11 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:13 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:20:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:20:14 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:20:14 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:20:14 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/575/head:refs/remotes/origin/PR-575 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:20:14 Merging remotes/origin/main commit 15e121638b61dd5d2b05931572372c8312ebd12f into PR head commit b949b0bab75a809025d73d91052ff423c94fb163 23:20:15 Merge succeeded, producing f065bb10f2e6c6b700036c7f78b1e89f89d8b9f2 23:20:15 Checking out Revision f065bb10f2e6c6b700036c7f78b1e89f89d8b9f2 (PR-575) 23:20:14 > git config core.sparsecheckout # timeout=10 23:20:15 > git checkout -f b949b0bab75a809025d73d91052ff423c94fb163 # timeout=10 23:20:15 > git remote # timeout=10 23:20:15 > git config --get remote.origin.url # timeout=10 23:20:15 using GIT_SSH to set credentials SSH Credentials for GitHub 23:20:15 > git merge 15e121638b61dd5d2b05931572372c8312ebd12f # timeout=10 23:20:15 > git rev-parse HEAD^{commit} # timeout=10 23:20:15 > git config core.sparsecheckout # timeout=10 23:20:15 > git checkout -f f065bb10f2e6c6b700036c7f78b1e89f89d8b9f2 # timeout=10 23:20:18 Commit message: "Merge commit '15e121638b61dd5d2b05931572372c8312ebd12f' into HEAD" 23:20:18 First time build. Skipping changelog. 23:20:18 > git rev-list --no-walk d80be012c4b0298bfe6d921ff55e22729ef82335 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:20:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:20:19 % Total % Received % Xferd Average Speed Time Time Time Current 23:20:19 Dload Upload Total Spent Left Speed 23:20:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh 23:20:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:20:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:20:20 + sudo tee /etc/docker/daemon.new 23:20:20 { 23:20:20 "registry-mirrors": [ 23:20:20 "https://nexus3.edgexfoundry.org:10001" 23:20:20 ], 23:20:20 "bip": "10.250.0.254/24", 23:20:20 "hosts": [ 23:20:20 "tcp://0.0.0.0:5555", 23:20:20 "unix:///var/run/docker.sock" 23:20:20 ], 23:20:20 "mtu": 1458, 23:20:20 "selinux-enabled": true, 23:20:20 "seccomp-profile": "/etc/docker/seccomp.json" 23:20:20 } [Pipeline] sh 23:20:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:20:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:20:39 provisioning config files... 23:20:39 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config4741037847583645985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:20:40 ---> docker-login.sh 23:20:40 nexus3.edgexfoundry.org:10001 23:20:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:40 Configure a credential helper to remove this warning. See 23:20:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:40 23:20:40 Login Succeeded 23:20:40 nexus3.edgexfoundry.org:10002 23:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:41 Configure a credential helper to remove this warning. See 23:20:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:41 23:20:41 Login Succeeded 23:20:41 nexus3.edgexfoundry.org:10003 23:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:41 Configure a credential helper to remove this warning. See 23:20:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:41 23:20:41 Login Succeeded 23:20:41 nexus3.edgexfoundry.org:10004 23:20:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:42 Configure a credential helper to remove this warning. See 23:20:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:42 23:20:42 Login Succeeded 23:20:42 docker.io 23:20:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:20:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:20:42 Configure a credential helper to remove this warning. See 23:20:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:20:42 23:20:42 Login Succeeded 23:20:42 ---> docker-login.sh ends [Pipeline] } 23:20:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:20:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:20:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:20:43 ========================================================= 23:20:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:20:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:43 + 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:20:45 Sending build context to Docker daemon 3.381MB 23:20:45 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:20:45 Step 2/12 : FROM ${BASE} AS builder 23:20:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:20:45 c41833b44d91: Pulling fs layer 23:20:45 ed15518f5707: Pulling fs layer 23:20:45 feae8fd75edb: Pulling fs layer 23:20:45 242c74f7c9fa: Pulling fs layer 23:20:45 3cdef696dda3: Pulling fs layer 23:20:45 2ced38df9373: Pulling fs layer 23:20:45 58f1dce35555: Pulling fs layer 23:20:45 242c74f7c9fa: Waiting 23:20:45 3cdef696dda3: Waiting 23:20:45 58f1dce35555: Waiting 23:20:45 ed15518f5707: Verifying Checksum 23:20:45 ed15518f5707: Download complete 23:20:45 242c74f7c9fa: Verifying Checksum 23:20:45 242c74f7c9fa: Download complete 23:20:45 3cdef696dda3: Verifying Checksum 23:20:45 3cdef696dda3: Download complete 23:20:45 c41833b44d91: Download complete 23:20:46 c41833b44d91: Pull complete 23:20:46 58f1dce35555: Verifying Checksum 23:20:46 58f1dce35555: Download complete 23:20:47 ed15518f5707: Pull complete 23:20:48 feae8fd75edb: Verifying Checksum 23:20:48 feae8fd75edb: Download complete 23:20:48 2ced38df9373: Verifying Checksum 23:20:48 2ced38df9373: Download complete 23:21:00 feae8fd75edb: Pull complete 23:21:00 242c74f7c9fa: Pull complete 23:21:00 3cdef696dda3: Pull complete 23:21:06 2ced38df9373: Pull complete 23:21:08 58f1dce35555: Pull complete 23:21:08 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:21:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:21:09 ---> fadd8f120f05 23:21:09 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:21:11 ---> Running in 36956b9e4ece 23:21:11 Removing intermediate container 36956b9e4ece 23:21:11 ---> 8fbefc3dde2f 23:21:11 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:21:11 ---> Running in af28a8d62abf 23:21:11 Removing intermediate container af28a8d62abf 23:21:11 ---> 4a5996d5afb6 23:21:11 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:21:11 ---> Running in bb252023abd4 23:21:11 Removing intermediate container bb252023abd4 23:21:11 ---> ed98f00369bf 23:21:11 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:21:12 ---> Running in bc811290a6d8 23:21:12 Removing intermediate container bc811290a6d8 23:21:12 ---> a355b2333d9b 23:21:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:21:12 ---> Running in da5a109668ac 23:21:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:21:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:21:15 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:21:15 (2/4) Installing libedit (20221030.3.1-r0) 23:21:15 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:21:15 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:21:15 Executing busybox-1.35.0-r29.trigger 23:21:15 OK: 268 MiB in 57 packages 23:21:16 Removing intermediate container da5a109668ac 23:21:16 ---> 4a3b8a81870d 23:21:16 Step 8/12 : WORKDIR /device-mqtt-go 23:21:16 ---> Running in 6b4335a5cade 23:21:16 Removing intermediate container 6b4335a5cade 23:21:16 ---> 29a8f2d39dfb 23:21:16 Step 9/12 : COPY go.mod vendor* ./ 23:21:17 ---> 8bab06832e35 23:21:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:21:17 ---> Running in 7a4b7c099e41 23:22:28 Removing intermediate container 7a4b7c099e41 23:22:28 ---> 69b50cbfe756 23:22:28 Step 11/12 : COPY . . 23:22:28 ---> 19711ccb1cd6 23:22:28 Step 12/12 : RUN $MAKE 23:22:28 ---> Running in edc07dcc1d27 23:22:28 noop 23:22:28 Removing intermediate container edc07dcc1d27 23:22:28 ---> 79e6cc281fa6 23:22:28 Successfully built 79e6cc281fa6 23:22:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:29 + docker inspect -f . ci-base-image-arm64 23:22:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:29 prd-ubuntu20.04-docker-arm64-4c-16g-11135 does not seem to be running inside a container 23:22:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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:22:30 $ docker top e6ba0cfaf5203a370eee8a24045401b9a0b3607f76347310635f136e6aa3f789 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:31 + go version 23:22:31 go version go1.20.2 linux/arm64 [Pipeline] } 23:22:31 $ docker stop --time=1 e6ba0cfaf5203a370eee8a24045401b9a0b3607f76347310635f136e6aa3f789 23:22:32 $ docker rm -f --volumes e6ba0cfaf5203a370eee8a24045401b9a0b3607f76347310635f136e6aa3f789 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:22:33 + docker inspect -f . ci-base-image-arm64 23:22:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:22:33 prd-ubuntu20.04-docker-arm64-4c-16g-11135 does not seem to be running inside a container 23:22:33 $ 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/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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:22:34 $ docker top 1d901801204db9761463d71ef991bf463bb69b206b6a88af7e27b7c7e7ce22e2 -eo pid,comm [Pipeline] { [Pipeline] sh 23:22:35 + git config --global --add safe.directory /w/workspace/device-mqtt-go/4 [Pipeline] fileExists [Pipeline] sh 23:22:36 + make test 23:22:36 go test ./... -coverprofile=coverage.out ./... 23:23:14 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:25:21 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:25:26 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:25:26 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.074s coverage: 24.6% of statements 23:25:27 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:25:27 go vet ./... 23:25:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:25:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:25:59 ./bin/test-attribution-txt.sh [Pipeline] echo 23:26:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:26:00 $ docker stop --time=1 1d901801204db9761463d71ef991bf463bb69b206b6a88af7e27b7c7e7ce22e2 23:26:01 $ docker rm -f --volumes 1d901801204db9761463d71ef991bf463bb69b206b6a88af7e27b7c7e7ce22e2 [Pipeline] // withDockerContainer [Pipeline] sh 23:26:03 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:26:03 Warning: overwriting stash ‘coverage-report’ 23:26:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:26:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:26:04 + ls -al . 23:26:04 total 176 23:26:04 drwxrwxr-x 9 jenkins jenkins 4096 Apr 26 23:22 . 23:26:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 23:20 .. 23:26:04 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 23:20 .dockerignore 23:26:04 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 23:20 .git 23:26:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 23:20 .github 23:26:04 -rw-rw-r-- 1 jenkins jenkins 329 Apr 26 23:20 .gitignore 23:26:04 -rw-rw-r-- 1 jenkins jenkins 41 Apr 26 23:20 .golangci.yml 23:26:04 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 26 23:20 Attribution.txt 23:26:04 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 26 23:20 CHANGELOG.md 23:26:04 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 26 23:20 Dockerfile 23:26:04 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 23:20 GOVERNANCE.md 23:26:04 -rw-rw-r-- 1 jenkins jenkins 678 Apr 26 23:20 Jenkinsfile 23:26:04 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 26 23:20 LICENSE 23:26:04 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 26 23:20 Makefile 23:26:04 -rw-rw-r-- 1 jenkins jenkins 620 Apr 26 23:20 OWNERS.md 23:26:04 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 26 23:20 README.md 23:26:04 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 23:16 VERSION 23:26:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 23:20 bin 23:26:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 23:20 cmd 23:26:04 -rw-r--r-- 1 jenkins jenkins 16535 Apr 26 23:25 coverage.out 23:26:04 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 26 23:20 go.mod 23:26:04 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 26 23:20 go.sum 23:26:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 23:20 internal 23:26:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 23:20 mock 23:26:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 23:20 snap 23:26:04 -rw-rw-r-- 1 jenkins jenkins 227 Apr 26 23:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:26:04 + 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=f065bb10f2e6c6b700036c7f78b1e89f89d8b9f2 --label arch=arm64 --label version=0.0.0 . 23:26:05 Sending build context to Docker daemon 3.398MB 23:26:05 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:26:05 Step 2/24 : FROM ${BASE} AS builder 23:26:05 ---> 79e6cc281fa6 23:26:05 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:26:05 ---> Running in 407e138c6ef8 23:26:05 Removing intermediate container 407e138c6ef8 23:26:05 ---> 8c8be0a26b52 23:26:05 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:26:05 ---> Running in fbe5293d4cee 23:26:05 Removing intermediate container fbe5293d4cee 23:26:05 ---> 72adc7fe07b1 23:26:05 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:26:06 ---> Running in a0e82d0d0ff6 23:26:06 Removing intermediate container a0e82d0d0ff6 23:26:06 ---> f7ae57849872 23:26:06 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:26:06 ---> Running in f6fbd824358a 23:26:06 Removing intermediate container f6fbd824358a 23:26:06 ---> b600952851c7 23:26:06 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:26:06 ---> Running in 876406f365e1 23:26:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:26:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:26:09 OK: 268 MiB in 57 packages 23:26:10 Removing intermediate container 876406f365e1 23:26:10 ---> 4f3015679819 23:26:10 Step 8/24 : WORKDIR /device-mqtt-go 23:26:10 ---> Running in dce26c5e1ab1 23:26:10 Removing intermediate container dce26c5e1ab1 23:26:10 ---> a6ab716d2e07 23:26:10 Step 9/24 : COPY go.mod vendor* ./ 23:26:11 ---> 051b32375912 23:26:11 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:26:11 ---> Running in 20589313f3e1 23:26:13 Removing intermediate container 20589313f3e1 23:26:13 ---> 0ec0e282bed5 23:26:13 Step 11/24 : COPY . . 23:26:14 ---> 6075f94aa8d9 23:26:14 Step 12/24 : RUN $MAKE 23:26:14 ---> Running in 12df10806d61 23:26:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:28:37 Removing intermediate container 12df10806d61 23:28:37 ---> a3e0205be27d 23:28:37 Step 13/24 : FROM alpine:3.17 23:28:37 3.17: Pulling from library/alpine 23:28:37 c41833b44d91: Already exists 23:28:37 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:28:37 Status: Downloaded newer image for alpine:3.17 23:28:37 ---> 51e60588ff2c 23:28:37 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:28:37 ---> Running in 26194fe8a2d7 23:28:37 Removing intermediate container 26194fe8a2d7 23:28:37 ---> fb6dddbec71d 23:28:37 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:28:37 ---> Running in eba9a0b1e392 23:28:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:28:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:28:37 (1/1) Installing dumb-init (1.2.5-r2) 23:28:37 Executing busybox-1.35.0-r29.trigger 23:28:37 OK: 8 MiB in 16 packages 23:28:38 Removing intermediate container eba9a0b1e392 23:28:38 ---> 01a3c7b3d0a0 23:28:38 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:28:40 ---> 00a65a96a267 23:28:40 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:28:40 ---> 53465e29573a 23:28:40 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:28:41 ---> 221ae11bca63 23:28:41 Step 19/24 : EXPOSE 59982 23:28:41 ---> Running in 3939bd1ec6f4 23:28:41 Removing intermediate container 3939bd1ec6f4 23:28:41 ---> bd8d2f191084 23:28:41 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:28:41 ---> Running in aa3f27b351ee 23:28:42 Removing intermediate container aa3f27b351ee 23:28:42 ---> a2a391f38cfb 23:28:42 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:28:42 ---> Running in 27936795bf13 23:28:42 Removing intermediate container 27936795bf13 23:28:42 ---> 32084d2b6fb6 23:28:42 Step 22/24 : LABEL arch=arm64 23:28:42 ---> Running in 0ab15dd5bfa1 23:28:42 Removing intermediate container 0ab15dd5bfa1 23:28:42 ---> a260939c7658 23:28:42 Step 23/24 : LABEL git_sha=f065bb10f2e6c6b700036c7f78b1e89f89d8b9f2 23:28:42 ---> Running in f88843db5c88 23:28:43 Removing intermediate container f88843db5c88 23:28:43 ---> cabc0fe57ed8 23:28:43 Step 24/24 : LABEL version=0.0.0 23:28:43 ---> Running in 9436315a4305 23:28:43 Removing intermediate container 9436315a4305 23:28:43 ---> 699689f9bfbf 23:28:43 [Warning] One or more build-args [ARCH] were not consumed 23:28:43 Successfully built 699689f9bfbf 23:28:43 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:28:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:28:43 23:28:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:28:44 arm64: Pulling from edgex-lftools-log-publisher 23:28:44 8998bd30e6a1: Pulling fs layer 23:28:44 04944245beec: Pulling fs layer 23:28:44 699f458cf7ca: Pulling fs layer 23:28:44 765212b225bb: Pulling fs layer 23:28:44 f23df028b6ca: Pulling fs layer 23:28:44 d65c8cfc05b1: Pulling fs layer 23:28:44 2437ff75d9bd: Pulling fs layer 23:28:44 f23df028b6ca: Waiting 23:28:44 765212b225bb: Waiting 23:28:44 d65c8cfc05b1: Waiting 23:28:44 2437ff75d9bd: Waiting 23:28:44 04944245beec: Verifying Checksum 23:28:44 04944245beec: Download complete 23:28:44 765212b225bb: Download complete 23:28:44 f23df028b6ca: Verifying Checksum 23:28:44 f23df028b6ca: Download complete 23:28:44 d65c8cfc05b1: Verifying Checksum 23:28:44 d65c8cfc05b1: Download complete 23:28:44 699f458cf7ca: Verifying Checksum 23:28:44 699f458cf7ca: Download complete 23:28:45 8998bd30e6a1: Verifying Checksum 23:28:45 8998bd30e6a1: Download complete 23:28:47 2437ff75d9bd: Verifying Checksum 23:28:47 2437ff75d9bd: Download complete 23:28:49 8998bd30e6a1: Pull complete 23:28:49 04944245beec: Pull complete 23:28:51 699f458cf7ca: Pull complete 23:28:51 765212b225bb: Pull complete 23:28:52 f23df028b6ca: Pull complete 23:28:52 d65c8cfc05b1: Pull complete 23:29:07 2437ff75d9bd: Pull complete 23:29:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:29:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:29:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:07 prd-ubuntu20.04-docker-arm64-4c-16g-11135 does not seem to be running inside a container 23:29:07 $ 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/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@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:29:10 $ docker top 1d76364a2582b402a2687af05b2a9204b1f608ef43366fc7922b10d56ea38d34 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:29:11 ---> job-cost.sh 23:29:11 lf-activate-venv: SKIPPING 23:29:11 INFO: No Stack... 23:29:11 INFO: Retrieving Pricing Info for: v3-standard-4 23:29:12 INFO: Archiving Costs [Pipeline] sh 23:29:13 + cut -d, -f6 23:29:13 + cat /w/workspace/device-mqtt-go/4/archives/cost.csv [Pipeline] lock 23:29:13 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-575-4-stack-cost] 23:29:13 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-575-4-stack-cost] did not exist. Created. 23:29:13 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-575-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:29:13 /w/workspace/device-mqtt-go/4@tmp/durable-e8c54d62/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:29:14 + echo total: 0.10999999940395355 [Pipeline] stash 23:29:14 Warning: overwriting stash ‘stack-cost’ 23:29:14 Stashed 1 file(s) [Pipeline] } 23:29:14 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-575-4-stack-cost] [Pipeline] // lock [Pipeline] } 23:29:14 $ docker stop --time=1 1d76364a2582b402a2687af05b2a9204b1f608ef43366fc7922b10d56ea38d34 23:29:16 $ docker rm -f --volumes 1d76364a2582b402a2687af05b2a9204b1f608ef43366fc7922b10d56ea38d34 [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:29:16 provisioning config files... 23:29:16 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/config9118406506127376839tmp [Pipeline] { [Pipeline] sh 23:29:16 + set +x 23:29:16 + curl -s https://codecov.io/bash 23:29:16 + bash -s -- 23:29:16 23:29:16 _____ _ 23:29:16 / ____| | | 23:29:16 | | ___ __| | ___ ___ _____ __ 23:29:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:29:16 | |___| (_) | (_| | __/ (_| (_) \ V / 23:29:16 \_____\___/ \__,_|\___|\___\___/ \_/ 23:29:16 Bash-1.0.6 23:29:16 23:29:16 23:29:16 ==> git version 2.25.1 found 23:29:16 ==> 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:29:16 Release-Date: 2020-01-08 23:29:16 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:29:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:29:16 ==> Jenkins CI detected. 23:29:16 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-575 23:29:16 project root: . 23:29:16 --> token set from env 23:29:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:29:16 ==> Running gcov in . (disable via -X gcov) 23:29:16 ==> Python coveragepy not found 23:29:16 ==> Searching for coverage reports in: 23:29:16 + . 23:29:16 -> Found 1 reports 23:29:16 ==> Detecting git/mercurial file structure 23:29:16 ==> Reading reports 23:29:16 + ./coverage.out bytes=16535 23:29:16 ==> Appending adjustments 23:29:16 https://docs.codecov.io/docs/fixing-reports 23:29:17 + Found adjustments 23:29:17 ==> Gzipping contents 23:29:17 4.0K /tmp/codecov.cgdG03.gz 23:29:17 ==> Uploading reports 23:29:17 url: https://codecov.io 23:29:17 query: branch=PR-575&commit=7e5f3d475ac9d7471ec86ce5ce4be8e4a54f0409&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-575%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=575&job=&cmd_args= 23:29:17 -> Pinging Codecov 23:29:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-575&commit=7e5f3d475ac9d7471ec86ce5ce4be8e4a54f0409&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-575%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=575&job=&cmd_args= 23:29:17 -> Uploading to 23:29:17 https://storage.googleapis.com/codecov/v4/raw/2023-04-26/7D719EC7BBE17E464838252E33014C33/7e5f3d475ac9d7471ec86ce5ce4be8e4a54f0409/0c827c54-01b7-40f9-93cf-c92c773d3fd6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230426T232916Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1472a9255ac6f0f2b5659488494b0ad26266dfd971531055901139ce5c271c27 23:29:17 % Total % Received % Xferd Average Speed Time Time Time Current 23:29:17 Dload Upload Total Spent Left Speed 23:29:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3017 0 0 100 3017 0 13776 --:--:-- --:--:-- --:--:-- 13776 23:29:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/7e5f3d475ac9d7471ec86ce5ce4be8e4a54f0409 [Pipeline] } 23:29:17 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:29:18 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-575/archives ] 23:29:18 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-575/archives 23:29:18 total 16 23:29:18 drwxr-xr-x 3 root root 4096 Apr 26 23:18 . 23:29:18 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 23:18 .. 23:29:18 drwxr-xr-x 2 root root 4096 Apr 26 23:18 cost 23:29:18 -rw-r--r-- 1 root root 87 Apr 26 23:18 cost.csv 23:29:18 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-575/archives 23:29:18 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-575/archives 23:29:18 total 16 23:29:18 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 23:18 . 23:29:18 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 23:18 .. 23:29:18 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 23:18 cost 23:29:18 -rw-r--r-- 1 jenkins jenkins 87 Apr 26 23:18 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:29:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:29:19 ---> package-listing.sh 23:29:19 ++ facter osfamily 23:29:19 ++ tr '[:upper:]' '[:lower:]' 23:29:19 + OS_FAMILY=debian 23:29:19 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-575 23:29:19 + START_PACKAGES=/tmp/packages_start.txt 23:29:19 + END_PACKAGES=/tmp/packages_end.txt 23:29:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:29:19 + PACKAGES=/tmp/packages_start.txt 23:29:19 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-575 ']' 23:29:19 + PACKAGES=/tmp/packages_end.txt 23:29:19 + case "${OS_FAMILY}" in 23:29:19 + dpkg -l 23:29:19 + grep '^ii' 23:29:19 + '[' -f /tmp/packages_start.txt ']' 23:29:19 + '[' -f /tmp/packages_end.txt ']' 23:29:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:29:19 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-575 ']' 23:29:19 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-575/archives/ 23:29:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-575/archives/ [Pipeline] echo 23:29:19 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-575/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:29:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:29:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:29:20 prd-ubuntu20.04-docker-8c-8g-11127 does not seem to be running inside a container 23:29:20 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-575/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-575 -v /w/workspace/gexfoundry_device-mqtt-go_PR-575:/w/workspace/gexfoundry_device-mqtt-go_PR-575:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:29:20 $ docker top 0e38fc876738f5fedfd3940031214d219495a030b898507631a1ee5c59c4cf6e -eo pid,comm [Pipeline] { [Pipeline] sh 23:29:20 + touch /tmp/pre-build-complete [Pipeline] sh 23:29:21 + mkdir -p /var/log/sysstat [Pipeline] sh 23:29:21 + ls /var/log/sa-host 23:29:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:29:21 provisioning config files... 23:29:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-575@tmp/config8551150166112292540tmp [Pipeline] { [Pipeline] echo 23:29:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:29:21 ---> create-netrc.sh [Pipeline] } 23:29:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:29:22 ---> python-tools-install.sh [Pipeline] echo 23:29:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:29:22 ---> sudo-logs.sh 23:29:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:29:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:29:22 ---> job-cost.sh 23:29:22 lf-activate-venv: SKIPPING 23:29:22 DEBUG: total: 0.2199999988079071 23:29:22 INFO: Retrieving Stack Cost... 23:29:23 INFO: Retrieving Pricing Info for: v3-standard-8 23:29:23 INFO: Archiving Costs [Pipeline] echo 23:29:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:29:24 ---> logs-deploy.sh 23:29:24 lf-activate-venv: SKIPPING 23:29:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-575/4 23:29:24 INFO: archiving workspace using pattern(s): 23:29:24 Archives upload complete. 23:29:24 INFO: archiving logs to Nexus