Pull request #600 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4044fa6afcae6da78636a9bc503ed515b5b47f49+a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 (3127e3a65cce021fac7526bd2d63db17233958ea) 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-ssh5347672545133555057.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-ssh1667552299348753741.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-ssh16628737003267844554.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-ssh15597029477227214640.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-ssh2497237420711218194.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16450 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 a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 into PR head commit 4044fa6afcae6da78636a9bc503ed515b5b47f49 Merge succeeded, producing 4044fa6afcae6da78636a9bc503ed515b5b47f49 Checking out Revision 4044fa6afcae6da78636a9bc503ed515b5b47f49 (PR-600) Commit message: "build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:40:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:40:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:40:02 ========================================================= 02:40:02 EdgeX Global Pipelines Version Info 02:40:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh > 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 a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4044fa6afcae6da78636a9bc503ed515b5b47f49 # timeout=10 > git rev-list --no-walk 49037ee0d3c2cd65a33006ec9dedf5e02cdf85f7 # timeout=10 02:40:03 ------------------- 02:40:03 stable info: 02:40:03 ------------------- 02:40:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:40:03 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:40:03 Message: update stable to v1.0.249 02:40:03 ------------------- 02:40:03 experimental info: 02:40:03 ------------------- 02:40:03 Commited By: **** collab-it+edgex@linuxfoundation.org 02:40:03 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:40:03 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:40:03 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:40:03 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:40:03 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:40:03 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-600 [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-600 [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-600 [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4044fa6afcae6da78636a9bc503ed515b5b47f49 [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4044fa6 [Pipeline] echo 02:40:04 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:40:04 provisioning config files... 02:40:04 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config10231393279378254965tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:40:04 ---> docker-login.sh 02:40:04 nexus3.edgexfoundry.org:10001 02:40:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:05 Configure a credential helper to remove this warning. See 02:40:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:05 02:40:05 Login Succeeded 02:40:05 nexus3.edgexfoundry.org:10002 02:40:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:05 Configure a credential helper to remove this warning. See 02:40:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:05 02:40:05 Login Succeeded 02:40:05 nexus3.edgexfoundry.org:10003 02:40:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:05 Configure a credential helper to remove this warning. See 02:40:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:05 02:40:05 Login Succeeded 02:40:05 nexus3.edgexfoundry.org:10004 02:40:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:05 Configure a credential helper to remove this warning. See 02:40:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:05 02:40:05 Login Succeeded 02:40:05 docker.io 02:40:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:05 Configure a credential helper to remove this warning. See 02:40:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:05 02:40:05 Login Succeeded 02:40:05 ---> docker-login.sh ends [Pipeline] } 02:40:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:40:06 + git rev-list -1 --merges 4044fa6afcae6da78636a9bc503ed515b5b47f49~1..4044fa6afcae6da78636a9bc503ed515b5b47f49 [Pipeline] echo 02:40:06 -----------> git rev-list -1 --merges 4044fa6afcae6da78636a9bc503ed515b5b47f49~1..4044fa6afcae6da78636a9bc503ed515b5b47f49 4044fa6afcae6da78636a9bc503ed515b5b47f49 [false] [Pipeline] sh 02:40:06 + git log --format=format:%s -1 4044fa6afcae6da78636a9bc503ed515b5b47f49 [Pipeline] echo 02:40:06 ========================================================= 02:40:06 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:40:06 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:40:06 + git log --format=format:%s -1 4044fa6afcae6da78636a9bc503ed515b5b47f49 [Pipeline] echo 02:40:06 [semverPrep] GIT_COMMIT: 4044fa6afcae6da78636a9bc503ed515b5b47f49, Commit Message: build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1 [Pipeline] echo 02:40:07 [semverPrep] This is not a build commit. [Pipeline] sh 02:40:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:40:07 + grep -v github /etc/ssh/ssh_known_hosts 02:40:07 + [ -e /tmp/ssh_known_hosts ] 02:40:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:40:07 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:40:07 + sudo tee -a /etc/ssh/ssh_known_hosts 02:40:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:40:07 02:40:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:40:08 0.1.4: Pulling from edgex-devops/py-git-semver 02:40:08 b85a868b505f: Pulling fs layer 02:40:08 e2be974225ed: Pulling fs layer 02:40:08 339a4e72a1f5: Pulling fs layer 02:40:08 988bab9f4d93: Pulling fs layer 02:40:08 1469e6f7b9e6: Pulling fs layer 02:40:08 eaf3925da568: Pulling fs layer 02:40:08 bab4dde63d76: Pulling fs layer 02:40:08 bde34c3a00c8: Pulling fs layer 02:40:08 b352a97aabf1: Pulling fs layer 02:40:08 4872d77fe225: Pulling fs layer 02:40:08 5851b861e8e6: Pulling fs layer 02:40:08 1469e6f7b9e6: Waiting 02:40:08 eaf3925da568: Waiting 02:40:08 b352a97aabf1: Waiting 02:40:08 bde34c3a00c8: Waiting 02:40:08 4872d77fe225: Waiting 02:40:08 bab4dde63d76: Waiting 02:40:08 5851b861e8e6: Waiting 02:40:08 988bab9f4d93: Waiting 02:40:08 e2be974225ed: Verifying Checksum 02:40:08 e2be974225ed: Download complete 02:40:08 988bab9f4d93: Verifying Checksum 02:40:08 988bab9f4d93: Download complete 02:40:08 339a4e72a1f5: Verifying Checksum 02:40:08 339a4e72a1f5: Download complete 02:40:08 1469e6f7b9e6: Verifying Checksum 02:40:08 1469e6f7b9e6: Download complete 02:40:08 eaf3925da568: Download complete 02:40:08 bde34c3a00c8: Verifying Checksum 02:40:08 bde34c3a00c8: Download complete 02:40:08 b352a97aabf1: Verifying Checksum 02:40:08 b352a97aabf1: Download complete 02:40:08 4872d77fe225: Verifying Checksum 02:40:08 4872d77fe225: Download complete 02:40:08 5851b861e8e6: Download complete 02:40:08 b85a868b505f: Download complete 02:40:08 bab4dde63d76: Verifying Checksum 02:40:08 bab4dde63d76: Download complete 02:40:09 b85a868b505f: Pull complete 02:40:09 e2be974225ed: Pull complete 02:40:10 339a4e72a1f5: Pull complete 02:40:10 988bab9f4d93: Pull complete 02:40:10 1469e6f7b9e6: Pull complete 02:40:10 eaf3925da568: Pull complete 02:40:12 bab4dde63d76: Pull complete 02:40:12 bde34c3a00c8: Pull complete 02:40:12 b352a97aabf1: Pull complete 02:40:12 4872d77fe225: Pull complete 02:40:12 5851b861e8e6: Pull complete 02:40:12 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:40:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:40:12 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:12 prd-ubuntu20.04-docker-8c-8g-16450 does not seem to be running inside a container 02:40:12 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:40:15 $ docker top a22b804a2fa2036810de1be826ffe9bd9a625e93ef0e4f7505c135c39a1315e6 -eo pid,comm 02:40:15 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). 02:40:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:40:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:40:15 [ssh-agent] Looking for ssh-agent implementation... 02:40:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:40:15 $ docker exec a22b804a2fa2036810de1be826ffe9bd9a625e93ef0e4f7505c135c39a1315e6 ssh-agent 02:40:15 SSH_AUTH_SOCK=/tmp/ssh-Dd0AyWyYgw4g/agent.32 02:40:15 SSH_AGENT_PID=38 02:40:15 Running ssh-add (command line suppressed) 02:40:15 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_8785859616813211213.key (/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_8785859616813211213.key) 02:40:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:40:16 + git tag --points-at HEAD [Pipeline] } 02:40:16 $ docker exec --env ******** --env ******** a22b804a2fa2036810de1be826ffe9bd9a625e93ef0e4f7505c135c39a1315e6 ssh-agent -k 02:40:16 unset SSH_AUTH_SOCK; 02:40:16 unset SSH_AGENT_PID; 02:40:16 echo Agent pid 38 killed; 02:40:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:40:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:40:16 [ssh-agent] Looking for ssh-agent implementation... 02:40:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:40:16 $ docker exec a22b804a2fa2036810de1be826ffe9bd9a625e93ef0e4f7505c135c39a1315e6 ssh-agent 02:40:16 SSH_AUTH_SOCK=/tmp/ssh-xBAoyPCQ4XNv/agent.70 02:40:16 SSH_AGENT_PID=76 02:40:16 Running ssh-add (command line suppressed) 02:40:16 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_15974729179007056926.key (/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_15974729179007056926.key) 02:40:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:40:17 + git semver init 02:40:17 2023-05-23 02:40:17,230 [run_init] DEBUG init version:0.0.0 force:False 02:40:17 2023-05-23 02:40:17,231 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver 02:40:17 2023-05-23 02:40:17,231 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver 02:40:17 2023-05-23 02:40:17,231 [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) 02:40:18 2023-05-23 02:40:18,001 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.git/info/exclude 02:40:18 2023-05-23 02:40:18,001 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver/PR-600 with force:False 02:40:18 2023-05-23 02:40:18,001 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver/PR-600 02:40:18 2023-05-23 02:40:18,006 [execute] INFO git cat-file --batch-check 02:40:18 2023-05-23 02:40:18,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver, universal_newlines=False, shell=None, istream=) 02:40:18 2023-05-23 02:40:18,013 [execute] INFO git cat-file --batch 02:40:18 2023-05-23 02:40:18,013 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver, universal_newlines=False, shell=None, istream=) 02:40:18 2023-05-23 02:40:18,018 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver/PR-600 02:40:18 0.0.0 [Pipeline] } 02:40:18 $ docker exec --env ******** --env ******** a22b804a2fa2036810de1be826ffe9bd9a625e93ef0e4f7505c135c39a1315e6 ssh-agent -k 02:40:18 unset SSH_AUTH_SOCK; 02:40:18 unset SSH_AGENT_PID; 02:40:18 echo Agent pid 76 killed; 02:40:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:40:18 + git semver [Pipeline] } 02:40:18 $ docker stop --time=1 a22b804a2fa2036810de1be826ffe9bd9a625e93ef0e4f7505c135c39a1315e6 02:40:20 $ docker rm -f --volumes a22b804a2fa2036810de1be826ffe9bd9a625e93ef0e4f7505c135c39a1315e6 [Pipeline] // withDockerContainer [Pipeline] sh 02:40:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:40:20 Stashed 1 file(s) [Pipeline] echo 02:40:20 [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 02:40:20 provisioning config files... 02:40:20 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config14214747236097530798tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:40:21 ---> docker-login.sh 02:40:21 nexus3.edgexfoundry.org:10001 02:40:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:21 Configure a credential helper to remove this warning. See 02:40:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:21 02:40:21 Login Succeeded 02:40:21 nexus3.edgexfoundry.org:10002 02:40:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:21 Configure a credential helper to remove this warning. See 02:40:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:21 02:40:21 Login Succeeded 02:40:21 nexus3.edgexfoundry.org:10003 02:40:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:21 Configure a credential helper to remove this warning. See 02:40:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:21 02:40:21 Login Succeeded 02:40:21 nexus3.edgexfoundry.org:10004 02:40:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:21 Configure a credential helper to remove this warning. See 02:40:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:21 02:40:21 Login Succeeded 02:40:21 docker.io 02:40:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:40:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:40:21 Configure a credential helper to remove this warning. See 02:40:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:40:21 02:40:21 Login Succeeded 02:40:21 ---> docker-login.sh ends [Pipeline] } 02:40:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:40:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:40:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:40:21 ========================================================= 02:40:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:40:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:22 + 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 . 02:40:22 Sending build context to Docker daemon 6.584MB 02:40:22 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:40:22 Step 2/12 : FROM ${BASE} AS builder 02:40:22 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:40:22 f56be85fc22e: Pulling fs layer 02:40:22 85791d961cd3: Pulling fs layer 02:40:22 d694b5ae8c79: Pulling fs layer 02:40:22 9f32a84ed3da: Pulling fs layer 02:40:22 4d19c01a9841: Pulling fs layer 02:40:22 9325e15d5711: Pulling fs layer 02:40:22 556b6ee489ea: Pulling fs layer 02:40:22 c5a4b2cf53e6: Pulling fs layer 02:40:22 9f32a84ed3da: Waiting 02:40:22 4d19c01a9841: Waiting 02:40:22 9325e15d5711: Waiting 02:40:22 556b6ee489ea: Waiting 02:40:22 c5a4b2cf53e6: Waiting 02:40:22 85791d961cd3: Verifying Checksum 02:40:22 85791d961cd3: Download complete 02:40:22 9f32a84ed3da: Verifying Checksum 02:40:22 9f32a84ed3da: Download complete 02:40:22 4d19c01a9841: Verifying Checksum 02:40:22 4d19c01a9841: Download complete 02:40:22 f56be85fc22e: Verifying Checksum 02:40:22 f56be85fc22e: Download complete 02:40:22 9325e15d5711: Verifying Checksum 02:40:22 9325e15d5711: Download complete 02:40:22 f56be85fc22e: Pull complete 02:40:22 85791d961cd3: Pull complete 02:40:23 c5a4b2cf53e6: Verifying Checksum 02:40:23 c5a4b2cf53e6: Download complete 02:40:23 d694b5ae8c79: Verifying Checksum 02:40:23 d694b5ae8c79: Download complete 02:40:23 556b6ee489ea: Verifying Checksum 02:40:23 556b6ee489ea: Download complete 02:40:26 d694b5ae8c79: Pull complete 02:40:26 9f32a84ed3da: Pull complete 02:40:26 4d19c01a9841: Pull complete 02:40:26 9325e15d5711: Pull complete 02:40:28 556b6ee489ea: Pull complete 02:40:29 c5a4b2cf53e6: Pull complete 02:40:29 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 02:40:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:40:29 ---> c4be618373d6 02:40:29 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:40:33 ---> Running in 914231430b53 02:40:33 Removing intermediate container 914231430b53 02:40:33 ---> 7954a86c3b38 02:40:33 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:40:33 ---> Running in ad37b4c4a8b3 02:40:33 Removing intermediate container ad37b4c4a8b3 02:40:33 ---> 2e6851585527 02:40:33 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:40:33 ---> Running in d9c6130daf85 02:40:33 Removing intermediate container d9c6130daf85 02:40:33 ---> 432b63bff956 02:40:33 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:40:33 ---> Running in 92c8acee068e 02:40:33 Removing intermediate container 92c8acee068e 02:40:33 ---> 8c6ec9c567de 02:40:33 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:40:33 ---> Running in 8378521aa6a8 02:40:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:40:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:40:34 (1/4) Installing openssh-keygen (9.1_p1-r3) 02:40:34 (2/4) Installing libedit (20221030.3.1-r0) 02:40:34 (3/4) Installing openssh-client-common (9.1_p1-r3) 02:40:34 (4/4) Installing openssh-client-default (9.1_p1-r3) 02:40:34 Executing busybox-1.35.0-r29.trigger 02:40:34 OK: 269 MiB in 57 packages 02:40:34 Removing intermediate container 8378521aa6a8 02:40:34 ---> c3193df5991c 02:40:34 Step 8/12 : WORKDIR /device-mqtt-go 02:40:34 ---> Running in 5f64ea37eda5 02:40:34 Removing intermediate container 5f64ea37eda5 02:40:34 ---> 29fe1fb0bcdd 02:40:34 Step 9/12 : COPY go.mod vendor* ./ 02:40:34 ---> 8209799bff68 02:40:34 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:40:34 ---> Running in d59deb7577a2 02:40:35 Still waiting to schedule task 02:40:35 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16448’ 02:40:56 Removing intermediate container d59deb7577a2 02:40:56 ---> 1922e15d3871 02:40:56 Step 11/12 : COPY . . 02:40:57 ---> 2b69dc227574 02:40:57 Step 12/12 : RUN $MAKE 02:40:57 ---> Running in dd4377037aff 02:40:57 noop 02:40:57 Removing intermediate container dd4377037aff 02:40:57 ---> ff8d65f4d1ba 02:40:57 Successfully built ff8d65f4d1ba 02:40:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:40:57 + docker inspect -f . ci-base-image-x86_64 02:40:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:40:57 prd-ubuntu20.04-docker-8c-8g-16450 does not seem to be running inside a container 02:40:57 $ 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 ******** ci-base-image-x86_64 cat 02:40:58 $ docker top 7d12e6916c0eb92c2a46b005532cf029185788ce439ab1b43005ce6b6bca7139 -eo pid,comm [Pipeline] { [Pipeline] sh 02:40:58 + go version 02:40:58 go version go1.20.2 linux/amd64 [Pipeline] } 02:40:58 $ docker stop --time=1 7d12e6916c0eb92c2a46b005532cf029185788ce439ab1b43005ce6b6bca7139 02:40:59 $ docker rm -f --volumes 7d12e6916c0eb92c2a46b005532cf029185788ce439ab1b43005ce6b6bca7139 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:00 + docker inspect -f . ci-base-image-x86_64 02:41:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:41:00 prd-ubuntu20.04-docker-8c-8g-16450 does not seem to be running inside a container 02:41:00 $ 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 ******** ci-base-image-x86_64 cat 02:41:00 $ docker top a8c896dd7e2120a62a936e83d03af89bf72fd0bcac0958ab4adb577b1f800e7e -eo pid,comm [Pipeline] { [Pipeline] sh 02:41:01 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-600 [Pipeline] fileExists [Pipeline] sh 02:41:01 + make test 02:41:01 go test ./... -coverprofile=coverage.out ./... 02:41:06 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:41:16 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:41:16 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:41:16 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 22.8% of statements 02:41:23 go vet ./... 02:41:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:41:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:41:26 ./bin/test-attribution-txt.sh [Pipeline] echo 02:41:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:41:26 $ docker stop --time=1 a8c896dd7e2120a62a936e83d03af89bf72fd0bcac0958ab4adb577b1f800e7e 02:41:29 $ docker rm -f --volumes a8c896dd7e2120a62a936e83d03af89bf72fd0bcac0958ab4adb577b1f800e7e [Pipeline] // withDockerContainer [Pipeline] sh 02:41:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:41:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:41:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:41:30 + ls -al . 02:41:30 total 180 02:41:30 drwxrwxr-x 10 jenkins jenkins 4096 May 23 02:41 . 02:41:30 drwxrwxr-x 4 jenkins jenkins 4096 May 23 02:40 .. 02:41:30 -rw-rw-r-- 1 jenkins jenkins 140 May 23 02:40 .dockerignore 02:41:30 drwxrwxr-x 8 jenkins jenkins 4096 May 23 02:40 .git 02:41:30 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:40 .github 02:41:30 -rw-rw-r-- 1 jenkins jenkins 329 May 23 02:40 .gitignore 02:41:30 -rw-rw-r-- 1 jenkins jenkins 41 May 23 02:40 .golangci.yml 02:41:30 drwxr-xr-x 3 jenkins jenkins 4096 May 23 02:40 .semver 02:41:30 -rw-rw-r-- 1 jenkins jenkins 9417 May 23 02:40 Attribution.txt 02:41:30 -rw-rw-r-- 1 jenkins jenkins 13162 May 23 02:40 CHANGELOG.md 02:41:30 -rw-rw-r-- 1 jenkins jenkins 1689 May 23 02:40 Dockerfile 02:41:30 -rw-rw-r-- 1 jenkins jenkins 677 May 23 02:40 GOVERNANCE.md 02:41:30 -rw-rw-r-- 1 jenkins jenkins 678 May 23 02:40 Jenkinsfile 02:41:30 -rw-rw-r-- 1 jenkins jenkins 11340 May 23 02:40 LICENSE 02:41:30 -rw-rw-r-- 1 jenkins jenkins 1732 May 23 02:40 Makefile 02:41:30 -rw-rw-r-- 1 jenkins jenkins 620 May 23 02:40 OWNERS.md 02:41:30 -rw-rw-r-- 1 jenkins jenkins 3165 May 23 02:40 README.md 02:41:30 -rw-rw-r-- 1 jenkins jenkins 5 May 23 02:40 VERSION 02:41:30 drwxrwxr-x 2 jenkins jenkins 4096 May 23 02:40 bin 02:41:30 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:40 cmd 02:41:30 -rw-r--r-- 1 jenkins jenkins 18506 May 23 02:41 coverage.out 02:41:30 -rw-rw-r-- 1 jenkins jenkins 3333 May 23 02:40 go.mod 02:41:30 -rw-rw-r-- 1 jenkins jenkins 31328 May 23 02:40 go.sum 02:41:30 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:40 internal 02:41:30 drwxrwxr-x 2 jenkins jenkins 4096 May 23 02:40 mock 02:41:30 drwxrwxr-x 4 jenkins jenkins 4096 May 23 02:40 snap 02:41:30 -rw-rw-r-- 1 jenkins jenkins 227 May 23 02:40 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:30 + 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=4044fa6afcae6da78636a9bc503ed515b5b47f49 --label arch=amd64 --label version=0.0.0 . 02:41:30 Sending build context to Docker daemon 6.603MB 02:41:30 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:41:30 Step 2/24 : FROM ${BASE} AS builder 02:41:30 ---> ff8d65f4d1ba 02:41:30 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:41:31 ---> Running in 7deceb72f91d 02:41:31 Removing intermediate container 7deceb72f91d 02:41:31 ---> c807b11b45c0 02:41:31 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:41:31 ---> Running in 18f7915f70a3 02:41:31 Removing intermediate container 18f7915f70a3 02:41:31 ---> b15caa7ea8b8 02:41:31 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:41:31 ---> Running in e647b29aaaa8 02:41:31 Removing intermediate container e647b29aaaa8 02:41:31 ---> ba95a40a74c7 02:41:31 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:41:31 ---> Running in 8e47ff5d0256 02:41:31 Removing intermediate container 8e47ff5d0256 02:41:31 ---> 3209fbfec0b1 02:41:31 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:41:31 ---> Running in 46c9baca76cc 02:41:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:41:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:41:32 OK: 269 MiB in 57 packages 02:41:32 Removing intermediate container 46c9baca76cc 02:41:32 ---> 95e8a50ebc77 02:41:32 Step 8/24 : WORKDIR /device-mqtt-go 02:41:32 ---> Running in 7539642f951d 02:41:32 Removing intermediate container 7539642f951d 02:41:32 ---> cda24f6bd717 02:41:32 Step 9/24 : COPY go.mod vendor* ./ 02:41:32 ---> 4fd1c4f11109 02:41:32 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:41:32 ---> Running in ae9aca31eebc 02:41:33 Removing intermediate container ae9aca31eebc 02:41:33 ---> e5fc451ee865 02:41:33 Step 11/24 : COPY . . 02:41:33 ---> 88bb420a92dd 02:41:33 Step 12/24 : RUN $MAKE 02:41:33 ---> Running in 8b27a45b40b6 02:41:34 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 02:41:56 Removing intermediate container 8b27a45b40b6 02:41:56 ---> 50ae75be85d7 02:41:56 Step 13/24 : FROM alpine:3.17 02:41:56 3.17: Pulling from library/alpine 02:41:56 f56be85fc22e: Already exists 02:41:56 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:41:56 Status: Downloaded newer image for alpine:3.17 02:41:56 ---> 9ed4aefc74f6 02:41:56 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:41:56 ---> Running in d3bbecdad236 02:41:56 Removing intermediate container d3bbecdad236 02:41:56 ---> fe8f56de6ffd 02:41:56 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:41:56 ---> Running in 550cb775a51d 02:41:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:41:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:41:56 (1/1) Installing dumb-init (1.2.5-r2) 02:41:56 Executing busybox-1.35.0-r29.trigger 02:41:56 OK: 7 MiB in 16 packages 02:41:56 Removing intermediate container 550cb775a51d 02:41:56 ---> 87f91015ea82 02:41:56 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:41:56 ---> 125c259778a0 02:41:56 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:41:56 ---> 9f18522eb9af 02:41:56 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:41:56 ---> 2b5791c45108 02:41:56 Step 19/24 : EXPOSE 59982 02:41:56 ---> Running in c9ceb57b6f9d 02:41:56 Removing intermediate container c9ceb57b6f9d 02:41:56 ---> a13e373ceeaf 02:41:56 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:41:56 ---> Running in 47b677b9c1a8 02:41:56 Removing intermediate container 47b677b9c1a8 02:41:56 ---> 4900f2a90dd7 02:41:56 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:41:56 ---> Running in 47f12bf233a7 02:41:56 Removing intermediate container 47f12bf233a7 02:41:56 ---> 2e5b7013c399 02:41:56 Step 22/24 : LABEL arch=amd64 02:41:56 ---> Running in 85e5911b3c0a 02:41:56 Removing intermediate container 85e5911b3c0a 02:41:56 ---> 88c9dd198656 02:41:56 Step 23/24 : LABEL git_sha=4044fa6afcae6da78636a9bc503ed515b5b47f49 02:41:56 ---> Running in 8a3a59b77eb2 02:41:56 Removing intermediate container 8a3a59b77eb2 02:41:56 ---> dd8bac895ccf 02:41:56 Step 24/24 : LABEL version=0.0.0 02:41:56 ---> Running in 7666ab5894f2 02:41:56 Removing intermediate container 7666ab5894f2 02:41:56 ---> 6d3f620c1ffb 02:41:56 [Warning] One or more build-args [ARCH] were not consumed 02:41:56 Successfully built 6d3f620c1ffb 02:41:56 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 02:41:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:41:56 02:41:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:41:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:41:57 latest: Pulling from edgex-lftools-log-publisher 02:41:57 5eb5b503b376: Pulling fs layer 02:41:57 5c69ac0246d0: Pulling fs layer 02:41:57 ec43610c2a17: Pulling fs layer 02:41:57 3a2ae6a8a46f: Pulling fs layer 02:41:57 33b1e0a273af: Pulling fs layer 02:41:57 5d3b04190fa2: Pulling fs layer 02:41:57 2f39f015ded8: Pulling fs layer 02:41:57 33b1e0a273af: Waiting 02:41:57 5d3b04190fa2: Waiting 02:41:57 2f39f015ded8: Waiting 02:41:57 5c69ac0246d0: Download complete 02:41:57 3a2ae6a8a46f: Verifying Checksum 02:41:57 3a2ae6a8a46f: Download complete 02:41:57 33b1e0a273af: Verifying Checksum 02:41:57 33b1e0a273af: Download complete 02:41:57 5d3b04190fa2: Verifying Checksum 02:41:57 5d3b04190fa2: Download complete 02:41:57 ec43610c2a17: Download complete 02:41:57 5eb5b503b376: Verifying Checksum 02:41:57 5eb5b503b376: Download complete 02:41:57 2f39f015ded8: Download complete 02:41:58 5eb5b503b376: Pull complete 02:41:58 5c69ac0246d0: Pull complete 02:41:59 ec43610c2a17: Pull complete 02:41:59 3a2ae6a8a46f: Pull complete 02:41:59 33b1e0a273af: Pull complete 02:41:59 5d3b04190fa2: Pull complete 02:42:03 2f39f015ded8: Pull complete 02:42:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:42:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:42:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:42:03 prd-ubuntu20.04-docker-8c-8g-16450 does not seem to be running inside a container 02:42:03 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:42:06 $ docker top 23c8cee09bba388ccf2bdc9bec404f3c5a66a7092952be93ce7a75d478ffa603 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:42:07 ---> job-cost.sh 02:42:07 lf-activate-venv: SKIPPING 02:42:07 INFO: No Stack... 02:42:07 INFO: Retrieving Pricing Info for: v3-standard-8 02:42:07 INFO: Archiving Costs [Pipeline] sh 02:42:08 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives/cost.csv 02:42:08 + cut -d, -f6 [Pipeline] lock 02:42:08 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-600-7-stack-cost] 02:42:08 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-7-stack-cost] did not exist. Created. 02:42:08 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-600-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:42:08 + echo total: 0.2199999988079071 [Pipeline] stash 02:42:08 Stashed 1 file(s) [Pipeline] } 02:42:08 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-7-stack-cost] [Pipeline] // lock [Pipeline] } 02:42:08 $ docker stop --time=1 23c8cee09bba388ccf2bdc9bec404f3c5a66a7092952be93ce7a75d478ffa603 02:42:09 $ docker rm -f --volumes 23c8cee09bba388ccf2bdc9bec404f3c5a66a7092952be93ce7a75d478ffa603 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:42:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16452 in /w/workspace/gexfoundry_device-mqtt-go_PR-600 [Pipeline] { [Pipeline] ws 02:42:33 Running in /w/workspace/device-mqtt-go/7 [Pipeline] { [Pipeline] checkout 02:42:33 Selected Git installation does not exist. Using Default 02:42:33 The recommended git tool is: NONE 02:42:39 using credential edgex-jenkins-ssh 02:42:39 Cloning the remote Git repository 02:42:39 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:42:40 > git init /w/workspace/device-mqtt-go/7 # timeout=10 02:42:40 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:42:40 > git --version # timeout=10 02:42:40 > git --version # 'git version 2.25.1' 02:42:40 using GIT_SSH to set credentials SSH Credentials for GitHub 02:42:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:42:41 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:42:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:42:43 Merging remotes/origin/main commit a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 into PR head commit 4044fa6afcae6da78636a9bc503ed515b5b47f49 02:42:43 Merge succeeded, producing 4044fa6afcae6da78636a9bc503ed515b5b47f49 02:42:43 Checking out Revision 4044fa6afcae6da78636a9bc503ed515b5b47f49 (PR-600) 02:42:42 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:42:42 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:42:42 using GIT_SSH to set credentials SSH Credentials for GitHub 02:42:42 > 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 02:42:43 > git config core.sparsecheckout # timeout=10 02:42:43 > git checkout -f 4044fa6afcae6da78636a9bc503ed515b5b47f49 # timeout=10 02:42:43 > git remote # timeout=10 02:42:43 > git config --get remote.origin.url # timeout=10 02:42:43 using GIT_SSH to set credentials SSH Credentials for GitHub 02:42:43 > git merge a90b0bd42307e02d4b95be1bd7356c1c69efe8a2 # timeout=10 02:42:43 > git rev-parse HEAD^{commit} # timeout=10 02:42:43 > git config core.sparsecheckout # timeout=10 02:42:43 > git checkout -f 4044fa6afcae6da78636a9bc503ed515b5b47f49 # timeout=10 02:42:44 Commit message: "build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:42:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:42:45 % Total % Received % Xferd Average Speed Time Time Time Current 02:42:45 Dload Upload Total Spent Left Speed 02:42:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh 02:42:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:42:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:42:46 + sudo tee /etc/docker/daemon.new 02:42:46 { 02:42:46 "registry-mirrors": [ 02:42:46 "https://nexus3.edgexfoundry.org:10001" 02:42:46 ], 02:42:46 "bip": "10.250.0.254/24", 02:42:46 "hosts": [ 02:42:46 "tcp://0.0.0.0:5555", 02:42:46 "unix:///var/run/docker.sock" 02:42:46 ], 02:42:46 "mtu": 1458, 02:42:46 "selinux-enabled": true, 02:42:46 "seccomp-profile": "/etc/docker/seccomp.json" 02:42:46 } [Pipeline] sh 02:42:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:42:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:43:05 provisioning config files... 02:43:05 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/7@tmp/config9242149901106064422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:43:05 ---> docker-login.sh 02:43:05 nexus3.edgexfoundry.org:10001 02:43:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:06 Configure a credential helper to remove this warning. See 02:43:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:06 02:43:06 Login Succeeded 02:43:06 nexus3.edgexfoundry.org:10002 02:43:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:07 Configure a credential helper to remove this warning. See 02:43:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:07 02:43:07 Login Succeeded 02:43:07 nexus3.edgexfoundry.org:10003 02:43:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:07 Configure a credential helper to remove this warning. See 02:43:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:07 02:43:07 Login Succeeded 02:43:07 nexus3.edgexfoundry.org:10004 02:43:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:07 Configure a credential helper to remove this warning. See 02:43:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:07 02:43:07 Login Succeeded 02:43:07 docker.io 02:43:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:43:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:43:07 Configure a credential helper to remove this warning. See 02:43:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:43:07 02:43:07 Login Succeeded 02:43:07 ---> docker-login.sh ends [Pipeline] } 02:43:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:43:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:43:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:43:08 ========================================================= 02:43:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:43:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:43:08 + 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 . 02:43:08 Sending build context to Docker daemon 3.411MB 02:43:08 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:43:08 Step 2/12 : FROM ${BASE} AS builder 02:43:09 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:43:09 c41833b44d91: Pulling fs layer 02:43:09 ed15518f5707: Pulling fs layer 02:43:09 feae8fd75edb: Pulling fs layer 02:43:09 242c74f7c9fa: Pulling fs layer 02:43:09 3cdef696dda3: Pulling fs layer 02:43:09 2ced38df9373: Pulling fs layer 02:43:09 58f1dce35555: Pulling fs layer 02:43:09 3cdef696dda3: Waiting 02:43:09 2ced38df9373: Waiting 02:43:09 242c74f7c9fa: Waiting 02:43:09 58f1dce35555: Waiting 02:43:09 ed15518f5707: Download complete 02:43:09 242c74f7c9fa: Verifying Checksum 02:43:09 242c74f7c9fa: Download complete 02:43:09 3cdef696dda3: Verifying Checksum 02:43:09 3cdef696dda3: Download complete 02:43:09 c41833b44d91: Verifying Checksum 02:43:10 c41833b44d91: Pull complete 02:43:10 58f1dce35555: Verifying Checksum 02:43:10 58f1dce35555: Download complete 02:43:10 ed15518f5707: Pull complete 02:43:11 feae8fd75edb: Download complete 02:43:11 2ced38df9373: Download complete 02:43:21 feae8fd75edb: Pull complete 02:43:21 242c74f7c9fa: Pull complete 02:43:22 3cdef696dda3: Pull complete 02:43:28 2ced38df9373: Pull complete 02:43:31 58f1dce35555: Pull complete 02:43:31 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 02:43:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:43:31 ---> fadd8f120f05 02:43:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:43:33 ---> Running in c42c12348118 02:43:33 Removing intermediate container c42c12348118 02:43:33 ---> 85546baa6363 02:43:33 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:43:33 ---> Running in 68e8aca2d0ec 02:43:34 Removing intermediate container 68e8aca2d0ec 02:43:34 ---> 9f883e869d40 02:43:34 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:43:34 ---> Running in e1020a090ddb 02:43:34 Removing intermediate container e1020a090ddb 02:43:34 ---> 229d9e5f3db3 02:43:34 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:43:34 ---> Running in 2b062aa7abc2 02:43:35 Removing intermediate container 2b062aa7abc2 02:43:35 ---> 729f66f8571a 02:43:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:43:35 ---> Running in c5945e68118e 02:43:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:43:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:43:38 (1/4) Installing openssh-keygen (9.1_p1-r3) 02:43:38 (2/4) Installing libedit (20221030.3.1-r0) 02:43:38 (3/4) Installing openssh-client-common (9.1_p1-r3) 02:43:38 (4/4) Installing openssh-client-default (9.1_p1-r3) 02:43:38 Executing busybox-1.35.0-r29.trigger 02:43:38 OK: 268 MiB in 57 packages 02:43:39 Removing intermediate container c5945e68118e 02:43:39 ---> 738a7c9ba5e1 02:43:39 Step 8/12 : WORKDIR /device-mqtt-go 02:43:39 ---> Running in 5b09513dfee0 02:43:40 Removing intermediate container 5b09513dfee0 02:43:40 ---> aaf83e6503db 02:43:40 Step 9/12 : COPY go.mod vendor* ./ 02:43:40 ---> 7d93ba1688cf 02:43:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:43:40 ---> Running in 080f399eab6b 02:44:48 Removing intermediate container 080f399eab6b 02:44:48 ---> 677f899e0180 02:44:48 Step 11/12 : COPY . . 02:44:48 ---> 47648c5d0e77 02:44:48 Step 12/12 : RUN $MAKE 02:44:48 ---> Running in e281db0ccfc1 02:44:48 noop 02:44:48 Removing intermediate container e281db0ccfc1 02:44:48 ---> 6beb7b8ea249 02:44:48 Successfully built 6beb7b8ea249 02:44:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:48 + docker inspect -f . ci-base-image-arm64 02:44:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:44:49 prd-ubuntu20.04-docker-arm64-4c-16g-16452 does not seem to be running inside a container 02:44:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@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 02:44:50 $ docker top bb38efec37a6863d12ac0b753ccd4197b1c63214fd0e8064c800ac34d80f2061 -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:51 + go version 02:44:51 go version go1.20.2 linux/arm64 [Pipeline] } 02:44:51 $ docker stop --time=1 bb38efec37a6863d12ac0b753ccd4197b1c63214fd0e8064c800ac34d80f2061 02:44:53 $ docker rm -f --volumes bb38efec37a6863d12ac0b753ccd4197b1c63214fd0e8064c800ac34d80f2061 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:44:53 + docker inspect -f . ci-base-image-arm64 02:44:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:44:53 prd-ubuntu20.04-docker-arm64-4c-16g-16452 does not seem to be running inside a container 02:44:53 $ 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/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@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 02:44:55 $ docker top da46263082315b5a09bc8772aae0af6dea942250116c56f9027b29e01603d185 -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:55 + git config --global --add safe.directory /w/workspace/device-mqtt-go/7 [Pipeline] fileExists [Pipeline] sh 02:44:56 + make test 02:44:56 go test ./... -coverprofile=coverage.out ./... 02:45:35 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:48:03 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:48:03 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:48:03 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.077s coverage: 22.8% of statements 02:48:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:48:03 go vet ./... 02:48:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:48:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:48:35 ./bin/test-attribution-txt.sh [Pipeline] echo 02:48:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:48:35 $ docker stop --time=1 da46263082315b5a09bc8772aae0af6dea942250116c56f9027b29e01603d185 02:48:37 $ docker rm -f --volumes da46263082315b5a09bc8772aae0af6dea942250116c56f9027b29e01603d185 [Pipeline] // withDockerContainer [Pipeline] sh 02:48:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:48:38 Warning: overwriting stash ‘coverage-report’ 02:48:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:48:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:48:40 + ls -al . 02:48:40 total 176 02:48:40 drwxrwxr-x 9 jenkins jenkins 4096 May 23 02:44 . 02:48:40 drwxrwxr-x 4 jenkins jenkins 4096 May 23 02:42 .. 02:48:40 -rw-rw-r-- 1 jenkins jenkins 140 May 23 02:42 .dockerignore 02:48:40 drwxrwxr-x 8 jenkins jenkins 4096 May 23 02:42 .git 02:48:40 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:42 .github 02:48:40 -rw-rw-r-- 1 jenkins jenkins 329 May 23 02:42 .gitignore 02:48:40 -rw-rw-r-- 1 jenkins jenkins 41 May 23 02:42 .golangci.yml 02:48:40 -rw-rw-r-- 1 jenkins jenkins 9417 May 23 02:42 Attribution.txt 02:48:40 -rw-rw-r-- 1 jenkins jenkins 13162 May 23 02:42 CHANGELOG.md 02:48:40 -rw-rw-r-- 1 jenkins jenkins 1689 May 23 02:42 Dockerfile 02:48:40 -rw-rw-r-- 1 jenkins jenkins 677 May 23 02:42 GOVERNANCE.md 02:48:40 -rw-rw-r-- 1 jenkins jenkins 678 May 23 02:42 Jenkinsfile 02:48:40 -rw-rw-r-- 1 jenkins jenkins 11340 May 23 02:42 LICENSE 02:48:40 -rw-rw-r-- 1 jenkins jenkins 1732 May 23 02:42 Makefile 02:48:40 -rw-rw-r-- 1 jenkins jenkins 620 May 23 02:42 OWNERS.md 02:48:40 -rw-rw-r-- 1 jenkins jenkins 3165 May 23 02:42 README.md 02:48:40 -rw-rw-r-- 1 jenkins jenkins 5 May 23 02:40 VERSION 02:48:40 drwxrwxr-x 2 jenkins jenkins 4096 May 23 02:42 bin 02:48:40 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:42 cmd 02:48:40 -rw-r--r-- 1 jenkins jenkins 18506 May 23 02:47 coverage.out 02:48:40 -rw-rw-r-- 1 jenkins jenkins 3333 May 23 02:42 go.mod 02:48:40 -rw-rw-r-- 1 jenkins jenkins 31328 May 23 02:42 go.sum 02:48:40 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:42 internal 02:48:40 drwxrwxr-x 2 jenkins jenkins 4096 May 23 02:42 mock 02:48:40 drwxrwxr-x 4 jenkins jenkins 4096 May 23 02:42 snap 02:48:40 -rw-rw-r-- 1 jenkins jenkins 227 May 23 02:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:48:40 + 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=4044fa6afcae6da78636a9bc503ed515b5b47f49 --label arch=arm64 --label version=0.0.0 . 02:48:40 Sending build context to Docker daemon 3.43MB 02:48:40 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:48:40 Step 2/24 : FROM ${BASE} AS builder 02:48:40 ---> 6beb7b8ea249 02:48:40 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:48:41 ---> Running in 3648e82bd1ca 02:48:41 Removing intermediate container 3648e82bd1ca 02:48:41 ---> 2280aab1580a 02:48:41 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:48:41 ---> Running in 64b0d33e9ee8 02:48:42 Removing intermediate container 64b0d33e9ee8 02:48:42 ---> bbd227a25b8e 02:48:42 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:48:42 ---> Running in bc9428ae704e 02:48:42 Removing intermediate container bc9428ae704e 02:48:42 ---> 2ad6aef11673 02:48:42 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:48:42 ---> Running in c4d881649fd2 02:48:43 Removing intermediate container c4d881649fd2 02:48:43 ---> ccff54ff0617 02:48:43 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:48:43 ---> Running in 7e96fe1601b0 02:48:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:48:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:48:46 OK: 268 MiB in 57 packages 02:48:47 Removing intermediate container 7e96fe1601b0 02:48:47 ---> 2a3e6cf37dff 02:48:47 Step 8/24 : WORKDIR /device-mqtt-go 02:48:47 ---> Running in 692b516e6cb1 02:48:47 Removing intermediate container 692b516e6cb1 02:48:47 ---> a3a87b0f9859 02:48:47 Step 9/24 : COPY go.mod vendor* ./ 02:48:47 ---> cbaacd72d4ce 02:48:47 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:48:47 ---> Running in 79d35233db12 02:48:50 Removing intermediate container 79d35233db12 02:48:50 ---> ceb1566974a2 02:48:50 Step 11/24 : COPY . . 02:48:51 ---> e1e18484393d 02:48:51 Step 12/24 : RUN $MAKE 02:48:51 ---> Running in 855b7d562c9b 02:48:52 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 02:51:18 Removing intermediate container 855b7d562c9b 02:51:18 ---> d19d8d8630bc 02:51:18 Step 13/24 : FROM alpine:3.17 02:51:18 3.17: Pulling from library/alpine 02:51:18 c41833b44d91: Already exists 02:51:18 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:51:18 Status: Downloaded newer image for alpine:3.17 02:51:18 ---> 51e60588ff2c 02:51:18 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:51:18 ---> Running in 61b30e9b28b9 02:51:18 Removing intermediate container 61b30e9b28b9 02:51:18 ---> 9f8cbcd12a14 02:51:18 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:51:18 ---> Running in 1975f1d73931 02:51:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:51:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:51:18 (1/1) Installing dumb-init (1.2.5-r2) 02:51:18 Executing busybox-1.35.0-r29.trigger 02:51:18 OK: 8 MiB in 16 packages 02:51:19 Removing intermediate container 1975f1d73931 02:51:19 ---> df5a6a92927d 02:51:19 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:51:21 ---> 08c3770e4605 02:51:21 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:51:21 ---> 7f23de1f604b 02:51:21 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:51:22 ---> 6424a18e8632 02:51:22 Step 19/24 : EXPOSE 59982 02:51:22 ---> Running in e2fcb100d1c1 02:51:22 Removing intermediate container e2fcb100d1c1 02:51:22 ---> 946363f70f6d 02:51:22 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:51:22 ---> Running in 7dcbf33ad7f3 02:51:22 Removing intermediate container 7dcbf33ad7f3 02:51:22 ---> 3c8dadd33ca7 02:51:22 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:51:22 ---> Running in f76cf3c528be 02:51:23 Removing intermediate container f76cf3c528be 02:51:23 ---> 684f9c78cde3 02:51:23 Step 22/24 : LABEL arch=arm64 02:51:23 ---> Running in e2242439afd7 02:51:23 Removing intermediate container e2242439afd7 02:51:23 ---> c085afd993a1 02:51:23 Step 23/24 : LABEL git_sha=4044fa6afcae6da78636a9bc503ed515b5b47f49 02:51:23 ---> Running in 0a0d20f5b95b 02:51:24 Removing intermediate container 0a0d20f5b95b 02:51:24 ---> c7d153192a79 02:51:24 Step 24/24 : LABEL version=0.0.0 02:51:24 ---> Running in 8cc7ab79d130 02:51:24 Removing intermediate container 8cc7ab79d130 02:51:24 ---> 3ced630094cc 02:51:24 [Warning] One or more build-args [ARCH] were not consumed 02:51:24 Successfully built 3ced630094cc 02:51:24 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 02:51:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:51:24 02:51:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:51:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:51:25 arm64: Pulling from edgex-lftools-log-publisher 02:51:25 8998bd30e6a1: Pulling fs layer 02:51:25 04944245beec: Pulling fs layer 02:51:25 699f458cf7ca: Pulling fs layer 02:51:25 765212b225bb: Pulling fs layer 02:51:25 f23df028b6ca: Pulling fs layer 02:51:25 d65c8cfc05b1: Pulling fs layer 02:51:25 2437ff75d9bd: Pulling fs layer 02:51:25 f23df028b6ca: Waiting 02:51:25 d65c8cfc05b1: Waiting 02:51:25 765212b225bb: Waiting 02:51:25 2437ff75d9bd: Waiting 02:51:25 04944245beec: Verifying Checksum 02:51:25 04944245beec: Download complete 02:51:25 765212b225bb: Verifying Checksum 02:51:25 765212b225bb: Download complete 02:51:25 f23df028b6ca: Download complete 02:51:25 d65c8cfc05b1: Verifying Checksum 02:51:25 d65c8cfc05b1: Download complete 02:51:25 699f458cf7ca: Verifying Checksum 02:51:25 699f458cf7ca: Download complete 02:51:25 8998bd30e6a1: Verifying Checksum 02:51:25 8998bd30e6a1: Download complete 02:51:28 2437ff75d9bd: Verifying Checksum 02:51:28 2437ff75d9bd: Download complete 02:51:29 8998bd30e6a1: Pull complete 02:51:30 04944245beec: Pull complete 02:51:31 699f458cf7ca: Pull complete 02:51:31 765212b225bb: Pull complete 02:51:32 f23df028b6ca: Pull complete 02:51:32 d65c8cfc05b1: Pull complete 02:51:47 2437ff75d9bd: Pull complete 02:51:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:51:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:51:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:51:48 prd-ubuntu20.04-docker-arm64-4c-16g-16452 does not seem to be running inside a container 02:51:48 $ 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/7 -v /w/workspace/device-mqtt-go/7:/w/workspace/device-mqtt-go/7:rw,z -v /w/workspace/device-mqtt-go/7@tmp:/w/workspace/device-mqtt-go/7@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 02:51:50 $ docker top 129b0e238f2c42e35f2b4d9529e599f3b6e8fdeb9a724c788e319b2f77874a64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:51:51 ---> job-cost.sh 02:51:51 lf-activate-venv: SKIPPING 02:51:51 INFO: No Stack... 02:51:52 INFO: Retrieving Pricing Info for: v3-standard-4 02:51:52 INFO: Archiving Costs [Pipeline] sh 02:51:53 + cut -d, -f6 02:51:53 + cat /w/workspace/device-mqtt-go/7/archives/cost.csv [Pipeline] lock 02:51:53 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-600-7-stack-cost] 02:51:53 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-7-stack-cost] did not exist. Created. 02:51:53 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-600-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:51:54 /w/workspace/device-mqtt-go/7@tmp/durable-6e9d5f12/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:51:54 + echo total: 0.10999999940395355 [Pipeline] stash 02:51:54 Warning: overwriting stash ‘stack-cost’ 02:51:55 Stashed 1 file(s) [Pipeline] } 02:51:55 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-7-stack-cost] [Pipeline] // lock [Pipeline] } 02:51:55 $ docker stop --time=1 129b0e238f2c42e35f2b4d9529e599f3b6e8fdeb9a724c788e319b2f77874a64 02:51:56 $ docker rm -f --volumes 129b0e238f2c42e35f2b4d9529e599f3b6e8fdeb9a724c788e319b2f77874a64 [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 02:51:57 provisioning config files... 02:51:57 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config15734246354047745129tmp [Pipeline] { [Pipeline] sh 02:51:57 + set +x 02:51:57 + + bash -scurl -- -s 02:51:57 https://codecov.io/bash 02:51:57 02:51:57 _____ _ 02:51:57 / ____| | | 02:51:57 | | ___ __| | ___ ___ _____ __ 02:51:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:51:57 | |___| (_) | (_| | __/ (_| (_) \ V / 02:51:57 \_____\___/ \__,_|\___|\___\___/ \_/ 02:51:57 Bash-1.0.6 02:51:57 02:51:57 02:51:57 ==> git version 2.25.1 found 02:51:57 ==> 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 02:51:57 Release-Date: 2020-01-08 02:51:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:51:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:51:57 ==> Jenkins CI detected. 02:51:57 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-600 02:51:57 project root: . 02:51:57 --> token set from env 02:51:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:51:57 ==> Running gcov in . (disable via -X gcov) 02:51:57 ==> Python coveragepy not found 02:51:57 ==> Searching for coverage reports in: 02:51:57 + . 02:51:57 -> Found 1 reports 02:51:57 ==> Detecting git/mercurial file structure 02:51:57 ==> Reading reports 02:51:57 + ./coverage.out bytes=18506 02:51:57 ==> Appending adjustments 02:51:57 https://docs.codecov.io/docs/fixing-reports 02:51:57 + Found adjustments 02:51:57 ==> Gzipping contents 02:51:57 4.0K /tmp/codecov.upi8WZ.gz 02:51:57 ==> Uploading reports 02:51:57 url: https://codecov.io 02:51:57 query: branch=PR-600&commit=4044fa6afcae6da78636a9bc503ed515b5b47f49&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-600%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=600&job=&cmd_args= 02:51:57 -> Pinging Codecov 02:51:57 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=4044fa6afcae6da78636a9bc503ed515b5b47f49&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-600%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=600&job=&cmd_args= 02:51:57 -> Uploading to 02:51:57 https://storage.googleapis.com/codecov/v4/raw/2023-05-23/7D719EC7BBE17E464838252E33014C33/4044fa6afcae6da78636a9bc503ed515b5b47f49/cbd397ee-c9ea-444e-a172-5748cc0bd66d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230523%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230523T025157Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fbca6d50e1f60a67c3b31e9328aebe51862cace485b07c392ff95a7cc16f128c 02:51:57 % Total % Received % Xferd Average Speed Time Time Time Current 02:51:57 Dload Upload Total Spent Left Speed 02:51:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 14306 --:--:-- --:--:-- --:--:-- 14306 02:51:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/4044fa6afcae6da78636a9bc503ed515b5b47f49 [Pipeline] } 02:51:57 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 02:51:58 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives ] 02:51:58 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives 02:51:58 total 16 02:51:58 drwxr-xr-x 3 root root 4096 May 23 02:42 . 02:51:58 drwxrwxr-x 11 jenkins jenkins 4096 May 23 02:42 .. 02:51:58 drwxr-xr-x 2 root root 4096 May 23 02:42 cost 02:51:58 -rw-r--r-- 1 root root 86 May 23 02:42 cost.csv 02:51:58 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives 02:51:58 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives 02:51:58 total 16 02:51:58 drwxr-xr-x 3 jenkins jenkins 4096 May 23 02:42 . 02:51:58 drwxrwxr-x 11 jenkins jenkins 4096 May 23 02:42 .. 02:51:58 drwxr-xr-x 2 jenkins jenkins 4096 May 23 02:42 cost 02:51:58 -rw-r--r-- 1 jenkins jenkins 86 May 23 02:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:51:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:51:59 ---> package-listing.sh 02:51:59 ++ facter osfamily 02:51:59 ++ tr '[:upper:]' '[:lower:]' 02:52:00 + OS_FAMILY=debian 02:52:00 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-600 02:52:00 + START_PACKAGES=/tmp/packages_start.txt 02:52:00 + END_PACKAGES=/tmp/packages_end.txt 02:52:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:52:00 + PACKAGES=/tmp/packages_start.txt 02:52:00 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-600 ']' 02:52:00 + PACKAGES=/tmp/packages_end.txt 02:52:00 + case "${OS_FAMILY}" in 02:52:00 + dpkg -l 02:52:00 + grep '^ii' 02:52:00 + '[' -f /tmp/packages_start.txt ']' 02:52:00 + '[' -f /tmp/packages_end.txt ']' 02:52:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:52:00 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-600 ']' 02:52:00 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives/ 02:52:00 + 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 02:52:00 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 02:52:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:52:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:52:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:52:00 prd-ubuntu20.04-docker-8c-8g-16450 does not seem to be running inside a container 02:52:00 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:52:01 $ docker top 41f0bd547499502f4788145b3ff276e23148a2f5543523f2268cf373ab78e9ab -eo pid,comm [Pipeline] { [Pipeline] sh 02:52:01 + touch /tmp/pre-build-complete [Pipeline] sh 02:52:01 + mkdir -p /var/log/sysstat [Pipeline] sh 02:52:02 + ls /var/log/sa-host 02:52:02 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:52:02 provisioning config files... 02:52:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config15506296368413544355tmp [Pipeline] { [Pipeline] echo 02:52:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:52:02 ---> create-netrc.sh [Pipeline] } 02:52:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:52:02 ---> python-tools-install.sh [Pipeline] echo 02:52:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:52:03 ---> sudo-logs.sh 02:52:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:52:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:52:03 ---> job-cost.sh 02:52:03 lf-activate-venv: SKIPPING 02:52:03 DEBUG: total: 0.2199999988079071 02:52:03 INFO: Retrieving Stack Cost... 02:52:03 INFO: Retrieving Pricing Info for: v3-standard-8 02:52:04 INFO: Archiving Costs [Pipeline] echo 02:52:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:52:04 ---> logs-deploy.sh 02:52:04 lf-activate-venv: SKIPPING 02:52:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-600/7 02:52:04 INFO: archiving workspace using pattern(s): 02:52:05 Archives upload complete. 02:52:05 INFO: archiving logs to Nexus