Pull request #600 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3cacedf1681f77950d561024d7ead166cd6b51a4+5181a79f2e8ff3649cabd86ba481ab4c2b5b9ac4 (e001f88ec7c3d08867f295e39c97f51f16e50431) 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-ssh7450884884253031659.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-ssh1007592562540926226.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-ssh14737928425350223212.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-ssh16616168460398919325.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-ssh7859847309768257868.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-16011 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 5181a79f2e8ff3649cabd86ba481ab4c2b5b9ac4 into PR head commit 3cacedf1681f77950d561024d7ead166cd6b51a4 Merge succeeded, producing 3cacedf1681f77950d561024d7ead166cd6b51a4 Checking out Revision 3cacedf1681f77950d561024d7ead166cd6b51a4 (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 09:32:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:32:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:32:31 ========================================================= 09:32:31 EdgeX Global Pipelines Version Info 09:32:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 3cacedf1681f77950d561024d7ead166cd6b51a4 # 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 5181a79f2e8ff3649cabd86ba481ab4c2b5b9ac4 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3cacedf1681f77950d561024d7ead166cd6b51a4 # timeout=10 > git rev-list --no-walk 85f63c053e6bb81042298f89b06a21ea03e3496c # timeout=10 09:32:32 ------------------- 09:32:32 stable info: 09:32:32 ------------------- 09:32:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:32:32 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 09:32:32 Message: update stable to v1.0.249 09:32:32 ------------------- 09:32:32 experimental info: 09:32:32 ------------------- 09:32:32 Commited By: **** collab-it+edgex@linuxfoundation.org 09:32:32 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 09:32:32 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:32:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 09:32:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-600 [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-600 [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-600 [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 3cacedf1681f77950d561024d7ead166cd6b51a4 [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 3cacedf [Pipeline] echo 09:32:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:32:33 provisioning config files... 09:32:33 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config9555076251957900846tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:32:33 ---> docker-login.sh 09:32:33 nexus3.edgexfoundry.org:10001 09:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:32:34 Configure a credential helper to remove this warning. See 09:32:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:32:34 09:32:34 Login Succeeded 09:32:34 nexus3.edgexfoundry.org:10002 09:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:32:34 Configure a credential helper to remove this warning. See 09:32:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:32:34 09:32:34 Login Succeeded 09:32:34 nexus3.edgexfoundry.org:10003 09:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:32:34 Configure a credential helper to remove this warning. See 09:32:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:32:34 09:32:34 Login Succeeded 09:32:34 nexus3.edgexfoundry.org:10004 09:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:32:34 Configure a credential helper to remove this warning. See 09:32:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:32:34 09:32:34 Login Succeeded 09:32:34 docker.io 09:32:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:32:34 Configure a credential helper to remove this warning. See 09:32:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:32:34 09:32:34 Login Succeeded 09:32:34 ---> docker-login.sh ends [Pipeline] } 09:32:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:32:34 + git rev-list -1 --merges 3cacedf1681f77950d561024d7ead166cd6b51a4~1..3cacedf1681f77950d561024d7ead166cd6b51a4 [Pipeline] echo 09:32:35 -----------> git rev-list -1 --merges 3cacedf1681f77950d561024d7ead166cd6b51a4~1..3cacedf1681f77950d561024d7ead166cd6b51a4 3cacedf1681f77950d561024d7ead166cd6b51a4 [false] [Pipeline] sh 09:32:35 + git log --format=format:%s -1 3cacedf1681f77950d561024d7ead166cd6b51a4 [Pipeline] echo 09:32:35 ========================================================= 09:32:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:32:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:32:35 + git log --format=format:%s -1 3cacedf1681f77950d561024d7ead166cd6b51a4 [Pipeline] echo 09:32:35 [semverPrep] GIT_COMMIT: 3cacedf1681f77950d561024d7ead166cd6b51a4, Commit Message: build(deps): bump github.com/spf13/cast from 1.5.0 to 1.5.1 [Pipeline] echo 09:32:35 [semverPrep] This is not a build commit. [Pipeline] sh 09:32:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:32:36 + grep -v github /etc/ssh/ssh_known_hosts 09:32:36 + [ -e /tmp/ssh_known_hosts ] 09:32:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:32:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:32:36 + sudo tee -a /etc/ssh/ssh_known_hosts 09:32:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:32:36 09:32:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:32:36 0.1.4: Pulling from edgex-devops/py-git-semver 09:32:36 b85a868b505f: Pulling fs layer 09:32:36 e2be974225ed: Pulling fs layer 09:32:36 339a4e72a1f5: Pulling fs layer 09:32:36 988bab9f4d93: Pulling fs layer 09:32:36 1469e6f7b9e6: Pulling fs layer 09:32:36 eaf3925da568: Pulling fs layer 09:32:36 bab4dde63d76: Pulling fs layer 09:32:36 bde34c3a00c8: Pulling fs layer 09:32:36 b352a97aabf1: Pulling fs layer 09:32:36 4872d77fe225: Pulling fs layer 09:32:36 5851b861e8e6: Pulling fs layer 09:32:36 988bab9f4d93: Waiting 09:32:36 1469e6f7b9e6: Waiting 09:32:36 eaf3925da568: Waiting 09:32:36 bab4dde63d76: Waiting 09:32:36 b352a97aabf1: Waiting 09:32:36 bde34c3a00c8: Waiting 09:32:36 4872d77fe225: Waiting 09:32:36 5851b861e8e6: Waiting 09:32:36 e2be974225ed: Download complete 09:32:36 988bab9f4d93: Verifying Checksum 09:32:36 988bab9f4d93: Download complete 09:32:36 339a4e72a1f5: Verifying Checksum 09:32:36 339a4e72a1f5: Download complete 09:32:37 eaf3925da568: Download complete 09:32:37 1469e6f7b9e6: Verifying Checksum 09:32:37 1469e6f7b9e6: Download complete 09:32:37 bde34c3a00c8: Verifying Checksum 09:32:37 bde34c3a00c8: Download complete 09:32:37 b352a97aabf1: Verifying Checksum 09:32:37 b352a97aabf1: Download complete 09:32:37 4872d77fe225: Download complete 09:32:37 5851b861e8e6: Download complete 09:32:37 b85a868b505f: Download complete 09:32:37 bab4dde63d76: Verifying Checksum 09:32:37 bab4dde63d76: Download complete 09:32:38 b85a868b505f: Pull complete 09:32:38 e2be974225ed: Pull complete 09:32:38 339a4e72a1f5: Pull complete 09:32:38 988bab9f4d93: Pull complete 09:32:39 1469e6f7b9e6: Pull complete 09:32:39 eaf3925da568: Pull complete 09:32:41 bab4dde63d76: Pull complete 09:32:41 bde34c3a00c8: Pull complete 09:32:41 b352a97aabf1: Pull complete 09:32:41 4872d77fe225: Pull complete 09:32:41 5851b861e8e6: Pull complete 09:32:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:32:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:32:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:32:41 prd-ubuntu20.04-docker-8c-8g-16011 does not seem to be running inside a container 09:32:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:32:43 $ docker top af9e3a368fb9664f7e0a27cec0d0c62fd60f7305b890ac9d91c14dd74534cc5f -eo pid,comm 09:32:43 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). 09:32:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:32:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:32:43 [ssh-agent] Looking for ssh-agent implementation... 09:32:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:32:43 $ docker exec af9e3a368fb9664f7e0a27cec0d0c62fd60f7305b890ac9d91c14dd74534cc5f ssh-agent 09:32:44 SSH_AUTH_SOCK=/tmp/ssh-YeKcoPKnxq48/agent.31 09:32:44 SSH_AGENT_PID=37 09:32:44 Running ssh-add (command line suppressed) 09:32:44 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_3395355897528131066.key (/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_3395355897528131066.key) 09:32:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:32:44 + git tag --points-at HEAD [Pipeline] } 09:32:44 $ docker exec --env ******** --env ******** af9e3a368fb9664f7e0a27cec0d0c62fd60f7305b890ac9d91c14dd74534cc5f ssh-agent -k 09:32:44 unset SSH_AUTH_SOCK; 09:32:44 unset SSH_AGENT_PID; 09:32:44 echo Agent pid 37 killed; 09:32:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:32:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:32:44 [ssh-agent] Looking for ssh-agent implementation... 09:32:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:32:44 $ docker exec af9e3a368fb9664f7e0a27cec0d0c62fd60f7305b890ac9d91c14dd74534cc5f ssh-agent 09:32:44 SSH_AUTH_SOCK=/tmp/ssh-JCI7CcrRqVnD/agent.69 09:32:44 SSH_AGENT_PID=75 09:32:44 Running ssh-add (command line suppressed) 09:32:44 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_10919744552657768928.key (/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/private_key_10919744552657768928.key) 09:32:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:32:45 + git semver init 09:32:45 2023-05-18 09:32:45,437 [run_init] DEBUG init version:0.0.0 force:False 09:32:45 2023-05-18 09:32:45,438 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver 09:32:45 2023-05-18 09:32:45,439 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver 09:32:45 2023-05-18 09:32:45,439 [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) 09:32:46 2023-05-18 09:32:46,237 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.git/info/exclude 09:32:46 2023-05-18 09:32:46,238 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver/PR-600 with force:False 09:32:46 2023-05-18 09:32:46,238 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver/PR-600 09:32:46 2023-05-18 09:32:46,242 [execute] INFO git cat-file --batch-check 09:32:46 2023-05-18 09:32:46,243 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver, universal_newlines=False, shell=None, istream=) 09:32:46 2023-05-18 09:32:46,249 [execute] INFO git cat-file --batch 09:32:46 2023-05-18 09:32:46,249 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver, universal_newlines=False, shell=None, istream=) 09:32:46 2023-05-18 09:32:46,255 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-600/.semver/PR-600 09:32:46 0.0.0 [Pipeline] } 09:32:46 $ docker exec --env ******** --env ******** af9e3a368fb9664f7e0a27cec0d0c62fd60f7305b890ac9d91c14dd74534cc5f ssh-agent -k 09:32:46 unset SSH_AUTH_SOCK; 09:32:46 unset SSH_AGENT_PID; 09:32:46 echo Agent pid 75 killed; 09:32:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:32:46 + git semver [Pipeline] } 09:32:47 $ docker stop --time=1 af9e3a368fb9664f7e0a27cec0d0c62fd60f7305b890ac9d91c14dd74534cc5f 09:32:48 $ docker rm -f --volumes af9e3a368fb9664f7e0a27cec0d0c62fd60f7305b890ac9d91c14dd74534cc5f [Pipeline] // withDockerContainer [Pipeline] sh 09:32:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:32:49 Stashed 1 file(s) [Pipeline] echo 09:32:49 [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 09:32:49 provisioning config files... 09:32:49 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config272751567266977489tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:32:49 ---> docker-login.sh 09:32:49 nexus3.edgexfoundry.org:10001 09:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:32:49 Configure a credential helper to remove this warning. See 09:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:32:49 09:32:49 Login Succeeded 09:32:49 nexus3.edgexfoundry.org:10002 09:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:32:49 Configure a credential helper to remove this warning. See 09:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:32:49 09:32:49 Login Succeeded 09:32:49 nexus3.edgexfoundry.org:10003 09:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:32:49 Configure a credential helper to remove this warning. See 09:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:32:49 09:32:49 Login Succeeded 09:32:49 nexus3.edgexfoundry.org:10004 09:32:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:32:49 Configure a credential helper to remove this warning. See 09:32:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:32:49 09:32:49 Login Succeeded 09:32:49 docker.io 09:32:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:32:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:32:50 Configure a credential helper to remove this warning. See 09:32:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:32:50 09:32:50 Login Succeeded 09:32:50 ---> docker-login.sh ends [Pipeline] } 09:32:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:32:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:32:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:32:50 ========================================================= 09:32:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 09:32:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:50 + 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 . 09:32:50 Sending build context to Docker daemon 6.546MB 09:32:50 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:32:50 Step 2/12 : FROM ${BASE} AS builder 09:32:50 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 09:32:50 f56be85fc22e: Pulling fs layer 09:32:50 85791d961cd3: Pulling fs layer 09:32:50 d694b5ae8c79: Pulling fs layer 09:32:50 9f32a84ed3da: Pulling fs layer 09:32:50 4d19c01a9841: Pulling fs layer 09:32:50 9325e15d5711: Pulling fs layer 09:32:50 556b6ee489ea: Pulling fs layer 09:32:50 c5a4b2cf53e6: Pulling fs layer 09:32:50 9f32a84ed3da: Waiting 09:32:50 4d19c01a9841: Waiting 09:32:50 9325e15d5711: Waiting 09:32:50 556b6ee489ea: Waiting 09:32:50 c5a4b2cf53e6: Waiting 09:32:50 85791d961cd3: Verifying Checksum 09:32:50 85791d961cd3: Download complete 09:32:50 9f32a84ed3da: Verifying Checksum 09:32:50 9f32a84ed3da: Download complete 09:32:50 4d19c01a9841: Verifying Checksum 09:32:50 4d19c01a9841: Download complete 09:32:50 f56be85fc22e: Download complete 09:32:50 9325e15d5711: Verifying Checksum 09:32:50 9325e15d5711: Download complete 09:32:50 f56be85fc22e: Pull complete 09:32:50 85791d961cd3: Pull complete 09:32:51 d694b5ae8c79: Download complete 09:32:51 c5a4b2cf53e6: Verifying Checksum 09:32:51 c5a4b2cf53e6: Download complete 09:32:51 556b6ee489ea: Verifying Checksum 09:32:51 556b6ee489ea: Download complete 09:32:54 d694b5ae8c79: Pull complete 09:32:55 9f32a84ed3da: Pull complete 09:32:55 4d19c01a9841: Pull complete 09:32:55 9325e15d5711: Pull complete 09:32:57 556b6ee489ea: Pull complete 09:32:58 c5a4b2cf53e6: Pull complete 09:32:58 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 09:32:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 09:32:58 ---> c4be618373d6 09:32:58 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:33:02 ---> Running in 87db64c4fef7 09:33:02 Removing intermediate container 87db64c4fef7 09:33:02 ---> 7ca5fd5be4b0 09:33:02 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:33:02 ---> Running in 2ad65defc547 09:33:02 Removing intermediate container 2ad65defc547 09:33:02 ---> 548deeb90d85 09:33:02 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:33:02 ---> Running in 44750f5f20d7 09:33:02 Removing intermediate container 44750f5f20d7 09:33:02 ---> 381751ea8618 09:33:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:33:02 ---> Running in eac4cbdd867e 09:33:02 Removing intermediate container eac4cbdd867e 09:33:02 ---> 6a1043b6b6bb 09:33:02 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:33:02 ---> Running in f455063cdb02 09:33:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:33:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:33:03 (1/4) Installing openssh-keygen (9.1_p1-r3) 09:33:03 (2/4) Installing libedit (20221030.3.1-r0) 09:33:03 (3/4) Installing openssh-client-common (9.1_p1-r3) 09:33:03 (4/4) Installing openssh-client-default (9.1_p1-r3) 09:33:03 Executing busybox-1.35.0-r29.trigger 09:33:03 OK: 269 MiB in 57 packages 09:33:04 Removing intermediate container f455063cdb02 09:33:04 ---> 788b8f8b3997 09:33:04 Step 8/12 : WORKDIR /device-mqtt-go 09:33:04 ---> Running in e0d071740279 09:33:04 Removing intermediate container e0d071740279 09:33:04 ---> eec0e72ef77d 09:33:04 Step 9/12 : COPY go.mod vendor* ./ 09:33:04 ---> 37cd3d734ca8 09:33:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:33:04 ---> Running in 93315c6a58eb 09:33:04 Still waiting to schedule task 09:33:04 ‘prd-ubuntu20.04-docker-8c-8g-16010’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 09:33:04 ‘prd-ubuntu20.04-docker-arm64-4c-16g-16012’ is offline 09:33:30 Removing intermediate container 93315c6a58eb 09:33:30 ---> e71b8c592181 09:33:30 Step 11/12 : COPY . . 09:33:30 ---> e27b2025d2a7 09:33:30 Step 12/12 : RUN $MAKE 09:33:30 ---> Running in 384c4b3de3b0 09:33:30 noop 09:33:30 Removing intermediate container 384c4b3de3b0 09:33:30 ---> f551c439a808 09:33:30 Successfully built f551c439a808 09:33:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:30 + docker inspect -f . ci-base-image-x86_64 09:33:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:33:31 prd-ubuntu20.04-docker-8c-8g-16011 does not seem to be running inside a container 09:33:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:33:31 $ docker top a2fd3fa9feb45aae877f9af2c08cdee03ab0e175068e92df7c3d9b04ec5b5b16 -eo pid,comm [Pipeline] { [Pipeline] sh 09:33:31 + go version 09:33:31 go version go1.20.2 linux/amd64 [Pipeline] } 09:33:31 $ docker stop --time=1 a2fd3fa9feb45aae877f9af2c08cdee03ab0e175068e92df7c3d9b04ec5b5b16 09:33:33 $ docker rm -f --volumes a2fd3fa9feb45aae877f9af2c08cdee03ab0e175068e92df7c3d9b04ec5b5b16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:33:33 + docker inspect -f . ci-base-image-x86_64 09:33:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:33:33 prd-ubuntu20.04-docker-8c-8g-16011 does not seem to be running inside a container 09:33:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:33:33 $ docker top 60f3c314f51fceed73ea43ec29b58627dee5bfc94fec996d92bf0d69bfc8d183 -eo pid,comm [Pipeline] { [Pipeline] sh 09:33:34 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-600 [Pipeline] fileExists [Pipeline] sh 09:33:34 + make test 09:33:34 go test ./... -coverprofile=coverage.out ./... 09:33:39 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:33:49 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:33:50 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:33:50 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.021s coverage: 23.1% of statements 09:33:58 go vet ./... 09:34:02 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:34:02 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:34:02 ./bin/test-attribution-txt.sh [Pipeline] echo 09:34:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:34:02 $ docker stop --time=1 60f3c314f51fceed73ea43ec29b58627dee5bfc94fec996d92bf0d69bfc8d183 09:34:05 $ docker rm -f --volumes 60f3c314f51fceed73ea43ec29b58627dee5bfc94fec996d92bf0d69bfc8d183 [Pipeline] // withDockerContainer [Pipeline] sh 09:34:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:34:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:34:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:34:06 + ls -al . 09:34:06 total 180 09:34:06 drwxrwxr-x 10 jenkins jenkins 4096 May 18 09:33 . 09:34:06 drwxrwxr-x 4 jenkins jenkins 4096 May 18 09:32 .. 09:34:06 -rw-rw-r-- 1 jenkins jenkins 140 May 18 09:32 .dockerignore 09:34:06 drwxrwxr-x 8 jenkins jenkins 4096 May 18 09:32 .git 09:34:06 drwxrwxr-x 3 jenkins jenkins 4096 May 18 09:32 .github 09:34:06 -rw-rw-r-- 1 jenkins jenkins 329 May 18 09:32 .gitignore 09:34:06 -rw-rw-r-- 1 jenkins jenkins 41 May 18 09:32 .golangci.yml 09:34:06 drwxr-xr-x 3 jenkins jenkins 4096 May 18 09:32 .semver 09:34:06 -rw-rw-r-- 1 jenkins jenkins 9417 May 18 09:32 Attribution.txt 09:34:06 -rw-rw-r-- 1 jenkins jenkins 13162 May 18 09:32 CHANGELOG.md 09:34:06 -rw-rw-r-- 1 jenkins jenkins 1689 May 18 09:32 Dockerfile 09:34:06 -rw-rw-r-- 1 jenkins jenkins 677 May 18 09:32 GOVERNANCE.md 09:34:06 -rw-rw-r-- 1 jenkins jenkins 678 May 18 09:32 Jenkinsfile 09:34:06 -rw-rw-r-- 1 jenkins jenkins 11340 May 18 09:32 LICENSE 09:34:06 -rw-rw-r-- 1 jenkins jenkins 1732 May 18 09:32 Makefile 09:34:06 -rw-rw-r-- 1 jenkins jenkins 620 May 18 09:32 OWNERS.md 09:34:06 -rw-rw-r-- 1 jenkins jenkins 3165 May 18 09:32 README.md 09:34:06 -rw-rw-r-- 1 jenkins jenkins 5 May 18 09:32 VERSION 09:34:06 drwxrwxr-x 2 jenkins jenkins 4096 May 18 09:32 bin 09:34:06 drwxrwxr-x 3 jenkins jenkins 4096 May 18 09:32 cmd 09:34:06 -rw-r--r-- 1 jenkins jenkins 18144 May 18 09:33 coverage.out 09:34:06 -rw-rw-r-- 1 jenkins jenkins 3333 May 18 09:32 go.mod 09:34:06 -rw-rw-r-- 1 jenkins jenkins 31328 May 18 09:32 go.sum 09:34:06 drwxrwxr-x 3 jenkins jenkins 4096 May 18 09:32 internal 09:34:06 drwxrwxr-x 2 jenkins jenkins 4096 May 18 09:32 mock 09:34:06 drwxrwxr-x 4 jenkins jenkins 4096 May 18 09:32 snap 09:34:06 -rw-rw-r-- 1 jenkins jenkins 227 May 18 09:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:06 + 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=3cacedf1681f77950d561024d7ead166cd6b51a4 --label arch=amd64 --label version=0.0.0 . 09:34:06 Sending build context to Docker daemon 6.565MB 09:34:06 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 09:34:06 Step 2/24 : FROM ${BASE} AS builder 09:34:06 ---> f551c439a808 09:34:06 Step 3/24 : ARG ADD_BUILD_TAGS="" 09:34:06 ---> Running in 5d978883728f 09:34:06 Removing intermediate container 5d978883728f 09:34:06 ---> fca314a42881 09:34:06 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:34:06 ---> Running in b52576d5cd46 09:34:06 Removing intermediate container b52576d5cd46 09:34:06 ---> 6e7674a8a086 09:34:06 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:34:06 ---> Running in 5c289ed97030 09:34:06 Removing intermediate container 5c289ed97030 09:34:06 ---> 87d3470c08ed 09:34:06 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 09:34:06 ---> Running in 813d35caa0c4 09:34:07 Removing intermediate container 813d35caa0c4 09:34:07 ---> ed65862df69f 09:34:07 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:34:07 ---> Running in 94c2a53a85f3 09:34:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:34:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:34:07 OK: 269 MiB in 57 packages 09:34:07 Removing intermediate container 94c2a53a85f3 09:34:07 ---> 7530fc591668 09:34:07 Step 8/24 : WORKDIR /device-mqtt-go 09:34:07 ---> Running in c54880745022 09:34:07 Removing intermediate container c54880745022 09:34:07 ---> 4f99aa9271a3 09:34:07 Step 9/24 : COPY go.mod vendor* ./ 09:34:08 ---> 6109eb50ed71 09:34:08 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:34:08 ---> Running in bcae418783ba 09:34:08 Removing intermediate container bcae418783ba 09:34:08 ---> 8c7b7ae42ef8 09:34:08 Step 11/24 : COPY . . 09:34:09 ---> 5d766731c02f 09:34:09 Step 12/24 : RUN $MAKE 09:34:09 ---> Running in 45900a693ff7 09:34:09 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 09:34:32 Removing intermediate container 45900a693ff7 09:34:32 ---> aadda69ee311 09:34:32 Step 13/24 : FROM alpine:3.17 09:34:32 3.17: Pulling from library/alpine 09:34:32 f56be85fc22e: Already exists 09:34:32 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 09:34:32 Status: Downloaded newer image for alpine:3.17 09:34:32 ---> 9ed4aefc74f6 09:34:32 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 09:34:32 ---> Running in bedee0e133a5 09:34:32 Removing intermediate container bedee0e133a5 09:34:32 ---> 861b44d4f598 09:34:32 Step 15/24 : RUN apk add --update --no-cache dumb-init 09:34:32 ---> Running in 0665ed108ada 09:34:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 09:34:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 09:34:32 (1/1) Installing dumb-init (1.2.5-r2) 09:34:32 Executing busybox-1.35.0-r29.trigger 09:34:32 OK: 7 MiB in 16 packages 09:34:32 Removing intermediate container 0665ed108ada 09:34:32 ---> 1d87d0295a26 09:34:32 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 09:34:32 ---> 612192865a61 09:34:32 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 09:34:32 ---> 3e0576d63603 09:34:32 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 09:34:32 ---> c879668bef22 09:34:32 Step 19/24 : EXPOSE 59982 09:34:32 ---> Running in 8a61083f81eb 09:34:32 Removing intermediate container 8a61083f81eb 09:34:32 ---> 245145311e93 09:34:32 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 09:34:32 ---> Running in 844d7c6d3ca2 09:34:32 Removing intermediate container 844d7c6d3ca2 09:34:32 ---> 3c8bf39a2e1e 09:34:32 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 09:34:32 ---> Running in 60397824909a 09:34:32 Removing intermediate container 60397824909a 09:34:32 ---> 1a83f84e0a60 09:34:32 Step 22/24 : LABEL arch=amd64 09:34:32 ---> Running in b384cfb36fb1 09:34:32 Removing intermediate container b384cfb36fb1 09:34:32 ---> 393a042c97c3 09:34:32 Step 23/24 : LABEL git_sha=3cacedf1681f77950d561024d7ead166cd6b51a4 09:34:32 ---> Running in f3b990235c84 09:34:32 Removing intermediate container f3b990235c84 09:34:32 ---> 7b8284c17345 09:34:32 Step 24/24 : LABEL version=0.0.0 09:34:32 ---> Running in 84aa9a635cd5 09:34:32 Removing intermediate container 84aa9a635cd5 09:34:32 ---> 065d6f84a71f 09:34:32 [Warning] One or more build-args [ARCH] were not consumed 09:34:32 Successfully built 065d6f84a71f 09:34:32 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 09:34:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:34:32 09:34:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:34:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:34:32 latest: Pulling from edgex-lftools-log-publisher 09:34:32 5eb5b503b376: Pulling fs layer 09:34:32 5c69ac0246d0: Pulling fs layer 09:34:32 ec43610c2a17: Pulling fs layer 09:34:32 3a2ae6a8a46f: Pulling fs layer 09:34:32 33b1e0a273af: Pulling fs layer 09:34:32 5d3b04190fa2: Pulling fs layer 09:34:32 2f39f015ded8: Pulling fs layer 09:34:32 33b1e0a273af: Waiting 09:34:32 5d3b04190fa2: Waiting 09:34:32 2f39f015ded8: Waiting 09:34:32 3a2ae6a8a46f: Waiting 09:34:32 5c69ac0246d0: Verifying Checksum 09:34:32 5c69ac0246d0: Download complete 09:34:32 3a2ae6a8a46f: Download complete 09:34:32 33b1e0a273af: Verifying Checksum 09:34:32 33b1e0a273af: Download complete 09:34:32 ec43610c2a17: Verifying Checksum 09:34:32 ec43610c2a17: Download complete 09:34:32 5d3b04190fa2: Verifying Checksum 09:34:32 5d3b04190fa2: Download complete 09:34:33 5eb5b503b376: Verifying Checksum 09:34:33 5eb5b503b376: Download complete 09:34:33 2f39f015ded8: Verifying Checksum 09:34:33 2f39f015ded8: Download complete 09:34:34 5eb5b503b376: Pull complete 09:34:34 5c69ac0246d0: Pull complete 09:34:35 ec43610c2a17: Pull complete 09:34:35 3a2ae6a8a46f: Pull complete 09:34:35 33b1e0a273af: Pull complete 09:34:35 5d3b04190fa2: Pull complete 09:34:40 2f39f015ded8: Pull complete 09:34:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:34:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:34:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:34:40 prd-ubuntu20.04-docker-8c-8g-16011 does not seem to be running inside a container 09:34:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:34:44 $ docker top 283fab9aea885720de3ae0ed1fb0b5f47e9576b29d5943ce164ab986051bc1fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:34:44 ---> job-cost.sh 09:34:44 lf-activate-venv: SKIPPING 09:34:44 INFO: No Stack... 09:34:44 INFO: Retrieving Pricing Info for: v3-standard-8 09:34:45 INFO: Archiving Costs [Pipeline] sh 09:34:45 + cut -d, -f6 09:34:45 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives/cost.csv [Pipeline] lock 09:34:45 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-600-4-stack-cost] 09:34:45 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-4-stack-cost] did not exist. Created. 09:34:45 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-600-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:34:46 + echo total: 0.2199999988079071 [Pipeline] stash 09:34:46 Stashed 1 file(s) [Pipeline] } 09:34:46 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-4-stack-cost] [Pipeline] // lock [Pipeline] } 09:34:46 $ docker stop --time=1 283fab9aea885720de3ae0ed1fb0b5f47e9576b29d5943ce164ab986051bc1fd 09:34:47 $ docker rm -f --volumes 283fab9aea885720de3ae0ed1fb0b5f47e9576b29d5943ce164ab986051bc1fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:35:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16013 in /w/workspace/gexfoundry_device-mqtt-go_PR-600 [Pipeline] { [Pipeline] ws 09:35:58 Running in /w/workspace/device-mqtt-go/4 [Pipeline] { [Pipeline] checkout 09:35:58 Selected Git installation does not exist. Using Default 09:35:58 The recommended git tool is: NONE 09:36:06 using credential edgex-jenkins-ssh 09:36:06 Cloning the remote Git repository 09:36:06 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 09:36:06 > git init /w/workspace/device-mqtt-go/4 # timeout=10 09:36:06 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:36:06 > git --version # timeout=10 09:36:06 > git --version # 'git version 2.25.1' 09:36:06 using GIT_SSH to set credentials SSH Credentials for GitHub 09:36:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:36:08 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:36:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:36:10 Merging remotes/origin/main commit 5181a79f2e8ff3649cabd86ba481ab4c2b5b9ac4 into PR head commit 3cacedf1681f77950d561024d7ead166cd6b51a4 09:36:10 Merge succeeded, producing 3cacedf1681f77950d561024d7ead166cd6b51a4 09:36:10 Checking out Revision 3cacedf1681f77950d561024d7ead166cd6b51a4 (PR-600) 09:36:09 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 09:36:09 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 09:36:09 using GIT_SSH to set credentials SSH Credentials for GitHub 09:36:09 > 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 09:36:10 > git config core.sparsecheckout # timeout=10 09:36:10 > git checkout -f 3cacedf1681f77950d561024d7ead166cd6b51a4 # timeout=10 09:36:10 > git remote # timeout=10 09:36:10 > git config --get remote.origin.url # timeout=10 09:36:10 using GIT_SSH to set credentials SSH Credentials for GitHub 09:36:10 > git merge 5181a79f2e8ff3649cabd86ba481ab4c2b5b9ac4 # timeout=10 09:36:10 > git rev-parse HEAD^{commit} # timeout=10 09:36:10 > git config core.sparsecheckout # timeout=10 09:36:10 > git checkout -f 3cacedf1681f77950d561024d7ead166cd6b51a4 # timeout=10 09:36:10 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 09:36:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:36:11 % Total % Received % Xferd Average Speed Time Time Time Current 09:36:11 Dload Upload Total Spent Left Speed 09:36:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh 09:36:12 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:36:12 + sudo jq+ sudo tee /etc/docker/daemon.new 09:36:12 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:36:12 { 09:36:12 "registry-mirrors": [ 09:36:12 "https://nexus3.edgexfoundry.org:10001" 09:36:12 ], 09:36:12 "bip": "10.250.0.254/24", 09:36:12 "hosts": [ 09:36:12 "tcp://0.0.0.0:5555", 09:36:12 "unix:///var/run/docker.sock" 09:36:12 ], 09:36:12 "mtu": 1458, 09:36:12 "selinux-enabled": true, 09:36:12 "seccomp-profile": "/etc/docker/seccomp.json" 09:36:12 } [Pipeline] sh 09:36:13 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:36:13 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:36:31 provisioning config files... 09:36:31 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/4@tmp/config15848643663089492218tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:36:32 ---> docker-login.sh 09:36:32 nexus3.edgexfoundry.org:10001 09:36:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:32 Configure a credential helper to remove this warning. See 09:36:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:32 09:36:32 Login Succeeded 09:36:32 nexus3.edgexfoundry.org:10002 09:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:33 Configure a credential helper to remove this warning. See 09:36:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:33 09:36:33 Login Succeeded 09:36:33 nexus3.edgexfoundry.org:10003 09:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:33 Configure a credential helper to remove this warning. See 09:36:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:33 09:36:33 Login Succeeded 09:36:33 nexus3.edgexfoundry.org:10004 09:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:34 Configure a credential helper to remove this warning. See 09:36:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:34 09:36:34 Login Succeeded 09:36:34 docker.io 09:36:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:36:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:36:34 Configure a credential helper to remove this warning. See 09:36:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:36:34 09:36:34 Login Succeeded 09:36:34 ---> docker-login.sh ends [Pipeline] } 09:36:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:36:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:36:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 09:36:35 ========================================================= 09:36:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 09:36:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:36:35 + 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 . 09:36:35 Sending build context to Docker daemon 3.4MB 09:36:35 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 09:36:35 Step 2/12 : FROM ${BASE} AS builder 09:36:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:36:35 c41833b44d91: Pulling fs layer 09:36:35 ed15518f5707: Pulling fs layer 09:36:35 feae8fd75edb: Pulling fs layer 09:36:35 242c74f7c9fa: Pulling fs layer 09:36:35 3cdef696dda3: Pulling fs layer 09:36:35 2ced38df9373: Pulling fs layer 09:36:35 58f1dce35555: Pulling fs layer 09:36:35 242c74f7c9fa: Waiting 09:36:35 3cdef696dda3: Waiting 09:36:35 2ced38df9373: Waiting 09:36:35 58f1dce35555: Waiting 09:36:35 ed15518f5707: Verifying Checksum 09:36:35 ed15518f5707: Download complete 09:36:35 242c74f7c9fa: Verifying Checksum 09:36:35 242c74f7c9fa: Download complete 09:36:35 3cdef696dda3: Download complete 09:36:36 c41833b44d91: Verifying Checksum 09:36:36 c41833b44d91: Download complete 09:36:37 c41833b44d91: Pull complete 09:36:37 58f1dce35555: Verifying Checksum 09:36:37 58f1dce35555: Download complete 09:36:37 ed15518f5707: Pull complete 09:36:38 feae8fd75edb: Verifying Checksum 09:36:38 feae8fd75edb: Download complete 09:36:38 2ced38df9373: Verifying Checksum 09:36:38 2ced38df9373: Download complete 09:36:48 feae8fd75edb: Pull complete 09:36:48 242c74f7c9fa: Pull complete 09:36:49 3cdef696dda3: Pull complete 09:36:55 2ced38df9373: Pull complete 09:36:57 58f1dce35555: Pull complete 09:36:57 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 09:36:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 09:36:57 ---> fadd8f120f05 09:36:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 09:36:59 ---> Running in 5d2cf67bbd7b 09:37:00 Removing intermediate container 5d2cf67bbd7b 09:37:00 ---> 7b332f9c3159 09:37:00 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:37:00 ---> Running in 99dbebbc787e 09:37:00 Removing intermediate container 99dbebbc787e 09:37:00 ---> e2105f5f34d7 09:37:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:37:00 ---> Running in 25b2ff071d3f 09:37:00 Removing intermediate container 25b2ff071d3f 09:37:00 ---> c9c9ef4ee7b5 09:37:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 09:37:00 ---> Running in 0267bf9c28dd 09:37:01 Removing intermediate container 0267bf9c28dd 09:37:01 ---> 974fae60cb80 09:37:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:37:01 ---> Running in a24e53b6bf87 09:37:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:37:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:37:04 (1/4) Installing openssh-keygen (9.1_p1-r3) 09:37:04 (2/4) Installing libedit (20221030.3.1-r0) 09:37:04 (3/4) Installing openssh-client-common (9.1_p1-r3) 09:37:04 (4/4) Installing openssh-client-default (9.1_p1-r3) 09:37:04 Executing busybox-1.35.0-r29.trigger 09:37:04 OK: 268 MiB in 57 packages 09:37:05 Removing intermediate container a24e53b6bf87 09:37:05 ---> 8d44cc3caacb 09:37:05 Step 8/12 : WORKDIR /device-mqtt-go 09:37:05 ---> Running in 1b8201a7239f 09:37:05 Removing intermediate container 1b8201a7239f 09:37:05 ---> 5c48ac10b12a 09:37:05 Step 9/12 : COPY go.mod vendor* ./ 09:37:06 ---> c05ac7e0c388 09:37:06 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:37:06 ---> Running in 11eaa4cf7db3 09:38:14 Removing intermediate container 11eaa4cf7db3 09:38:14 ---> 4ea25d41877f 09:38:14 Step 11/12 : COPY . . 09:38:14 ---> a8be19549c9a 09:38:14 Step 12/12 : RUN $MAKE 09:38:14 ---> Running in e14a3ecbdc8c 09:38:14 noop 09:38:14 Removing intermediate container e14a3ecbdc8c 09:38:14 ---> 1b522c3bafe0 09:38:14 Successfully built 1b522c3bafe0 09:38:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:38:14 + docker inspect -f . ci-base-image-arm64 09:38:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:38:15 prd-ubuntu20.04-docker-arm64-4c-16g-16013 does not seem to be running inside a container 09:38:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:38:16 $ docker top 460549c0b2deeebf11fd7387cbe118127df56813c5aa11fad1d39eb930f062f2 -eo pid,comm [Pipeline] { [Pipeline] sh 09:38:17 + go version 09:38:17 go version go1.20.2 linux/arm64 [Pipeline] } 09:38:17 $ docker stop --time=1 460549c0b2deeebf11fd7387cbe118127df56813c5aa11fad1d39eb930f062f2 09:38:19 $ docker rm -f --volumes 460549c0b2deeebf11fd7387cbe118127df56813c5aa11fad1d39eb930f062f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:38:19 + docker inspect -f . ci-base-image-arm64 09:38:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:38:19 prd-ubuntu20.04-docker-arm64-4c-16g-16013 does not seem to be running inside a container 09:38:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:38:21 $ docker top 5dbfdc7e28816ddcb325aefc682a0c4a8ec7df6dc144292ebfa015261f994287 -eo pid,comm [Pipeline] { [Pipeline] sh 09:38:21 + git config --global --add safe.directory /w/workspace/device-mqtt-go/4 [Pipeline] fileExists [Pipeline] sh 09:38:22 + make test 09:38:22 go test ./... -coverprofile=coverage.out ./... 09:39:01 ? github.com/edgexfoundry/device-mqtt-go [no test files] 09:40:53 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 09:40:53 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 09:40:53 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.081s coverage: 23.1% of statements 09:40:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:40:53 go vet ./... 09:41:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:41:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:41:19 ./bin/test-attribution-txt.sh [Pipeline] echo 09:41:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 09:41:20 $ docker stop --time=1 5dbfdc7e28816ddcb325aefc682a0c4a8ec7df6dc144292ebfa015261f994287 09:41:22 $ docker rm -f --volumes 5dbfdc7e28816ddcb325aefc682a0c4a8ec7df6dc144292ebfa015261f994287 [Pipeline] // withDockerContainer [Pipeline] sh 09:41:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:41:23 Warning: overwriting stash ‘coverage-report’ 09:41:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:41:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:41:25 + ls -al . 09:41:25 total 176 09:41:25 drwxrwxr-x 9 jenkins jenkins 4096 May 18 09:38 . 09:41:25 drwxrwxr-x 4 jenkins jenkins 4096 May 18 09:36 .. 09:41:25 -rw-rw-r-- 1 jenkins jenkins 140 May 18 09:36 .dockerignore 09:41:25 drwxrwxr-x 8 jenkins jenkins 4096 May 18 09:36 .git 09:41:25 drwxrwxr-x 3 jenkins jenkins 4096 May 18 09:36 .github 09:41:25 -rw-rw-r-- 1 jenkins jenkins 329 May 18 09:36 .gitignore 09:41:25 -rw-rw-r-- 1 jenkins jenkins 41 May 18 09:36 .golangci.yml 09:41:25 -rw-rw-r-- 1 jenkins jenkins 9417 May 18 09:36 Attribution.txt 09:41:25 -rw-rw-r-- 1 jenkins jenkins 13162 May 18 09:36 CHANGELOG.md 09:41:25 -rw-rw-r-- 1 jenkins jenkins 1689 May 18 09:36 Dockerfile 09:41:25 -rw-rw-r-- 1 jenkins jenkins 677 May 18 09:36 GOVERNANCE.md 09:41:25 -rw-rw-r-- 1 jenkins jenkins 678 May 18 09:36 Jenkinsfile 09:41:25 -rw-rw-r-- 1 jenkins jenkins 11340 May 18 09:36 LICENSE 09:41:25 -rw-rw-r-- 1 jenkins jenkins 1732 May 18 09:36 Makefile 09:41:25 -rw-rw-r-- 1 jenkins jenkins 620 May 18 09:36 OWNERS.md 09:41:25 -rw-rw-r-- 1 jenkins jenkins 3165 May 18 09:36 README.md 09:41:25 -rw-rw-r-- 1 jenkins jenkins 5 May 18 09:32 VERSION 09:41:25 drwxrwxr-x 2 jenkins jenkins 4096 May 18 09:36 bin 09:41:25 drwxrwxr-x 3 jenkins jenkins 4096 May 18 09:36 cmd 09:41:25 -rw-r--r-- 1 jenkins jenkins 18144 May 18 09:40 coverage.out 09:41:25 -rw-rw-r-- 1 jenkins jenkins 3333 May 18 09:36 go.mod 09:41:25 -rw-rw-r-- 1 jenkins jenkins 31328 May 18 09:36 go.sum 09:41:25 drwxrwxr-x 3 jenkins jenkins 4096 May 18 09:36 internal 09:41:25 drwxrwxr-x 2 jenkins jenkins 4096 May 18 09:36 mock 09:41:25 drwxrwxr-x 4 jenkins jenkins 4096 May 18 09:36 snap 09:41:25 -rw-rw-r-- 1 jenkins jenkins 227 May 18 09:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:41:25 + 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=3cacedf1681f77950d561024d7ead166cd6b51a4 --label arch=arm64 --label version=0.0.0 . 09:41:25 Sending build context to Docker daemon 3.419MB 09:41:25 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 09:41:25 Step 2/24 : FROM ${BASE} AS builder 09:41:25 ---> 1b522c3bafe0 09:41:25 Step 3/24 : ARG ADD_BUILD_TAGS="" 09:41:26 ---> Running in 17e90224dafd 09:41:26 Removing intermediate container 17e90224dafd 09:41:26 ---> 425e4153145d 09:41:26 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 09:41:26 ---> Running in bfcd539848f5 09:41:26 Removing intermediate container bfcd539848f5 09:41:26 ---> 59e095f9126a 09:41:26 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 09:41:26 ---> Running in 9d69e7a9968a 09:41:27 Removing intermediate container 9d69e7a9968a 09:41:27 ---> d4f55353c044 09:41:27 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 09:41:27 ---> Running in 778a7ec4b8fd 09:41:27 Removing intermediate container 778a7ec4b8fd 09:41:27 ---> 8a0fc8aead6c 09:41:27 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 09:41:27 ---> Running in 06db456d4cc1 09:41:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:41:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:41:30 OK: 268 MiB in 57 packages 09:41:30 Removing intermediate container 06db456d4cc1 09:41:30 ---> 65e11e5b4be6 09:41:30 Step 8/24 : WORKDIR /device-mqtt-go 09:41:31 ---> Running in e182a1e46ff3 09:41:31 Removing intermediate container e182a1e46ff3 09:41:31 ---> e114af1d6e8c 09:41:31 Step 9/24 : COPY go.mod vendor* ./ 09:41:32 ---> 5af60de3c647 09:41:32 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:41:35 ---> Running in fe45511a4f46 09:41:38 Removing intermediate container fe45511a4f46 09:41:38 ---> 88a4fd5530b7 09:41:38 Step 11/24 : COPY . . 09:41:38 ---> 70935eb1a910 09:41:38 Step 12/24 : RUN $MAKE 09:41:38 ---> Running in 1583063d1bc2 09:41:39 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 09:43:46 Removing intermediate container 1583063d1bc2 09:43:46 ---> d2ad1944fba7 09:43:46 Step 13/24 : FROM alpine:3.17 09:43:46 3.17: Pulling from library/alpine 09:43:46 c41833b44d91: Already exists 09:43:46 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 09:43:46 Status: Downloaded newer image for alpine:3.17 09:43:46 ---> 51e60588ff2c 09:43:46 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 09:43:46 ---> Running in b5eace975745 09:43:46 Removing intermediate container b5eace975745 09:43:46 ---> eeead57411bb 09:43:46 Step 15/24 : RUN apk add --update --no-cache dumb-init 09:43:46 ---> Running in 56f36ea6b1bf 09:43:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 09:43:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 09:43:49 (1/1) Installing dumb-init (1.2.5-r2) 09:43:49 Executing busybox-1.35.0-r29.trigger 09:43:49 OK: 8 MiB in 16 packages 09:43:50 Removing intermediate container 56f36ea6b1bf 09:43:50 ---> 65682b73f3d1 09:43:50 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 09:43:52 ---> a3f30d3e8300 09:43:52 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 09:43:53 ---> c17646172960 09:43:53 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 09:43:53 ---> 0143dc4c49a8 09:43:53 Step 19/24 : EXPOSE 59982 09:43:53 ---> Running in 5c350723b54e 09:43:54 Removing intermediate container 5c350723b54e 09:43:54 ---> 0ad716ffaa75 09:43:54 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 09:43:54 ---> Running in 1b0d6d5723ce 09:43:54 Removing intermediate container 1b0d6d5723ce 09:43:54 ---> 72f042d14f79 09:43:54 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 09:43:54 ---> Running in c9ae8f38b78d 09:43:54 Removing intermediate container c9ae8f38b78d 09:43:54 ---> 931573b191ee 09:43:54 Step 22/24 : LABEL arch=arm64 09:43:54 ---> Running in dbb98e269c1e 09:43:54 Removing intermediate container dbb98e269c1e 09:43:54 ---> 95b1d62a9178 09:43:54 Step 23/24 : LABEL git_sha=3cacedf1681f77950d561024d7ead166cd6b51a4 09:43:55 ---> Running in 79e639777eef 09:43:55 Removing intermediate container 79e639777eef 09:43:55 ---> 813cd5556219 09:43:55 Step 24/24 : LABEL version=0.0.0 09:43:55 ---> Running in 7dc36451a4d0 09:43:55 Removing intermediate container 7dc36451a4d0 09:43:55 ---> ddebb5ae7e60 09:43:55 [Warning] One or more build-args [ARCH] were not consumed 09:43:55 Successfully built ddebb5ae7e60 09:43:55 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 09:43:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:43:56 09:43:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:43:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:43:56 arm64: Pulling from edgex-lftools-log-publisher 09:43:56 8998bd30e6a1: Pulling fs layer 09:43:56 04944245beec: Pulling fs layer 09:43:56 699f458cf7ca: Pulling fs layer 09:43:56 765212b225bb: Pulling fs layer 09:43:56 f23df028b6ca: Pulling fs layer 09:43:56 d65c8cfc05b1: Pulling fs layer 09:43:56 2437ff75d9bd: Pulling fs layer 09:43:56 f23df028b6ca: Waiting 09:43:56 d65c8cfc05b1: Waiting 09:43:56 765212b225bb: Waiting 09:43:56 2437ff75d9bd: Waiting 09:43:56 04944245beec: Verifying Checksum 09:43:56 04944245beec: Download complete 09:43:56 765212b225bb: Verifying Checksum 09:43:56 765212b225bb: Download complete 09:43:56 f23df028b6ca: Verifying Checksum 09:43:56 f23df028b6ca: Download complete 09:43:56 d65c8cfc05b1: Verifying Checksum 09:43:56 d65c8cfc05b1: Download complete 09:43:56 699f458cf7ca: Verifying Checksum 09:43:56 699f458cf7ca: Download complete 09:43:57 8998bd30e6a1: Download complete 09:43:59 2437ff75d9bd: Verifying Checksum 09:43:59 2437ff75d9bd: Download complete 09:44:01 8998bd30e6a1: Pull complete 09:44:01 04944245beec: Pull complete 09:44:03 699f458cf7ca: Pull complete 09:44:03 765212b225bb: Pull complete 09:44:04 f23df028b6ca: Pull complete 09:44:05 d65c8cfc05b1: Pull complete 09:44:20 2437ff75d9bd: Pull complete 09:44:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:44:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:44:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:20 prd-ubuntu20.04-docker-arm64-4c-16g-16013 does not seem to be running inside a container 09:44:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/4 -v /w/workspace/device-mqtt-go/4:/w/workspace/device-mqtt-go/4:rw,z -v /w/workspace/device-mqtt-go/4@tmp:/w/workspace/device-mqtt-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:44:23 $ docker top 66636656a0928d695ea541016267f7099ce8a923bc0f017e487f01f280ebbf6b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:44:23 ---> job-cost.sh 09:44:24 lf-activate-venv: SKIPPING 09:44:24 INFO: No Stack... 09:44:24 INFO: Retrieving Pricing Info for: v3-standard-4 09:44:25 INFO: Archiving Costs [Pipeline] sh 09:44:25 + cat /w/workspace/device-mqtt-go/4/archives/cost.csv 09:44:25 + cut -d, -f6 [Pipeline] lock 09:44:25 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-600-4-stack-cost] 09:44:25 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-4-stack-cost] did not exist. Created. 09:44:25 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-600-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:44:26 /w/workspace/device-mqtt-go/4@tmp/durable-b506b575/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:44:26 + echo total: 0.10999999940395355 [Pipeline] stash 09:44:26 Warning: overwriting stash ‘stack-cost’ 09:44:27 Stashed 1 file(s) [Pipeline] } 09:44:27 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-600-4-stack-cost] [Pipeline] // lock [Pipeline] } 09:44:27 $ docker stop --time=1 66636656a0928d695ea541016267f7099ce8a923bc0f017e487f01f280ebbf6b 09:44:28 $ docker rm -f --volumes 66636656a0928d695ea541016267f7099ce8a923bc0f017e487f01f280ebbf6b [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 09:44:30 provisioning config files... 09:44:30 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config3586278777838544316tmp [Pipeline] { [Pipeline] sh 09:44:30 + set +x 09:44:30 + curl -s https://codecov.io/bash 09:44:30 + bash -s -- 09:44:30 09:44:30 _____ _ 09:44:30 / ____| | | 09:44:30 | | ___ __| | ___ ___ _____ __ 09:44:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:44:30 | |___| (_) | (_| | __/ (_| (_) \ V / 09:44:30 \_____\___/ \__,_|\___|\___\___/ \_/ 09:44:30 Bash-1.0.6 09:44:30 09:44:30 09:44:30 ==> git version 2.25.1 found 09:44:30 ==> 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 09:44:30 Release-Date: 2020-01-08 09:44:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:44:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:44:30 ==> Jenkins CI detected. 09:44:30 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-600 09:44:30 project root: . 09:44:30 --> token set from env 09:44:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:44:30 ==> Running gcov in . (disable via -X gcov) 09:44:30 ==> Python coveragepy not found 09:44:30 ==> Searching for coverage reports in: 09:44:30 + . 09:44:30 -> Found 1 reports 09:44:30 ==> Detecting git/mercurial file structure 09:44:30 ==> Reading reports 09:44:30 + ./coverage.out bytes=18144 09:44:30 ==> Appending adjustments 09:44:30 https://docs.codecov.io/docs/fixing-reports 09:44:30 + Found adjustments 09:44:30 ==> Gzipping contents 09:44:30 4.0K /tmp/codecov.wrUBoi.gz 09:44:30 ==> Uploading reports 09:44:30 url: https://codecov.io 09:44:30 query: branch=PR-600&commit=3cacedf1681f77950d561024d7ead166cd6b51a4&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-600%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=600&job=&cmd_args= 09:44:30 -> Pinging Codecov 09:44:30 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=3cacedf1681f77950d561024d7ead166cd6b51a4&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-600%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=600&job=&cmd_args= 09:44:30 -> Uploading to 09:44:30 https://storage.googleapis.com/codecov/v4/raw/2023-05-18/7D719EC7BBE17E464838252E33014C33/3cacedf1681f77950d561024d7ead166cd6b51a4/c6ec1e32-ecf8-42c2-8c73-31c5e1724c77.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230518%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230518T094430Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=62e9785bff47f337c308e28b3e4ccd074cdff8d1b71c6c83a33da4c67cbed082 09:44:30 % Total % Received % Xferd Average Speed Time Time Time Current 09:44:30 Dload Upload Total Spent Left Speed 09:44:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3184 0 0 100 3184 0 16497 --:--:-- --:--:-- --:--:-- 16497 09:44:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/3cacedf1681f77950d561024d7ead166cd6b51a4 [Pipeline] } 09:44:31 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 09:44:31 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives ] 09:44:31 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives 09:44:31 total 16 09:44:31 drwxr-xr-x 3 root root 4096 May 18 09:34 . 09:44:31 drwxrwxr-x 11 jenkins jenkins 4096 May 18 09:34 .. 09:44:31 drwxr-xr-x 2 root root 4096 May 18 09:34 cost 09:44:31 -rw-r--r-- 1 root root 86 May 18 09:34 cost.csv 09:44:31 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives 09:44:31 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives 09:44:31 total 16 09:44:31 drwxr-xr-x 3 jenkins jenkins 4096 May 18 09:34 . 09:44:31 drwxrwxr-x 11 jenkins jenkins 4096 May 18 09:34 .. 09:44:31 drwxr-xr-x 2 jenkins jenkins 4096 May 18 09:34 cost 09:44:31 -rw-r--r-- 1 jenkins jenkins 86 May 18 09:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:44:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:44:32 ---> package-listing.sh 09:44:32 ++ facter osfamily 09:44:32 ++ tr '[:upper:]' '[:lower:]' 09:44:33 + OS_FAMILY=debian 09:44:33 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-600 09:44:33 + START_PACKAGES=/tmp/packages_start.txt 09:44:33 + END_PACKAGES=/tmp/packages_end.txt 09:44:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:44:33 + PACKAGES=/tmp/packages_start.txt 09:44:33 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-600 ']' 09:44:33 + PACKAGES=/tmp/packages_end.txt 09:44:33 + case "${OS_FAMILY}" in 09:44:33 + dpkg -l 09:44:33 + grep '^ii' 09:44:33 + '[' -f /tmp/packages_start.txt ']' 09:44:33 + '[' -f /tmp/packages_end.txt ']' 09:44:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:44:33 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-600 ']' 09:44:33 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-600/archives/ 09:44:33 + 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 09:44:33 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 09:44:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:44:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:44:35 prd-ubuntu20.04-docker-8c-8g-16011 does not seem to be running inside a container 09:44:35 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-mqtt-go_PR-600/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-mqtt-go_PR-600 -v /w/workspace/gexfoundry_device-mqtt-go_PR-600:/w/workspace/gexfoundry_device-mqtt-go_PR-600:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:44:35 $ docker top 39b88852fe370e582bf48615354eb5bd8d1f6e38642eac987df62e0f906df360 -eo pid,comm [Pipeline] { [Pipeline] sh 09:44:35 + touch /tmp/pre-build-complete [Pipeline] sh 09:44:35 + mkdir -p /var/log/sysstat [Pipeline] sh 09:44:36 + ls /var/log/sa-host 09:44:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:44:36 provisioning config files... 09:44:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-600@tmp/config14381307176594412788tmp [Pipeline] { [Pipeline] echo 09:44:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:44:36 ---> create-netrc.sh [Pipeline] } 09:44:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:44:38 ---> python-tools-install.sh [Pipeline] echo 09:44:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:44:38 ---> sudo-logs.sh 09:44:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:44:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:44:39 ---> job-cost.sh 09:44:39 lf-activate-venv: SKIPPING 09:44:39 DEBUG: total: 0.2199999988079071 09:44:39 INFO: Retrieving Stack Cost... 09:44:39 INFO: Retrieving Pricing Info for: v3-standard-8 09:44:39 INFO: Archiving Costs [Pipeline] echo 09:44:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:44:40 ---> logs-deploy.sh 09:44:40 lf-activate-venv: SKIPPING 09:44:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-600/4 09:44:40 INFO: archiving workspace using pattern(s): 09:44:43 Archives upload complete. 09:44:43 INFO: archiving logs to Nexus