Pull request #529 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-mqtt-go Obtained Jenkinsfile from 4806c6bec248878dcf211ab28a37c4cc7ad85c88+4a35f1d313b93b1afef0ede40251cd94a3668512 (e00433debc1e180b2348bffa9452e9edb77986a2) 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-ssh3842159036599638069.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12494551482829653935.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-529/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-529/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7315187378142953783.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh14249365260821435041.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-529/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-529/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9392139916024684128.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-2399 in /w/workspace/gexfoundry_device-mqtt-go_PR-529 [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-529 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/529/head:refs/remotes/origin/PR-529 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a35f1d313b93b1afef0ede40251cd94a3668512 into PR head commit 4806c6bec248878dcf211ab28a37c4cc7ad85c88 Merge succeeded, producing 4806c6bec248878dcf211ab28a37c4cc7ad85c88 Checking out Revision 4806c6bec248878dcf211ab28a37c4cc7ad85c88 (PR-529) > git config core.sparsecheckout # timeout=10 > git checkout -f 4806c6bec248878dcf211ab28a37c4cc7ad85c88 # 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 4a35f1d313b93b1afef0ede40251cd94a3668512 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4806c6bec248878dcf211ab28a37c4cc7ad85c88 # timeout=10 Commit message: "refactor(snap): Remove `profile` command" > git rev-list --no-walk d91084f367e59075b592b3dd03a17e6c08a8773d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 10:47:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:47:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:47:47 ========================================================= 10:47:47 EdgeX Global Pipelines Version Info 10:47:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:47:47 ------------------- 10:47:47 stable info: 10:47:47 ------------------- 10:47:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:47:47 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 10:47:47 Message: update stable to v1.0.245 10:47:48 ------------------- 10:47:48 experimental info: 10:47:48 ------------------- 10:47:48 Commited By: **** collab-it+edgex@linuxfoundation.org 10:47:48 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 10:47:48 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-529 [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-529 [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-529 [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4806c6bec248878dcf211ab28a37c4cc7ad85c88 [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4806c6b [Pipeline] echo 10:47:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:47:49 provisioning config files... 10:47:49 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp/config14290994567531640019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:47:49 ---> docker-login.sh 10:47:49 nexus3.edgexfoundry.org:10001 10:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:47:50 Configure a credential helper to remove this warning. See 10:47:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:47:50 10:47:50 Login Succeeded 10:47:50 nexus3.edgexfoundry.org:10002 10:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:47:50 Configure a credential helper to remove this warning. See 10:47:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:47:50 10:47:50 Login Succeeded 10:47:50 nexus3.edgexfoundry.org:10003 10:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:47:50 Configure a credential helper to remove this warning. See 10:47:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:47:50 10:47:50 Login Succeeded 10:47:50 nexus3.edgexfoundry.org:10004 10:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:47:50 Configure a credential helper to remove this warning. See 10:47:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:47:50 10:47:50 Login Succeeded 10:47:50 docker.io 10:47:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:47:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:47:50 Configure a credential helper to remove this warning. See 10:47:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:47:50 10:47:50 Login Succeeded 10:47:50 ---> docker-login.sh ends [Pipeline] } 10:47:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:47:51 + git rev-list -1 --merges 4806c6bec248878dcf211ab28a37c4cc7ad85c88~1..4806c6bec248878dcf211ab28a37c4cc7ad85c88 [Pipeline] echo 10:47:51 -----------> git rev-list -1 --merges 4806c6bec248878dcf211ab28a37c4cc7ad85c88~1..4806c6bec248878dcf211ab28a37c4cc7ad85c88 4806c6bec248878dcf211ab28a37c4cc7ad85c88 [false] [Pipeline] sh 10:47:51 + git log --format=format:%s -1 4806c6bec248878dcf211ab28a37c4cc7ad85c88 [Pipeline] echo 10:47:51 ========================================================= 10:47:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:47:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:47:51 + git log --format=format:%s -1 4806c6bec248878dcf211ab28a37c4cc7ad85c88 [Pipeline] echo 10:47:51 [semverPrep] GIT_COMMIT: 4806c6bec248878dcf211ab28a37c4cc7ad85c88, Commit Message: refactor(snap): Remove `profile` command [Pipeline] echo 10:47:51 [semverPrep] This is not a build commit. [Pipeline] sh 10:47:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:47:52 + grep -v github /etc/ssh/ssh_known_hosts 10:47:52 + [ -e /tmp/ssh_known_hosts ] 10:47:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:47:52 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:47:52 + sudo tee -a /etc/ssh/ssh_known_hosts 10:47:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:47:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:47:52 10:47:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:47:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:47:53 0.1.4: Pulling from edgex-devops/py-git-semver 10:47:53 b85a868b505f: Pulling fs layer 10:47:53 e2be974225ed: Pulling fs layer 10:47:53 339a4e72a1f5: Pulling fs layer 10:47:53 988bab9f4d93: Pulling fs layer 10:47:53 1469e6f7b9e6: Pulling fs layer 10:47:53 eaf3925da568: Pulling fs layer 10:47:53 bab4dde63d76: Pulling fs layer 10:47:53 bde34c3a00c8: Pulling fs layer 10:47:53 b352a97aabf1: Pulling fs layer 10:47:53 4872d77fe225: Pulling fs layer 10:47:53 5851b861e8e6: Pulling fs layer 10:47:53 988bab9f4d93: Waiting 10:47:53 1469e6f7b9e6: Waiting 10:47:53 eaf3925da568: Waiting 10:47:53 bab4dde63d76: Waiting 10:47:53 bde34c3a00c8: Waiting 10:47:53 b352a97aabf1: Waiting 10:47:53 5851b861e8e6: Waiting 10:47:53 e2be974225ed: Download complete 10:47:53 988bab9f4d93: Download complete 10:47:53 1469e6f7b9e6: Verifying Checksum 10:47:53 1469e6f7b9e6: Download complete 10:47:53 339a4e72a1f5: Verifying Checksum 10:47:53 339a4e72a1f5: Download complete 10:47:53 eaf3925da568: Verifying Checksum 10:47:53 eaf3925da568: Download complete 10:47:53 bde34c3a00c8: Download complete 10:47:53 b352a97aabf1: Verifying Checksum 10:47:53 b352a97aabf1: Download complete 10:47:53 4872d77fe225: Download complete 10:47:53 5851b861e8e6: Download complete 10:47:53 b85a868b505f: Verifying Checksum 10:47:53 b85a868b505f: Download complete 10:47:53 bab4dde63d76: Verifying Checksum 10:47:53 bab4dde63d76: Download complete 10:47:54 b85a868b505f: Pull complete 10:47:54 e2be974225ed: Pull complete 10:47:55 339a4e72a1f5: Pull complete 10:47:55 988bab9f4d93: Pull complete 10:47:55 1469e6f7b9e6: Pull complete 10:47:55 eaf3925da568: Pull complete 10:47:57 bab4dde63d76: Pull complete 10:47:57 bde34c3a00c8: Pull complete 10:47:57 b352a97aabf1: Pull complete 10:47:57 4872d77fe225: Pull complete 10:47:57 5851b861e8e6: Pull complete 10:47:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 10:47:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 10:47:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:47:58 prd-ubuntu20.04-docker-8c-8g-2399 does not seem to be running inside a container 10:47:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-529 -v /w/workspace/gexfoundry_device-mqtt-go_PR-529:/w/workspace/gexfoundry_device-mqtt-go_PR-529:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-529@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-devops/py-git-semver:0.1.4 cat 10:47:59 $ docker top 0f5686ffcf4cfc0854579b7af968534b08382a672d9b3d941368bd5278559f9c -eo pid,comm 10:47:59 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). 10:47:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:47:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:47:59 [ssh-agent] Looking for ssh-agent implementation... 10:47:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:47:59 $ docker exec 0f5686ffcf4cfc0854579b7af968534b08382a672d9b3d941368bd5278559f9c ssh-agent 10:48:00 SSH_AUTH_SOCK=/tmp/ssh-Z1TyW1i5sPDF/agent.32 10:48:00 SSH_AGENT_PID=38 10:48:00 Running ssh-add (command line suppressed) 10:48:00 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp/private_key_14380706233094887449.key (/w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp/private_key_14380706233094887449.key) 10:48:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:48:00 + git tag --points-at HEAD [Pipeline] } 10:48:00 $ docker exec --env ******** --env ******** 0f5686ffcf4cfc0854579b7af968534b08382a672d9b3d941368bd5278559f9c ssh-agent -k 10:48:00 unset SSH_AUTH_SOCK; 10:48:00 unset SSH_AGENT_PID; 10:48:00 echo Agent pid 38 killed; 10:48:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:48:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:48:00 [ssh-agent] Looking for ssh-agent implementation... 10:48:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:48:00 $ docker exec 0f5686ffcf4cfc0854579b7af968534b08382a672d9b3d941368bd5278559f9c ssh-agent 10:48:00 SSH_AUTH_SOCK=/tmp/ssh-TtZqmYEa9NEK/agent.70 10:48:00 SSH_AGENT_PID=76 10:48:00 Running ssh-add (command line suppressed) 10:48:01 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp/private_key_10095694079239554904.key (/w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp/private_key_10095694079239554904.key) 10:48:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:48:01 + git semver init 10:48:01 2023-03-16 10:48:01,544 [run_init] DEBUG init version:0.0.0 force:False 10:48:01 2023-03-16 10:48:01,544 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-529/.semver 10:48:01 2023-03-16 10:48:01,545 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-529/.semver 10:48:01 2023-03-16 10:48:01,545 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-529/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-529, universal_newlines=False, shell=None, istream=None) 10:48:02 2023-03-16 10:48:02,345 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-529/.git/info/exclude 10:48:02 2023-03-16 10:48:02,346 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-529/.semver/PR-529 with force:False 10:48:02 2023-03-16 10:48:02,346 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-529/.semver/PR-529 10:48:02 2023-03-16 10:48:02,351 [execute] INFO git cat-file --batch-check 10:48:02 2023-03-16 10:48:02,351 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-529/.semver, universal_newlines=False, shell=None, istream=) 10:48:02 2023-03-16 10:48:02,361 [execute] INFO git cat-file --batch 10:48:02 2023-03-16 10:48:02,362 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-529/.semver, universal_newlines=False, shell=None, istream=) 10:48:02 2023-03-16 10:48:02,368 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-529/.semver/PR-529 10:48:02 0.0.0 [Pipeline] } 10:48:02 $ docker exec --env ******** --env ******** 0f5686ffcf4cfc0854579b7af968534b08382a672d9b3d941368bd5278559f9c ssh-agent -k 10:48:02 unset SSH_AUTH_SOCK; 10:48:02 unset SSH_AGENT_PID; 10:48:02 echo Agent pid 76 killed; 10:48:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:48:02 + git semver [Pipeline] } 10:48:03 $ docker stop --time=1 0f5686ffcf4cfc0854579b7af968534b08382a672d9b3d941368bd5278559f9c 10:48:04 $ docker rm -f --volumes 0f5686ffcf4cfc0854579b7af968534b08382a672d9b3d941368bd5278559f9c [Pipeline] // withDockerContainer [Pipeline] sh 10:48:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:48:05 Stashed 1 file(s) [Pipeline] echo 10:48:05 [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 10:48:05 provisioning config files... 10:48:05 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp/config7853697152271532499tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:48:05 ---> docker-login.sh 10:48:05 nexus3.edgexfoundry.org:10001 10:48:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:48:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:48:05 Configure a credential helper to remove this warning. See 10:48:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:48:05 10:48:05 Login Succeeded 10:48:05 nexus3.edgexfoundry.org:10002 10:48:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:48:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:48:05 Configure a credential helper to remove this warning. See 10:48:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:48:05 10:48:05 Login Succeeded 10:48:05 nexus3.edgexfoundry.org:10003 10:48:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:48:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:48:06 Configure a credential helper to remove this warning. See 10:48:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:48:06 10:48:06 Login Succeeded 10:48:06 nexus3.edgexfoundry.org:10004 10:48:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:48:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:48:06 Configure a credential helper to remove this warning. See 10:48:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:48:06 10:48:06 Login Succeeded 10:48:06 docker.io 10:48:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:48:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:48:06 Configure a credential helper to remove this warning. See 10:48:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:48:06 10:48:06 Login Succeeded 10:48:06 ---> docker-login.sh ends [Pipeline] } 10:48:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:48:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:48:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:48:06 ========================================================= 10:48:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 10:48:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:48:06 + 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 . 10:48:06 Sending build context to Docker daemon 6.392MB 10:48:06 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:48:06 Step 2/12 : FROM ${BASE} AS builder 10:48:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 10:48:06 63b65145d645: Pulling fs layer 10:48:06 a2d21d5440eb: Pulling fs layer 10:48:06 935e6c44a52c: Pulling fs layer 10:48:06 94cc34f8dd06: Pulling fs layer 10:48:06 30dea6a524f1: Pulling fs layer 10:48:06 a2aff8979fd8: Pulling fs layer 10:48:06 6808be2612f2: Pulling fs layer 10:48:06 f25807f1079a: Pulling fs layer 10:48:06 30dea6a524f1: Waiting 10:48:06 a2aff8979fd8: Waiting 10:48:06 6808be2612f2: Waiting 10:48:06 94cc34f8dd06: Waiting 10:48:06 f25807f1079a: Waiting 10:48:07 a2d21d5440eb: Verifying Checksum 10:48:07 a2d21d5440eb: Download complete 10:48:07 94cc34f8dd06: Verifying Checksum 10:48:07 94cc34f8dd06: Download complete 10:48:07 30dea6a524f1: Verifying Checksum 10:48:07 30dea6a524f1: Download complete 10:48:07 63b65145d645: Verifying Checksum 10:48:07 63b65145d645: Download complete 10:48:07 a2aff8979fd8: Verifying Checksum 10:48:07 a2aff8979fd8: Download complete 10:48:07 63b65145d645: Pull complete 10:48:07 a2d21d5440eb: Pull complete 10:48:07 f25807f1079a: Verifying Checksum 10:48:07 f25807f1079a: Download complete 10:48:07 935e6c44a52c: Verifying Checksum 10:48:07 935e6c44a52c: Download complete 10:48:07 6808be2612f2: Verifying Checksum 10:48:07 6808be2612f2: Download complete 10:48:12 935e6c44a52c: Pull complete 10:48:12 94cc34f8dd06: Pull complete 10:48:12 30dea6a524f1: Pull complete 10:48:12 a2aff8979fd8: Pull complete 10:48:14 6808be2612f2: Pull complete 10:48:15 f25807f1079a: Pull complete 10:48:15 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 10:48:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 10:48:15 ---> 3b553350e43f 10:48:15 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:48:17 ---> Running in 381cffc2c97d 10:48:17 Removing intermediate container 381cffc2c97d 10:48:17 ---> 63be41b438d3 10:48:17 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:48:17 ---> Running in ddde04459dee 10:48:17 Removing intermediate container ddde04459dee 10:48:17 ---> ed8fd728c660 10:48:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:48:17 ---> Running in dc2cf48fe1f5 10:48:17 Removing intermediate container dc2cf48fe1f5 10:48:17 ---> 5fb9941160e5 10:48:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:48:17 ---> Running in 53b30f4e45cc 10:48:17 Removing intermediate container 53b30f4e45cc 10:48:17 ---> d6e5e49e545b 10:48:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:48:17 ---> Running in 02db875e48e3 10:48:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:48:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:48:18 (1/4) Installing openssh-keygen (9.1_p1-r2) 10:48:18 (2/4) Installing libedit (20221030.3.1-r0) 10:48:18 (3/4) Installing openssh-client-common (9.1_p1-r2) 10:48:18 (4/4) Installing openssh-client-default (9.1_p1-r2) 10:48:18 Executing busybox-1.35.0-r29.trigger 10:48:18 OK: 269 MiB in 57 packages 10:48:18 Removing intermediate container 02db875e48e3 10:48:18 ---> 99e7d94e58ae 10:48:18 Step 8/12 : WORKDIR /device-mqtt-go 10:48:18 ---> Running in 3fff0fec1c7b 10:48:18 Removing intermediate container 3fff0fec1c7b 10:48:18 ---> 253623efc6f9 10:48:18 Step 9/12 : COPY go.mod vendor* ./ 10:48:18 ---> 90417267122f 10:48:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:48:19 ---> Running in b3287e2e88f7 10:48:20 Still waiting to schedule task 10:48:20 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:48:45 Removing intermediate container b3287e2e88f7 10:48:45 ---> d72cfb835498 10:48:45 Step 11/12 : COPY . . 10:48:46 ---> c8a688374180 10:48:46 Step 12/12 : RUN $MAKE 10:48:46 ---> Running in f42555395cf9 10:48:46 noop 10:48:46 Removing intermediate container f42555395cf9 10:48:46 ---> eef569caf010 10:48:46 Successfully built eef569caf010 10:48:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:48:47 + docker inspect -f . ci-base-image-x86_64 10:48:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:48:47 prd-ubuntu20.04-docker-8c-8g-2399 does not seem to be running inside a container 10:48:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-529 -v /w/workspace/gexfoundry_device-mqtt-go_PR-529:/w/workspace/gexfoundry_device-mqtt-go_PR-529:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-529@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:48:47 $ docker top 987198fc5e7c46f323470f539e866a3c5bc241865ab40b4572a36ed92009b502 -eo pid,comm [Pipeline] { [Pipeline] sh 10:48:47 + go version 10:48:47 go version go1.20.2 linux/amd64 [Pipeline] } 10:48:47 $ docker stop --time=1 987198fc5e7c46f323470f539e866a3c5bc241865ab40b4572a36ed92009b502 10:48:49 $ docker rm -f --volumes 987198fc5e7c46f323470f539e866a3c5bc241865ab40b4572a36ed92009b502 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:48:49 + docker inspect -f . ci-base-image-x86_64 10:48:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:48:49 prd-ubuntu20.04-docker-8c-8g-2399 does not seem to be running inside a container 10:48:49 $ 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-529 -v /w/workspace/gexfoundry_device-mqtt-go_PR-529:/w/workspace/gexfoundry_device-mqtt-go_PR-529:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-529@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:48:50 $ docker top 1dd34ae51154eddd8bde2f9436af31a584bac36c1a428efa0da3c70555604e69 -eo pid,comm [Pipeline] { [Pipeline] sh 10:48:50 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-529 [Pipeline] fileExists [Pipeline] sh 10:48:50 + make test 10:48:50 go test ./... -coverprofile=coverage.out ./... 10:48:55 ? github.com/edgexfoundry/device-mqtt-go [no test files] 10:49:05 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 10:49:05 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 10:49:05 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.015s coverage: 22.2% of statements 10:49:11 go vet ./... 10:49:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:49:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:49:14 ./bin/test-attribution-txt.sh [Pipeline] echo 10:49:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:49:14 $ docker stop --time=1 1dd34ae51154eddd8bde2f9436af31a584bac36c1a428efa0da3c70555604e69 10:49:16 $ docker rm -f --volumes 1dd34ae51154eddd8bde2f9436af31a584bac36c1a428efa0da3c70555604e69 [Pipeline] // withDockerContainer [Pipeline] sh 10:49:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:49:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:49:17 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:49:18 + ls -al . 10:49:18 total 180 10:49:18 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 10:48 . 10:49:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 10:47 .. 10:49:18 -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 10:47 .dockerignore 10:49:18 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 10:48 .git 10:49:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 10:47 .github 10:49:18 -rw-rw-r-- 1 jenkins jenkins 329 Mar 16 10:47 .gitignore 10:49:18 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 10:47 .golangci.yml 10:49:18 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 10:48 .semver 10:49:18 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 16 10:47 Attribution.txt 10:49:18 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 16 10:47 CHANGELOG.md 10:49:18 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 16 10:47 Dockerfile 10:49:18 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 10:47 GOVERNANCE.md 10:49:18 -rw-rw-r-- 1 jenkins jenkins 678 Mar 16 10:47 Jenkinsfile 10:49:18 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 10:47 LICENSE 10:49:18 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 16 10:47 Makefile 10:49:18 -rw-rw-r-- 1 jenkins jenkins 620 Mar 16 10:47 OWNERS.md 10:49:18 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 16 10:47 README.md 10:49:18 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 10:48 VERSION 10:49:18 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 10:47 bin 10:49:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 10:47 cmd 10:49:18 -rw-r--r-- 1 jenkins jenkins 18047 Mar 16 10:49 coverage.out 10:49:18 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 16 10:47 go.mod 10:49:18 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 16 10:47 go.sum 10:49:18 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 10:47 internal 10:49:18 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 10:47 mock 10:49:18 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 10:47 snap 10:49:18 -rw-rw-r-- 1 jenkins jenkins 227 Mar 16 10:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:49:18 + 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=4806c6bec248878dcf211ab28a37c4cc7ad85c88 --label arch=amd64 --label version=0.0.0 . 10:49:18 Sending build context to Docker daemon 6.411MB 10:49:18 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 10:49:18 Step 2/24 : FROM ${BASE} AS builder 10:49:18 ---> eef569caf010 10:49:18 Step 3/24 : ARG ADD_BUILD_TAGS="" 10:49:18 ---> Running in 91098fbc7fd9 10:49:18 Removing intermediate container 91098fbc7fd9 10:49:18 ---> 895cabec62a0 10:49:18 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:49:18 ---> Running in de3a58443710 10:49:18 Removing intermediate container de3a58443710 10:49:18 ---> 433f582dc22d 10:49:18 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:49:18 ---> Running in 9c8c5b5adc1d 10:49:18 Removing intermediate container 9c8c5b5adc1d 10:49:18 ---> f113a63a46f7 10:49:18 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 10:49:19 ---> Running in df5904006f58 10:49:19 Removing intermediate container df5904006f58 10:49:19 ---> 5347f8d5642d 10:49:19 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:49:19 ---> Running in dd3cb5c293e2 10:49:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:49:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:49:19 OK: 269 MiB in 57 packages 10:49:20 Removing intermediate container dd3cb5c293e2 10:49:20 ---> 92e246aec309 10:49:20 Step 8/24 : WORKDIR /device-mqtt-go 10:49:20 ---> Running in 86fc94fad242 10:49:20 Removing intermediate container 86fc94fad242 10:49:20 ---> 6cc672495bac 10:49:20 Step 9/24 : COPY go.mod vendor* ./ 10:49:20 ---> b40df418ab24 10:49:20 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:49:20 ---> Running in 39e807202204 10:49:21 Removing intermediate container 39e807202204 10:49:21 ---> 141dfbe93058 10:49:21 Step 11/24 : COPY . . 10:49:21 ---> 4a7dbe9b181e 10:49:21 Step 12/24 : RUN $MAKE 10:49:21 ---> Running in 38a044f3645e 10:49:21 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 10:49:40 Removing intermediate container 38a044f3645e 10:49:40 ---> eaf25ee2ce25 10:49:40 Step 13/24 : FROM alpine:3.17 10:49:40 3.17: Pulling from library/alpine 10:49:40 63b65145d645: Already exists 10:49:40 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 10:49:40 Status: Downloaded newer image for alpine:3.17 10:49:40 ---> b2aa39c304c2 10:49:40 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 10:49:40 ---> Running in e5c7369c929a 10:49:40 Removing intermediate container e5c7369c929a 10:49:40 ---> 6d0213e10b47 10:49:40 Step 15/24 : RUN apk add --update --no-cache dumb-init 10:49:41 ---> Running in 95e523800ab8 10:49:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 10:49:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 10:49:42 (1/1) Installing dumb-init (1.2.5-r2) 10:49:42 Executing busybox-1.35.0-r29.trigger 10:49:42 OK: 7 MiB in 16 packages 10:49:43 Removing intermediate container 95e523800ab8 10:49:43 ---> 41d130592aac 10:49:43 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 10:49:45 ---> d231fa57e28e 10:49:45 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 10:49:45 ---> 339731aa475d 10:49:45 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 10:49:46 ---> 4802bc81c6ef 10:49:46 Step 19/24 : EXPOSE 59982 10:49:46 ---> Running in e27000e2c43f 10:49:47 Removing intermediate container e27000e2c43f 10:49:47 ---> eaa5305446f0 10:49:47 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 10:49:47 ---> Running in 6d43a9218e1c 10:49:48 Removing intermediate container 6d43a9218e1c 10:49:48 ---> 3f20ae62e994 10:49:48 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 10:49:48 ---> Running in 1eca2ddc1696 10:49:48 Removing intermediate container 1eca2ddc1696 10:49:48 ---> fffc9a48c4c9 10:49:48 Step 22/24 : LABEL arch=amd64 10:49:49 ---> Running in 234f4f0e10af 10:49:49 Removing intermediate container 234f4f0e10af 10:49:49 ---> 5007d89c4b1f 10:49:49 Step 23/24 : LABEL git_sha=4806c6bec248878dcf211ab28a37c4cc7ad85c88 10:49:50 ---> Running in 0a035d50c4c6 10:49:51 Removing intermediate container 0a035d50c4c6 10:49:51 ---> a9070b5e1f95 10:49:51 Step 24/24 : LABEL version=0.0.0 10:49:51 ---> Running in fcfb4946b173 10:49:51 Removing intermediate container fcfb4946b173 10:49:51 ---> 7ec7543be2dc 10:49:51 [Warning] One or more build-args [ARCH] were not consumed 10:49:51 Successfully built 7ec7543be2dc 10:49:51 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 10:49:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:49:52 10:49:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:49:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:49:52 latest: Pulling from edgex-lftools-log-publisher 10:49:52 5eb5b503b376: Pulling fs layer 10:49:52 5c69ac0246d0: Pulling fs layer 10:49:52 ec43610c2a17: Pulling fs layer 10:49:52 3a2ae6a8a46f: Pulling fs layer 10:49:52 33b1e0a273af: Pulling fs layer 10:49:52 5d3b04190fa2: Pulling fs layer 10:49:52 2f39f015ded8: Pulling fs layer 10:49:52 3a2ae6a8a46f: Waiting 10:49:52 33b1e0a273af: Waiting 10:49:52 5d3b04190fa2: Waiting 10:49:52 2f39f015ded8: Waiting 10:49:52 5c69ac0246d0: Verifying Checksum 10:49:52 5c69ac0246d0: Download complete 10:49:52 3a2ae6a8a46f: Verifying Checksum 10:49:52 3a2ae6a8a46f: Download complete 10:49:52 33b1e0a273af: Verifying Checksum 10:49:52 33b1e0a273af: Download complete 10:49:52 5d3b04190fa2: Verifying Checksum 10:49:52 5d3b04190fa2: Download complete 10:49:52 ec43610c2a17: Verifying Checksum 10:49:52 ec43610c2a17: Download complete 10:49:52 5eb5b503b376: Download complete 10:49:53 2f39f015ded8: Download complete 10:49:54 5eb5b503b376: Pull complete 10:49:54 5c69ac0246d0: Pull complete 10:49:54 ec43610c2a17: Pull complete 10:49:54 3a2ae6a8a46f: Pull complete 10:49:55 33b1e0a273af: Pull complete 10:49:55 5d3b04190fa2: Pull complete 10:49:59 2f39f015ded8: Pull complete 10:49:59 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:49:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:49:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:49:59 prd-ubuntu20.04-docker-8c-8g-2399 does not seem to be running inside a container 10:49:59 $ 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-529 -v /w/workspace/gexfoundry_device-mqtt-go_PR-529:/w/workspace/gexfoundry_device-mqtt-go_PR-529:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-529@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:49:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2400 in /w/workspace/gexfoundry_device-mqtt-go_PR-529 10:50:01 $ docker top b6afb30b83c7482743b6d004b330167ee8ca26a2227b2382b007cdb349c760c7 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 10:50:01 Running in /w/workspace/device-mqtt-go/2 [Pipeline] { [Pipeline] checkout 10:50:01 Selected Git installation does not exist. Using Default 10:50:01 The recommended git tool is: NONE 10:50:01 ---> job-cost.sh 10:50:01 lf-activate-venv: SKIPPING 10:50:01 INFO: No Stack... 10:50:02 INFO: Retrieving Pricing Info for: v3-standard-8 10:50:02 INFO: Archiving Costs [Pipeline] sh 10:50:02 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-529/archives/cost.csv 10:50:02 + cut -d, -f6 [Pipeline] lock 10:50:02 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-529-2-stack-cost] 10:50:02 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-529-2-stack-cost] did not exist. Created. 10:50:02 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-529-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:50:02 + echo total: 0.2199999988079071 [Pipeline] stash 10:50:02 Stashed 1 file(s) [Pipeline] } 10:50:02 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-529-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:50:03 $ docker stop --time=1 b6afb30b83c7482743b6d004b330167ee8ca26a2227b2382b007cdb349c760c7 10:50:04 $ docker rm -f --volumes b6afb30b83c7482743b6d004b330167ee8ca26a2227b2382b007cdb349c760c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:50:06 using credential edgex-jenkins-ssh 10:50:06 Cloning the remote Git repository 10:50:07 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 10:50:07 > git init /w/workspace/device-mqtt-go/2 # timeout=10 10:50:07 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 10:50:07 > git --version # timeout=10 10:50:07 > git --version # 'git version 2.25.1' 10:50:07 using GIT_SSH to set credentials SSH Credentials for GitHub 10:50:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:50:08 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 10:50:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:50:09 Merging remotes/origin/main commit 4a35f1d313b93b1afef0ede40251cd94a3668512 into PR head commit 4806c6bec248878dcf211ab28a37c4cc7ad85c88 10:50:10 Merge succeeded, producing 4806c6bec248878dcf211ab28a37c4cc7ad85c88 10:50:10 Checking out Revision 4806c6bec248878dcf211ab28a37c4cc7ad85c88 (PR-529) 10:50:09 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 10:50:09 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 10:50:09 using GIT_SSH to set credentials SSH Credentials for GitHub 10:50:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/529/head:refs/remotes/origin/PR-529 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:50:10 > git config core.sparsecheckout # timeout=10 10:50:10 > git checkout -f 4806c6bec248878dcf211ab28a37c4cc7ad85c88 # timeout=10 10:50:10 > git remote # timeout=10 10:50:10 > git config --get remote.origin.url # timeout=10 10:50:10 using GIT_SSH to set credentials SSH Credentials for GitHub 10:50:10 > git merge 4a35f1d313b93b1afef0ede40251cd94a3668512 # timeout=10 10:50:10 > git rev-parse HEAD^{commit} # timeout=10 10:50:10 > git config core.sparsecheckout # timeout=10 10:50:10 > git checkout -f 4806c6bec248878dcf211ab28a37c4cc7ad85c88 # timeout=10 10:50:13 Commit message: "refactor(snap): Remove `profile` command" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:50:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:50:14 % Total % Received % Xferd Average Speed Time Time Time Current 10:50:14 Dload Upload Total Spent Left Speed 10:50:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh 10:50:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:50:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:50:15 + sudo tee /etc/docker/daemon.new 10:50:15 { 10:50:15 "registry-mirrors": [ 10:50:15 "https://nexus3.edgexfoundry.org:10001" 10:50:15 ], 10:50:15 "bip": "10.250.0.254/24", 10:50:15 "hosts": [ 10:50:15 "tcp://0.0.0.0:5555", 10:50:15 "unix:///var/run/docker.sock" 10:50:15 ], 10:50:15 "mtu": 1458, 10:50:15 "selinux-enabled": true, 10:50:15 "seccomp-profile": "/etc/docker/seccomp.json" 10:50:15 } [Pipeline] sh 10:50:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:50:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:50:34 provisioning config files... 10:50:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/2@tmp/config13426012623655148313tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:50:35 ---> docker-login.sh 10:50:35 nexus3.edgexfoundry.org:10001 10:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:50:35 Configure a credential helper to remove this warning. See 10:50:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:50:35 10:50:35 Login Succeeded 10:50:35 nexus3.edgexfoundry.org:10002 10:50:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:50:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:50:35 Configure a credential helper to remove this warning. See 10:50:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:50:35 10:50:35 Login Succeeded 10:50:36 nexus3.edgexfoundry.org:10003 10:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:50:36 Configure a credential helper to remove this warning. See 10:50:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:50:36 10:50:36 Login Succeeded 10:50:36 nexus3.edgexfoundry.org:10004 10:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:50:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:50:36 Configure a credential helper to remove this warning. See 10:50:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:50:36 10:50:36 Login Succeeded 10:50:36 docker.io 10:50:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:50:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:50:37 Configure a credential helper to remove this warning. See 10:50:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:50:37 10:50:37 Login Succeeded 10:50:37 ---> docker-login.sh ends [Pipeline] } 10:50:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:50:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:50:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:50:37 ========================================================= 10:50:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 10:50:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:50:37 + 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 . 10:50:38 Sending build context to Docker daemon 3.321MB 10:50:38 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 10:50:38 Step 2/12 : FROM ${BASE} AS builder 10:50:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:50:38 af6eaf76a39c: Pulling fs layer 10:50:38 55522c791124: Pulling fs layer 10:50:38 ce5c4a1c91eb: Pulling fs layer 10:50:38 169dfbe0d373: Pulling fs layer 10:50:38 e1ff8fa3b103: Pulling fs layer 10:50:38 52ebb69f0ebf: Pulling fs layer 10:50:38 5abe8eddf0d5: Pulling fs layer 10:50:38 169dfbe0d373: Waiting 10:50:38 e1ff8fa3b103: Waiting 10:50:38 52ebb69f0ebf: Waiting 10:50:38 5abe8eddf0d5: Waiting 10:50:38 55522c791124: Download complete 10:50:38 169dfbe0d373: Verifying Checksum 10:50:38 169dfbe0d373: Download complete 10:50:38 e1ff8fa3b103: Verifying Checksum 10:50:38 e1ff8fa3b103: Download complete 10:50:38 af6eaf76a39c: Verifying Checksum 10:50:39 5abe8eddf0d5: Verifying Checksum 10:50:39 5abe8eddf0d5: Download complete 10:50:39 af6eaf76a39c: Pull complete 10:50:39 55522c791124: Pull complete 10:50:40 52ebb69f0ebf: Verifying Checksum 10:50:40 52ebb69f0ebf: Download complete 10:50:40 ce5c4a1c91eb: Verifying Checksum 10:50:53 ce5c4a1c91eb: Pull complete 10:50:53 169dfbe0d373: Pull complete 10:50:53 e1ff8fa3b103: Pull complete 10:50:58 52ebb69f0ebf: Pull complete 10:51:00 5abe8eddf0d5: Pull complete 10:51:00 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 10:51:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 10:51:00 ---> 6cb57ee374ae 10:51:00 Step 3/12 : ARG ADD_BUILD_TAGS="" 10:51:02 ---> Running in 7eee9047a2a2 10:51:02 Removing intermediate container 7eee9047a2a2 10:51:02 ---> 1fbaa87a9f4d 10:51:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:51:02 ---> Running in 714bd2d8e876 10:51:02 Removing intermediate container 714bd2d8e876 10:51:02 ---> fb1d0ad1c2e7 10:51:02 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:51:02 ---> Running in 126dc7134ded 10:51:02 Removing intermediate container 126dc7134ded 10:51:02 ---> 82fa06b08575 10:51:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 10:51:02 ---> Running in 9a71c6d8292d 10:51:03 Removing intermediate container 9a71c6d8292d 10:51:03 ---> 351abe5c2194 10:51:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:51:03 ---> Running in 2d166f063167 10:51:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:51:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:51:05 (1/4) Installing openssh-keygen (9.1_p1-r2) 10:51:05 (2/4) Installing libedit (20221030.3.1-r0) 10:51:05 (3/4) Installing openssh-client-common (9.1_p1-r2) 10:51:05 (4/4) Installing openssh-client-default (9.1_p1-r2) 10:51:05 Executing busybox-1.35.0-r29.trigger 10:51:05 OK: 268 MiB in 57 packages 10:51:07 Removing intermediate container 2d166f063167 10:51:07 ---> 2792f6a0e65a 10:51:07 Step 8/12 : WORKDIR /device-mqtt-go 10:51:07 ---> Running in 6eecef05a058 10:51:07 Removing intermediate container 6eecef05a058 10:51:07 ---> 92c4135b3e8d 10:51:07 Step 9/12 : COPY go.mod vendor* ./ 10:51:08 ---> bb560cd801be 10:51:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:51:08 ---> Running in 1069b03a8821 10:52:15 Removing intermediate container 1069b03a8821 10:52:15 ---> a6cf9fa2ec3b 10:52:15 Step 11/12 : COPY . . 10:52:15 ---> 186af7adeebb 10:52:15 Step 12/12 : RUN $MAKE 10:52:15 ---> Running in f15b1e99b7d3 10:52:15 noop 10:52:15 Removing intermediate container f15b1e99b7d3 10:52:15 ---> 487ede199ad8 10:52:15 Successfully built 487ede199ad8 10:52:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:52:16 + docker inspect -f . ci-base-image-arm64 10:52:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:52:16 prd-ubuntu20.04-docker-arm64-4c-16g-2400 does not seem to be running inside a container 10:52:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:52:17 $ docker top 142c63c6b1b3d6317a9d47ee9a271b896a455b9368207cd9639e024bd4661111 -eo pid,comm [Pipeline] { [Pipeline] sh 10:52:18 + go version 10:52:18 go version go1.20.2 linux/arm64 [Pipeline] } 10:52:18 $ docker stop --time=1 142c63c6b1b3d6317a9d47ee9a271b896a455b9368207cd9639e024bd4661111 10:52:20 $ docker rm -f --volumes 142c63c6b1b3d6317a9d47ee9a271b896a455b9368207cd9639e024bd4661111 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:52:20 + docker inspect -f . ci-base-image-arm64 10:52:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:52:20 prd-ubuntu20.04-docker-arm64-4c-16g-2400 does not seem to be running inside a container 10:52:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:52:22 $ docker top ae40fe036df48a4ab3dd648e632fa86cd23a5621706f221598c09a2e4015e4cd -eo pid,comm [Pipeline] { [Pipeline] sh 10:52:22 + git config --global --add safe.directory /w/workspace/device-mqtt-go/2 [Pipeline] fileExists [Pipeline] sh 10:52:23 + make test 10:52:23 go test ./... -coverprofile=coverage.out ./... 10:52:55 ? github.com/edgexfoundry/device-mqtt-go [no test files] 10:55:02 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 10:55:02 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 10:55:02 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.086s coverage: 22.2% of statements 10:55:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:55:02 go vet ./... 10:55:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:55:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:55:34 ./bin/test-attribution-txt.sh [Pipeline] echo 10:55:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:55:34 $ docker stop --time=1 ae40fe036df48a4ab3dd648e632fa86cd23a5621706f221598c09a2e4015e4cd 10:55:36 $ docker rm -f --volumes ae40fe036df48a4ab3dd648e632fa86cd23a5621706f221598c09a2e4015e4cd [Pipeline] // withDockerContainer [Pipeline] sh 10:55:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:55:37 Warning: overwriting stash ‘coverage-report’ 10:55:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:55:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:55:38 + ls -al . 10:55:38 total 176 10:55:38 drwxrwxr-x 9 jenkins jenkins 4096 Mar 16 10:52 . 10:55:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 10:50 .. 10:55:38 -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 10:50 .dockerignore 10:55:38 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 10:50 .git 10:55:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 10:50 .github 10:55:38 -rw-rw-r-- 1 jenkins jenkins 329 Mar 16 10:50 .gitignore 10:55:38 -rw-rw-r-- 1 jenkins jenkins 41 Mar 16 10:50 .golangci.yml 10:55:38 -rw-rw-r-- 1 jenkins jenkins 9407 Mar 16 10:50 Attribution.txt 10:55:38 -rw-rw-r-- 1 jenkins jenkins 13162 Mar 16 10:50 CHANGELOG.md 10:55:38 -rw-rw-r-- 1 jenkins jenkins 1689 Mar 16 10:50 Dockerfile 10:55:38 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 10:50 GOVERNANCE.md 10:55:38 -rw-rw-r-- 1 jenkins jenkins 678 Mar 16 10:50 Jenkinsfile 10:55:38 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 16 10:50 LICENSE 10:55:38 -rw-rw-r-- 1 jenkins jenkins 1732 Mar 16 10:50 Makefile 10:55:38 -rw-rw-r-- 1 jenkins jenkins 620 Mar 16 10:50 OWNERS.md 10:55:38 -rw-rw-r-- 1 jenkins jenkins 3165 Mar 16 10:50 README.md 10:55:38 -rw-rw-r-- 1 jenkins jenkins 5 Mar 16 10:48 VERSION 10:55:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 10:50 bin 10:55:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 10:50 cmd 10:55:38 -rw-r--r-- 1 jenkins jenkins 18047 Mar 16 10:54 coverage.out 10:55:38 -rw-rw-r-- 1 jenkins jenkins 3377 Mar 16 10:50 go.mod 10:55:38 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 16 10:50 go.sum 10:55:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 10:50 internal 10:55:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 10:50 mock 10:55:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 10:50 snap 10:55:38 -rw-rw-r-- 1 jenkins jenkins 227 Mar 16 10:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:55:39 + 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=4806c6bec248878dcf211ab28a37c4cc7ad85c88 --label arch=arm64 --label version=0.0.0 . 10:55:39 Sending build context to Docker daemon 3.34MB 10:55:39 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 10:55:39 Step 2/24 : FROM ${BASE} AS builder 10:55:39 ---> 487ede199ad8 10:55:39 Step 3/24 : ARG ADD_BUILD_TAGS="" 10:55:40 ---> Running in 10a8edb20f64 10:55:40 Removing intermediate container 10a8edb20f64 10:55:40 ---> 7b05910665f9 10:55:40 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 10:55:40 ---> Running in c6d526ec2e10 10:55:41 Removing intermediate container c6d526ec2e10 10:55:41 ---> b353d3f47527 10:55:41 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 10:55:41 ---> Running in c9333772e546 10:55:41 Removing intermediate container c9333772e546 10:55:41 ---> 9e339fa50b51 10:55:41 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 10:55:41 ---> Running in a802b6a83c92 10:55:41 Removing intermediate container a802b6a83c92 10:55:41 ---> f8fab8dbc27e 10:55:41 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:55:41 ---> Running in 4bada892fb7f 10:55:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:55:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:55:44 OK: 268 MiB in 57 packages 10:55:45 Removing intermediate container 4bada892fb7f 10:55:45 ---> 265593cd80d4 10:55:45 Step 8/24 : WORKDIR /device-mqtt-go 10:55:45 ---> Running in 31132d174f46 10:55:45 Removing intermediate container 31132d174f46 10:55:45 ---> 2b8680c85e41 10:55:45 Step 9/24 : COPY go.mod vendor* ./ 10:55:46 ---> 26b23f589663 10:55:46 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:55:46 ---> Running in d2fde3fa5119 10:55:48 Removing intermediate container d2fde3fa5119 10:55:48 ---> 9bf849dd2b21 10:55:48 Step 11/24 : COPY . . 10:55:49 ---> 71632952c239 10:55:49 Step 12/24 : RUN $MAKE 10:55:49 ---> Running in ef711969cba7 10:55:50 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 10:58:12 Removing intermediate container ef711969cba7 10:58:12 ---> 6ca71154ba95 10:58:12 Step 13/24 : FROM alpine:3.17 10:58:12 3.17: Pulling from library/alpine 10:58:12 af6eaf76a39c: Already exists 10:58:12 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 10:58:12 Status: Downloaded newer image for alpine:3.17 10:58:12 ---> d74e625d9115 10:58:12 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 10:58:12 ---> Running in 2cb76142de0e 10:58:12 Removing intermediate container 2cb76142de0e 10:58:12 ---> 569e15696c78 10:58:12 Step 15/24 : RUN apk add --update --no-cache dumb-init 10:58:12 ---> Running in 2d20bd02b797 10:58:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 10:58:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 10:58:12 (1/1) Installing dumb-init (1.2.5-r2) 10:58:12 Executing busybox-1.35.0-r29.trigger 10:58:12 OK: 8 MiB in 16 packages 10:58:12 Removing intermediate container 2d20bd02b797 10:58:12 ---> 6182c70618c3 10:58:12 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 10:58:12 ---> f2b65b7d4f52 10:58:12 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 10:58:12 ---> ef72196e79cf 10:58:12 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 10:58:12 ---> 867acb50057d 10:58:12 Step 19/24 : EXPOSE 59982 10:58:12 ---> Running in 9d9f2406193d 10:58:12 Removing intermediate container 9d9f2406193d 10:58:12 ---> 2efbfd8338ba 10:58:12 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 10:58:12 ---> Running in 658962ab73c2 10:58:12 Removing intermediate container 658962ab73c2 10:58:12 ---> f48fa1e487eb 10:58:12 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 10:58:12 ---> Running in 63c2ddf63a83 10:58:12 Removing intermediate container 63c2ddf63a83 10:58:12 ---> e9c3de7fbaa9 10:58:12 Step 22/24 : LABEL arch=arm64 10:58:12 ---> Running in aa1a7a51b1c7 10:58:12 Removing intermediate container aa1a7a51b1c7 10:58:12 ---> f52c4fd338fb 10:58:12 Step 23/24 : LABEL git_sha=4806c6bec248878dcf211ab28a37c4cc7ad85c88 10:58:12 ---> Running in c2e4615f7af1 10:58:12 Removing intermediate container c2e4615f7af1 10:58:12 ---> a291339d19a4 10:58:12 Step 24/24 : LABEL version=0.0.0 10:58:12 ---> Running in 1f558b455366 10:58:12 Removing intermediate container 1f558b455366 10:58:12 ---> 4d2088234a4d 10:58:12 [Warning] One or more build-args [ARCH] were not consumed 10:58:12 Successfully built 4d2088234a4d 10:58:12 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 10:58:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:58:13 10:58:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:58:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:58:13 arm64: Pulling from edgex-lftools-log-publisher 10:58:13 8998bd30e6a1: Pulling fs layer 10:58:13 04944245beec: Pulling fs layer 10:58:13 699f458cf7ca: Pulling fs layer 10:58:13 765212b225bb: Pulling fs layer 10:58:13 f23df028b6ca: Pulling fs layer 10:58:13 d65c8cfc05b1: Pulling fs layer 10:58:13 2437ff75d9bd: Pulling fs layer 10:58:13 765212b225bb: Waiting 10:58:13 f23df028b6ca: Waiting 10:58:13 d65c8cfc05b1: Waiting 10:58:13 2437ff75d9bd: Waiting 10:58:13 04944245beec: Verifying Checksum 10:58:13 04944245beec: Download complete 10:58:13 765212b225bb: Verifying Checksum 10:58:13 765212b225bb: Download complete 10:58:13 f23df028b6ca: Verifying Checksum 10:58:13 f23df028b6ca: Download complete 10:58:13 d65c8cfc05b1: Verifying Checksum 10:58:13 d65c8cfc05b1: Download complete 10:58:13 699f458cf7ca: Verifying Checksum 10:58:13 699f458cf7ca: Download complete 10:58:14 8998bd30e6a1: Verifying Checksum 10:58:14 8998bd30e6a1: Download complete 10:58:16 2437ff75d9bd: Verifying Checksum 10:58:16 2437ff75d9bd: Download complete 10:58:18 8998bd30e6a1: Pull complete 10:58:18 04944245beec: Pull complete 10:58:19 699f458cf7ca: Pull complete 10:58:20 765212b225bb: Pull complete 10:58:20 f23df028b6ca: Pull complete 10:58:20 d65c8cfc05b1: Pull complete 10:58:35 2437ff75d9bd: Pull complete 10:58:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:58:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:58:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:58:36 prd-ubuntu20.04-docker-arm64-4c-16g-2400 does not seem to be running inside a container 10:58:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/2 -v /w/workspace/device-mqtt-go/2:/w/workspace/device-mqtt-go/2:rw,z -v /w/workspace/device-mqtt-go/2@tmp:/w/workspace/device-mqtt-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 10:58:38 $ docker top 7d8a7ce75295b3886a2b9eeac86e9bed2b3ee77a1b7bf33b32ff2a768f1a4ea5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:58:39 ---> job-cost.sh 10:58:39 lf-activate-venv: SKIPPING 10:58:39 INFO: No Stack... 10:58:39 INFO: Retrieving Pricing Info for: v3-standard-4 10:58:40 INFO: Archiving Costs [Pipeline] sh 10:58:41 + cat /w/workspace/device-mqtt-go/2/archives/cost.csv+ 10:58:41 cut -d, -f6 [Pipeline] lock 10:58:41 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-529-2-stack-cost] 10:58:41 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-529-2-stack-cost] did not exist. Created. 10:58:41 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-529-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:58:42 /w/workspace/device-mqtt-go/2@tmp/durable-f1fc8e07/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:58:42 + echo total: 0.10999999940395355 [Pipeline] stash 10:58:42 Warning: overwriting stash ‘stack-cost’ 10:58:42 Stashed 1 file(s) [Pipeline] } 10:58:42 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-529-2-stack-cost] [Pipeline] // lock [Pipeline] } 10:58:42 $ docker stop --time=1 7d8a7ce75295b3886a2b9eeac86e9bed2b3ee77a1b7bf33b32ff2a768f1a4ea5 10:58:44 $ docker rm -f --volumes 7d8a7ce75295b3886a2b9eeac86e9bed2b3ee77a1b7bf33b32ff2a768f1a4ea5 [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 10:58:44 provisioning config files... 10:58:44 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp/config6981860323865249500tmp [Pipeline] { [Pipeline] sh 10:58:44 + set +x 10:58:44 + bash -s -- 10:58:44 + curl -s https://codecov.io/bash 10:58:44 10:58:44 _____ _ 10:58:44 / ____| | | 10:58:44 | | ___ __| | ___ ___ _____ __ 10:58:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:58:44 | |___| (_) | (_| | __/ (_| (_) \ V / 10:58:44 \_____\___/ \__,_|\___|\___\___/ \_/ 10:58:44 Bash-1.0.6 10:58:44 10:58:44 10:58:44 ==> git version 2.25.1 found 10:58:44 ==> 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 10:58:44 Release-Date: 2020-01-08 10:58:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:58:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:58:44 ==> Jenkins CI detected. 10:58:44 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-529 10:58:44 project root: . 10:58:44 --> token set from env 10:58:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:58:44 ==> Running gcov in . (disable via -X gcov) 10:58:44 ==> Python coveragepy not found 10:58:44 ==> Searching for coverage reports in: 10:58:44 + . 10:58:44 -> Found 1 reports 10:58:44 ==> Detecting git/mercurial file structure 10:58:44 ==> Reading reports 10:58:44 + ./coverage.out bytes=18047 10:58:44 ==> Appending adjustments 10:58:44 https://docs.codecov.io/docs/fixing-reports 10:58:45 + Found adjustments 10:58:45 ==> Gzipping contents 10:58:45 4.0K /tmp/codecov.340U0g.gz 10:58:45 ==> Uploading reports 10:58:45 url: https://codecov.io 10:58:45 query: branch=PR-529&commit=4806c6bec248878dcf211ab28a37c4cc7ad85c88&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-529%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=529&job=&cmd_args= 10:58:45 -> Pinging Codecov 10:58:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-529&commit=4806c6bec248878dcf211ab28a37c4cc7ad85c88&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-529%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=529&job=&cmd_args= 10:58:45 -> Uploading to 10:58:45 https://storage.googleapis.com/codecov/v4/raw/2023-03-16/7D719EC7BBE17E464838252E33014C33/4806c6bec248878dcf211ab28a37c4cc7ad85c88/f58ec63c-5e4b-47fd-b807-62e533c85fac.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T105844Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9332657350d3dddd54fcd7aac9c7f8aa74f446435f27b361ad364ddbe25bf5ad 10:58:45 % Total % Received % Xferd Average Speed Time Time Time Current 10:58:45 Dload Upload Total Spent Left Speed 10:58:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3149 0 0 100 3149 0 12496 --:--:-- --:--:-- --:--:-- 12496 10:58:45 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/4806c6bec248878dcf211ab28a37c4cc7ad85c88 [Pipeline] } 10:58:45 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 10:58:45 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-529/archives ] 10:58:45 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-529/archives 10:58:45 total 16 10:58:45 drwxr-xr-x 3 root root 4096 Mar 16 10:50 . 10:58:45 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 10:50 .. 10:58:45 drwxr-xr-x 2 root root 4096 Mar 16 10:50 cost 10:58:45 -rw-r--r-- 1 root root 86 Mar 16 10:50 cost.csv 10:58:45 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-529/archives 10:58:45 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-529/archives 10:58:45 total 16 10:58:45 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 10:50 . 10:58:45 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 10:50 .. 10:58:45 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 10:50 cost 10:58:45 -rw-r--r-- 1 jenkins jenkins 86 Mar 16 10:50 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:58:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:58:47 ---> package-listing.sh 10:58:47 ++ facter osfamily 10:58:47 ++ tr '[:upper:]' '[:lower:]' 10:58:47 + OS_FAMILY=debian 10:58:47 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-529 10:58:47 + START_PACKAGES=/tmp/packages_start.txt 10:58:47 + END_PACKAGES=/tmp/packages_end.txt 10:58:47 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:58:47 + PACKAGES=/tmp/packages_start.txt 10:58:47 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-529 ']' 10:58:47 + PACKAGES=/tmp/packages_end.txt 10:58:47 + case "${OS_FAMILY}" in 10:58:47 + dpkg -l 10:58:47 + grep '^ii' 10:58:47 + '[' -f /tmp/packages_start.txt ']' 10:58:47 + '[' -f /tmp/packages_end.txt ']' 10:58:47 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:58:47 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-529 ']' 10:58:47 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-529/archives/ 10:58:47 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-529/archives/ [Pipeline] echo 10:58:47 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-529/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:58:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:58:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:58:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:58:48 prd-ubuntu20.04-docker-8c-8g-2399 does not seem to be running inside a container 10:58:48 $ 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-529/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-529 -v /w/workspace/gexfoundry_device-mqtt-go_PR-529:/w/workspace/gexfoundry_device-mqtt-go_PR-529:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-529@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:58:48 $ docker top a04f2f617f61d2c4a64f3dfc13c571176fb4e7a977186e8f2203ea9c0edc40be -eo pid,comm [Pipeline] { [Pipeline] sh 10:58:48 + touch /tmp/pre-build-complete [Pipeline] sh 10:58:49 + mkdir -p /var/log/sysstat [Pipeline] sh 10:58:49 + ls /var/log/sa-host 10:58:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:58:49 provisioning config files... 10:58:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-529@tmp/config11198181496248555761tmp [Pipeline] { [Pipeline] echo 10:58:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:58:49 ---> create-netrc.sh [Pipeline] } 10:58:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:58:50 ---> python-tools-install.sh [Pipeline] echo 10:58:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:58:50 ---> sudo-logs.sh 10:58:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:58:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:58:50 ---> job-cost.sh 10:58:50 lf-activate-venv: SKIPPING 10:58:50 DEBUG: total: 0.2199999988079071 10:58:50 INFO: Retrieving Stack Cost... 10:58:51 INFO: Retrieving Pricing Info for: v3-standard-8 10:58:51 INFO: Archiving Costs [Pipeline] echo 10:58:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:58:51 ---> logs-deploy.sh 10:58:51 lf-activate-venv: SKIPPING 10:58:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-529/2 10:58:51 INFO: archiving workspace using pattern(s): 10:58:52 Archives upload complete. 10:58:52 INFO: archiving logs to Nexus