Pull request #596 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jumpingliu for edgexfoundry/device-mqtt-go Loading trusted files from base branch main at 57e3d53da137a61fe75c45ca6235a80f80bfde57 rather than c8498983768038f572aeef7fea7847418933b69c Obtained Jenkinsfile from 57e3d53da137a61fe75c45ca6235a80f80bfde57 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-ssh4225062053263023136.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-ssh1760371912659658127.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-596/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-596/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15826702435398295909.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-596/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15089218457520641264.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh3969908585767869259.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-596/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-596/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10562233881356740848.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-14431 in /w/workspace/gexfoundry_device-mqtt-go_PR-596 [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-596 # 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/596/head:refs/remotes/origin/PR-596 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 57e3d53da137a61fe75c45ca6235a80f80bfde57 into PR head commit c8498983768038f572aeef7fea7847418933b69c Merge succeeded, producing c8498983768038f572aeef7fea7847418933b69c Checking out Revision c8498983768038f572aeef7fea7847418933b69c (PR-596) > git config core.sparsecheckout # timeout=10 > git checkout -f c8498983768038f572aeef7fea7847418933b69c # 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 57e3d53da137a61fe75c45ca6235a80f80bfde57 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c8498983768038f572aeef7fea7847418933b69c # timeout=10 Commit message: "build: Ignore all go-mods except device-sdk-go" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:10:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:10:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:10:42 ========================================================= 04:10:42 EdgeX Global Pipelines Version Info 04:10:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:10:43 ------------------- 04:10:43 stable info: 04:10:43 ------------------- 04:10:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:10:43 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:10:43 Message: update stable to v1.0.249 04:10:43 ------------------- 04:10:43 experimental info: 04:10:43 ------------------- 04:10:43 Commited By: **** collab-it+edgex@linuxfoundation.org 04:10:43 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 04:10:43 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:10:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:10:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:10:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:10:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:10:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-596 [Pipeline] echo 04:10:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-596 [Pipeline] echo 04:10:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-596 [Pipeline] echo 04:10:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c8498983768038f572aeef7fea7847418933b69c [Pipeline] echo 04:10:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c849898 [Pipeline] echo 04:10:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:10:45 provisioning config files... 04:10:45 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-596@tmp/config6984596534988152521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:10:45 ---> docker-login.sh 04:10:45 nexus3.edgexfoundry.org:10001 04:10:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:46 Configure a credential helper to remove this warning. See 04:10:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:46 04:10:46 Login Succeeded 04:10:46 nexus3.edgexfoundry.org:10002 04:10:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:46 Configure a credential helper to remove this warning. See 04:10:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:46 04:10:46 Login Succeeded 04:10:46 nexus3.edgexfoundry.org:10003 04:10:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:46 Configure a credential helper to remove this warning. See 04:10:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:46 04:10:46 Login Succeeded 04:10:46 nexus3.edgexfoundry.org:10004 04:10:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:46 Configure a credential helper to remove this warning. See 04:10:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:46 04:10:46 Login Succeeded 04:10:46 docker.io 04:10:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:46 Configure a credential helper to remove this warning. See 04:10:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:46 04:10:46 Login Succeeded 04:10:46 ---> docker-login.sh ends [Pipeline] } 04:10:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:10:47 + git rev-list -1 --merges c8498983768038f572aeef7fea7847418933b69c~1..c8498983768038f572aeef7fea7847418933b69c [Pipeline] echo 04:10:47 -----------> git rev-list -1 --merges c8498983768038f572aeef7fea7847418933b69c~1..c8498983768038f572aeef7fea7847418933b69c c8498983768038f572aeef7fea7847418933b69c [false] [Pipeline] sh 04:10:47 + git log --format=format:%s -1 c8498983768038f572aeef7fea7847418933b69c [Pipeline] echo 04:10:47 ========================================================= 04:10:47 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:10:47 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:10:48 + git log --format=format:%s -1 c8498983768038f572aeef7fea7847418933b69c [Pipeline] echo 04:10:48 [semverPrep] GIT_COMMIT: c8498983768038f572aeef7fea7847418933b69c, Commit Message: build: Ignore all go-mods except device-sdk-go [Pipeline] echo 04:10:48 [semverPrep] This is not a build commit. [Pipeline] sh 04:10:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:10:48 + grep -v github /etc/ssh/ssh_known_hosts 04:10:48 + [ -e /tmp/ssh_known_hosts ] 04:10:48 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:10:48 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:10:48 + sudo tee -a /etc/ssh/ssh_known_hosts 04:10:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:10:49 04:10:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:10:49 0.1.4: Pulling from edgex-devops/py-git-semver 04:10:49 b85a868b505f: Pulling fs layer 04:10:49 e2be974225ed: Pulling fs layer 04:10:49 339a4e72a1f5: Pulling fs layer 04:10:49 988bab9f4d93: Pulling fs layer 04:10:49 1469e6f7b9e6: Pulling fs layer 04:10:49 eaf3925da568: Pulling fs layer 04:10:49 bab4dde63d76: Pulling fs layer 04:10:49 bde34c3a00c8: Pulling fs layer 04:10:49 b352a97aabf1: Pulling fs layer 04:10:49 4872d77fe225: Pulling fs layer 04:10:49 5851b861e8e6: Pulling fs layer 04:10:49 988bab9f4d93: Waiting 04:10:49 1469e6f7b9e6: Waiting 04:10:49 b352a97aabf1: Waiting 04:10:49 eaf3925da568: Waiting 04:10:49 4872d77fe225: Waiting 04:10:49 5851b861e8e6: Waiting 04:10:49 bab4dde63d76: Waiting 04:10:49 bde34c3a00c8: Waiting 04:10:49 e2be974225ed: Verifying Checksum 04:10:49 e2be974225ed: Download complete 04:10:49 988bab9f4d93: Verifying Checksum 04:10:49 988bab9f4d93: Download complete 04:10:49 1469e6f7b9e6: Verifying Checksum 04:10:49 1469e6f7b9e6: Download complete 04:10:49 eaf3925da568: Verifying Checksum 04:10:49 eaf3925da568: Download complete 04:10:49 339a4e72a1f5: Verifying Checksum 04:10:49 339a4e72a1f5: Download complete 04:10:49 bde34c3a00c8: Verifying Checksum 04:10:49 bde34c3a00c8: Download complete 04:10:49 b352a97aabf1: Download complete 04:10:49 4872d77fe225: Verifying Checksum 04:10:49 4872d77fe225: Download complete 04:10:49 5851b861e8e6: Download complete 04:10:49 b85a868b505f: Verifying Checksum 04:10:49 b85a868b505f: Download complete 04:10:50 bab4dde63d76: Verifying Checksum 04:10:50 bab4dde63d76: Download complete 04:10:50 b85a868b505f: Pull complete 04:10:50 e2be974225ed: Pull complete 04:10:51 339a4e72a1f5: Pull complete 04:10:51 988bab9f4d93: Pull complete 04:10:51 1469e6f7b9e6: Pull complete 04:10:51 eaf3925da568: Pull complete 04:10:53 bab4dde63d76: Pull complete 04:10:53 bde34c3a00c8: Pull complete 04:10:53 b352a97aabf1: Pull complete 04:10:53 4872d77fe225: Pull complete 04:10:53 5851b861e8e6: Pull complete 04:10:53 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:10:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:10:53 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:54 prd-ubuntu20.04-docker-8c-8g-14431 does not seem to be running inside a container 04:10:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-596 -v /w/workspace/gexfoundry_device-mqtt-go_PR-596:/w/workspace/gexfoundry_device-mqtt-go_PR-596:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-596@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-596@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:10:55 $ docker top 23f5dd42f90c7b6b5837c5d327455d4867465c9d6ded3a543afe49fb1fc9c8cb -eo pid,comm 04:10:55 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). 04:10:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:10:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:10:55 [ssh-agent] Looking for ssh-agent implementation... 04:10:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:10:55 $ docker exec 23f5dd42f90c7b6b5837c5d327455d4867465c9d6ded3a543afe49fb1fc9c8cb ssh-agent 04:10:55 SSH_AUTH_SOCK=/tmp/ssh-PXd0mVP3bcUA/agent.31 04:10:55 SSH_AGENT_PID=37 04:10:55 Running ssh-add (command line suppressed) 04:10:55 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-596@tmp/private_key_4999063271350463243.key (/w/workspace/gexfoundry_device-mqtt-go_PR-596@tmp/private_key_4999063271350463243.key) 04:10:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:10:56 + git tag --points-at HEAD [Pipeline] } 04:10:56 $ docker exec --env ******** --env ******** 23f5dd42f90c7b6b5837c5d327455d4867465c9d6ded3a543afe49fb1fc9c8cb ssh-agent -k 04:10:56 unset SSH_AUTH_SOCK; 04:10:56 unset SSH_AGENT_PID; 04:10:56 echo Agent pid 37 killed; 04:10:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:10:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:10:56 [ssh-agent] Looking for ssh-agent implementation... 04:10:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:10:56 $ docker exec 23f5dd42f90c7b6b5837c5d327455d4867465c9d6ded3a543afe49fb1fc9c8cb ssh-agent 04:10:56 SSH_AUTH_SOCK=/tmp/ssh-6X0uNZa5oSms/agent.69 04:10:56 SSH_AGENT_PID=75 04:10:56 Running ssh-add (command line suppressed) 04:10:56 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-596@tmp/private_key_8070860718336724480.key (/w/workspace/gexfoundry_device-mqtt-go_PR-596@tmp/private_key_8070860718336724480.key) 04:10:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:10:57 + git semver init 04:10:57 2023-05-08 04:10:57,304 [run_init] DEBUG init version:0.0.0 force:False 04:10:57 2023-05-08 04:10:57,304 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-596/.semver 04:10:57 2023-05-08 04:10:57,305 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-596/.semver 04:10:57 2023-05-08 04:10:57,305 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-596/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-596, universal_newlines=False, shell=None, istream=None) 04:10:58 2023-05-08 04:10:58,213 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-596/.git/info/exclude 04:10:58 2023-05-08 04:10:58,214 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-596/.semver/PR-596 with force:False 04:10:58 2023-05-08 04:10:58,214 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-596/.semver/PR-596 04:10:58 2023-05-08 04:10:58,218 [execute] INFO git cat-file --batch-check 04:10:58 2023-05-08 04:10:58,218 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-596/.semver, universal_newlines=False, shell=None, istream=) 04:10:58 2023-05-08 04:10:58,225 [execute] INFO git cat-file --batch 04:10:58 2023-05-08 04:10:58,226 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-596/.semver, universal_newlines=False, shell=None, istream=) 04:10:58 2023-05-08 04:10:58,231 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-596/.semver/PR-596 04:10:58 0.0.0 [Pipeline] } 04:10:58 $ docker exec --env ******** --env ******** 23f5dd42f90c7b6b5837c5d327455d4867465c9d6ded3a543afe49fb1fc9c8cb ssh-agent -k 04:10:58 unset SSH_AUTH_SOCK; 04:10:58 unset SSH_AGENT_PID; 04:10:58 echo Agent pid 75 killed; 04:10:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:10:58 + git semver [Pipeline] } 04:10:59 $ docker stop --time=1 23f5dd42f90c7b6b5837c5d327455d4867465c9d6ded3a543afe49fb1fc9c8cb 04:11:00 $ docker rm -f --volumes 23f5dd42f90c7b6b5837c5d327455d4867465c9d6ded3a543afe49fb1fc9c8cb [Pipeline] // withDockerContainer [Pipeline] sh 04:11:00 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:11:01 Stashed 1 file(s) [Pipeline] echo 04:11:01 [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 04:11:01 provisioning config files... 04:11:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-596@tmp/config56219482291270979tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:11:02 ---> docker-login.sh 04:11:02 nexus3.edgexfoundry.org:10001 04:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:02 Configure a credential helper to remove this warning. See 04:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:02 04:11:02 Login Succeeded 04:11:02 nexus3.edgexfoundry.org:10002 04:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:02 Configure a credential helper to remove this warning. See 04:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:02 04:11:02 Login Succeeded 04:11:02 nexus3.edgexfoundry.org:10003 04:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:02 Configure a credential helper to remove this warning. See 04:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:02 04:11:02 Login Succeeded 04:11:02 nexus3.edgexfoundry.org:10004 04:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:02 Configure a credential helper to remove this warning. See 04:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:02 04:11:02 Login Succeeded 04:11:02 docker.io 04:11:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:02 Configure a credential helper to remove this warning. See 04:11:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:02 04:11:02 Login Succeeded 04:11:02 ---> docker-login.sh ends [Pipeline] } 04:11:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:11:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:11:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:11:03 ========================================================= 04:11:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:11:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:03 + 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 . 04:11:03 Sending build context to Docker daemon 6.551MB 04:11:03 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:11:03 Step 2/12 : FROM ${BASE} AS builder 04:11:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:11:03 f56be85fc22e: Pulling fs layer 04:11:03 85791d961cd3: Pulling fs layer 04:11:03 d694b5ae8c79: Pulling fs layer 04:11:03 9f32a84ed3da: Pulling fs layer 04:11:03 4d19c01a9841: Pulling fs layer 04:11:03 9325e15d5711: Pulling fs layer 04:11:03 556b6ee489ea: Pulling fs layer 04:11:03 c5a4b2cf53e6: Pulling fs layer 04:11:03 4d19c01a9841: Waiting 04:11:03 9325e15d5711: Waiting 04:11:03 556b6ee489ea: Waiting 04:11:03 9f32a84ed3da: Waiting 04:11:03 c5a4b2cf53e6: Waiting 04:11:03 85791d961cd3: Download complete 04:11:03 9f32a84ed3da: Verifying Checksum 04:11:03 9f32a84ed3da: Download complete 04:11:03 4d19c01a9841: Verifying Checksum 04:11:03 4d19c01a9841: Download complete 04:11:03 f56be85fc22e: Verifying Checksum 04:11:03 f56be85fc22e: Download complete 04:11:03 9325e15d5711: Verifying Checksum 04:11:03 9325e15d5711: Download complete 04:11:03 f56be85fc22e: Pull complete 04:11:04 85791d961cd3: Pull complete 04:11:04 c5a4b2cf53e6: Download complete 04:11:04 d694b5ae8c79: Verifying Checksum 04:11:04 556b6ee489ea: Verifying Checksum 04:11:04 556b6ee489ea: Download complete 04:11:08 d694b5ae8c79: Pull complete 04:11:08 9f32a84ed3da: Pull complete 04:11:08 4d19c01a9841: Pull complete 04:11:08 9325e15d5711: Pull complete 04:11:10 556b6ee489ea: Pull complete 04:11:11 c5a4b2cf53e6: Pull complete 04:11:11 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 04:11:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:11:11 ---> c4be618373d6 04:11:11 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:11:12 ---> Running in 47f08b451e59 04:11:12 Removing intermediate container 47f08b451e59 04:11:12 ---> a67dc98fa093 04:11:12 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:11:13 ---> Running in a9778454463d 04:11:13 Removing intermediate container a9778454463d 04:11:13 ---> 02c971265deb 04:11:13 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:11:13 ---> Running in e3338cb1e80e 04:11:13 Removing intermediate container e3338cb1e80e 04:11:13 ---> 600537554410 04:11:13 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:11:13 ---> Running in 76913094e4be 04:11:13 Removing intermediate container 76913094e4be 04:11:13 ---> 558be0291f77 04:11:13 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:11:13 ---> Running in 2834710ea0ea 04:11:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:11:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:11:13 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:11:13 (2/4) Installing libedit (20221030.3.1-r0) 04:11:13 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:11:13 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:11:13 Executing busybox-1.35.0-r29.trigger 04:11:13 OK: 269 MiB in 57 packages 04:11:14 Removing intermediate container 2834710ea0ea 04:11:14 ---> 15df2e3df18b 04:11:14 Step 8/12 : WORKDIR /device-mqtt-go 04:11:14 ---> Running in 650cd41c9da9 04:11:14 Removing intermediate container 650cd41c9da9 04:11:14 ---> 652fd0ea9e6f 04:11:14 Step 9/12 : COPY go.mod vendor* ./ 04:11:14 ---> b01ee1d79931 04:11:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:11:14 ---> Running in 0f6df71e566c 04:11:16 Still waiting to schedule task 04:11:16 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 04:11:32 Removing intermediate container 0f6df71e566c 04:11:32 ---> 6760a5df4944 04:11:32 Step 11/12 : COPY . . 04:11:32 ---> 4515bbb54acf 04:11:32 Step 12/12 : RUN $MAKE 04:11:32 ---> Running in 8a41ed261e52 04:11:32 noop 04:11:32 Removing intermediate container 8a41ed261e52 04:11:32 ---> dff8afc33511 04:11:32 Successfully built dff8afc33511 04:11:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:33 + docker inspect -f . ci-base-image-x86_64 04:11:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:33 prd-ubuntu20.04-docker-8c-8g-14431 does not seem to be running inside a container 04:11:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-596 -v /w/workspace/gexfoundry_device-mqtt-go_PR-596:/w/workspace/gexfoundry_device-mqtt-go_PR-596:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-596@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-596@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:11:33 $ docker top 80841ecf64e4da8dc6349102311737fa8fcc6794a4e0c0dafff4f38dc20ba6e5 -eo pid,comm [Pipeline] { [Pipeline] sh 04:11:33 + go version 04:11:33 go version go1.20.2 linux/amd64 [Pipeline] } 04:11:33 $ docker stop --time=1 80841ecf64e4da8dc6349102311737fa8fcc6794a4e0c0dafff4f38dc20ba6e5 04:11:35 $ docker rm -f --volumes 80841ecf64e4da8dc6349102311737fa8fcc6794a4e0c0dafff4f38dc20ba6e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:35 + docker inspect -f . ci-base-image-x86_64 04:11:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:36 prd-ubuntu20.04-docker-8c-8g-14431 does not seem to be running inside a container 04:11:36 $ 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-596 -v /w/workspace/gexfoundry_device-mqtt-go_PR-596:/w/workspace/gexfoundry_device-mqtt-go_PR-596:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-596@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-596@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:11:36 $ docker top 9226b1fbfc834d277836b252785b3878b988fb61750cf7ffc3e52548309def91 -eo pid,comm [Pipeline] { [Pipeline] sh 04:11:36 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-596 [Pipeline] fileExists [Pipeline] sh 04:11:37 + make test 04:11:37 go test ./... -coverprofile=coverage.out ./... 04:11:42 ? github.com/edgexfoundry/device-mqtt-go [no test files] 04:11:52 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 04:11:52 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 04:11:52 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 23.1% of statements 04:11:59 go vet ./... 04:12:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:12:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:12:03 ./bin/test-attribution-txt.sh [Pipeline] echo 04:12:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:12:03 $ docker stop --time=1 9226b1fbfc834d277836b252785b3878b988fb61750cf7ffc3e52548309def91 04:12:05 $ docker rm -f --volumes 9226b1fbfc834d277836b252785b3878b988fb61750cf7ffc3e52548309def91 [Pipeline] // withDockerContainer [Pipeline] sh 04:12:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:12:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:12:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:12:06 + ls -al . 04:12:06 total 180 04:12:06 drwxrwxr-x 10 jenkins jenkins 4096 May 8 04:11 . 04:12:06 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:10 .. 04:12:06 -rw-rw-r-- 1 jenkins jenkins 140 May 8 04:10 .dockerignore 04:12:06 drwxrwxr-x 8 jenkins jenkins 4096 May 8 04:10 .git 04:12:06 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:10 .github 04:12:06 -rw-rw-r-- 1 jenkins jenkins 329 May 8 04:10 .gitignore 04:12:06 -rw-rw-r-- 1 jenkins jenkins 41 May 8 04:10 .golangci.yml 04:12:06 drwxr-xr-x 3 jenkins jenkins 4096 May 8 04:10 .semver 04:12:06 -rw-rw-r-- 1 jenkins jenkins 9417 May 8 04:10 Attribution.txt 04:12:06 -rw-rw-r-- 1 jenkins jenkins 13162 May 8 04:10 CHANGELOG.md 04:12:06 -rw-rw-r-- 1 jenkins jenkins 1689 May 8 04:10 Dockerfile 04:12:06 -rw-rw-r-- 1 jenkins jenkins 677 May 8 04:10 GOVERNANCE.md 04:12:06 -rw-rw-r-- 1 jenkins jenkins 678 May 8 04:10 Jenkinsfile 04:12:06 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 04:10 LICENSE 04:12:06 -rw-rw-r-- 1 jenkins jenkins 1732 May 8 04:10 Makefile 04:12:06 -rw-rw-r-- 1 jenkins jenkins 620 May 8 04:10 OWNERS.md 04:12:06 -rw-rw-r-- 1 jenkins jenkins 3165 May 8 04:10 README.md 04:12:06 -rw-rw-r-- 1 jenkins jenkins 5 May 8 04:11 VERSION 04:12:06 drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:10 bin 04:12:06 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:10 cmd 04:12:06 -rw-r--r-- 1 jenkins jenkins 18144 May 8 04:11 coverage.out 04:12:06 -rw-rw-r-- 1 jenkins jenkins 3333 May 8 04:10 go.mod 04:12:06 -rw-rw-r-- 1 jenkins jenkins 31328 May 8 04:10 go.sum 04:12:06 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:10 internal 04:12:06 drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:10 mock 04:12:06 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:10 snap 04:12:06 -rw-rw-r-- 1 jenkins jenkins 227 May 8 04:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:07 + 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=c8498983768038f572aeef7fea7847418933b69c --label arch=amd64 --label version=0.0.0 . 04:12:07 Sending build context to Docker daemon 6.57MB 04:12:07 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 04:12:07 Step 2/24 : FROM ${BASE} AS builder 04:12:07 ---> dff8afc33511 04:12:07 Step 3/24 : ARG ADD_BUILD_TAGS="" 04:12:07 ---> Running in db103f32c2a6 04:12:07 Removing intermediate container db103f32c2a6 04:12:07 ---> 8a96706a3b59 04:12:07 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:12:07 ---> Running in aeb68f5b66cd 04:12:07 Removing intermediate container aeb68f5b66cd 04:12:07 ---> 824602ac27d4 04:12:07 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:12:07 ---> Running in a7b34713c4c3 04:12:07 Removing intermediate container a7b34713c4c3 04:12:07 ---> c73488ee9f86 04:12:07 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 04:12:07 ---> Running in f14e0b220539 04:12:07 Removing intermediate container f14e0b220539 04:12:07 ---> c2cd48909b6d 04:12:07 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:12:07 ---> Running in d93665e1e382 04:12:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:12:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:12:08 OK: 269 MiB in 57 packages 04:12:08 Removing intermediate container d93665e1e382 04:12:08 ---> 989821248d00 04:12:08 Step 8/24 : WORKDIR /device-mqtt-go 04:12:08 ---> Running in e54d41f782f3 04:12:08 Removing intermediate container e54d41f782f3 04:12:08 ---> 44517aec04e7 04:12:08 Step 9/24 : COPY go.mod vendor* ./ 04:12:08 ---> d9dece0ccfa1 04:12:08 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:12:08 ---> Running in b265bcd060f5 04:12:09 Removing intermediate container b265bcd060f5 04:12:09 ---> 92284d08e74a 04:12:09 Step 11/24 : COPY . . 04:12:09 ---> 72ca15f9d935 04:12:09 Step 12/24 : RUN $MAKE 04:12:09 ---> Running in 8ae65d2b586b 04:12:10 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 04:12:28 Removing intermediate container 8ae65d2b586b 04:12:28 ---> c95d2e0282cf 04:12:28 Step 13/24 : FROM alpine:3.17 04:12:28 3.17: Pulling from library/alpine 04:12:28 f56be85fc22e: Already exists 04:12:28 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:12:28 Status: Downloaded newer image for alpine:3.17 04:12:28 ---> 9ed4aefc74f6 04:12:28 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 04:12:28 ---> Running in 7743ce645640 04:12:28 Removing intermediate container 7743ce645640 04:12:28 ---> 4c58ee6b98f5 04:12:28 Step 15/24 : RUN apk add --update --no-cache dumb-init 04:12:28 ---> Running in a17d91e62497 04:12:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:12:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:12:28 (1/1) Installing dumb-init (1.2.5-r2) 04:12:28 Executing busybox-1.35.0-r29.trigger 04:12:28 OK: 7 MiB in 16 packages 04:12:28 Removing intermediate container a17d91e62497 04:12:28 ---> fb7b4b6eb562 04:12:28 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 04:12:28 ---> da3564deb79e 04:12:28 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 04:12:28 ---> 2e1978d168a1 04:12:28 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 04:12:28 ---> a65e2030ac57 04:12:28 Step 19/24 : EXPOSE 59982 04:12:28 ---> Running in 43256df7cca4 04:12:29 Removing intermediate container 43256df7cca4 04:12:29 ---> d969bfa0be4e 04:12:29 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 04:12:29 ---> Running in 835c29e94c5a 04:12:29 Removing intermediate container 835c29e94c5a 04:12:29 ---> ae1e6fbc73ac 04:12:29 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:12:29 ---> Running in 0e47f0e550c4 04:12:29 Removing intermediate container 0e47f0e550c4 04:12:29 ---> 5fbe3e691653 04:12:29 Step 22/24 : LABEL arch=amd64 04:12:29 ---> Running in c12a2a267d6c 04:12:29 Removing intermediate container c12a2a267d6c 04:12:29 ---> 520b8e339f45 04:12:29 Step 23/24 : LABEL git_sha=c8498983768038f572aeef7fea7847418933b69c 04:12:29 ---> Running in 3123b51e8529 04:12:29 Removing intermediate container 3123b51e8529 04:12:29 ---> 337523fa28a5 04:12:29 Step 24/24 : LABEL version=0.0.0 04:12:29 ---> Running in 5f9fe5defd54 04:12:29 Removing intermediate container 5f9fe5defd54 04:12:29 ---> c2ccbb410aa1 04:12:29 [Warning] One or more build-args [ARCH] were not consumed 04:12:29 Successfully built c2ccbb410aa1 04:12:29 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 04:12:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:12:30 04:12:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:12:30 latest: Pulling from edgex-lftools-log-publisher 04:12:30 5eb5b503b376: Pulling fs layer 04:12:30 5c69ac0246d0: Pulling fs layer 04:12:30 ec43610c2a17: Pulling fs layer 04:12:30 3a2ae6a8a46f: Pulling fs layer 04:12:30 33b1e0a273af: Pulling fs layer 04:12:30 5d3b04190fa2: Pulling fs layer 04:12:30 3a2ae6a8a46f: Waiting 04:12:30 33b1e0a273af: Waiting 04:12:30 2f39f015ded8: Pulling fs layer 04:12:30 5d3b04190fa2: Waiting 04:12:30 2f39f015ded8: Waiting 04:12:30 5c69ac0246d0: Verifying Checksum 04:12:30 5c69ac0246d0: Download complete 04:12:30 3a2ae6a8a46f: Verifying Checksum 04:12:30 3a2ae6a8a46f: Download complete 04:12:30 33b1e0a273af: Verifying Checksum 04:12:30 33b1e0a273af: Download complete 04:12:30 5d3b04190fa2: Verifying Checksum 04:12:30 5d3b04190fa2: Download complete 04:12:30 ec43610c2a17: Download complete 04:12:31 5eb5b503b376: Verifying Checksum 04:12:31 5eb5b503b376: Download complete 04:12:31 2f39f015ded8: Verifying Checksum 04:12:31 2f39f015ded8: Download complete 04:12:32 5eb5b503b376: Pull complete 04:12:32 5c69ac0246d0: Pull complete 04:12:32 ec43610c2a17: Pull complete 04:12:32 3a2ae6a8a46f: Pull complete 04:12:33 33b1e0a273af: Pull complete 04:12:33 5d3b04190fa2: Pull complete 04:12:37 2f39f015ded8: Pull complete 04:12:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:12:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:12:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:37 prd-ubuntu20.04-docker-8c-8g-14431 does not seem to be running inside a container 04:12:37 $ 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-596 -v /w/workspace/gexfoundry_device-mqtt-go_PR-596:/w/workspace/gexfoundry_device-mqtt-go_PR-596:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-596@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-596@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 04:12:38 $ docker top cce7aff32bc75df8a40790af55117413f0ddfb51a3c442234d4d9473e374d4ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:12:39 ---> job-cost.sh 04:12:39 lf-activate-venv: SKIPPING 04:12:39 INFO: No Stack... 04:12:39 INFO: Retrieving Pricing Info for: v3-standard-8 04:12:39 INFO: Archiving Costs [Pipeline] sh 04:12:40 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-596/archives/cost.csv 04:12:40 + cut -d, -f6 [Pipeline] lock 04:12:40 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-596-1-stack-cost] 04:12:40 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-596-1-stack-cost] did not exist. Created. 04:12:40 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-596-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:12:40 + echo total: 0.2199999988079071 [Pipeline] stash 04:12:40 Stashed 1 file(s) [Pipeline] } 04:12:40 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-596-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:12:40 $ docker stop --time=1 cce7aff32bc75df8a40790af55117413f0ddfb51a3c442234d4d9473e374d4ea 04:12:42 $ docker rm -f --volumes cce7aff32bc75df8a40790af55117413f0ddfb51a3c442234d4d9473e374d4ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:14:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14433 in /w/workspace/gexfoundry_device-mqtt-go_PR-596 [Pipeline] { [Pipeline] ws 04:14:15 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 04:14:15 Selected Git installation does not exist. Using Default 04:14:15 The recommended git tool is: NONE 04:14:22 using credential edgex-jenkins-ssh 04:14:22 Cloning the remote Git repository 04:14:22 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 04:14:22 > git init /w/workspace/device-mqtt-go/1 # timeout=10 04:14:22 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 04:14:22 > git --version # timeout=10 04:14:22 > git --version # 'git version 2.25.1' 04:14:22 using GIT_SSH to set credentials SSH Credentials for GitHub 04:14:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:14:23 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 04:14:23 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:14:25 Merging remotes/origin/main commit 57e3d53da137a61fe75c45ca6235a80f80bfde57 into PR head commit c8498983768038f572aeef7fea7847418933b69c 04:14:25 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 04:14:25 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 04:14:25 using GIT_SSH to set credentials SSH Credentials for GitHub 04:14:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/596/head:refs/remotes/origin/PR-596 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:14:25 > git config core.sparsecheckout # timeout=10 04:14:26 Merge succeeded, producing c8498983768038f572aeef7fea7847418933b69c 04:14:26 Checking out Revision c8498983768038f572aeef7fea7847418933b69c (PR-596) 04:14:25 > git checkout -f c8498983768038f572aeef7fea7847418933b69c # timeout=10 04:14:26 > git remote # timeout=10 04:14:26 > git config --get remote.origin.url # timeout=10 04:14:26 using GIT_SSH to set credentials SSH Credentials for GitHub 04:14:26 > git merge 57e3d53da137a61fe75c45ca6235a80f80bfde57 # timeout=10 04:14:26 > git rev-parse HEAD^{commit} # timeout=10 04:14:26 > git config core.sparsecheckout # timeout=10 04:14:26 > git checkout -f c8498983768038f572aeef7fea7847418933b69c # timeout=10 04:14:29 Commit message: "build: Ignore all go-mods except device-sdk-go" 04:14:29 > git --version # timeout=10 04:14:30 > git --version # 'git version 2.25.1' 04:14:30 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:14:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:14:31 % Total % Received % Xferd Average Speed Time Time Time Current 04:14:31 Dload Upload Total Spent Left Speed 04:14:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh 04:14:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:14:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:14:32 + sudo tee /etc/docker/daemon.new 04:14:32 { 04:14:32 "registry-mirrors": [ 04:14:32 "https://nexus3.edgexfoundry.org:10001" 04:14:32 ], 04:14:32 "bip": "10.250.0.254/24", 04:14:32 "hosts": [ 04:14:32 "tcp://0.0.0.0:5555", 04:14:32 "unix:///var/run/docker.sock" 04:14:32 ], 04:14:32 "mtu": 1458, 04:14:32 "selinux-enabled": true, 04:14:32 "seccomp-profile": "/etc/docker/seccomp.json" 04:14:32 } [Pipeline] sh 04:14:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:14:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:14:51 provisioning config files... 04:14:51 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config15459021925771771053tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:14:52 ---> docker-login.sh 04:14:52 nexus3.edgexfoundry.org:10001 04:14:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:52 Configure a credential helper to remove this warning. See 04:14:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:52 04:14:52 Login Succeeded 04:14:52 nexus3.edgexfoundry.org:10002 04:14:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:53 Configure a credential helper to remove this warning. See 04:14:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:53 04:14:53 Login Succeeded 04:14:53 nexus3.edgexfoundry.org:10003 04:14:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:53 Configure a credential helper to remove this warning. See 04:14:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:53 04:14:53 Login Succeeded 04:14:53 nexus3.edgexfoundry.org:10004 04:14:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:54 Configure a credential helper to remove this warning. See 04:14:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:54 04:14:54 Login Succeeded 04:14:54 docker.io 04:14:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:14:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:14:54 Configure a credential helper to remove this warning. See 04:14:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:14:54 04:14:54 Login Succeeded 04:14:54 ---> docker-login.sh ends [Pipeline] } 04:14:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:14:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:14:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:14:55 ========================================================= 04:14:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:14:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:55 + 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 . 04:14:55 Sending build context to Docker daemon 3.397MB 04:14:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:14:55 Step 2/12 : FROM ${BASE} AS builder 04:14:56 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:14:56 c41833b44d91: Pulling fs layer 04:14:56 ed15518f5707: Pulling fs layer 04:14:56 feae8fd75edb: Pulling fs layer 04:14:56 242c74f7c9fa: Pulling fs layer 04:14:56 3cdef696dda3: Pulling fs layer 04:14:56 2ced38df9373: Pulling fs layer 04:14:56 58f1dce35555: Pulling fs layer 04:14:56 3cdef696dda3: Waiting 04:14:56 2ced38df9373: Waiting 04:14:56 242c74f7c9fa: Waiting 04:14:56 58f1dce35555: Waiting 04:14:56 ed15518f5707: Verifying Checksum 04:14:56 ed15518f5707: Download complete 04:14:56 242c74f7c9fa: Verifying Checksum 04:14:56 242c74f7c9fa: Download complete 04:14:56 3cdef696dda3: Verifying Checksum 04:14:56 3cdef696dda3: Download complete 04:14:56 c41833b44d91: Verifying Checksum 04:14:56 c41833b44d91: Download complete 04:14:57 c41833b44d91: Pull complete 04:14:57 58f1dce35555: Verifying Checksum 04:14:57 58f1dce35555: Download complete 04:14:58 ed15518f5707: Pull complete 04:14:59 feae8fd75edb: Verifying Checksum 04:14:59 feae8fd75edb: Download complete 04:14:59 2ced38df9373: Verifying Checksum 04:14:59 2ced38df9373: Download complete 04:15:14 feae8fd75edb: Pull complete 04:15:14 242c74f7c9fa: Pull complete 04:15:14 3cdef696dda3: Pull complete 04:15:20 2ced38df9373: Pull complete 04:15:22 58f1dce35555: Pull complete 04:15:22 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 04:15:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:15:22 ---> fadd8f120f05 04:15:22 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:15:23 ---> Running in c88062c36650 04:15:24 Removing intermediate container c88062c36650 04:15:24 ---> 7ed89b40bd7a 04:15:24 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:15:24 ---> Running in 13a336ede7aa 04:15:24 Removing intermediate container 13a336ede7aa 04:15:24 ---> d6c322e2e127 04:15:24 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:15:24 ---> Running in 2781da38dfbc 04:15:24 Removing intermediate container 2781da38dfbc 04:15:24 ---> 0fa5b744b73e 04:15:24 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:15:24 ---> Running in e7ac50a040bb 04:15:25 Removing intermediate container e7ac50a040bb 04:15:25 ---> af9eb04040a2 04:15:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:15:25 ---> Running in b2bace8adb7b 04:15:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:15:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:15:28 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:15:28 (2/4) Installing libedit (20221030.3.1-r0) 04:15:28 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:15:28 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:15:28 Executing busybox-1.35.0-r29.trigger 04:15:28 OK: 268 MiB in 57 packages 04:15:30 Removing intermediate container b2bace8adb7b 04:15:30 ---> b7847140c1dd 04:15:30 Step 8/12 : WORKDIR /device-mqtt-go 04:15:30 ---> Running in df6d9e7623d3 04:15:30 Removing intermediate container df6d9e7623d3 04:15:30 ---> 4d52e7daba51 04:15:30 Step 9/12 : COPY go.mod vendor* ./ 04:15:30 ---> aae1c6b8f5a9 04:15:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:15:30 ---> Running in 7d662b7ba45b 04:16:38 Removing intermediate container 7d662b7ba45b 04:16:38 ---> 1ff033975902 04:16:38 Step 11/12 : COPY . . 04:16:38 ---> f5ebccc4e865 04:16:38 Step 12/12 : RUN $MAKE 04:16:38 ---> Running in 4b60869d73f7 04:16:38 noop 04:16:38 Removing intermediate container 4b60869d73f7 04:16:38 ---> 05a2b933560c 04:16:38 Successfully built 05a2b933560c 04:16:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:39 + docker inspect -f . ci-base-image-arm64 04:16:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:39 prd-ubuntu20.04-docker-arm64-4c-16g-14433 does not seem to be running inside a container 04:16:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 04:16:41 $ docker top 4f13c56ea3b92414ef245cec8a377edaebf80acaf0481b82401eedcb1e7028ee -eo pid,comm [Pipeline] { [Pipeline] sh 04:16:41 + go version 04:16:41 go version go1.20.2 linux/arm64 [Pipeline] } 04:16:42 $ docker stop --time=1 4f13c56ea3b92414ef245cec8a377edaebf80acaf0481b82401eedcb1e7028ee 04:16:43 $ docker rm -f --volumes 4f13c56ea3b92414ef245cec8a377edaebf80acaf0481b82401eedcb1e7028ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:44 + docker inspect -f . ci-base-image-arm64 04:16:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:44 prd-ubuntu20.04-docker-arm64-4c-16g-14433 does not seem to be running inside a container 04:16:45 $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 04:16:46 $ docker top d758d1150cb8439f4201875adc8bb47fb867dd88d5e123ceff520e133be7b127 -eo pid,comm [Pipeline] { [Pipeline] sh 04:16:47 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 04:16:48 + make test 04:16:48 go test ./... -coverprofile=coverage.out ./... 04:17:26 ? github.com/edgexfoundry/device-mqtt-go [no test files] 04:19:49 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 04:19:49 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 04:19:49 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.070s coverage: 23.1% of statements 04:19:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:19:49 go vet ./... 04:20:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:20:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:20:11 ./bin/test-attribution-txt.sh [Pipeline] echo 04:20:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:20:11 $ docker stop --time=1 d758d1150cb8439f4201875adc8bb47fb867dd88d5e123ceff520e133be7b127 04:20:13 $ docker rm -f --volumes d758d1150cb8439f4201875adc8bb47fb867dd88d5e123ceff520e133be7b127 [Pipeline] // withDockerContainer [Pipeline] sh 04:20:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:20:14 Warning: overwriting stash ‘coverage-report’ 04:20:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:20:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:20:15 + ls -al . 04:20:15 total 176 04:20:15 drwxrwxr-x 9 jenkins jenkins 4096 May 8 04:16 . 04:20:15 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:14 .. 04:20:15 -rw-rw-r-- 1 jenkins jenkins 140 May 8 04:14 .dockerignore 04:20:15 drwxrwxr-x 8 jenkins jenkins 4096 May 8 04:14 .git 04:20:15 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:14 .github 04:20:15 -rw-rw-r-- 1 jenkins jenkins 329 May 8 04:14 .gitignore 04:20:15 -rw-rw-r-- 1 jenkins jenkins 41 May 8 04:14 .golangci.yml 04:20:15 -rw-rw-r-- 1 jenkins jenkins 9417 May 8 04:14 Attribution.txt 04:20:15 -rw-rw-r-- 1 jenkins jenkins 13162 May 8 04:14 CHANGELOG.md 04:20:15 -rw-rw-r-- 1 jenkins jenkins 1689 May 8 04:14 Dockerfile 04:20:15 -rw-rw-r-- 1 jenkins jenkins 677 May 8 04:14 GOVERNANCE.md 04:20:15 -rw-rw-r-- 1 jenkins jenkins 678 May 8 04:14 Jenkinsfile 04:20:15 -rw-rw-r-- 1 jenkins jenkins 11340 May 8 04:14 LICENSE 04:20:15 -rw-rw-r-- 1 jenkins jenkins 1732 May 8 04:14 Makefile 04:20:15 -rw-rw-r-- 1 jenkins jenkins 620 May 8 04:14 OWNERS.md 04:20:15 -rw-rw-r-- 1 jenkins jenkins 3165 May 8 04:14 README.md 04:20:15 -rw-rw-r-- 1 jenkins jenkins 5 May 8 04:11 VERSION 04:20:15 drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:14 bin 04:20:15 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:14 cmd 04:20:15 -rw-r--r-- 1 jenkins jenkins 18144 May 8 04:19 coverage.out 04:20:15 -rw-rw-r-- 1 jenkins jenkins 3333 May 8 04:14 go.mod 04:20:15 -rw-rw-r-- 1 jenkins jenkins 31328 May 8 04:14 go.sum 04:20:15 drwxrwxr-x 3 jenkins jenkins 4096 May 8 04:14 internal 04:20:15 drwxrwxr-x 2 jenkins jenkins 4096 May 8 04:14 mock 04:20:15 drwxrwxr-x 4 jenkins jenkins 4096 May 8 04:14 snap 04:20:15 -rw-rw-r-- 1 jenkins jenkins 227 May 8 04:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:16 + 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=c8498983768038f572aeef7fea7847418933b69c --label arch=arm64 --label version=0.0.0 . 04:20:16 Sending build context to Docker daemon 3.416MB 04:20:16 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 04:20:16 Step 2/24 : FROM ${BASE} AS builder 04:20:16 ---> 05a2b933560c 04:20:16 Step 3/24 : ARG ADD_BUILD_TAGS="" 04:20:16 ---> Running in c612f247df14 04:20:16 Removing intermediate container c612f247df14 04:20:16 ---> bafa7770cd2f 04:20:16 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:20:16 ---> Running in 202a5c4b65bf 04:20:17 Removing intermediate container 202a5c4b65bf 04:20:17 ---> c9da360dc256 04:20:17 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:20:17 ---> Running in caef148cb732 04:20:17 Removing intermediate container caef148cb732 04:20:17 ---> 9fd7871eae2e 04:20:17 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 04:20:17 ---> Running in 89bd30038a4a 04:20:18 Removing intermediate container 89bd30038a4a 04:20:18 ---> 77c815b4acfa 04:20:18 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:20:18 ---> Running in 561b8d78df6e 04:20:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:20:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:20:21 OK: 268 MiB in 57 packages 04:20:21 Removing intermediate container 561b8d78df6e 04:20:21 ---> 8a955b231c78 04:20:21 Step 8/24 : WORKDIR /device-mqtt-go 04:20:21 ---> Running in 39d5e6109a3a 04:20:21 Removing intermediate container 39d5e6109a3a 04:20:21 ---> 4790c42b721f 04:20:21 Step 9/24 : COPY go.mod vendor* ./ 04:20:22 ---> 1be54628ecd8 04:20:22 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:20:22 ---> Running in f8a499b90be4 04:20:25 Removing intermediate container f8a499b90be4 04:20:25 ---> 3e9ed32170ce 04:20:25 Step 11/24 : COPY . . 04:20:26 ---> e880a00af28e 04:20:26 Step 12/24 : RUN $MAKE 04:20:26 ---> Running in 169bb58c253a 04:20:27 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 04:22:48 Removing intermediate container 169bb58c253a 04:22:48 ---> 697e7fd30d37 04:22:48 Step 13/24 : FROM alpine:3.17 04:22:48 3.17: Pulling from library/alpine 04:22:48 c41833b44d91: Already exists 04:22:48 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:22:48 Status: Downloaded newer image for alpine:3.17 04:22:48 ---> 51e60588ff2c 04:22:48 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 04:22:48 ---> Running in d825c2a5a058 04:22:48 Removing intermediate container d825c2a5a058 04:22:48 ---> 1344031e707c 04:22:48 Step 15/24 : RUN apk add --update --no-cache dumb-init 04:22:48 ---> Running in 4b9df8fce945 04:22:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:22:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:22:48 (1/1) Installing dumb-init (1.2.5-r2) 04:22:48 Executing busybox-1.35.0-r29.trigger 04:22:48 OK: 8 MiB in 16 packages 04:22:48 Removing intermediate container 4b9df8fce945 04:22:48 ---> 86cfc379fbdc 04:22:48 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 04:22:48 ---> 2256d4afe12c 04:22:48 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 04:22:49 ---> 35c16c2a55d8 04:22:49 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 04:22:49 ---> 3f4160975a56 04:22:49 Step 19/24 : EXPOSE 59982 04:22:49 ---> Running in fd19d4a0cc68 04:22:49 Removing intermediate container fd19d4a0cc68 04:22:49 ---> e51d1583b073 04:22:49 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 04:22:50 ---> Running in ea985e073466 04:22:50 Removing intermediate container ea985e073466 04:22:50 ---> c1b261e5f4ea 04:22:50 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:22:50 ---> Running in 8e77b040ac7c 04:22:50 Removing intermediate container 8e77b040ac7c 04:22:50 ---> 3ac7d4675d23 04:22:50 Step 22/24 : LABEL arch=arm64 04:22:50 ---> Running in 81595301b75e 04:22:51 Removing intermediate container 81595301b75e 04:22:51 ---> f9623e1ca776 04:22:51 Step 23/24 : LABEL git_sha=c8498983768038f572aeef7fea7847418933b69c 04:22:51 ---> Running in 4b114c34de5a 04:22:51 Removing intermediate container 4b114c34de5a 04:22:51 ---> 2188f4ffaca9 04:22:51 Step 24/24 : LABEL version=0.0.0 04:22:51 ---> Running in 585b8080a363 04:22:52 Removing intermediate container 585b8080a363 04:22:52 ---> ac279ae542a4 04:22:52 [Warning] One or more build-args [ARCH] were not consumed 04:22:52 Successfully built ac279ae542a4 04:22:52 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 04:22:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:22:52 04:22:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:22:53 arm64: Pulling from edgex-lftools-log-publisher 04:22:53 8998bd30e6a1: Pulling fs layer 04:22:53 04944245beec: Pulling fs layer 04:22:53 699f458cf7ca: Pulling fs layer 04:22:53 765212b225bb: Pulling fs layer 04:22:53 f23df028b6ca: Pulling fs layer 04:22:53 d65c8cfc05b1: Pulling fs layer 04:22:53 2437ff75d9bd: Pulling fs layer 04:22:53 f23df028b6ca: Waiting 04:22:53 2437ff75d9bd: Waiting 04:22:53 d65c8cfc05b1: Waiting 04:22:53 765212b225bb: Waiting 04:22:53 04944245beec: Verifying Checksum 04:22:53 04944245beec: Download complete 04:22:53 765212b225bb: Verifying Checksum 04:22:53 765212b225bb: Download complete 04:22:53 f23df028b6ca: Verifying Checksum 04:22:53 f23df028b6ca: Download complete 04:22:53 d65c8cfc05b1: Verifying Checksum 04:22:53 d65c8cfc05b1: Download complete 04:22:53 699f458cf7ca: Verifying Checksum 04:22:53 699f458cf7ca: Download complete 04:22:54 8998bd30e6a1: Download complete 04:22:56 2437ff75d9bd: Verifying Checksum 04:22:56 2437ff75d9bd: Download complete 04:22:58 8998bd30e6a1: Pull complete 04:22:58 04944245beec: Pull complete 04:23:00 699f458cf7ca: Pull complete 04:23:00 765212b225bb: Pull complete 04:23:01 f23df028b6ca: Pull complete 04:23:01 d65c8cfc05b1: Pull complete 04:23:16 2437ff75d9bd: Pull complete 04:23:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:23:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:23:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:23:16 prd-ubuntu20.04-docker-arm64-4c-16g-14433 does not seem to be running inside a container 04:23:16 $ 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/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@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 04:23:21 $ docker top b8d14970813354b4a4ca94da7b9955b1c7596b88be7691609def58a424bb5024 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:23:22 ---> job-cost.sh 04:23:22 lf-activate-venv: SKIPPING 04:23:22 INFO: No Stack... 04:23:23 INFO: Retrieving Pricing Info for: v3-standard-4 04:23:24 INFO: Archiving Costs [Pipeline] sh 04:23:24 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 04:23:24 + cut -d, -f6 [Pipeline] lock 04:23:24 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-596-1-stack-cost] 04:23:24 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-596-1-stack-cost] did not exist. Created. 04:23:24 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-596-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:23:25 /w/workspace/device-mqtt-go/1@tmp/durable-69b10af4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:23:26 + echo total: 0.10999999940395355 [Pipeline] stash 04:23:26 Warning: overwriting stash ‘stack-cost’ 04:23:26 Stashed 1 file(s) [Pipeline] } 04:23:26 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-596-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:23:26 $ docker stop --time=1 b8d14970813354b4a4ca94da7b9955b1c7596b88be7691609def58a424bb5024 04:23:27 $ docker rm -f --volumes b8d14970813354b4a4ca94da7b9955b1c7596b88be7691609def58a424bb5024 [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 04:23:28 provisioning config files... 04:23:28 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-596@tmp/config12121012206387717708tmp [Pipeline] { [Pipeline] sh 04:23:29 + set +x 04:23:29 + bash -s -- 04:23:29 + curl -s https://codecov.io/bash 04:23:29 04:23:29 _____ _ 04:23:29 / ____| | | 04:23:29 | | ___ __| | ___ ___ _____ __ 04:23:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:23:29 | |___| (_) | (_| | __/ (_| (_) \ V / 04:23:29 \_____\___/ \__,_|\___|\___\___/ \_/ 04:23:29 Bash-1.0.6 04:23:29 04:23:29 04:23:29 ==> git version 2.25.1 found 04:23:29 ==> 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 04:23:29 Release-Date: 2020-01-08 04:23:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:23:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:23:29 ==> Jenkins CI detected. 04:23:29 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-596 04:23:29 project root: . 04:23:29 --> token set from env 04:23:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:23:29 ==> Running gcov in . (disable via -X gcov) 04:23:29 ==> Python coveragepy not found 04:23:29 ==> Searching for coverage reports in: 04:23:29 + . 04:23:29 -> Found 1 reports 04:23:29 ==> Detecting git/mercurial file structure 04:23:29 ==> Reading reports 04:23:29 + ./coverage.out bytes=18144 04:23:29 ==> Appending adjustments 04:23:29 https://docs.codecov.io/docs/fixing-reports 04:23:29 + Found adjustments 04:23:29 ==> Gzipping contents 04:23:29 4.0K /tmp/codecov.cL8sLq.gz 04:23:29 ==> Uploading reports 04:23:29 url: https://codecov.io 04:23:29 query: branch=PR-596&commit=c8498983768038f572aeef7fea7847418933b69c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-596%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=596&job=&cmd_args= 04:23:29 -> Pinging Codecov 04:23:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-596&commit=c8498983768038f572aeef7fea7847418933b69c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-596%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=596&job=&cmd_args= 04:23:29 -> Uploading to 04:23:29 https://storage.googleapis.com/codecov/v4/raw/2023-05-08/7D719EC7BBE17E464838252E33014C33/c8498983768038f572aeef7fea7847418933b69c/f6fa7116-16ce-42aa-8245-b5863b051706.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230508%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230508T042329Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=92c58344f2755fc2ffa3cb763e47c1a85e5ac900f99f6f595add12905c81ff79 04:23:29 % Total % Received % Xferd Average Speed Time Time Time Current 04:23:29 Dload Upload Total Spent Left Speed 04:23:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3184 0 0 100 3184 0 15762 --:--:-- --:--:-- --:--:-- 15684 100 3184 0 0 100 3184 0 10720 --:--:-- --:--:-- --:--:-- 10684 04:23:29 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/c8498983768038f572aeef7fea7847418933b69c [Pipeline] } 04:23:30 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 04:23:31 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-596/archives ] 04:23:31 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-596/archives 04:23:31 total 16 04:23:31 drwxr-xr-x 3 root root 4096 May 8 04:12 . 04:23:31 drwxrwxr-x 11 jenkins jenkins 4096 May 8 04:12 .. 04:23:31 drwxr-xr-x 2 root root 4096 May 8 04:12 cost 04:23:31 -rw-r--r-- 1 root root 86 May 8 04:12 cost.csv 04:23:31 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-596/archives 04:23:31 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-596/archives 04:23:31 total 16 04:23:31 drwxr-xr-x 3 jenkins jenkins 4096 May 8 04:12 . 04:23:31 drwxrwxr-x 11 jenkins jenkins 4096 May 8 04:12 .. 04:23:31 drwxr-xr-x 2 jenkins jenkins 4096 May 8 04:12 cost 04:23:31 -rw-r--r-- 1 jenkins jenkins 86 May 8 04:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:23:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:23:33 ---> package-listing.sh 04:23:33 ++ facter osfamily 04:23:33 ++ tr '[:upper:]' '[:lower:]' 04:23:33 + OS_FAMILY=debian 04:23:33 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-596 04:23:33 + START_PACKAGES=/tmp/packages_start.txt 04:23:33 + END_PACKAGES=/tmp/packages_end.txt 04:23:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:23:33 + PACKAGES=/tmp/packages_start.txt 04:23:33 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-596 ']' 04:23:33 + PACKAGES=/tmp/packages_end.txt 04:23:33 + case "${OS_FAMILY}" in 04:23:33 + dpkg -l 04:23:33 + grep '^ii' 04:23:33 + '[' -f /tmp/packages_start.txt ']' 04:23:33 + '[' -f /tmp/packages_end.txt ']' 04:23:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:23:33 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-596 ']' 04:23:33 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-596/archives/ 04:23:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-596/archives/ [Pipeline] echo 04:23: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-596/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:23:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:23:34 prd-ubuntu20.04-docker-8c-8g-14431 does not seem to be running inside a container 04:23:34 $ 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-596/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-596 -v /w/workspace/gexfoundry_device-mqtt-go_PR-596:/w/workspace/gexfoundry_device-mqtt-go_PR-596:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-596@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-596@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:23:34 $ docker top ebc0336a7adf3e9acb8151064f00a6e4aef438860baab3c64bf1c24413c54ea6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:23:35 + touch /tmp/pre-build-complete [Pipeline] sh 04:23:35 + mkdir -p /var/log/sysstat [Pipeline] sh 04:23:35 + ls /var/log/sa-host 04:23:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:23:35 provisioning config files... 04:23:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-596@tmp/config4964197533299915422tmp [Pipeline] { [Pipeline] echo 04:23:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:23:36 ---> create-netrc.sh [Pipeline] } 04:23:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:23:36 ---> python-tools-install.sh [Pipeline] echo 04:23:36 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:23:37 ---> sudo-logs.sh 04:23:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:23:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:23:37 ---> job-cost.sh 04:23:37 lf-activate-venv: SKIPPING 04:23:37 DEBUG: total: 0.2199999988079071 04:23:37 INFO: Retrieving Stack Cost... 04:23:37 INFO: Retrieving Pricing Info for: v3-standard-8 04:23:38 INFO: Archiving Costs [Pipeline] echo 04:23:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:23:38 ---> logs-deploy.sh 04:23:38 lf-activate-venv: SKIPPING 04:23:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-596/1 04:23:38 INFO: archiving workspace using pattern(s): 04:23:39 Archives upload complete. 04:23:39 INFO: archiving logs to Nexus