Pull request #588 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4a4b64ff5313ebdbfd16b077a9b2966cafece93e+44db128f908bb002eba25d15c491b9a779a086c0 (8e0f5508e93b13a8410ff3bb7861eb3048be7552) 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-ssh16301602549563399364.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh4171190098210915905.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-588/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-588/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12359515007322922164.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-588/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6748129200258981635.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh3804778938289281652.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-588/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-588/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5679098009751677832.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-12527 in /w/workspace/gexfoundry_device-mqtt-go_PR-588 [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-588 # 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 Merging remotes/origin/main commit 44db128f908bb002eba25d15c491b9a779a086c0 into PR head commit 4a4b64ff5313ebdbfd16b077a9b2966cafece93e Merge succeeded, producing 4a4b64ff5313ebdbfd16b077a9b2966cafece93e Checking out Revision 4a4b64ff5313ebdbfd16b077a9b2966cafece93e (PR-588) > 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/588/head:refs/remotes/origin/PR-588 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a4b64ff5313ebdbfd16b077a9b2966cafece93e # 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 44db128f908bb002eba25d15c491b9a779a086c0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4a4b64ff5313ebdbfd16b077a9b2966cafece93e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:59:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:59:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:59:26 ========================================================= 01:59:26 EdgeX Global Pipelines Version Info 01:59:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:59:27 ------------------- 01:59:27 stable info: 01:59:27 ------------------- 01:59:27 Commited By: Bill Mahoney bill.mahoney@intel.com 01:59:27 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 01:59:27 Message: update stable to v1.0.248 01:59:27 ------------------- 01:59:27 experimental info: 01:59:27 ------------------- 01:59:27 Commited By: **** collab-it+edgex@linuxfoundation.org 01:59:27 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 01:59:27 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:59:28 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:59:28 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:59:28 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:59:28 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:59:28 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:59:28 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:59:28 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:59:28 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:59:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:59:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:59:28 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:59:28 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:59:28 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:59:28 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:59:28 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:59:28 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:59:28 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:59:28 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:59:28 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:59:28 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:59:29 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:59:29 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:59:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:59:29 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:59:29 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:59:29 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:59:29 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:59:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-588 [Pipeline] echo 01:59:29 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-588 [Pipeline] echo 01:59:29 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-588 [Pipeline] echo 01:59:29 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4a4b64ff5313ebdbfd16b077a9b2966cafece93e [Pipeline] echo 01:59:29 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4a4b64f [Pipeline] echo 01:59:29 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:59:29 provisioning config files... 01:59:29 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-588@tmp/config7662683484265274761tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:30 ---> docker-login.sh 01:59:30 nexus3.edgexfoundry.org:10001 01:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:30 Configure a credential helper to remove this warning. See 01:59:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:30 01:59:30 Login Succeeded 01:59:30 nexus3.edgexfoundry.org:10002 01:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:30 Configure a credential helper to remove this warning. See 01:59:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:30 01:59:30 Login Succeeded 01:59:30 nexus3.edgexfoundry.org:10003 01:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:30 Configure a credential helper to remove this warning. See 01:59:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:30 01:59:30 Login Succeeded 01:59:30 nexus3.edgexfoundry.org:10004 01:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:30 Configure a credential helper to remove this warning. See 01:59:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:30 01:59:30 Login Succeeded 01:59:30 docker.io 01:59:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:30 Configure a credential helper to remove this warning. See 01:59:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:30 01:59:30 Login Succeeded 01:59:30 ---> docker-login.sh ends [Pipeline] } 01:59:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:59:31 + git rev-list -1 --merges 4a4b64ff5313ebdbfd16b077a9b2966cafece93e~1..4a4b64ff5313ebdbfd16b077a9b2966cafece93e [Pipeline] echo 01:59:31 -----------> git rev-list -1 --merges 4a4b64ff5313ebdbfd16b077a9b2966cafece93e~1..4a4b64ff5313ebdbfd16b077a9b2966cafece93e 4a4b64ff5313ebdbfd16b077a9b2966cafece93e [false] [Pipeline] sh 01:59:31 + git log --format=format:%s -1 4a4b64ff5313ebdbfd16b077a9b2966cafece93e [Pipeline] echo 01:59:31 ========================================================= 01:59:31 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:59:31 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:59:32 + git log --format=format:%s -1 4a4b64ff5313ebdbfd16b077a9b2966cafece93e [Pipeline] echo 01:59:32 [semverPrep] GIT_COMMIT: 4a4b64ff5313ebdbfd16b077a9b2966cafece93e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 01:59:32 [semverPrep] This is not a build commit. [Pipeline] sh 01:59:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:59:32 + grep -v github /etc/ssh/ssh_known_hosts 01:59:32 + [ -e /tmp/ssh_known_hosts ] 01:59:32 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:59:32 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:59:32 + sudo tee -a /etc/ssh/ssh_known_hosts 01:59:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:59:33 01:59:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:59:33 0.1.4: Pulling from edgex-devops/py-git-semver 01:59:33 b85a868b505f: Pulling fs layer 01:59:33 e2be974225ed: Pulling fs layer 01:59:33 339a4e72a1f5: Pulling fs layer 01:59:33 988bab9f4d93: Pulling fs layer 01:59:33 1469e6f7b9e6: Pulling fs layer 01:59:33 eaf3925da568: Pulling fs layer 01:59:33 bab4dde63d76: Pulling fs layer 01:59:33 bde34c3a00c8: Pulling fs layer 01:59:33 b352a97aabf1: Pulling fs layer 01:59:33 4872d77fe225: Pulling fs layer 01:59:33 5851b861e8e6: Pulling fs layer 01:59:33 988bab9f4d93: Waiting 01:59:33 1469e6f7b9e6: Waiting 01:59:33 4872d77fe225: Waiting 01:59:33 5851b861e8e6: Waiting 01:59:33 b352a97aabf1: Waiting 01:59:33 eaf3925da568: Waiting 01:59:33 bab4dde63d76: Waiting 01:59:33 bde34c3a00c8: Waiting 01:59:33 e2be974225ed: Download complete 01:59:33 988bab9f4d93: Verifying Checksum 01:59:33 988bab9f4d93: Download complete 01:59:34 1469e6f7b9e6: Verifying Checksum 01:59:34 1469e6f7b9e6: Download complete 01:59:34 eaf3925da568: Verifying Checksum 01:59:34 eaf3925da568: Download complete 01:59:34 339a4e72a1f5: Verifying Checksum 01:59:34 339a4e72a1f5: Download complete 01:59:34 bde34c3a00c8: Verifying Checksum 01:59:34 bde34c3a00c8: Download complete 01:59:34 b352a97aabf1: Download complete 01:59:34 4872d77fe225: Verifying Checksum 01:59:34 4872d77fe225: Download complete 01:59:34 5851b861e8e6: Verifying Checksum 01:59:34 5851b861e8e6: Download complete 01:59:34 b85a868b505f: Download complete 01:59:34 bab4dde63d76: Verifying Checksum 01:59:34 bab4dde63d76: Download complete 01:59:35 b85a868b505f: Pull complete 01:59:35 e2be974225ed: Pull complete 01:59:35 339a4e72a1f5: Pull complete 01:59:35 988bab9f4d93: Pull complete 01:59:36 1469e6f7b9e6: Pull complete 01:59:36 eaf3925da568: Pull complete 01:59:38 bab4dde63d76: Pull complete 01:59:38 bde34c3a00c8: Pull complete 01:59:38 b352a97aabf1: Pull complete 01:59:38 4872d77fe225: Pull complete 01:59:38 5851b861e8e6: Pull complete 01:59:38 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:59:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:59:38 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:38 prd-ubuntu20.04-docker-8c-8g-12527 does not seem to be running inside a container 01:59:38 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-588 -v /w/workspace/gexfoundry_device-mqtt-go_PR-588:/w/workspace/gexfoundry_device-mqtt-go_PR-588:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-588@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-588@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:59:39 $ docker top 5666b15bdde7cf314490b2eed846ef1e1cb8f46993347f451ca64301c7024c7f -eo pid,comm 01:59:39 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). 01:59:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:59:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:59:39 [ssh-agent] Looking for ssh-agent implementation... 01:59:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:59:39 $ docker exec 5666b15bdde7cf314490b2eed846ef1e1cb8f46993347f451ca64301c7024c7f ssh-agent 01:59:40 SSH_AUTH_SOCK=/tmp/ssh-1OOUTbQ6VF2j/agent.32 01:59:40 SSH_AGENT_PID=38 01:59:40 Running ssh-add (command line suppressed) 01:59:40 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-588@tmp/private_key_1079150173911712250.key (/w/workspace/gexfoundry_device-mqtt-go_PR-588@tmp/private_key_1079150173911712250.key) 01:59:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:59:40 + git tag --points-at HEAD [Pipeline] } 01:59:40 $ docker exec --env ******** --env ******** 5666b15bdde7cf314490b2eed846ef1e1cb8f46993347f451ca64301c7024c7f ssh-agent -k 01:59:40 unset SSH_AUTH_SOCK; 01:59:40 unset SSH_AGENT_PID; 01:59:40 echo Agent pid 38 killed; 01:59:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:59:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:59:40 [ssh-agent] Looking for ssh-agent implementation... 01:59:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:59:40 $ docker exec 5666b15bdde7cf314490b2eed846ef1e1cb8f46993347f451ca64301c7024c7f ssh-agent 01:59:40 SSH_AUTH_SOCK=/tmp/ssh-BU50Cdlxu4Uc/agent.70 01:59:40 SSH_AGENT_PID=77 01:59:40 Running ssh-add (command line suppressed) 01:59:41 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-588@tmp/private_key_7120422592396104227.key (/w/workspace/gexfoundry_device-mqtt-go_PR-588@tmp/private_key_7120422592396104227.key) 01:59:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:59:41 + git semver init 01:59:41 2023-05-03 01:59:41,617 [run_init] DEBUG init version:0.0.0 force:False 01:59:41 2023-05-03 01:59:41,618 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-588/.semver 01:59:41 2023-05-03 01:59:41,619 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-588/.semver 01:59:41 2023-05-03 01:59:41,619 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-588/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-588, universal_newlines=False, shell=None, istream=None) 01:59:42 2023-05-03 01:59:42,357 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-588/.git/info/exclude 01:59:42 2023-05-03 01:59:42,357 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-588/.semver/PR-588 with force:False 01:59:42 2023-05-03 01:59:42,358 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-588/.semver/PR-588 01:59:42 2023-05-03 01:59:42,363 [execute] INFO git cat-file --batch-check 01:59:42 2023-05-03 01:59:42,363 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-588/.semver, universal_newlines=False, shell=None, istream=) 01:59:42 2023-05-03 01:59:42,370 [execute] INFO git cat-file --batch 01:59:42 2023-05-03 01:59:42,370 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-588/.semver, universal_newlines=False, shell=None, istream=) 01:59:42 2023-05-03 01:59:42,376 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-588/.semver/PR-588 01:59:42 0.0.0 [Pipeline] } 01:59:42 $ docker exec --env ******** --env ******** 5666b15bdde7cf314490b2eed846ef1e1cb8f46993347f451ca64301c7024c7f ssh-agent -k 01:59:42 unset SSH_AUTH_SOCK; 01:59:42 unset SSH_AGENT_PID; 01:59:42 echo Agent pid 77 killed; 01:59:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:59:43 + git semver [Pipeline] } 01:59:43 $ docker stop --time=1 5666b15bdde7cf314490b2eed846ef1e1cb8f46993347f451ca64301c7024c7f 01:59:44 $ docker rm -f --volumes 5666b15bdde7cf314490b2eed846ef1e1cb8f46993347f451ca64301c7024c7f [Pipeline] // withDockerContainer [Pipeline] sh 01:59:45 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:59:45 Stashed 1 file(s) [Pipeline] echo 01:59:45 [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 01:59:46 provisioning config files... 01:59:46 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-588@tmp/config1109283422770158828tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:59:46 ---> docker-login.sh 01:59:46 nexus3.edgexfoundry.org:10001 01:59:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:46 Configure a credential helper to remove this warning. See 01:59:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:46 01:59:46 Login Succeeded 01:59:46 nexus3.edgexfoundry.org:10002 01:59:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:46 Configure a credential helper to remove this warning. See 01:59:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:46 01:59:46 Login Succeeded 01:59:46 nexus3.edgexfoundry.org:10003 01:59:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:46 Configure a credential helper to remove this warning. See 01:59:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:46 01:59:46 Login Succeeded 01:59:46 nexus3.edgexfoundry.org:10004 01:59:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:46 Configure a credential helper to remove this warning. See 01:59:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:46 01:59:46 Login Succeeded 01:59:46 docker.io 01:59:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:59:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:59:46 Configure a credential helper to remove this warning. See 01:59:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:59:46 01:59:46 Login Succeeded 01:59:46 ---> docker-login.sh ends [Pipeline] } 01:59:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:59:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:59:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:59:47 ========================================================= 01:59:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:59:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:47 + 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 . 01:59:47 Sending build context to Docker daemon 6.485MB 01:59:47 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:59:47 Step 2/12 : FROM ${BASE} AS builder 01:59:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:59:47 f56be85fc22e: Pulling fs layer 01:59:47 85791d961cd3: Pulling fs layer 01:59:47 d694b5ae8c79: Pulling fs layer 01:59:47 9f32a84ed3da: Pulling fs layer 01:59:47 4d19c01a9841: Pulling fs layer 01:59:47 9325e15d5711: Pulling fs layer 01:59:47 556b6ee489ea: Pulling fs layer 01:59:47 c5a4b2cf53e6: Pulling fs layer 01:59:47 9f32a84ed3da: Waiting 01:59:47 4d19c01a9841: Waiting 01:59:47 9325e15d5711: Waiting 01:59:47 556b6ee489ea: Waiting 01:59:47 c5a4b2cf53e6: Waiting 01:59:47 85791d961cd3: Download complete 01:59:47 9f32a84ed3da: Download complete 01:59:47 4d19c01a9841: Verifying Checksum 01:59:47 4d19c01a9841: Download complete 01:59:47 f56be85fc22e: Verifying Checksum 01:59:47 f56be85fc22e: Download complete 01:59:47 9325e15d5711: Verifying Checksum 01:59:47 9325e15d5711: Download complete 01:59:47 f56be85fc22e: Pull complete 01:59:48 85791d961cd3: Pull complete 01:59:48 c5a4b2cf53e6: Verifying Checksum 01:59:48 c5a4b2cf53e6: Download complete 01:59:48 d694b5ae8c79: Verifying Checksum 01:59:48 d694b5ae8c79: Download complete 01:59:48 556b6ee489ea: Verifying Checksum 01:59:48 556b6ee489ea: Download complete 01:59:52 d694b5ae8c79: Pull complete 01:59:52 9f32a84ed3da: Pull complete 01:59:52 4d19c01a9841: Pull complete 01:59:52 9325e15d5711: Pull complete 01:59:54 556b6ee489ea: Pull complete 01:59:55 c5a4b2cf53e6: Pull complete 01:59:55 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 01:59:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:59:55 ---> c4be618373d6 01:59:55 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:59:56 ---> Running in 48bf2d961207 01:59:56 Removing intermediate container 48bf2d961207 01:59:56 ---> 912491bc31bd 01:59:56 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:59:56 ---> Running in fd5ca3fea72e 01:59:57 Removing intermediate container fd5ca3fea72e 01:59:57 ---> af3cfded90d5 01:59:57 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:59:57 ---> Running in e49376c644da 01:59:57 Removing intermediate container e49376c644da 01:59:57 ---> d95d1e62e14b 01:59:57 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:59:57 ---> Running in 57ce6c0a4b00 01:59:57 Removing intermediate container 57ce6c0a4b00 01:59:57 ---> 244011492194 01:59:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:59:57 ---> Running in 1714a9e21406 01:59:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:59:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:59:57 (1/4) Installing openssh-keygen (9.1_p1-r2) 01:59:57 (2/4) Installing libedit (20221030.3.1-r0) 01:59:57 (3/4) Installing openssh-client-common (9.1_p1-r2) 01:59:57 (4/4) Installing openssh-client-default (9.1_p1-r2) 01:59:57 Executing busybox-1.35.0-r29.trigger 01:59:57 OK: 269 MiB in 57 packages 01:59:58 Removing intermediate container 1714a9e21406 01:59:58 ---> 314ac6ca3b01 01:59:58 Step 8/12 : WORKDIR /device-mqtt-go 01:59:58 ---> Running in 61394b467037 01:59:58 Removing intermediate container 61394b467037 01:59:58 ---> ae91eca42847 01:59:58 Step 9/12 : COPY go.mod vendor* ./ 01:59:58 ---> 4095ca0d154f 01:59:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:59:58 ---> Running in c13cbdf829fb 02:00:00 Still waiting to schedule task 02:00:00 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 02:00:20 Removing intermediate container c13cbdf829fb 02:00:20 ---> 60b97e7bbf74 02:00:20 Step 11/12 : COPY . . 02:00:20 ---> 2aab26757c28 02:00:20 Step 12/12 : RUN $MAKE 02:00:20 ---> Running in 4c7c15b6a675 02:00:20 noop 02:00:20 Removing intermediate container 4c7c15b6a675 02:00:20 ---> bc15f19643fa 02:00:20 Successfully built bc15f19643fa 02:00:20 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:21 + docker inspect -f . ci-base-image-x86_64 02:00:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:21 prd-ubuntu20.04-docker-8c-8g-12527 does not seem to be running inside a container 02:00:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-588 -v /w/workspace/gexfoundry_device-mqtt-go_PR-588:/w/workspace/gexfoundry_device-mqtt-go_PR-588:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-588@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-588@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 ******** ci-base-image-x86_64 cat 02:00:21 $ docker top c36e1095badf7240c4b5113b140217ba3439d426aefd06f22d7f31ec467a450a -eo pid,comm [Pipeline] { [Pipeline] sh 02:00:22 + go version 02:00:22 go version go1.20.2 linux/amd64 [Pipeline] } 02:00:22 $ docker stop --time=1 c36e1095badf7240c4b5113b140217ba3439d426aefd06f22d7f31ec467a450a 02:00:23 $ docker rm -f --volumes c36e1095badf7240c4b5113b140217ba3439d426aefd06f22d7f31ec467a450a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:24 + docker inspect -f . ci-base-image-x86_64 02:00:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:24 prd-ubuntu20.04-docker-8c-8g-12527 does not seem to be running inside a container 02:00:24 $ 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-588 -v /w/workspace/gexfoundry_device-mqtt-go_PR-588:/w/workspace/gexfoundry_device-mqtt-go_PR-588:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-588@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-588@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 ******** ci-base-image-x86_64 cat 02:00:24 $ docker top eb99d2a7da93b0018961c97430dffab95f1bd8884e803f578faef7b9058071ec -eo pid,comm [Pipeline] { [Pipeline] sh 02:00:25 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-588 [Pipeline] fileExists [Pipeline] sh 02:00:25 + make test 02:00:25 go test ./... -coverprofile=coverage.out ./... 02:00:30 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:00:40 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:00:40 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:00:40 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 24.6% of statements 02:00:47 go vet ./... 02:00:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:00:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:00:51 ./bin/test-attribution-txt.sh [Pipeline] echo 02:00:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:00:51 $ docker stop --time=1 eb99d2a7da93b0018961c97430dffab95f1bd8884e803f578faef7b9058071ec 02:00:54 $ docker rm -f --volumes eb99d2a7da93b0018961c97430dffab95f1bd8884e803f578faef7b9058071ec [Pipeline] // withDockerContainer [Pipeline] sh 02:00:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:00:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:00:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:00:56 + ls -al . 02:00:56 total 180 02:00:56 drwxrwxr-x 10 jenkins jenkins 4096 May 3 02:00 . 02:00:56 drwxrwxr-x 4 jenkins jenkins 4096 May 3 01:59 .. 02:00:56 -rw-rw-r-- 1 jenkins jenkins 140 May 3 01:59 .dockerignore 02:00:56 drwxrwxr-x 8 jenkins jenkins 4096 May 3 01:59 .git 02:00:56 drwxrwxr-x 3 jenkins jenkins 4096 May 3 01:59 .github 02:00:56 -rw-rw-r-- 1 jenkins jenkins 329 May 3 01:59 .gitignore 02:00:56 -rw-rw-r-- 1 jenkins jenkins 41 May 3 01:59 .golangci.yml 02:00:56 drwxr-xr-x 3 jenkins jenkins 4096 May 3 01:59 .semver 02:00:56 -rw-rw-r-- 1 jenkins jenkins 9417 May 3 01:59 Attribution.txt 02:00:56 -rw-rw-r-- 1 jenkins jenkins 13162 May 3 01:59 CHANGELOG.md 02:00:56 -rw-rw-r-- 1 jenkins jenkins 1689 May 3 01:59 Dockerfile 02:00:56 -rw-rw-r-- 1 jenkins jenkins 677 May 3 01:59 GOVERNANCE.md 02:00:56 -rw-rw-r-- 1 jenkins jenkins 678 May 3 01:59 Jenkinsfile 02:00:56 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 01:59 LICENSE 02:00:56 -rw-rw-r-- 1 jenkins jenkins 1732 May 3 01:59 Makefile 02:00:56 -rw-rw-r-- 1 jenkins jenkins 620 May 3 01:59 OWNERS.md 02:00:56 -rw-rw-r-- 1 jenkins jenkins 3165 May 3 01:59 README.md 02:00:56 -rw-rw-r-- 1 jenkins jenkins 5 May 3 01:59 VERSION 02:00:56 drwxrwxr-x 2 jenkins jenkins 4096 May 3 01:59 bin 02:00:56 drwxrwxr-x 3 jenkins jenkins 4096 May 3 01:59 cmd 02:00:56 -rw-r--r-- 1 jenkins jenkins 16535 May 3 02:00 coverage.out 02:00:56 -rw-rw-r-- 1 jenkins jenkins 3333 May 3 01:59 go.mod 02:00:56 -rw-rw-r-- 1 jenkins jenkins 31328 May 3 01:59 go.sum 02:00:56 drwxrwxr-x 3 jenkins jenkins 4096 May 3 01:59 internal 02:00:56 drwxrwxr-x 2 jenkins jenkins 4096 May 3 01:59 mock 02:00:56 drwxrwxr-x 4 jenkins jenkins 4096 May 3 01:59 snap 02:00:56 -rw-rw-r-- 1 jenkins jenkins 227 May 3 01:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:56 + 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=4a4b64ff5313ebdbfd16b077a9b2966cafece93e --label arch=amd64 --label version=0.0.0 . 02:00:56 Sending build context to Docker daemon 6.502MB 02:00:56 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:00:56 Step 2/24 : FROM ${BASE} AS builder 02:00:56 ---> bc15f19643fa 02:00:56 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:00:56 ---> Running in 14257b8b85ca 02:00:56 Removing intermediate container 14257b8b85ca 02:00:56 ---> cee5d68ec4f6 02:00:56 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:00:56 ---> Running in f9fb6c01190e 02:00:56 Removing intermediate container f9fb6c01190e 02:00:56 ---> be23584b660f 02:00:56 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:00:56 ---> Running in bd66674e0fa6 02:00:56 Removing intermediate container bd66674e0fa6 02:00:56 ---> f8b1ed18896b 02:00:56 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:00:56 ---> Running in 1df3bcd13417 02:00:57 Removing intermediate container 1df3bcd13417 02:00:57 ---> fbe3efbce180 02:00:57 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:00:57 ---> Running in 0ce3c0bbb816 02:00:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:00:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:00:57 OK: 269 MiB in 57 packages 02:00:57 Removing intermediate container 0ce3c0bbb816 02:00:57 ---> 940b1a77a225 02:00:57 Step 8/24 : WORKDIR /device-mqtt-go 02:00:58 ---> Running in e9509ec26ca5 02:00:58 Removing intermediate container e9509ec26ca5 02:00:58 ---> 2fa025feb334 02:00:58 Step 9/24 : COPY go.mod vendor* ./ 02:00:58 ---> 75f3249b6ff7 02:00:58 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:00:58 ---> Running in b4c02c9d3fed 02:00:59 Removing intermediate container b4c02c9d3fed 02:00:59 ---> c28cba680edb 02:00:59 Step 11/24 : COPY . . 02:00:59 ---> 0305dd328c2d 02:00:59 Step 12/24 : RUN $MAKE 02:00:59 ---> Running in 1cef5b9941bc 02:00:59 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:01:17 Removing intermediate container 1cef5b9941bc 02:01:17 ---> b094880177b4 02:01:17 Step 13/24 : FROM alpine:3.17 02:01:17 3.17: Pulling from library/alpine 02:01:17 f56be85fc22e: Already exists 02:01:17 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:01:17 Status: Downloaded newer image for alpine:3.17 02:01:17 ---> 9ed4aefc74f6 02:01:17 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:01:17 ---> Running in dd4fe7324c73 02:01:17 Removing intermediate container dd4fe7324c73 02:01:17 ---> 2b10d8629f56 02:01:17 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:01:17 ---> Running in 8818dae2e313 02:01:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:01:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:01:18 (1/1) Installing dumb-init (1.2.5-r2) 02:01:18 Executing busybox-1.35.0-r29.trigger 02:01:18 OK: 7 MiB in 16 packages 02:01:18 Removing intermediate container 8818dae2e313 02:01:18 ---> 32d43bf6dac9 02:01:18 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:01:19 ---> 70f18895a7be 02:01:19 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:01:19 ---> 4bb653d770b2 02:01:19 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:01:19 ---> 6ac32490fef4 02:01:19 Step 19/24 : EXPOSE 59982 02:01:19 ---> Running in b0889e84392a 02:01:19 Removing intermediate container b0889e84392a 02:01:19 ---> d4ff89479eb6 02:01:19 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:01:19 ---> Running in f71e19541790 02:01:19 Removing intermediate container f71e19541790 02:01:19 ---> f898cdc9735d 02:01:19 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:01:19 ---> Running in afba50572c3a 02:01:20 Removing intermediate container afba50572c3a 02:01:20 ---> 5ee8810b2563 02:01:20 Step 22/24 : LABEL arch=amd64 02:01:20 ---> Running in f57a431a7ed2 02:01:20 Removing intermediate container f57a431a7ed2 02:01:20 ---> 18b3d8d65925 02:01:20 Step 23/24 : LABEL git_sha=4a4b64ff5313ebdbfd16b077a9b2966cafece93e 02:01:20 ---> Running in 94fe959d57a4 02:01:20 Removing intermediate container 94fe959d57a4 02:01:20 ---> 3c6a7660c7dc 02:01:20 Step 24/24 : LABEL version=0.0.0 02:01:20 ---> Running in 8849e6b4e4d8 02:01:20 Removing intermediate container 8849e6b4e4d8 02:01:20 ---> 659ceebca2e4 02:01:20 [Warning] One or more build-args [ARCH] were not consumed 02:01:20 Successfully built 659ceebca2e4 02:01:20 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:01:21 02:01:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:01:21 latest: Pulling from edgex-lftools-log-publisher 02:01:21 5eb5b503b376: Pulling fs layer 02:01:21 5c69ac0246d0: Pulling fs layer 02:01:21 ec43610c2a17: Pulling fs layer 02:01:21 3a2ae6a8a46f: Pulling fs layer 02:01:21 33b1e0a273af: Pulling fs layer 02:01:21 5d3b04190fa2: Pulling fs layer 02:01:21 2f39f015ded8: Pulling fs layer 02:01:21 3a2ae6a8a46f: Waiting 02:01:21 33b1e0a273af: Waiting 02:01:21 5d3b04190fa2: Waiting 02:01:21 2f39f015ded8: Waiting 02:01:21 5c69ac0246d0: Verifying Checksum 02:01:21 5c69ac0246d0: Download complete 02:01:21 3a2ae6a8a46f: Verifying Checksum 02:01:21 3a2ae6a8a46f: Download complete 02:01:21 ec43610c2a17: Verifying Checksum 02:01:21 ec43610c2a17: Download complete 02:01:21 33b1e0a273af: Verifying Checksum 02:01:21 33b1e0a273af: Download complete 02:01:21 5d3b04190fa2: Verifying Checksum 02:01:21 5d3b04190fa2: Download complete 02:01:21 5eb5b503b376: Download complete 02:01:22 2f39f015ded8: Download complete 02:01:23 5eb5b503b376: Pull complete 02:01:23 5c69ac0246d0: Pull complete 02:01:23 ec43610c2a17: Pull complete 02:01:23 3a2ae6a8a46f: Pull complete 02:01:23 33b1e0a273af: Pull complete 02:01:23 5d3b04190fa2: Pull complete 02:01:28 2f39f015ded8: Pull complete 02:01:28 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:01:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:01:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:28 prd-ubuntu20.04-docker-8c-8g-12527 does not seem to be running inside a container 02:01:28 $ 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-588 -v /w/workspace/gexfoundry_device-mqtt-go_PR-588:/w/workspace/gexfoundry_device-mqtt-go_PR-588:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-588@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-588@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:01:31 $ docker top 987a4da7b12a8d9742ff79941f72501d15f61430adc2d00e54910c3043fbd7d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:31 ---> job-cost.sh 02:01:31 lf-activate-venv: SKIPPING 02:01:31 INFO: No Stack... 02:01:32 INFO: Retrieving Pricing Info for: v3-standard-8 02:01:32 INFO: Archiving Costs [Pipeline] sh 02:01:33 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-588/archives/cost.csv 02:01:33 + cut -d, -f6 [Pipeline] lock 02:01:33 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-588-1-stack-cost] 02:01:33 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-588-1-stack-cost] did not exist. Created. 02:01:33 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-588-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:01:33 + echo total: 0.2199999988079071 [Pipeline] stash 02:01:33 Stashed 1 file(s) [Pipeline] } 02:01:33 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-588-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:01:33 $ docker stop --time=1 987a4da7b12a8d9742ff79941f72501d15f61430adc2d00e54910c3043fbd7d3 02:01:34 $ docker rm -f --volumes 987a4da7b12a8d9742ff79941f72501d15f61430adc2d00e54910c3043fbd7d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:02:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12530 in /w/workspace/gexfoundry_device-mqtt-go_PR-588 [Pipeline] { [Pipeline] ws 02:02:53 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 02:02:53 Selected Git installation does not exist. Using Default 02:02:53 The recommended git tool is: NONE 02:02:59 using credential edgex-jenkins-ssh 02:02:59 Cloning the remote Git repository 02:03:00 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:03:00 > git init /w/workspace/device-mqtt-go/1 # timeout=10 02:03:00 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:03:00 > git --version # timeout=10 02:03:00 > git --version # 'git version 2.25.1' 02:03:00 using GIT_SSH to set credentials SSH Credentials for GitHub 02:03:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:03:01 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:03:01 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:03:03 Merging remotes/origin/main commit 44db128f908bb002eba25d15c491b9a779a086c0 into PR head commit 4a4b64ff5313ebdbfd16b077a9b2966cafece93e 02:03:03 Merge succeeded, producing 4a4b64ff5313ebdbfd16b077a9b2966cafece93e 02:03:03 Checking out Revision 4a4b64ff5313ebdbfd16b077a9b2966cafece93e (PR-588) 02:03:02 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:03:02 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:03:02 using GIT_SSH to set credentials SSH Credentials for GitHub 02:03:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/588/head:refs/remotes/origin/PR-588 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:03:03 > git config core.sparsecheckout # timeout=10 02:03:03 > git checkout -f 4a4b64ff5313ebdbfd16b077a9b2966cafece93e # timeout=10 02:03:03 > git remote # timeout=10 02:03:03 > git config --get remote.origin.url # timeout=10 02:03:03 using GIT_SSH to set credentials SSH Credentials for GitHub 02:03:03 > git merge 44db128f908bb002eba25d15c491b9a779a086c0 # timeout=10 02:03:03 > git rev-parse HEAD^{commit} # timeout=10 02:03:03 > git config core.sparsecheckout # timeout=10 02:03:03 > git checkout -f 4a4b64ff5313ebdbfd16b077a9b2966cafece93e # timeout=10 02:03:04 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 02:03:04 > git --version # timeout=10 02:03:04 > git --version # 'git version 2.25.1' 02:03:04 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:03:05 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:03:05 % Total % Received % Xferd Average Speed Time Time Time Current 02:03:05 Dload Upload Total Spent Left Speed 02:03:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 99617 [Pipeline] sh 02:03:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:03:06 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 02:03:06 /etc/docker/daemon.json 02:03:06 { 02:03:06 "registry-mirrors": [ 02:03:06 "https://nexus3.edgexfoundry.org:10001" 02:03:06 ], 02:03:06 "bip": "10.250.0.254/24", 02:03:06 "hosts": [ 02:03:06 "tcp://0.0.0.0:5555", 02:03:06 "unix:///var/run/docker.sock" 02:03:06 ], 02:03:06 "mtu": 1458, 02:03:06 "selinux-enabled": true, 02:03:06 "seccomp-profile": "/etc/docker/seccomp.json" 02:03:06 } [Pipeline] sh 02:03:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:03:07 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:03:25 provisioning config files... 02:03:25 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config1313443256820425823tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:03:25 ---> docker-login.sh 02:03:25 nexus3.edgexfoundry.org:10001 02:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:26 Configure a credential helper to remove this warning. See 02:03:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:26 02:03:26 Login Succeeded 02:03:26 nexus3.edgexfoundry.org:10002 02:03:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:27 Configure a credential helper to remove this warning. See 02:03:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:27 02:03:27 Login Succeeded 02:03:27 nexus3.edgexfoundry.org:10003 02:03:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:27 Configure a credential helper to remove this warning. See 02:03:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:27 02:03:27 Login Succeeded 02:03:27 nexus3.edgexfoundry.org:10004 02:03:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:27 Configure a credential helper to remove this warning. See 02:03:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:27 02:03:27 Login Succeeded 02:03:27 docker.io 02:03:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:28 Configure a credential helper to remove this warning. See 02:03:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:28 02:03:28 Login Succeeded 02:03:28 ---> docker-login.sh ends [Pipeline] } 02:03:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:03:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:03:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:03:28 ========================================================= 02:03:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:03:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:29 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:03:29 Sending build context to Docker daemon 3.37MB 02:03:29 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:03:29 Step 2/12 : FROM ${BASE} AS builder 02:03:29 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:03:29 c41833b44d91: Pulling fs layer 02:03:29 ed15518f5707: Pulling fs layer 02:03:29 feae8fd75edb: Pulling fs layer 02:03:29 242c74f7c9fa: Pulling fs layer 02:03:29 3cdef696dda3: Pulling fs layer 02:03:29 2ced38df9373: Pulling fs layer 02:03:29 58f1dce35555: Pulling fs layer 02:03:29 3cdef696dda3: Waiting 02:03:29 2ced38df9373: Waiting 02:03:29 58f1dce35555: Waiting 02:03:29 242c74f7c9fa: Waiting 02:03:29 ed15518f5707: Verifying Checksum 02:03:29 ed15518f5707: Download complete 02:03:29 242c74f7c9fa: Verifying Checksum 02:03:29 242c74f7c9fa: Download complete 02:03:29 3cdef696dda3: Verifying Checksum 02:03:29 3cdef696dda3: Download complete 02:03:29 c41833b44d91: Download complete 02:03:31 c41833b44d91: Pull complete 02:03:31 58f1dce35555: Verifying Checksum 02:03:31 58f1dce35555: Download complete 02:03:31 ed15518f5707: Pull complete 02:03:32 2ced38df9373: Verifying Checksum 02:03:32 2ced38df9373: Download complete 02:03:32 feae8fd75edb: Verifying Checksum 02:03:45 feae8fd75edb: Pull complete 02:03:45 242c74f7c9fa: Pull complete 02:03:45 3cdef696dda3: Pull complete 02:03:52 2ced38df9373: Pull complete 02:03:54 58f1dce35555: Pull complete 02:03:54 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 02:03:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:03:54 ---> fadd8f120f05 02:03:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:03:56 ---> Running in fe259a31f6e3 02:03:56 Removing intermediate container fe259a31f6e3 02:03:56 ---> 7981f27161fd 02:03:56 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:03:57 ---> Running in e297a2334614 02:03:57 Removing intermediate container e297a2334614 02:03:57 ---> 8de5e7c27322 02:03:57 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:03:57 ---> Running in 7c1800d83da8 02:03:57 Removing intermediate container 7c1800d83da8 02:03:57 ---> 87ed0e423af7 02:03:57 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:03:57 ---> Running in f37bb41a9dc6 02:03:58 Removing intermediate container f37bb41a9dc6 02:03:58 ---> 50bf45d489d1 02:03:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:03:58 ---> Running in 69d7a8df2442 02:03:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:04:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:04:01 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:04:01 (2/4) Installing libedit (20221030.3.1-r0) 02:04:01 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:04:01 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:04:01 Executing busybox-1.35.0-r29.trigger 02:04:01 OK: 268 MiB in 57 packages 02:04:02 Removing intermediate container 69d7a8df2442 02:04:02 ---> 4720827ea830 02:04:02 Step 8/12 : WORKDIR /device-mqtt-go 02:04:02 ---> Running in 65a13c85cf59 02:04:03 Removing intermediate container 65a13c85cf59 02:04:03 ---> 06d5bf990ad7 02:04:03 Step 9/12 : COPY go.mod vendor* ./ 02:04:03 ---> 5c1b35162b81 02:04:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:04:03 ---> Running in e0c05e501029 02:05:11 Removing intermediate container e0c05e501029 02:05:11 ---> 394b956bebe2 02:05:11 Step 11/12 : COPY . . 02:05:11 ---> d66af56215b9 02:05:11 Step 12/12 : RUN $MAKE 02:05:11 ---> Running in 8a03ba60dbca 02:05:11 noop 02:05:11 Removing intermediate container 8a03ba60dbca 02:05:11 ---> 2ba6fbb1fa8a 02:05:11 Successfully built 2ba6fbb1fa8a 02:05:11 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:12 + docker inspect -f . ci-base-image-arm64 02:05:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:12 prd-ubuntu20.04-docker-arm64-4c-16g-12530 does not seem to be running inside a container 02:05:12 $ 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 ******** ci-base-image-arm64 cat 02:05:13 $ docker top df7641b4005d95fefca4838ca287ce8c49f59993b519346fe269595d6895fa31 -eo pid,comm [Pipeline] { [Pipeline] sh 02:05:14 + go version 02:05:14 go version go1.20.2 linux/arm64 [Pipeline] } 02:05:14 $ docker stop --time=1 df7641b4005d95fefca4838ca287ce8c49f59993b519346fe269595d6895fa31 02:05:16 $ docker rm -f --volumes df7641b4005d95fefca4838ca287ce8c49f59993b519346fe269595d6895fa31 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:17 + docker inspect -f . ci-base-image-arm64 02:05:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:17 prd-ubuntu20.04-docker-arm64-4c-16g-12530 does not seem to be running inside a container 02:05:17 $ 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 ******** ci-base-image-arm64 cat 02:05:18 $ docker top 9c4f433c0806139e94a14c78f17186fd58a226cc975bd5d621e710c245dc00d7 -eo pid,comm [Pipeline] { [Pipeline] sh 02:05:22 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 02:05:23 + make test 02:05:23 go test ./... -coverprofile=coverage.out ./... 02:05:55 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:08:02 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:08:03 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:08:03 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 24.6% of statements 02:08:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:08:04 go vet ./... 02:08:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:08:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:08:36 ./bin/test-attribution-txt.sh [Pipeline] echo 02:08:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:08:36 $ docker stop --time=1 9c4f433c0806139e94a14c78f17186fd58a226cc975bd5d621e710c245dc00d7 02:08:38 $ docker rm -f --volumes 9c4f433c0806139e94a14c78f17186fd58a226cc975bd5d621e710c245dc00d7 [Pipeline] // withDockerContainer [Pipeline] sh 02:08:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:08:39 Warning: overwriting stash ‘coverage-report’ 02:08:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:08:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:08:40 + ls -al . 02:08:40 total 176 02:08:40 drwxrwxr-x 9 jenkins jenkins 4096 May 3 02:05 . 02:08:40 drwxrwxr-x 4 jenkins jenkins 4096 May 3 02:03 .. 02:08:40 -rw-rw-r-- 1 jenkins jenkins 140 May 3 02:03 .dockerignore 02:08:40 drwxrwxr-x 8 jenkins jenkins 4096 May 3 02:03 .git 02:08:40 drwxrwxr-x 3 jenkins jenkins 4096 May 3 02:03 .github 02:08:40 -rw-rw-r-- 1 jenkins jenkins 329 May 3 02:03 .gitignore 02:08:40 -rw-rw-r-- 1 jenkins jenkins 41 May 3 02:03 .golangci.yml 02:08:40 -rw-rw-r-- 1 jenkins jenkins 9417 May 3 02:03 Attribution.txt 02:08:40 -rw-rw-r-- 1 jenkins jenkins 13162 May 3 02:03 CHANGELOG.md 02:08:40 -rw-rw-r-- 1 jenkins jenkins 1689 May 3 02:03 Dockerfile 02:08:40 -rw-rw-r-- 1 jenkins jenkins 677 May 3 02:03 GOVERNANCE.md 02:08:40 -rw-rw-r-- 1 jenkins jenkins 678 May 3 02:03 Jenkinsfile 02:08:40 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 02:03 LICENSE 02:08:40 -rw-rw-r-- 1 jenkins jenkins 1732 May 3 02:03 Makefile 02:08:40 -rw-rw-r-- 1 jenkins jenkins 620 May 3 02:03 OWNERS.md 02:08:40 -rw-rw-r-- 1 jenkins jenkins 3165 May 3 02:03 README.md 02:08:40 -rw-rw-r-- 1 jenkins jenkins 5 May 3 01:59 VERSION 02:08:40 drwxrwxr-x 2 jenkins jenkins 4096 May 3 02:03 bin 02:08:40 drwxrwxr-x 3 jenkins jenkins 4096 May 3 02:03 cmd 02:08:40 -rw-r--r-- 1 jenkins jenkins 16535 May 3 02:08 coverage.out 02:08:40 -rw-rw-r-- 1 jenkins jenkins 3333 May 3 02:03 go.mod 02:08:40 -rw-rw-r-- 1 jenkins jenkins 31328 May 3 02:03 go.sum 02:08:40 drwxrwxr-x 3 jenkins jenkins 4096 May 3 02:03 internal 02:08:40 drwxrwxr-x 2 jenkins jenkins 4096 May 3 02:03 mock 02:08:40 drwxrwxr-x 4 jenkins jenkins 4096 May 3 02:03 snap 02:08:40 -rw-rw-r-- 1 jenkins jenkins 227 May 3 02:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:41 + 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=4a4b64ff5313ebdbfd16b077a9b2966cafece93e --label arch=arm64 --label version=0.0.0 . 02:08:41 Sending build context to Docker daemon 3.388MB 02:08:41 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:08:41 Step 2/24 : FROM ${BASE} AS builder 02:08:41 ---> 2ba6fbb1fa8a 02:08:41 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:08:41 ---> Running in 48fc1abcd097 02:08:42 Removing intermediate container 48fc1abcd097 02:08:42 ---> 239eb443fb9c 02:08:42 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:08:42 ---> Running in 1961b3d2638c 02:08:42 Removing intermediate container 1961b3d2638c 02:08:42 ---> 314adb0bcb75 02:08:42 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:08:42 ---> Running in ee191b9606e8 02:08:42 Removing intermediate container ee191b9606e8 02:08:42 ---> f4d098d05bd6 02:08:42 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:08:42 ---> Running in 8dbe964fca6c 02:08:43 Removing intermediate container 8dbe964fca6c 02:08:43 ---> acc96622c853 02:08:43 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:08:43 ---> Running in 19d9c38b55ab 02:08:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:08:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:08:46 OK: 268 MiB in 57 packages 02:08:46 Removing intermediate container 19d9c38b55ab 02:08:46 ---> 520e50a491c8 02:08:46 Step 8/24 : WORKDIR /device-mqtt-go 02:08:46 ---> Running in 0b1f7c383497 02:08:47 Removing intermediate container 0b1f7c383497 02:08:47 ---> 246c90eec09d 02:08:47 Step 9/24 : COPY go.mod vendor* ./ 02:08:47 ---> 412d20c80361 02:08:47 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:08:47 ---> Running in 728a6dc53fc0 02:08:50 Removing intermediate container 728a6dc53fc0 02:08:50 ---> 2664c4ec87b2 02:08:50 Step 11/24 : COPY . . 02:08:51 ---> f9bb3a256eb7 02:08:51 Step 12/24 : RUN $MAKE 02:08:51 ---> Running in 148def44609a 02:08:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:11:14 Removing intermediate container 148def44609a 02:11:14 ---> 892f00fc7c23 02:11:14 Step 13/24 : FROM alpine:3.17 02:11:14 3.17: Pulling from library/alpine 02:11:14 c41833b44d91: Already exists 02:11:14 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:11:14 Status: Downloaded newer image for alpine:3.17 02:11:14 ---> 51e60588ff2c 02:11:14 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:11:14 ---> Running in 586ad42592fd 02:11:14 Removing intermediate container 586ad42592fd 02:11:14 ---> e558f31033eb 02:11:14 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:11:14 ---> Running in 684c89e142ea 02:11:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:11:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:11:14 (1/1) Installing dumb-init (1.2.5-r2) 02:11:14 Executing busybox-1.35.0-r29.trigger 02:11:14 OK: 8 MiB in 16 packages 02:11:14 Removing intermediate container 684c89e142ea 02:11:14 ---> 91cf72d1f080 02:11:14 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:11:15 ---> ffe4c4764971 02:11:15 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:11:15 ---> 15d62804897f 02:11:15 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:11:15 ---> d8b0a6d180bb 02:11:15 Step 19/24 : EXPOSE 59982 02:11:15 ---> Running in 89d68b453329 02:11:16 Removing intermediate container 89d68b453329 02:11:16 ---> 859d71d8decf 02:11:16 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:11:16 ---> Running in ec1d82056460 02:11:16 Removing intermediate container ec1d82056460 02:11:16 ---> 6ca0855497c0 02:11:16 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:11:16 ---> Running in c93c94672413 02:11:17 Removing intermediate container c93c94672413 02:11:17 ---> 4b586906210c 02:11:17 Step 22/24 : LABEL arch=arm64 02:11:17 ---> Running in 23520e0ae8d0 02:11:17 Removing intermediate container 23520e0ae8d0 02:11:17 ---> e86ab22b0293 02:11:17 Step 23/24 : LABEL git_sha=4a4b64ff5313ebdbfd16b077a9b2966cafece93e 02:11:17 ---> Running in da8091efe425 02:11:17 Removing intermediate container da8091efe425 02:11:17 ---> 98c7f6370175 02:11:17 Step 24/24 : LABEL version=0.0.0 02:11:17 ---> Running in a7897b8b7147 02:11:18 Removing intermediate container a7897b8b7147 02:11:18 ---> 104d7f034f52 02:11:18 [Warning] One or more build-args [ARCH] were not consumed 02:11:18 Successfully built 104d7f034f52 02:11:18 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:11:18 02:11:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:11:19 arm64: Pulling from edgex-lftools-log-publisher 02:11:19 8998bd30e6a1: Pulling fs layer 02:11:19 04944245beec: Pulling fs layer 02:11:19 699f458cf7ca: Pulling fs layer 02:11:19 765212b225bb: Pulling fs layer 02:11:19 f23df028b6ca: Pulling fs layer 02:11:19 d65c8cfc05b1: Pulling fs layer 02:11:19 2437ff75d9bd: Pulling fs layer 02:11:19 f23df028b6ca: Waiting 02:11:19 765212b225bb: Waiting 02:11:19 d65c8cfc05b1: Waiting 02:11:19 2437ff75d9bd: Waiting 02:11:19 04944245beec: Verifying Checksum 02:11:19 04944245beec: Download complete 02:11:19 765212b225bb: Verifying Checksum 02:11:19 765212b225bb: Download complete 02:11:19 f23df028b6ca: Verifying Checksum 02:11:19 f23df028b6ca: Download complete 02:11:19 d65c8cfc05b1: Verifying Checksum 02:11:19 d65c8cfc05b1: Download complete 02:11:19 699f458cf7ca: Verifying Checksum 02:11:19 699f458cf7ca: Download complete 02:11:20 8998bd30e6a1: Verifying Checksum 02:11:20 8998bd30e6a1: Download complete 02:11:23 2437ff75d9bd: Download complete 02:11:24 8998bd30e6a1: Pull complete 02:11:25 04944245beec: Pull complete 02:11:26 699f458cf7ca: Pull complete 02:11:26 765212b225bb: Pull complete 02:11:27 f23df028b6ca: Pull complete 02:11:27 d65c8cfc05b1: Pull complete 02:11:42 2437ff75d9bd: Pull complete 02:11:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:11:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:11:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:42 prd-ubuntu20.04-docker-arm64-4c-16g-12530 does not seem to be running inside a container 02:11:42 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:11:45 $ docker top cd028612fc9cf6149035491948bbc4baa3d60a7f6ac860879f95b31a7a3e1ab9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:11:46 ---> job-cost.sh 02:11:46 lf-activate-venv: SKIPPING 02:11:46 INFO: No Stack... 02:11:47 INFO: Retrieving Pricing Info for: v3-standard-4 02:11:48 INFO: Archiving Costs [Pipeline] sh 02:11:48 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 02:11:48 + cut -d, -f6 [Pipeline] lock 02:11:48 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-588-1-stack-cost] 02:11:48 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-588-1-stack-cost] did not exist. Created. 02:11:48 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-588-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:11:49 /w/workspace/device-mqtt-go/1@tmp/durable-e080c642/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:11:50 + echo total: 0.10999999940395355 [Pipeline] stash 02:11:50 Warning: overwriting stash ‘stack-cost’ 02:11:50 Stashed 1 file(s) [Pipeline] } 02:11:50 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-588-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:11:50 $ docker stop --time=1 cd028612fc9cf6149035491948bbc4baa3d60a7f6ac860879f95b31a7a3e1ab9 02:11:51 $ docker rm -f --volumes cd028612fc9cf6149035491948bbc4baa3d60a7f6ac860879f95b31a7a3e1ab9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:11:52 provisioning config files... 02:11:52 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-588@tmp/config13972667524317670582tmp [Pipeline] { [Pipeline] sh 02:11:53 + set +x 02:11:53 + curl -s https://codecov.io/bash 02:11:53 + bash -s -- 02:11:53 02:11:53 _____ _ 02:11:53 / ____| | | 02:11:53 | | ___ __| | ___ ___ _____ __ 02:11:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:11:53 | |___| (_) | (_| | __/ (_| (_) \ V / 02:11:53 \_____\___/ \__,_|\___|\___\___/ \_/ 02:11:53 Bash-1.0.6 02:11:53 02:11:53 02:11:53 ==> git version 2.25.1 found 02:11:53 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:11:53 Release-Date: 2020-01-08 02:11:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:11:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:11:53 ==> Jenkins CI detected. 02:11:53 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-588 02:11:53 project root: . 02:11:53 --> token set from env 02:11:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:11:53 ==> Running gcov in . (disable via -X gcov) 02:11:53 ==> Python coveragepy not found 02:11:53 ==> Searching for coverage reports in: 02:11:53 + . 02:11:53 -> Found 1 reports 02:11:53 ==> Detecting git/mercurial file structure 02:11:53 ==> Reading reports 02:11:53 + ./coverage.out bytes=16535 02:11:53 ==> Appending adjustments 02:11:53 https://docs.codecov.io/docs/fixing-reports 02:11:53 + Found adjustments 02:11:53 ==> Gzipping contents 02:11:53 4.0K /tmp/codecov.IC1gLx.gz 02:11:53 ==> Uploading reports 02:11:53 url: https://codecov.io 02:11:53 query: branch=PR-588&commit=4a4b64ff5313ebdbfd16b077a9b2966cafece93e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-588%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=588&job=&cmd_args= 02:11:53 -> Pinging Codecov 02:11:53 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-588&commit=4a4b64ff5313ebdbfd16b077a9b2966cafece93e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-588%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=588&job=&cmd_args= 02:11:53 -> Uploading to 02:11:53 https://storage.googleapis.com/codecov/v4/raw/2023-05-03/7D719EC7BBE17E464838252E33014C33/4a4b64ff5313ebdbfd16b077a9b2966cafece93e/6bbbc4e1-3856-45c4-9326-950b45dfe3c7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230503T021153Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2c2499ed510c322e33e56ec5aa1d0b9ec7e5223b89f52fd7c766927758c1f81d 02:11:53 % Total % Received % Xferd Average Speed Time Time Time Current 02:11:53 Dload Upload Total Spent Left Speed 02:11:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3017 0 0 100 3017 0 13290 --:--:-- --:--:-- --:--:-- 13290 02:11:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/4a4b64ff5313ebdbfd16b077a9b2966cafece93e [Pipeline] } 02:11:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:11:56 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-588/archives ] 02:11:56 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-588/archives 02:11:56 total 16 02:11:56 drwxr-xr-x 3 root root 4096 May 3 02:01 . 02:11:56 drwxrwxr-x 11 jenkins jenkins 4096 May 3 02:01 .. 02:11:56 drwxr-xr-x 2 root root 4096 May 3 02:01 cost 02:11:56 -rw-r--r-- 1 root root 86 May 3 02:01 cost.csv 02:11:56 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-588/archives 02:11:56 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-588/archives 02:11:56 total 16 02:11:56 drwxr-xr-x 3 jenkins jenkins 4096 May 3 02:01 . 02:11:56 drwxrwxr-x 11 jenkins jenkins 4096 May 3 02:01 .. 02:11:56 drwxr-xr-x 2 jenkins jenkins 4096 May 3 02:01 cost 02:11:56 -rw-r--r-- 1 jenkins jenkins 86 May 3 02:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:11:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:11:57 ---> package-listing.sh 02:11:57 ++ facter osfamily 02:11:57 ++ tr '[:upper:]' '[:lower:]' 02:11:57 + OS_FAMILY=debian 02:11:57 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-588 02:11:57 + START_PACKAGES=/tmp/packages_start.txt 02:11:57 + END_PACKAGES=/tmp/packages_end.txt 02:11:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:11:57 + PACKAGES=/tmp/packages_start.txt 02:11:57 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-588 ']' 02:11:57 + PACKAGES=/tmp/packages_end.txt 02:11:57 + case "${OS_FAMILY}" in 02:11:57 + dpkg -l 02:11:57 + grep '^ii' 02:11:57 + '[' -f /tmp/packages_start.txt ']' 02:11:57 + '[' -f /tmp/packages_end.txt ']' 02:11:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:11:57 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-588 ']' 02:11:57 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-588/archives/ 02:11:57 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-588/archives/ [Pipeline] echo 02:11:57 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-588/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:11:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:11:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:11:58 prd-ubuntu20.04-docker-8c-8g-12527 does not seem to be running inside a container 02:11:58 $ 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-588/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-588 -v /w/workspace/gexfoundry_device-mqtt-go_PR-588:/w/workspace/gexfoundry_device-mqtt-go_PR-588:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-588@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-588@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-lftools-log-publisher:latest cat 02:11:59 $ docker top 666f47aab3b39c390f52718ddc01c42d52b6465bd863181e1f9404af76d66291 -eo pid,comm [Pipeline] { [Pipeline] sh 02:11:59 + touch /tmp/pre-build-complete [Pipeline] sh 02:11:59 + mkdir -p /var/log/sysstat [Pipeline] sh 02:12:00 + ls /var/log/sa-host 02:12:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:12:00 provisioning config files... 02:12:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-588@tmp/config6641180075090031812tmp [Pipeline] { [Pipeline] echo 02:12:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:12:00 ---> create-netrc.sh [Pipeline] } 02:12:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:12:01 ---> python-tools-install.sh [Pipeline] echo 02:12:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:12:01 ---> sudo-logs.sh 02:12:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:12:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:12:01 ---> job-cost.sh 02:12:01 lf-activate-venv: SKIPPING 02:12:01 DEBUG: total: 0.2199999988079071 02:12:01 INFO: Retrieving Stack Cost... 02:12:02 INFO: Retrieving Pricing Info for: v3-standard-8 02:12:02 INFO: Archiving Costs [Pipeline] echo 02:12:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:12:03 ---> logs-deploy.sh 02:12:03 lf-activate-venv: SKIPPING 02:12:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-588/1 02:12:03 INFO: archiving workspace using pattern(s): 02:12:03 Archives upload complete. 02:12:03 INFO: archiving logs to Nexus