Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4044fa6afcae6da78636a9bc503ed515b5b47f49+7890826e223808f9f870907e908c893318dcbe65 (56b5cdb69d8139447355dfec1a33ea234c76dc7e) 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-ssh13932542858819476215.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh6050219260731444542.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-600/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-600/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16896038246421954715.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh587812991155803281.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-600/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-600/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14171110015649538454.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-16802’ Running on prd-ubuntu20.04-docker-8c-8g-16808 in /w/workspace/gexfoundry_device-mqtt-go_PR-600 [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-600 # 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/600/head:refs/remotes/origin/PR-600 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7890826e223808f9f870907e908c893318dcbe65 into PR head commit 4044fa6afcae6da78636a9bc503ed515b5b47f49 Merge succeeded, producing 56a1bdd356998c1e5d1290ed26c25d1c3966bba5 Checking out Revision 56a1bdd356998c1e5d1290ed26c25d1c3966bba5 (PR-600) > git config core.sparsecheckout # timeout=10 > git checkout -f 4044fa6afcae6da78636a9bc503ed515b5b47f49 # 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 7890826e223808f9f870907e908c893318dcbe65 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 56a1bdd356998c1e5d1290ed26c25d1c3966bba5 # timeout=10 Commit message: "Merge commit '7890826e223808f9f870907e908c893318dcbe65' into HEAD" > git rev-list --no-walk 4044fa6afcae6da78636a9bc503ed515b5b47f49 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:18:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:18:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:18:53 ========================================================= 23:18:53 EdgeX Global Pipelines Version Info 23:18:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:18:54 ------------------- 23:18:54 stable info: 23:18:54 ------------------- 23:18:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:18:54 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:18:54 Message: update stable to v1.0.249 23:18:55 ------------------- 23:18:55 experimental info: 23:18:55 ------------------- 23:18:55 Commited By: **** collab-it+edgex@linuxfoundation.org 23:18:55 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:18:55 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-600 [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-600 [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-600 [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 56a1bdd356998c1e5d1290ed26c25d1c3966bba5 [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 56a1bdd [Pipeline] echo 23:18:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:18:55 provisioning config files... 23:18:55 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config2497641595644734577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:18:56 ---> docker-login.sh 23:18:56 nexus3.edgexfoundry.org:10001 23:18:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:56 Configure a credential helper to remove this warning. See 23:18:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:56 23:18:56 Login Succeeded 23:18:56 nexus3.edgexfoundry.org:10002 23:18:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:56 Configure a credential helper to remove this warning. See 23:18:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:56 23:18:56 Login Succeeded 23:18:56 nexus3.edgexfoundry.org:10003 23:18:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:56 Configure a credential helper to remove this warning. See 23:18:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:56 23:18:56 Login Succeeded 23:18:56 nexus3.edgexfoundry.org:10004 23:18:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:56 Configure a credential helper to remove this warning. See 23:18:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:56 23:18:56 Login Succeeded 23:18:56 docker.io 23:18:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:18:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:18:57 Configure a credential helper to remove this warning. See 23:18:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:18:57 23:18:57 Login Succeeded 23:18:57 ---> docker-login.sh ends [Pipeline] } 23:18:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:18:57 + git rev-list -1 --merges 56a1bdd356998c1e5d1290ed26c25d1c3966bba5~1..56a1bdd356998c1e5d1290ed26c25d1c3966bba5 [Pipeline] echo 23:18:57 -----------> git rev-list -1 --merges 56a1bdd356998c1e5d1290ed26c25d1c3966bba5~1..56a1bdd356998c1e5d1290ed26c25d1c3966bba5 56a1bdd356998c1e5d1290ed26c25d1c3966bba5 23:18:57 56a1bdd356998c1e5d1290ed26c25d1c3966bba5 [false] [Pipeline] sh 23:18:57 + git log --format=format:%s -1 56a1bdd356998c1e5d1290ed26c25d1c3966bba5 [Pipeline] echo 23:18:57 ========================================================= 23:18:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:18:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:18:58 + git log --format=format:%s -1 56a1bdd356998c1e5d1290ed26c25d1c3966bba5 [Pipeline] echo 23:18:58 [semverPrep] GIT_COMMIT: 56a1bdd356998c1e5d1290ed26c25d1c3966bba5, Commit Message: Merge commit '7890826e223808f9f870907e908c893318dcbe65' into HEAD [Pipeline] echo 23:18:58 [semverPrep] This is not a build commit. [Pipeline] sh 23:18:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:18:58 + grep -v github /etc/ssh/ssh_known_hosts 23:18:58 + [ -e /tmp/ssh_known_hosts ] 23:18:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:18:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:18:58 + sudo tee -a /etc/ssh/ssh_known_hosts 23:18:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:18:58 23:18:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:18:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:18:59 0.1.4: Pulling from edgex-devops/py-git-semver 23:18:59 b85a868b505f: Pulling fs layer 23:18:59 e2be974225ed: Pulling fs layer 23:18:59 339a4e72a1f5: Pulling fs layer 23:18:59 988bab9f4d93: Pulling fs layer 23:18:59 1469e6f7b9e6: Pulling fs layer 23:18:59 eaf3925da568: Pulling fs layer 23:18:59 bab4dde63d76: Pulling fs layer 23:18:59 bde34c3a00c8: Pulling fs layer 23:18:59 b352a97aabf1: Pulling fs layer 23:18:59 4872d77fe225: Pulling fs layer 23:18:59 5851b861e8e6: Pulling fs layer 23:18:59 988bab9f4d93: Waiting 23:18:59 1469e6f7b9e6: Waiting 23:18:59 b352a97aabf1: Waiting 23:18:59 4872d77fe225: Waiting 23:18:59 bde34c3a00c8: Waiting 23:18:59 5851b861e8e6: Waiting 23:18:59 e2be974225ed: Verifying Checksum 23:18:59 e2be974225ed: Download complete 23:18:59 988bab9f4d93: Verifying Checksum 23:18:59 988bab9f4d93: Download complete 23:18:59 339a4e72a1f5: Verifying Checksum 23:18:59 339a4e72a1f5: Download complete 23:18:59 1469e6f7b9e6: Verifying Checksum 23:18:59 1469e6f7b9e6: Download complete 23:18:59 eaf3925da568: Download complete 23:18:59 bde34c3a00c8: Download complete 23:18:59 b352a97aabf1: Verifying Checksum 23:18:59 b352a97aabf1: Download complete 23:18:59 4872d77fe225: Verifying Checksum 23:18:59 4872d77fe225: Download complete 23:18:59 5851b861e8e6: Verifying Checksum 23:18:59 b85a868b505f: Verifying Checksum 23:18:59 b85a868b505f: Download complete 23:18:59 bab4dde63d76: Verifying Checksum 23:18:59 bab4dde63d76: Download complete 23:19:00 b85a868b505f: Pull complete 23:19:00 e2be974225ed: Pull complete 23:19:01 339a4e72a1f5: Pull complete 23:19:01 988bab9f4d93: Pull complete 23:19:01 1469e6f7b9e6: Pull complete 23:19:01 eaf3925da568: Pull complete 23:19:03 bab4dde63d76: Pull complete 23:19:03 bde34c3a00c8: Pull complete 23:19:03 b352a97aabf1: Pull complete 23:19:03 4872d77fe225: Pull complete 23:19:03 5851b861e8e6: Pull complete 23:19:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:19:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:19:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:04 prd-ubuntu20.04-docker-8c-8g-16808 does not seem to be running inside a container 23:19:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:19:06 $ docker top d4da4a170667d27c2af07565afc5af6052893b6608fe92126574a5bb316fcdac -eo pid,comm 23:19:06 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:19:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:19:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:19:06 [ssh-agent] Looking for ssh-agent implementation... 23:19:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:19:07 $ docker exec d4da4a170667d27c2af07565afc5af6052893b6608fe92126574a5bb316fcdac ssh-agent 23:19:07 SSH_AUTH_SOCK=/tmp/ssh-HyL6kmfOHYtz/agent.32 23:19:07 SSH_AGENT_PID=38 23:19:07 Running ssh-add (command line suppressed) 23:19:07 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_8868681190626150441.key (/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_8868681190626150441.key) 23:19:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:19:07 + git tag --points-at HEAD [Pipeline] } 23:19:07 $ docker exec --env ******** --env ******** d4da4a170667d27c2af07565afc5af6052893b6608fe92126574a5bb316fcdac ssh-agent -k 23:19:07 unset SSH_AUTH_SOCK; 23:19:07 unset SSH_AGENT_PID; 23:19:07 echo Agent pid 38 killed; 23:19:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:19:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:19:07 [ssh-agent] Looking for ssh-agent implementation... 23:19:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:19:07 $ docker exec d4da4a170667d27c2af07565afc5af6052893b6608fe92126574a5bb316fcdac ssh-agent 23:19:07 SSH_AUTH_SOCK=/tmp/ssh-Nlnxm29WGJSF/agent.70 23:19:07 SSH_AGENT_PID=77 23:19:07 Running ssh-add (command line suppressed) 23:19:08 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_1682252972753329497.key (/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_1682252972753329497.key) 23:19:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:19:08 + git semver init 23:19:08 2023-05-24 23:19:08,566 [run_init] DEBUG init version:0.0.0 force:False 23:19:08 2023-05-24 23:19:08,567 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver 23:19:08 2023-05-24 23:19:08,567 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver 23:19:08 2023-05-24 23:19:08,567 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-600, universal_newlines=False, shell=None, istream=None) 23:19:09 2023-05-24 23:19:09,369 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.git/info/exclude 23:19:09 2023-05-24 23:19:09,371 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver/PR-600 with force:False 23:19:09 2023-05-24 23:19:09,371 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver/PR-600 23:19:09 2023-05-24 23:19:09,377 [execute] INFO git cat-file --batch-check 23:19:09 2023-05-24 23:19:09,378 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver, universal_newlines=False, shell=None, istream=) 23:19:09 2023-05-24 23:19:09,384 [execute] INFO git cat-file --batch 23:19:09 2023-05-24 23:19:09,384 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver, universal_newlines=False, shell=None, istream=) 23:19:09 2023-05-24 23:19:09,390 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver/PR-600 23:19:09 0.0.0 [Pipeline] } 23:19:09 $ docker exec --env ******** --env ******** d4da4a170667d27c2af07565afc5af6052893b6608fe92126574a5bb316fcdac ssh-agent -k 23:19:09 unset SSH_AUTH_SOCK; 23:19:09 unset SSH_AGENT_PID; 23:19:09 echo Agent pid 77 killed; 23:19:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:19:10 + git semver [Pipeline] } 23:19:10 $ docker stop --time=1 d4da4a170667d27c2af07565afc5af6052893b6608fe92126574a5bb316fcdac 23:19:11 $ docker rm -f --volumes d4da4a170667d27c2af07565afc5af6052893b6608fe92126574a5bb316fcdac [Pipeline] // withDockerContainer [Pipeline] sh 23:19:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:19:12 Stashed 1 file(s) [Pipeline] echo 23:19:12 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:19:12 provisioning config files... 23:19:12 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config7586597956993345176tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:19:12 ---> docker-login.sh 23:19:12 nexus3.edgexfoundry.org:10001 23:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:12 Configure a credential helper to remove this warning. See 23:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:12 23:19:12 Login Succeeded 23:19:12 nexus3.edgexfoundry.org:10002 23:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:12 Configure a credential helper to remove this warning. See 23:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:12 23:19:12 Login Succeeded 23:19:12 nexus3.edgexfoundry.org:10003 23:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:12 Configure a credential helper to remove this warning. See 23:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:12 23:19:12 Login Succeeded 23:19:12 nexus3.edgexfoundry.org:10004 23:19:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:12 Configure a credential helper to remove this warning. See 23:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:12 23:19:12 Login Succeeded 23:19:12 docker.io 23:19:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:19:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:19:13 Configure a credential helper to remove this warning. See 23:19:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:19:13 23:19:13 Login Succeeded 23:19:13 ---> docker-login.sh ends [Pipeline] } 23:19:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:19:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:19:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:19:13 ========================================================= 23:19:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:19:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:13 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:19:13 Sending build context to Docker daemon 6.592MB 23:19:13 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:19:13 Step 2/12 : FROM ${BASE} AS builder 23:19:13 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:19:13 f56be85fc22e: Pulling fs layer 23:19:13 85791d961cd3: Pulling fs layer 23:19:13 d694b5ae8c79: Pulling fs layer 23:19:13 9f32a84ed3da: Pulling fs layer 23:19:13 4d19c01a9841: Pulling fs layer 23:19:13 9325e15d5711: Pulling fs layer 23:19:13 556b6ee489ea: Pulling fs layer 23:19:13 c5a4b2cf53e6: Pulling fs layer 23:19:13 4d19c01a9841: Waiting 23:19:13 9f32a84ed3da: Waiting 23:19:13 556b6ee489ea: Waiting 23:19:13 c5a4b2cf53e6: Waiting 23:19:13 9325e15d5711: Waiting 23:19:13 85791d961cd3: Download complete 23:19:13 9f32a84ed3da: Verifying Checksum 23:19:13 9f32a84ed3da: Download complete 23:19:13 4d19c01a9841: Download complete 23:19:13 f56be85fc22e: Download complete 23:19:13 9325e15d5711: Verifying Checksum 23:19:13 9325e15d5711: Download complete 23:19:13 f56be85fc22e: Pull complete 23:19:14 85791d961cd3: Pull complete 23:19:14 c5a4b2cf53e6: Verifying Checksum 23:19:14 c5a4b2cf53e6: Download complete 23:19:14 d694b5ae8c79: Verifying Checksum 23:19:14 d694b5ae8c79: Download complete 23:19:14 556b6ee489ea: Verifying Checksum 23:19:14 556b6ee489ea: Download complete 23:19:17 d694b5ae8c79: Pull complete 23:19:17 9f32a84ed3da: Pull complete 23:19:17 4d19c01a9841: Pull complete 23:19:18 9325e15d5711: Pull complete 23:19:20 556b6ee489ea: Pull complete 23:19:21 c5a4b2cf53e6: Pull complete 23:19:21 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:19:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:19:21 ---> c4be618373d6 23:19:21 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:19:24 ---> Running in eee473df4980 23:19:25 Removing intermediate container eee473df4980 23:19:25 ---> 4151d92209f3 23:19:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:19:25 ---> Running in 17d67a9aef59 23:19:25 Removing intermediate container 17d67a9aef59 23:19:25 ---> 307b6571eab5 23:19:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:19:25 ---> Running in 3ef6eeda716a 23:19:25 Removing intermediate container 3ef6eeda716a 23:19:25 ---> 53b093504cb8 23:19:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:19:25 ---> Running in f29cdfc768a4 23:19:25 Removing intermediate container f29cdfc768a4 23:19:25 ---> 44e2c63f5a9d 23:19:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:19:25 ---> Running in 689ea835cd2c 23:19:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:19:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:19:26 (1/4) Installing openssh-keygen (9.1_p1-r3) 23:19:26 (2/4) Installing libedit (20221030.3.1-r0) 23:19:26 (3/4) Installing openssh-client-common (9.1_p1-r3) 23:19:26 (4/4) Installing openssh-client-default (9.1_p1-r3) 23:19:26 Executing busybox-1.35.0-r29.trigger 23:19:26 OK: 269 MiB in 57 packages 23:19:26 Removing intermediate container 689ea835cd2c 23:19:26 ---> 854649a0407a 23:19:26 Step 8/12 : WORKDIR /device-mqtt-go 23:19:26 ---> Running in 0a9ddd079c25 23:19:26 Removing intermediate container 0a9ddd079c25 23:19:26 ---> 931c02c6aa78 23:19:26 Step 9/12 : COPY go.mod vendor* ./ 23:19:26 ---> 208dd616a1e4 23:19:26 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:19:26 ---> Running in c36aaec04e15 23:19:27 Still waiting to schedule task 23:19:27 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16803’ 23:19:53 Removing intermediate container c36aaec04e15 23:19:53 ---> 806d5a68e54c 23:19:53 Step 11/12 : COPY . . 23:19:53 ---> 1c95317f77a2 23:19:53 Step 12/12 : RUN $MAKE 23:19:53 ---> Running in 01828bd87ee8 23:19:53 noop 23:19:53 Removing intermediate container 01828bd87ee8 23:19:53 ---> 4658bfaed530 23:19:53 Successfully built 4658bfaed530 23:19:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:54 + docker inspect -f . ci-base-image-x86_64 23:19:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:54 prd-ubuntu20.04-docker-8c-8g-16808 does not seem to be running inside a container 23:19:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:19:54 $ docker top 3eac3e08d4e8c7a1332165fd91e658f11be18019549954427f6d20c9a803df8f -eo pid,comm [Pipeline] { [Pipeline] sh 23:19:54 + go version 23:19:54 go version go1.20.2 linux/amd64 [Pipeline] } 23:19:54 $ docker stop --time=1 3eac3e08d4e8c7a1332165fd91e658f11be18019549954427f6d20c9a803df8f 23:19:56 $ docker rm -f --volumes 3eac3e08d4e8c7a1332165fd91e658f11be18019549954427f6d20c9a803df8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:19:56 + docker inspect -f . ci-base-image-x86_64 23:19:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:19:56 prd-ubuntu20.04-docker-8c-8g-16808 does not seem to be running inside a container 23:19:56 $ 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-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:19:57 $ docker top 774a06db17d545aee5fa1a2d04410e4f723d30f1d2c9257acd33d2ee840d843b -eo pid,comm [Pipeline] { [Pipeline] sh 23:19:57 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-600 [Pipeline] fileExists [Pipeline] sh 23:19:57 + make test 23:19:57 go test ./... -coverprofile=coverage.out ./... 23:20:03 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:20:12 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:20:13 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:20:13 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.020s coverage: 22.8% of statements 23:20:21 go vet ./... 23:20:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:20:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:20:24 ./bin/test-attribution-txt.sh [Pipeline] echo 23:20:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:20:24 $ docker stop --time=1 774a06db17d545aee5fa1a2d04410e4f723d30f1d2c9257acd33d2ee840d843b 23:20:27 $ docker rm -f --volumes 774a06db17d545aee5fa1a2d04410e4f723d30f1d2c9257acd33d2ee840d843b [Pipeline] // withDockerContainer [Pipeline] sh 23:20:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:20:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:20:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:20:29 + ls -al . 23:20:29 total 184 23:20:29 drwxrwxr-x 10 jenkins jenkins 4096 May 24 23:19 . 23:20:29 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:18 .. 23:20:29 -rw-rw-r-- 1 jenkins jenkins 140 May 24 23:18 .dockerignore 23:20:29 drwxrwxr-x 8 jenkins jenkins 4096 May 24 23:19 .git 23:20:29 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:18 .github 23:20:29 -rw-rw-r-- 1 jenkins jenkins 329 May 24 23:18 .gitignore 23:20:29 -rw-rw-r-- 1 jenkins jenkins 41 May 24 23:18 .golangci.yml 23:20:29 drwxr-xr-x 3 jenkins jenkins 4096 May 24 23:19 .semver 23:20:29 -rw-rw-r-- 1 jenkins jenkins 9417 May 24 23:18 Attribution.txt 23:20:29 -rw-rw-r-- 1 jenkins jenkins 17522 May 24 23:18 CHANGELOG.md 23:20:29 -rw-rw-r-- 1 jenkins jenkins 1689 May 24 23:18 Dockerfile 23:20:29 -rw-rw-r-- 1 jenkins jenkins 677 May 24 23:18 GOVERNANCE.md 23:20:29 -rw-rw-r-- 1 jenkins jenkins 678 May 24 23:18 Jenkinsfile 23:20:29 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 23:18 LICENSE 23:20:29 -rw-rw-r-- 1 jenkins jenkins 1732 May 24 23:18 Makefile 23:20:29 -rw-rw-r-- 1 jenkins jenkins 620 May 24 23:18 OWNERS.md 23:20:29 -rw-rw-r-- 1 jenkins jenkins 3165 May 24 23:18 README.md 23:20:29 -rw-rw-r-- 1 jenkins jenkins 5 May 24 23:19 VERSION 23:20:29 drwxrwxr-x 2 jenkins jenkins 4096 May 24 23:18 bin 23:20:29 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:18 cmd 23:20:29 -rw-r--r-- 1 jenkins jenkins 18506 May 24 23:20 coverage.out 23:20:29 -rw-rw-r-- 1 jenkins jenkins 3333 May 24 23:18 go.mod 23:20:29 -rw-rw-r-- 1 jenkins jenkins 31328 May 24 23:18 go.sum 23:20:29 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:18 internal 23:20:29 drwxrwxr-x 2 jenkins jenkins 4096 May 24 23:18 mock 23:20:29 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:18 snap 23:20:29 -rw-rw-r-- 1 jenkins jenkins 227 May 24 23:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:29 + 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=56a1bdd356998c1e5d1290ed26c25d1c3966bba5 --label arch=amd64 --label version=0.0.0 . 23:20:29 Sending build context to Docker daemon 6.611MB 23:20:29 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:20:29 Step 2/24 : FROM ${BASE} AS builder 23:20:29 ---> 4658bfaed530 23:20:29 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:20:29 ---> Running in d3c3bedd695e 23:20:29 Removing intermediate container d3c3bedd695e 23:20:29 ---> ab705f8ce502 23:20:29 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:20:29 ---> Running in 6a8748945c28 23:20:29 Removing intermediate container 6a8748945c28 23:20:29 ---> 082dee4f074a 23:20:29 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:20:30 ---> Running in 9da84eacd919 23:20:30 Removing intermediate container 9da84eacd919 23:20:30 ---> 5d3be415b6cd 23:20:30 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:20:30 ---> Running in fec4193e367d 23:20:30 Removing intermediate container fec4193e367d 23:20:30 ---> b553bf8c5d5d 23:20:30 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:20:30 ---> Running in 0bec6e6a22e5 23:20:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:20:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:20:30 OK: 269 MiB in 57 packages 23:20:31 Removing intermediate container 0bec6e6a22e5 23:20:31 ---> d84bc837a813 23:20:31 Step 8/24 : WORKDIR /device-mqtt-go 23:20:31 ---> Running in 87b3fe1f9c4d 23:20:31 Removing intermediate container 87b3fe1f9c4d 23:20:31 ---> 9c077c7c1089 23:20:31 Step 9/24 : COPY go.mod vendor* ./ 23:20:31 ---> 3d5ab48f5503 23:20:31 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:20:31 ---> Running in 5ce4589987bb 23:20:32 Removing intermediate container 5ce4589987bb 23:20:32 ---> ec11376f8040 23:20:32 Step 11/24 : COPY . . 23:20:32 ---> 3e32c7f41b6a 23:20:32 Step 12/24 : RUN $MAKE 23:20:32 ---> Running in 14006aeefc45 23:20:32 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:20:54 Removing intermediate container 14006aeefc45 23:20:54 ---> a6c86cebca5a 23:20:54 Step 13/24 : FROM alpine:3.17 23:20:54 3.17: Pulling from library/alpine 23:20:54 f56be85fc22e: Already exists 23:20:54 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:20:54 Status: Downloaded newer image for alpine:3.17 23:20:54 ---> 9ed4aefc74f6 23:20:54 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:20:54 ---> Running in 4b8edbded184 23:20:54 Removing intermediate container 4b8edbded184 23:20:54 ---> 354df991ae46 23:20:54 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:20:54 ---> Running in 6948ffc42165 23:20:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:20:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:20:54 (1/1) Installing dumb-init (1.2.5-r2) 23:20:54 Executing busybox-1.35.0-r29.trigger 23:20:54 OK: 7 MiB in 16 packages 23:20:54 Removing intermediate container 6948ffc42165 23:20:54 ---> 09df3e5ad9c6 23:20:54 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:20:54 ---> 0f82e9ab60e2 23:20:54 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:20:54 ---> a1094c18780a 23:20:54 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:20:55 ---> fa9acf5bebce 23:20:55 Step 19/24 : EXPOSE 59982 23:20:55 ---> Running in 0df3c81c394d 23:20:55 Removing intermediate container 0df3c81c394d 23:20:55 ---> c95407125745 23:20:55 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:20:55 ---> Running in c51c93b07df9 23:20:55 Removing intermediate container c51c93b07df9 23:20:55 ---> 8e2fd966c65d 23:20:55 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:20:55 ---> Running in f793940352b1 23:20:55 Removing intermediate container f793940352b1 23:20:55 ---> 5321d8180e3a 23:20:55 Step 22/24 : LABEL arch=amd64 23:20:55 ---> Running in b0865407a600 23:20:55 Removing intermediate container b0865407a600 23:20:55 ---> 22d29c16fef2 23:20:55 Step 23/24 : LABEL git_sha=56a1bdd356998c1e5d1290ed26c25d1c3966bba5 23:20:55 ---> Running in 5a280d788f6b 23:20:55 Removing intermediate container 5a280d788f6b 23:20:55 ---> 3948799b1510 23:20:55 Step 24/24 : LABEL version=0.0.0 23:20:55 ---> Running in 55d8d20236fd 23:20:55 Removing intermediate container 55d8d20236fd 23:20:55 ---> 5525654983b9 23:20:55 [Warning] One or more build-args [ARCH] were not consumed 23:20:55 Successfully built 5525654983b9 23:20:55 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:56 23:20:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:20:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:20:56 latest: Pulling from edgex-lftools-log-publisher 23:20:56 5eb5b503b376: Pulling fs layer 23:20:56 5c69ac0246d0: Pulling fs layer 23:20:56 ec43610c2a17: Pulling fs layer 23:20:56 3a2ae6a8a46f: Pulling fs layer 23:20:56 33b1e0a273af: Pulling fs layer 23:20:56 5d3b04190fa2: Pulling fs layer 23:20:56 2f39f015ded8: Pulling fs layer 23:20:56 3a2ae6a8a46f: Waiting 23:20:56 33b1e0a273af: Waiting 23:20:56 5d3b04190fa2: Waiting 23:20:56 2f39f015ded8: Waiting 23:20:56 5c69ac0246d0: Verifying Checksum 23:20:56 5c69ac0246d0: Download complete 23:20:56 3a2ae6a8a46f: Verifying Checksum 23:20:56 3a2ae6a8a46f: Download complete 23:20:56 33b1e0a273af: Verifying Checksum 23:20:56 33b1e0a273af: Download complete 23:20:56 5d3b04190fa2: Verifying Checksum 23:20:56 5d3b04190fa2: Download complete 23:20:56 ec43610c2a17: Verifying Checksum 23:20:56 ec43610c2a17: Download complete 23:20:56 5eb5b503b376: Verifying Checksum 23:20:56 5eb5b503b376: Download complete 23:20:57 2f39f015ded8: Download complete 23:20:57 5eb5b503b376: Pull complete 23:20:57 5c69ac0246d0: Pull complete 23:20:58 ec43610c2a17: Pull complete 23:20:58 3a2ae6a8a46f: Pull complete 23:20:58 33b1e0a273af: Pull complete 23:20:58 5d3b04190fa2: Pull complete 23:21:04 2f39f015ded8: Pull complete 23:21:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:21:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:21:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:21:04 prd-ubuntu20.04-docker-8c-8g-16808 does not seem to be running inside a container 23:21:04 $ 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-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:21:07 $ docker top 028c4a04e298b2d36c6aec6ed6a5a90a489da64087b38b701b2652ea83095f46 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:21:07 ---> job-cost.sh 23:21:07 lf-activate-venv: SKIPPING 23:21:07 INFO: No Stack... 23:21:07 INFO: Retrieving Pricing Info for: v3-standard-8 23:21:08 INFO: Archiving Costs [Pipeline] sh 23:21:08 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives/cost.csv 23:21:08 + cut -d, -f6 [Pipeline] lock 23:21:08 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-600-8-stack-cost] 23:21:08 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-8-stack-cost] did not exist. Created. 23:21:08 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-600-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:21:08 + echo total: 0.2199999988079071 [Pipeline] stash 23:21:09 Stashed 1 file(s) [Pipeline] } 23:21:09 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-8-stack-cost] [Pipeline] // lock [Pipeline] } 23:21:09 $ docker stop --time=1 028c4a04e298b2d36c6aec6ed6a5a90a489da64087b38b701b2652ea83095f46 23:21:10 $ docker rm -f --volumes 028c4a04e298b2d36c6aec6ed6a5a90a489da64087b38b701b2652ea83095f46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:22:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16813 in /w/workspace/gexfoundry_device-mqtt-go_PR-600 [Pipeline] { [Pipeline] ws 23:22:27 Running in /w/workspace/device-mqtt-go/8 [Pipeline] { [Pipeline] checkout 23:22:27 Selected Git installation does not exist. Using Default 23:22:27 The recommended git tool is: NONE 23:22:34 using credential edgex-jenkins-ssh 23:22:34 Cloning the remote Git repository 23:22:34 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 23:22:34 > git init /w/workspace/device-mqtt-go/8 # timeout=10 23:22:34 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:22:34 > git --version # timeout=10 23:22:34 > git --version # 'git version 2.25.1' 23:22:34 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:22:35 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:22:35 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:22:37 Merging remotes/origin/main commit 7890826e223808f9f870907e908c893318dcbe65 into PR head commit 4044fa6afcae6da78636a9bc503ed515b5b47f49 23:22:37 Merge succeeded, producing f6992bc0964cde1084cae2827e87f1a259db5cbd 23:22:37 Checking out Revision f6992bc0964cde1084cae2827e87f1a259db5cbd (PR-600) 23:22:36 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 23:22:36 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 23:22:36 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/600/head:refs/remotes/origin/PR-600 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:22:37 > git config core.sparsecheckout # timeout=10 23:22:37 > git checkout -f 4044fa6afcae6da78636a9bc503ed515b5b47f49 # timeout=10 23:22:37 > git remote # timeout=10 23:22:37 > git config --get remote.origin.url # timeout=10 23:22:37 using GIT_SSH to set credentials SSH Credentials for GitHub 23:22:37 > git merge 7890826e223808f9f870907e908c893318dcbe65 # timeout=10 23:22:37 > git rev-parse HEAD^{commit} # timeout=10 23:22:37 > git config core.sparsecheckout # timeout=10 23:22:37 > git checkout -f f6992bc0964cde1084cae2827e87f1a259db5cbd # timeout=10 23:22:41 Commit message: "Merge commit '7890826e223808f9f870907e908c893318dcbe65' into HEAD" 23:22:41 > git rev-list --no-walk 4044fa6afcae6da78636a9bc503ed515b5b47f49 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:22:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:22:42 % Total % Received % Xferd Average Speed Time Time Time Current 23:22:42 Dload Upload Total Spent Left Speed 23:22:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh 23:22:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:22:43 + sudo tee /etc/docker/daemon.new 23:22:43 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:22:43 { 23:22:43 "registry-mirrors": [ 23:22:43 "https://nexus3.edgexfoundry.org:10001" 23:22:43 ], 23:22:43 "bip": "10.250.0.254/24", 23:22:43 "hosts": [ 23:22:43 "tcp://0.0.0.0:5555", 23:22:43 "unix:///var/run/docker.sock" 23:22:43 ], 23:22:43 "mtu": 1458, 23:22:43 "selinux-enabled": true, 23:22:43 "seccomp-profile": "/etc/docker/seccomp.json" 23:22:43 } [Pipeline] sh 23:22:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:22:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:23:02 provisioning config files... 23:23:02 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/8@tmp/config17157626499455655989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:23:02 ---> docker-login.sh 23:23:02 nexus3.edgexfoundry.org:10001 23:23:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:03 Configure a credential helper to remove this warning. See 23:23:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:03 23:23:03 Login Succeeded 23:23:03 nexus3.edgexfoundry.org:10002 23:23:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:03 Configure a credential helper to remove this warning. See 23:23:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:03 23:23:03 Login Succeeded 23:23:03 nexus3.edgexfoundry.org:10003 23:23:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:04 Configure a credential helper to remove this warning. See 23:23:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:04 23:23:04 Login Succeeded 23:23:04 nexus3.edgexfoundry.org:10004 23:23:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:04 Configure a credential helper to remove this warning. See 23:23:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:04 23:23:04 Login Succeeded 23:23:04 docker.io 23:23:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:23:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:23:05 Configure a credential helper to remove this warning. See 23:23:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:23:05 23:23:05 Login Succeeded 23:23:05 ---> docker-login.sh ends [Pipeline] } 23:23:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:23:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:23:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:23:05 ========================================================= 23:23:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:23:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:23:06 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 23:23:06 Sending build context to Docker daemon 3.433MB 23:23:06 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:23:06 Step 2/12 : FROM ${BASE} AS builder 23:23:06 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:23:06 c41833b44d91: Pulling fs layer 23:23:06 ed15518f5707: Pulling fs layer 23:23:06 feae8fd75edb: Pulling fs layer 23:23:06 242c74f7c9fa: Pulling fs layer 23:23:06 3cdef696dda3: Pulling fs layer 23:23:06 2ced38df9373: Pulling fs layer 23:23:06 58f1dce35555: Pulling fs layer 23:23:06 3cdef696dda3: Waiting 23:23:06 2ced38df9373: Waiting 23:23:06 242c74f7c9fa: Waiting 23:23:06 58f1dce35555: Waiting 23:23:06 ed15518f5707: Verifying Checksum 23:23:06 ed15518f5707: Download complete 23:23:06 242c74f7c9fa: Verifying Checksum 23:23:06 242c74f7c9fa: Download complete 23:23:06 3cdef696dda3: Verifying Checksum 23:23:06 3cdef696dda3: Download complete 23:23:06 c41833b44d91: Verifying Checksum 23:23:06 c41833b44d91: Download complete 23:23:08 c41833b44d91: Pull complete 23:23:08 58f1dce35555: Verifying Checksum 23:23:08 58f1dce35555: Download complete 23:23:08 ed15518f5707: Pull complete 23:23:09 feae8fd75edb: Verifying Checksum 23:23:09 feae8fd75edb: Download complete 23:23:09 2ced38df9373: Verifying Checksum 23:23:09 2ced38df9373: Download complete 23:23:22 feae8fd75edb: Pull complete 23:23:22 242c74f7c9fa: Pull complete 23:23:22 3cdef696dda3: Pull complete 23:23:28 2ced38df9373: Pull complete 23:23:31 58f1dce35555: Pull complete 23:23:31 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:23:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:23:31 ---> fadd8f120f05 23:23:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:23:33 ---> Running in 26a9ace6ae74 23:23:33 Removing intermediate container 26a9ace6ae74 23:23:33 ---> 2607846ffa47 23:23:33 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:23:33 ---> Running in 39f1efbe6d81 23:23:34 Removing intermediate container 39f1efbe6d81 23:23:34 ---> 09ad39da9e00 23:23:34 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:23:34 ---> Running in 821c0e8be9da 23:23:34 Removing intermediate container 821c0e8be9da 23:23:34 ---> d78eb6c4064b 23:23:34 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:23:34 ---> Running in 797f74c1f362 23:23:35 Removing intermediate container 797f74c1f362 23:23:35 ---> e43933221cb8 23:23:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:23:35 ---> Running in fa70278eb6ad 23:23:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:23:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:23:38 (1/4) Installing openssh-keygen (9.1_p1-r3) 23:23:38 (2/4) Installing libedit (20221030.3.1-r0) 23:23:38 (3/4) Installing openssh-client-common (9.1_p1-r3) 23:23:38 (4/4) Installing openssh-client-default (9.1_p1-r3) 23:23:38 Executing busybox-1.35.0-r29.trigger 23:23:38 OK: 268 MiB in 57 packages 23:23:39 Removing intermediate container fa70278eb6ad 23:23:39 ---> 0552ca88e161 23:23:39 Step 8/12 : WORKDIR /device-mqtt-go 23:23:39 ---> Running in 861b6c574ea4 23:23:40 Removing intermediate container 861b6c574ea4 23:23:40 ---> beb745d269f1 23:23:40 Step 9/12 : COPY go.mod vendor* ./ 23:23:40 ---> b7a51a719ab1 23:23:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:23:40 ---> Running in 3f552099153b 23:24:48 Removing intermediate container 3f552099153b 23:24:48 ---> 6671c0896436 23:24:48 Step 11/12 : COPY . . 23:24:48 ---> ae3578cc306a 23:24:48 Step 12/12 : RUN $MAKE 23:24:48 ---> Running in 7618ae5ea323 23:24:48 noop 23:24:48 Removing intermediate container 7618ae5ea323 23:24:48 ---> c9eeffe178ec 23:24:48 Successfully built c9eeffe178ec 23:24:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:49 + docker inspect -f . ci-base-image-arm64 23:24:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:24:49 prd-ubuntu20.04-docker-arm64-4c-16g-16813 does not seem to be running inside a container 23:24:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:24:52 $ docker top fa9aee1dd3f0d49fcba2e0dfb774c9ef805fc57f560705c8df8db3cecc5880f1 -eo pid,comm [Pipeline] { [Pipeline] sh 23:24:53 + go version 23:24:53 go version go1.20.2 linux/arm64 [Pipeline] } 23:24:53 $ docker stop --time=1 fa9aee1dd3f0d49fcba2e0dfb774c9ef805fc57f560705c8df8db3cecc5880f1 23:24:55 $ docker rm -f --volumes fa9aee1dd3f0d49fcba2e0dfb774c9ef805fc57f560705c8df8db3cecc5880f1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:24:55 + docker inspect -f . ci-base-image-arm64 23:24:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:24:56 prd-ubuntu20.04-docker-arm64-4c-16g-16813 does not seem to be running inside a container 23:24:56 $ 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/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:24:57 $ docker top ae85dc2a2bd9e04861222ea70d33d34380c4b833643f6f4c99b2bc8b5e79af99 -eo pid,comm [Pipeline] { [Pipeline] sh 23:24:58 + git config --global --add safe.directory /w/workspace/device-mqtt-go/8 [Pipeline] fileExists [Pipeline] sh 23:24:58 + make test 23:24:58 go test ./... -coverprofile=coverage.out ./... 23:25:37 ? github.com/edgexfoundry/device-mqtt-go [no test files] 23:28:14 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 23:28:14 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 23:28:14 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.084s coverage: 22.8% of statements 23:28:14 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:28:14 go vet ./... 23:28:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:28:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:28:46 ./bin/test-attribution-txt.sh [Pipeline] echo 23:28:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:28:46 $ docker stop --time=1 ae85dc2a2bd9e04861222ea70d33d34380c4b833643f6f4c99b2bc8b5e79af99 23:28:48 $ docker rm -f --volumes ae85dc2a2bd9e04861222ea70d33d34380c4b833643f6f4c99b2bc8b5e79af99 [Pipeline] // withDockerContainer [Pipeline] sh 23:28:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:28:50 Warning: overwriting stash ‘coverage-report’ 23:28:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:28:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:28:51 + ls -al . 23:28:51 total 180 23:28:51 drwxrwxr-x 9 jenkins jenkins 4096 May 24 23:25 . 23:28:51 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:22 .. 23:28:51 -rw-rw-r-- 1 jenkins jenkins 140 May 24 23:22 .dockerignore 23:28:51 drwxrwxr-x 8 jenkins jenkins 4096 May 24 23:22 .git 23:28:51 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:22 .github 23:28:51 -rw-rw-r-- 1 jenkins jenkins 329 May 24 23:22 .gitignore 23:28:51 -rw-rw-r-- 1 jenkins jenkins 41 May 24 23:22 .golangci.yml 23:28:51 -rw-rw-r-- 1 jenkins jenkins 9417 May 24 23:22 Attribution.txt 23:28:51 -rw-rw-r-- 1 jenkins jenkins 17522 May 24 23:22 CHANGELOG.md 23:28:51 -rw-rw-r-- 1 jenkins jenkins 1689 May 24 23:22 Dockerfile 23:28:51 -rw-rw-r-- 1 jenkins jenkins 677 May 24 23:22 GOVERNANCE.md 23:28:51 -rw-rw-r-- 1 jenkins jenkins 678 May 24 23:22 Jenkinsfile 23:28:51 -rw-rw-r-- 1 jenkins jenkins 11340 May 24 23:22 LICENSE 23:28:51 -rw-rw-r-- 1 jenkins jenkins 1732 May 24 23:22 Makefile 23:28:51 -rw-rw-r-- 1 jenkins jenkins 620 May 24 23:22 OWNERS.md 23:28:51 -rw-rw-r-- 1 jenkins jenkins 3165 May 24 23:22 README.md 23:28:51 -rw-rw-r-- 1 jenkins jenkins 5 May 24 23:19 VERSION 23:28:51 drwxrwxr-x 2 jenkins jenkins 4096 May 24 23:22 bin 23:28:51 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:22 cmd 23:28:51 -rw-r--r-- 1 jenkins jenkins 18506 May 24 23:28 coverage.out 23:28:51 -rw-rw-r-- 1 jenkins jenkins 3333 May 24 23:22 go.mod 23:28:51 -rw-rw-r-- 1 jenkins jenkins 31328 May 24 23:22 go.sum 23:28:51 drwxrwxr-x 3 jenkins jenkins 4096 May 24 23:22 internal 23:28:51 drwxrwxr-x 2 jenkins jenkins 4096 May 24 23:22 mock 23:28:51 drwxrwxr-x 4 jenkins jenkins 4096 May 24 23:22 snap 23:28:51 -rw-rw-r-- 1 jenkins jenkins 227 May 24 23:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:28:51 + 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=f6992bc0964cde1084cae2827e87f1a259db5cbd --label arch=arm64 --label version=0.0.0 . 23:28:52 Sending build context to Docker daemon 3.453MB 23:28:52 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 23:28:52 Step 2/24 : FROM ${BASE} AS builder 23:28:52 ---> c9eeffe178ec 23:28:52 Step 3/24 : ARG ADD_BUILD_TAGS="" 23:28:52 ---> Running in 392e8775ab7f 23:28:52 Removing intermediate container 392e8775ab7f 23:28:52 ---> 26ae7bf70eca 23:28:52 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:28:52 ---> Running in 819e446225e2 23:28:53 Removing intermediate container 819e446225e2 23:28:53 ---> 8728dac912e1 23:28:53 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:28:53 ---> Running in 4d2f3634b2bd 23:28:53 Removing intermediate container 4d2f3634b2bd 23:28:53 ---> 9c7e6e0c7df4 23:28:53 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 23:28:53 ---> Running in 5fa2a13655c3 23:28:53 Removing intermediate container 5fa2a13655c3 23:28:53 ---> 321b48fa3eb9 23:28:53 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:28:53 ---> Running in 8bb272e5a1ce 23:28:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:28:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:28:57 OK: 268 MiB in 57 packages 23:28:57 Removing intermediate container 8bb272e5a1ce 23:28:57 ---> f9a27942abaa 23:28:57 Step 8/24 : WORKDIR /device-mqtt-go 23:28:57 ---> Running in dd54aa8efd9b 23:28:58 Removing intermediate container dd54aa8efd9b 23:28:58 ---> 83b3a1443044 23:28:58 Step 9/24 : COPY go.mod vendor* ./ 23:28:58 ---> af6381830d2a 23:28:58 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:28:58 ---> Running in c38bd9b2af9e 23:29:01 Removing intermediate container c38bd9b2af9e 23:29:01 ---> 6cbfb8c83a13 23:29:01 Step 11/24 : COPY . . 23:29:02 ---> 3fecd8b5361c 23:29:02 Step 12/24 : RUN $MAKE 23:29:02 ---> Running in 42c802c20ee2 23:29:03 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 23:31:43 Removing intermediate container 42c802c20ee2 23:31:43 ---> e3f2dac0027d 23:31:43 Step 13/24 : FROM alpine:3.17 23:31:43 3.17: Pulling from library/alpine 23:31:43 c41833b44d91: Already exists 23:31:43 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:31:43 Status: Downloaded newer image for alpine:3.17 23:31:43 ---> 51e60588ff2c 23:31:43 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 23:31:43 ---> Running in 39beebacc97e 23:31:43 Removing intermediate container 39beebacc97e 23:31:43 ---> 058fda26e512 23:31:43 Step 15/24 : RUN apk add --update --no-cache dumb-init 23:31:43 ---> Running in 40d6fd3b0b9d 23:31:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:31:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:31:43 (1/1) Installing dumb-init (1.2.5-r2) 23:31:43 Executing busybox-1.35.0-r29.trigger 23:31:43 OK: 8 MiB in 16 packages 23:31:43 Removing intermediate container 40d6fd3b0b9d 23:31:43 ---> 1941353f1b3f 23:31:43 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 23:31:43 ---> f4e26bdd7f78 23:31:43 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 23:31:44 ---> c928187ce276 23:31:44 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 23:31:44 ---> 20ac22508a47 23:31:44 Step 19/24 : EXPOSE 59982 23:31:45 ---> Running in e1e5a82981c8 23:31:45 Removing intermediate container e1e5a82981c8 23:31:45 ---> 6442b22ce59c 23:31:45 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 23:31:45 ---> Running in 608889f99051 23:31:45 Removing intermediate container 608889f99051 23:31:45 ---> 8b7db52d5c16 23:31:45 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:31:45 ---> Running in 62a3ca98e223 23:31:46 Removing intermediate container 62a3ca98e223 23:31:46 ---> f0660572f957 23:31:46 Step 22/24 : LABEL arch=arm64 23:31:46 ---> Running in 42e6f960319a 23:31:46 Removing intermediate container 42e6f960319a 23:31:46 ---> 0c22e28d8b80 23:31:46 Step 23/24 : LABEL git_sha=f6992bc0964cde1084cae2827e87f1a259db5cbd 23:31:46 ---> Running in 72e08f3086fe 23:31:46 Removing intermediate container 72e08f3086fe 23:31:46 ---> a1d2321ca1e2 23:31:46 Step 24/24 : LABEL version=0.0.0 23:31:46 ---> Running in 1f386dc6c47f 23:31:47 Removing intermediate container 1f386dc6c47f 23:31:47 ---> 9f5a56e0d5bb 23:31:47 [Warning] One or more build-args [ARCH] were not consumed 23:31:47 Successfully built 9f5a56e0d5bb 23:31:47 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:31:47 23:31:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:31:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:31:48 arm64: Pulling from edgex-lftools-log-publisher 23:31:48 8998bd30e6a1: Pulling fs layer 23:31:48 04944245beec: Pulling fs layer 23:31:48 699f458cf7ca: Pulling fs layer 23:31:48 765212b225bb: Pulling fs layer 23:31:48 f23df028b6ca: Pulling fs layer 23:31:48 d65c8cfc05b1: Pulling fs layer 23:31:48 2437ff75d9bd: Pulling fs layer 23:31:48 765212b225bb: Waiting 23:31:48 f23df028b6ca: Waiting 23:31:48 d65c8cfc05b1: Waiting 23:31:48 2437ff75d9bd: Waiting 23:31:48 04944245beec: Verifying Checksum 23:31:48 04944245beec: Download complete 23:31:48 765212b225bb: Verifying Checksum 23:31:48 765212b225bb: Download complete 23:31:48 f23df028b6ca: Verifying Checksum 23:31:48 f23df028b6ca: Download complete 23:31:48 d65c8cfc05b1: Verifying Checksum 23:31:48 d65c8cfc05b1: Download complete 23:31:48 699f458cf7ca: Verifying Checksum 23:31:48 699f458cf7ca: Download complete 23:31:49 8998bd30e6a1: Verifying Checksum 23:31:49 8998bd30e6a1: Download complete 23:31:51 2437ff75d9bd: Verifying Checksum 23:31:51 2437ff75d9bd: Download complete 23:31:53 8998bd30e6a1: Pull complete 23:31:54 04944245beec: Pull complete 23:31:55 699f458cf7ca: Pull complete 23:31:55 765212b225bb: Pull complete 23:31:56 f23df028b6ca: Pull complete 23:31:57 d65c8cfc05b1: Pull complete 23:32:12 2437ff75d9bd: Pull complete 23:32:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:32:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:32:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:32:12 prd-ubuntu20.04-docker-arm64-4c-16g-16813 does not seem to be running inside a container 23:32:12 $ 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/8 -v /w/workspace/device-mqtt-go/8:/w/workspace/device-mqtt-go/8:rw,z -v /w/workspace/device-mqtt-go/8@tmp:/w/workspace/device-mqtt-go/8@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:32:15 $ docker top 814f209b85800624fdddbec59b373ceab091ca6c09a6f510e6de6fdb0108ef45 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:32:16 ---> job-cost.sh 23:32:16 lf-activate-venv: SKIPPING 23:32:16 INFO: No Stack... 23:32:17 INFO: Retrieving Pricing Info for: v3-standard-4 23:32:17 INFO: Archiving Costs [Pipeline] sh 23:32:18 + cat /w/workspace/device-mqtt-go/8/archives/cost.csv 23:32:18 + cut -d, -f6 [Pipeline] lock 23:32:18 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-600-8-stack-cost] 23:32:18 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-8-stack-cost] did not exist. Created. 23:32:18 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-600-8-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:32:19 /w/workspace/device-mqtt-go/8@tmp/durable-3f086ddc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:32:20 + echo total: 0.10999999940395355 [Pipeline] stash 23:32:20 Warning: overwriting stash ‘stack-cost’ 23:32:20 Stashed 1 file(s) [Pipeline] } 23:32:20 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-8-stack-cost] [Pipeline] // lock [Pipeline] } 23:32:20 $ docker stop --time=1 814f209b85800624fdddbec59b373ceab091ca6c09a6f510e6de6fdb0108ef45 23:32:21 $ docker rm -f --volumes 814f209b85800624fdddbec59b373ceab091ca6c09a6f510e6de6fdb0108ef45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:32:22 provisioning config files... 23:32:22 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config11676685260251452195tmp [Pipeline] { [Pipeline] sh 23:32:22 + set +x 23:32:22 + curl -s https://codecov.io/bash 23:32:22 + bash -s -- 23:32:22 23:32:22 _____ _ 23:32:22 / ____| | | 23:32:22 | | ___ __| | ___ ___ _____ __ 23:32:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:32:22 | |___| (_) | (_| | __/ (_| (_) \ V / 23:32:22 \_____\___/ \__,_|\___|\___\___/ \_/ 23:32:22 Bash-1.0.6 23:32:22 23:32:22 23:32:22 ==> git version 2.25.1 found 23:32:22 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:32:22 Release-Date: 2020-01-08 23:32:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:32:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:32:22 ==> Jenkins CI detected. 23:32:22 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-600 23:32:22 project root: . 23:32:22 --> token set from env 23:32:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:32:22 ==> Running gcov in . (disable via -X gcov) 23:32:22 ==> Python coveragepy not found 23:32:22 ==> Searching for coverage reports in: 23:32:22 + . 23:32:22 -> Found 1 reports 23:32:22 ==> Detecting git/mercurial file structure 23:32:22 ==> Reading reports 23:32:22 + ./coverage.out bytes=18506 23:32:22 ==> Appending adjustments 23:32:22 https://docs.codecov.io/docs/fixing-reports 23:32:22 + Found adjustments 23:32:22 ==> Gzipping contents 23:32:22 4.0K /tmp/codecov.6YuaMl.gz 23:32:22 ==> Uploading reports 23:32:22 url: https://codecov.io 23:32:22 query: branch=PR-600&commit=56a1bdd356998c1e5d1290ed26c25d1c3966bba5&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-600%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=600&job=&cmd_args= 23:32:22 -> Pinging Codecov 23:32:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-600&commit=56a1bdd356998c1e5d1290ed26c25d1c3966bba5&build=8&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-600%2F8%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=600&job=&cmd_args= 23:32:23 -> Uploading to 23:32:23 https://storage.googleapis.com/codecov/v4/raw/2023-05-24/7D719EC7BBE17E464838252E33014C33/56a1bdd356998c1e5d1290ed26c25d1c3966bba5/37edd70b-aa23-47a6-863c-1d35ead01161.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230524%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230524T233222Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5030a0973744763dc5a4f893f240c5037793cdea6d1f95c2cdb269af84a5dbee 23:32:23 % Total % Received % Xferd Average Speed Time Time Time Current 23:32:23 Dload Upload Total Spent Left Speed 23:32:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 15857 --:--:-- --:--:-- --:--:-- 15779 100 3219 0 0 100 3219 0 13582 --:--:-- --:--:-- --:--:-- 13525 23:32:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/56a1bdd356998c1e5d1290ed26c25d1c3966bba5 [Pipeline] } 23:32:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:32:23 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives ] 23:32:23 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives 23:32:23 total 16 23:32:23 drwxr-xr-x 3 root root 4096 May 24 23:21 . 23:32:23 drwxrwxr-x 11 jenkins jenkins 4096 May 24 23:21 .. 23:32:23 drwxr-xr-x 2 root root 4096 May 24 23:21 cost 23:32:23 -rw-r--r-- 1 root root 86 May 24 23:21 cost.csv 23:32:23 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives 23:32:23 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives 23:32:23 total 16 23:32:23 drwxr-xr-x 3 jenkins jenkins 4096 May 24 23:21 . 23:32:23 drwxrwxr-x 11 jenkins jenkins 4096 May 24 23:21 .. 23:32:23 drwxr-xr-x 2 jenkins jenkins 4096 May 24 23:21 cost 23:32:23 -rw-r--r-- 1 jenkins jenkins 86 May 24 23:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:32:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:32:25 ---> package-listing.sh 23:32:25 ++ facter osfamily 23:32:25 ++ tr '[:upper:]' '[:lower:]' 23:32:25 + OS_FAMILY=debian 23:32:25 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-600 23:32:25 + START_PACKAGES=/tmp/packages_start.txt 23:32:25 + END_PACKAGES=/tmp/packages_end.txt 23:32:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:32:25 + PACKAGES=/tmp/packages_start.txt 23:32:25 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-600 ']' 23:32:25 + PACKAGES=/tmp/packages_end.txt 23:32:25 + case "${OS_FAMILY}" in 23:32:25 + dpkg -l 23:32:25 + grep '^ii' 23:32:25 + '[' -f /tmp/packages_start.txt ']' 23:32:25 + '[' -f /tmp/packages_end.txt ']' 23:32:25 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:32:25 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-600 ']' 23:32:25 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives/ 23:32:25 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives/ [Pipeline] echo 23:32:25 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-600/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:32:25 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:32:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:32:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:32:26 prd-ubuntu20.04-docker-8c-8g-16808 does not seem to be running inside a container 23:32:26 $ 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-600/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-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:32:26 $ docker top 43cd4197570d9eb67b35c17b95394ecf000521e595368a6add0de97e7c120b69 -eo pid,comm [Pipeline] { [Pipeline] sh 23:32:26 + touch /tmp/pre-build-complete [Pipeline] sh 23:32:27 + mkdir -p /var/log/sysstat [Pipeline] sh 23:32:27 + ls /var/log/sa-host 23:32:27 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:32:27 provisioning config files... 23:32:27 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config3704333621657458849tmp [Pipeline] { [Pipeline] echo 23:32:27 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:32:27 ---> create-netrc.sh [Pipeline] } 23:32:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:32:28 ---> python-tools-install.sh [Pipeline] echo 23:32:28 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:32:28 ---> sudo-logs.sh 23:32:28 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:32:28 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:32:28 ---> job-cost.sh 23:32:28 lf-activate-venv: SKIPPING 23:32:28 DEBUG: total: 0.2199999988079071 23:32:28 INFO: Retrieving Stack Cost... 23:32:29 INFO: Retrieving Pricing Info for: v3-standard-8 23:32:29 INFO: Archiving Costs [Pipeline] echo 23:32:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:32:29 ---> logs-deploy.sh 23:32:29 lf-activate-venv: SKIPPING 23:32:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-600/8 23:32:29 INFO: archiving workspace using pattern(s): 23:32:30 Archives upload complete. 23:32:30 INFO: archiving logs to Nexus