Pull request #578 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 93463789da1293ec58fdbcb73275c398457a668b+e2c07314706493d6366513279fddb5169d0fbe38 (64f82aa18dcaeeb4c1a3fdfabe8d6d864187d1a1) 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-ssh1891871826233519091.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-ssh1449659623373120950.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-578/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-578/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14251328492573229668.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-578/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5083801473181178018.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-ssh16360587147810584332.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-578/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-578/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12616974381310991943.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9597 in /w/workspace/gexfoundry_device-mqtt-go_PR-578 [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-578 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/578/head:refs/remotes/origin/PR-578 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e2c07314706493d6366513279fddb5169d0fbe38 into PR head commit 93463789da1293ec58fdbcb73275c398457a668b Merge succeeded, producing 93463789da1293ec58fdbcb73275c398457a668b Checking out Revision 93463789da1293ec58fdbcb73275c398457a668b (PR-578) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/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:58:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 93463789da1293ec58fdbcb73275c398457a668b # 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 e2c07314706493d6366513279fddb5169d0fbe38 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93463789da1293ec58fdbcb73275c398457a668b # timeout=10 [Pipeline] withCredentials 01:58:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:58:29 ========================================================= 01:58:29 EdgeX Global Pipelines Version Info 01:58:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:58:29 ------------------- 01:58:29 stable info: 01:58:29 ------------------- 01:58:29 Commited By: Bill Mahoney bill.mahoney@intel.com 01:58:29 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 01:58:29 Message: update stable to v1.0.248 01:58:30 ------------------- 01:58:30 experimental info: 01:58:30 ------------------- 01:58:30 Commited By: **** collab-it+edgex@linuxfoundation.org 01:58:30 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 01:58:30 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:58:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:58:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:58:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:58:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:58:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:58:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:58:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:58:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:58:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:58:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:58:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:58:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:58:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:58:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:58:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:58:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:58:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:58:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:58:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:58:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:58:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:58:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:58:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:58:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:58:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:58:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:58:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:58:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-578 [Pipeline] echo 01:58:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-578 [Pipeline] echo 01:58:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-578 [Pipeline] echo 01:58:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 93463789da1293ec58fdbcb73275c398457a668b [Pipeline] echo 01:58:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9346378 [Pipeline] echo 01:58:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:58:32 provisioning config files... 01:58:32 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp/config16852519801827682276tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:58:32 ---> docker-login.sh 01:58:32 nexus3.edgexfoundry.org:10001 01:58:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:33 Configure a credential helper to remove this warning. See 01:58:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:33 01:58:33 Login Succeeded 01:58:33 nexus3.edgexfoundry.org:10002 01:58:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:33 Configure a credential helper to remove this warning. See 01:58:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:33 01:58:33 Login Succeeded 01:58:33 nexus3.edgexfoundry.org:10003 01:58:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:33 Configure a credential helper to remove this warning. See 01:58:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:33 01:58:33 Login Succeeded 01:58:33 nexus3.edgexfoundry.org:10004 01:58:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:33 Configure a credential helper to remove this warning. See 01:58:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:33 01:58:33 Login Succeeded 01:58:33 docker.io 01:58:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:33 Configure a credential helper to remove this warning. See 01:58:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:33 01:58:33 Login Succeeded 01:58:33 ---> docker-login.sh ends [Pipeline] } 01:58:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:58:34 + git rev-list -1 --merges 93463789da1293ec58fdbcb73275c398457a668b~1..93463789da1293ec58fdbcb73275c398457a668b [Pipeline] echo 01:58:34 -----------> git rev-list -1 --merges 93463789da1293ec58fdbcb73275c398457a668b~1..93463789da1293ec58fdbcb73275c398457a668b 93463789da1293ec58fdbcb73275c398457a668b [false] [Pipeline] sh 01:58:34 + git log --format=format:%s -1 93463789da1293ec58fdbcb73275c398457a668b [Pipeline] echo 01:58:35 ========================================================= 01:58:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:58:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:58:35 + git log --format=format:%s -1 93463789da1293ec58fdbcb73275c398457a668b [Pipeline] echo 01:58:35 [semverPrep] GIT_COMMIT: 93463789da1293ec58fdbcb73275c398457a668b, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:58:35 [semverPrep] This is not a build commit. [Pipeline] sh 01:58:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:58:35 + grep -v github /etc/ssh/ssh_known_hosts 01:58:35 + [ -e /tmp/ssh_known_hosts ] 01:58:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:58:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:58:35 + sudo tee -a /etc/ssh/ssh_known_hosts 01:58:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:36 01:58:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:36 0.1.4: Pulling from edgex-devops/py-git-semver 01:58:36 b85a868b505f: Pulling fs layer 01:58:36 e2be974225ed: Pulling fs layer 01:58:36 339a4e72a1f5: Pulling fs layer 01:58:36 988bab9f4d93: Pulling fs layer 01:58:36 1469e6f7b9e6: Pulling fs layer 01:58:36 eaf3925da568: Pulling fs layer 01:58:36 bab4dde63d76: Pulling fs layer 01:58:36 bde34c3a00c8: Pulling fs layer 01:58:36 b352a97aabf1: Pulling fs layer 01:58:36 4872d77fe225: Pulling fs layer 01:58:36 5851b861e8e6: Pulling fs layer 01:58:36 1469e6f7b9e6: Waiting 01:58:36 eaf3925da568: Waiting 01:58:36 bab4dde63d76: Waiting 01:58:36 bde34c3a00c8: Waiting 01:58:36 b352a97aabf1: Waiting 01:58:36 4872d77fe225: Waiting 01:58:36 5851b861e8e6: Waiting 01:58:36 988bab9f4d93: Waiting 01:58:36 e2be974225ed: Download complete 01:58:36 988bab9f4d93: Download complete 01:58:36 1469e6f7b9e6: Verifying Checksum 01:58:36 1469e6f7b9e6: Download complete 01:58:37 339a4e72a1f5: Verifying Checksum 01:58:37 339a4e72a1f5: Download complete 01:58:37 eaf3925da568: Verifying Checksum 01:58:37 eaf3925da568: Download complete 01:58:37 bde34c3a00c8: Verifying Checksum 01:58:37 bde34c3a00c8: Download complete 01:58:37 b352a97aabf1: Verifying Checksum 01:58:37 b352a97aabf1: Download complete 01:58:37 4872d77fe225: Verifying Checksum 01:58:37 4872d77fe225: Download complete 01:58:37 5851b861e8e6: Verifying Checksum 01:58:37 5851b861e8e6: Download complete 01:58:37 b85a868b505f: Verifying Checksum 01:58:37 b85a868b505f: Download complete 01:58:37 bab4dde63d76: Verifying Checksum 01:58:37 bab4dde63d76: Download complete 01:58:38 b85a868b505f: Pull complete 01:58:38 e2be974225ed: Pull complete 01:58:39 339a4e72a1f5: Pull complete 01:58:39 988bab9f4d93: Pull complete 01:58:39 1469e6f7b9e6: Pull complete 01:58:39 eaf3925da568: Pull complete 01:58:41 bab4dde63d76: Pull complete 01:58:41 bde34c3a00c8: Pull complete 01:58:41 b352a97aabf1: Pull complete 01:58:41 4872d77fe225: Pull complete 01:58:41 5851b861e8e6: Pull complete 01:58:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:58:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:58:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:41 prd-ubuntu20.04-docker-8c-8g-9597 does not seem to be running inside a container 01:58:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-578 -v /w/workspace/gexfoundry_device-mqtt-go_PR-578:/w/workspace/gexfoundry_device-mqtt-go_PR-578:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-578@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:58:44 $ docker top 7dfd35d3b91c278022868ef83080c17655a2f06a16911098e09514837f375cb4 -eo pid,comm 01:58:44 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:58:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:58:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:58:44 [ssh-agent] Looking for ssh-agent implementation... 01:58:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:58:44 $ docker exec 7dfd35d3b91c278022868ef83080c17655a2f06a16911098e09514837f375cb4 ssh-agent 01:58:44 SSH_AUTH_SOCK=/tmp/ssh-EOd4gKUZbmLz/agent.31 01:58:44 SSH_AGENT_PID=37 01:58:44 Running ssh-add (command line suppressed) 01:58:44 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp/private_key_15376900236237248046.key (/w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp/private_key_15376900236237248046.key) 01:58:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:58:44 + git tag --points-at HEAD [Pipeline] } 01:58:44 $ docker exec --env ******** --env ******** 7dfd35d3b91c278022868ef83080c17655a2f06a16911098e09514837f375cb4 ssh-agent -k 01:58:45 unset SSH_AUTH_SOCK; 01:58:45 unset SSH_AGENT_PID; 01:58:45 echo Agent pid 37 killed; 01:58:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:58:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:58:45 [ssh-agent] Looking for ssh-agent implementation... 01:58:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:58:45 $ docker exec 7dfd35d3b91c278022868ef83080c17655a2f06a16911098e09514837f375cb4 ssh-agent 01:58:45 SSH_AUTH_SOCK=/tmp/ssh-5ARBmM5NOn6x/agent.69 01:58:45 SSH_AGENT_PID=75 01:58:45 Running ssh-add (command line suppressed) 01:58:45 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp/private_key_5826119790436314157.key (/w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp/private_key_5826119790436314157.key) 01:58:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:58:45 + git semver init 01:58:46 2023-04-25 01:58:45,963 [run_init] DEBUG init version:0.0.0 force:False 01:58:46 2023-04-25 01:58:45,965 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-578/.semver 01:58:46 2023-04-25 01:58:45,966 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-578/.semver 01:58:46 2023-04-25 01:58:45,966 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-578/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-578, universal_newlines=False, shell=None, istream=None) 01:58:46 2023-04-25 01:58:46,786 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-578/.git/info/exclude 01:58:46 2023-04-25 01:58:46,787 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-578/.semver/PR-578 with force:False 01:58:46 2023-04-25 01:58:46,787 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-578/.semver/PR-578 01:58:46 2023-04-25 01:58:46,792 [execute] INFO git cat-file --batch-check 01:58:46 2023-04-25 01:58:46,792 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-578/.semver, universal_newlines=False, shell=None, istream=) 01:58:46 2023-04-25 01:58:46,798 [execute] INFO git cat-file --batch 01:58:46 2023-04-25 01:58:46,798 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-578/.semver, universal_newlines=False, shell=None, istream=) 01:58:46 2023-04-25 01:58:46,802 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-578/.semver/PR-578 01:58:46 0.0.0 [Pipeline] } 01:58:47 $ docker exec --env ******** --env ******** 7dfd35d3b91c278022868ef83080c17655a2f06a16911098e09514837f375cb4 ssh-agent -k 01:58:47 unset SSH_AUTH_SOCK; 01:58:47 unset SSH_AGENT_PID; 01:58:47 echo Agent pid 75 killed; 01:58:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:58:47 + git semver [Pipeline] } 01:58:47 $ docker stop --time=1 7dfd35d3b91c278022868ef83080c17655a2f06a16911098e09514837f375cb4 01:58:49 $ docker rm -f --volumes 7dfd35d3b91c278022868ef83080c17655a2f06a16911098e09514837f375cb4 [Pipeline] // withDockerContainer [Pipeline] sh 01:58:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:58:49 Stashed 1 file(s) [Pipeline] echo 01:58:49 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:58:50 provisioning config files... 01:58:50 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp/config5981135190544285416tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:58:50 ---> docker-login.sh 01:58:50 nexus3.edgexfoundry.org:10001 01:58:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:50 Configure a credential helper to remove this warning. See 01:58:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:50 01:58:50 Login Succeeded 01:58:50 nexus3.edgexfoundry.org:10002 01:58:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:50 Configure a credential helper to remove this warning. See 01:58:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:50 01:58:50 Login Succeeded 01:58:50 nexus3.edgexfoundry.org:10003 01:58:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:51 Configure a credential helper to remove this warning. See 01:58:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:51 01:58:51 Login Succeeded 01:58:51 nexus3.edgexfoundry.org:10004 01:58:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:51 Configure a credential helper to remove this warning. See 01:58:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:51 01:58:51 Login Succeeded 01:58:51 docker.io 01:58:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:58:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:58:51 Configure a credential helper to remove this warning. See 01:58:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:58:51 01:58:51 Login Succeeded 01:58:51 ---> docker-login.sh ends [Pipeline] } 01:58:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:58:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:58:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:58:51 ========================================================= 01:58:51 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:58:51 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:52 + 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:58:52 Sending build context to Docker daemon 6.466MB 01:58:52 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:58:52 Step 2/12 : FROM ${BASE} AS builder 01:58:52 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:58:52 f56be85fc22e: Pulling fs layer 01:58:52 85791d961cd3: Pulling fs layer 01:58:52 d694b5ae8c79: Pulling fs layer 01:58:52 9f32a84ed3da: Pulling fs layer 01:58:52 4d19c01a9841: Pulling fs layer 01:58:52 9325e15d5711: Pulling fs layer 01:58:52 556b6ee489ea: Pulling fs layer 01:58:52 c5a4b2cf53e6: Pulling fs layer 01:58:52 9f32a84ed3da: Waiting 01:58:52 556b6ee489ea: Waiting 01:58:52 c5a4b2cf53e6: Waiting 01:58:52 9325e15d5711: Waiting 01:58:52 4d19c01a9841: Waiting 01:58:52 85791d961cd3: Verifying Checksum 01:58:52 85791d961cd3: Download complete 01:58:52 9f32a84ed3da: Verifying Checksum 01:58:52 9f32a84ed3da: Download complete 01:58:52 4d19c01a9841: Verifying Checksum 01:58:52 4d19c01a9841: Download complete 01:58:52 f56be85fc22e: Verifying Checksum 01:58:52 9325e15d5711: Verifying Checksum 01:58:52 9325e15d5711: Download complete 01:58:52 f56be85fc22e: Pull complete 01:58:52 85791d961cd3: Pull complete 01:58:52 c5a4b2cf53e6: Verifying Checksum 01:58:52 c5a4b2cf53e6: Download complete 01:58:52 d694b5ae8c79: Verifying Checksum 01:58:52 d694b5ae8c79: Download complete 01:58:53 556b6ee489ea: Verifying Checksum 01:58:53 556b6ee489ea: Download complete 01:58:56 d694b5ae8c79: Pull complete 01:58:56 9f32a84ed3da: Pull complete 01:58:56 4d19c01a9841: Pull complete 01:58:56 9325e15d5711: Pull complete 01:58:59 556b6ee489ea: Pull complete 01:58:59 c5a4b2cf53e6: Pull complete 01:58:59 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 01:58:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:58:59 ---> c4be618373d6 01:58:59 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:59:03 ---> Running in 2db6e10de6cb 01:59:03 Removing intermediate container 2db6e10de6cb 01:59:03 ---> ca132f476e9b 01:59:03 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:59:03 ---> Running in 268c05b22598 01:59:03 Removing intermediate container 268c05b22598 01:59:03 ---> 81e28c2014c6 01:59:03 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:59:03 ---> Running in edb7117037d9 01:59:03 Removing intermediate container edb7117037d9 01:59:03 ---> cea088595e52 01:59:03 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:59:03 ---> Running in 07dd0a02d679 01:59:03 Removing intermediate container 07dd0a02d679 01:59:03 ---> 4774fcbb7849 01:59:03 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:59:03 ---> Running in 9ddbe5bbdd08 01:59:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:59:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:59:04 (1/4) Installing openssh-keygen (9.1_p1-r2) 01:59:04 (2/4) Installing libedit (20221030.3.1-r0) 01:59:04 (3/4) Installing openssh-client-common (9.1_p1-r2) 01:59:04 (4/4) Installing openssh-client-default (9.1_p1-r2) 01:59:04 Executing busybox-1.35.0-r29.trigger 01:59:04 OK: 269 MiB in 57 packages 01:59:05 Removing intermediate container 9ddbe5bbdd08 01:59:05 ---> 087a9614b881 01:59:05 Step 8/12 : WORKDIR /device-mqtt-go 01:59:05 ---> Running in 6767d8f407b1 01:59:05 Removing intermediate container 6767d8f407b1 01:59:05 ---> fbd929caf698 01:59:05 Step 9/12 : COPY go.mod vendor* ./ 01:59:05 ---> 6cb584d4186d 01:59:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:59:05 ---> Running in 903ad3517915 01:59:05 Still waiting to schedule task 01:59:05 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 01:59:51 Removing intermediate container 903ad3517915 01:59:51 ---> cc15e6f056f9 01:59:51 Step 11/12 : COPY . . 01:59:51 ---> 330ca2e3fd04 01:59:51 Step 12/12 : RUN $MAKE 01:59:51 ---> Running in 7ae434417037 01:59:51 noop 01:59:51 Removing intermediate container 7ae434417037 01:59:51 ---> 8e1e702795fd 01:59:51 Successfully built 8e1e702795fd 01:59:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:52 + docker inspect -f . ci-base-image-x86_64 01:59:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:52 prd-ubuntu20.04-docker-8c-8g-9597 does not seem to be running inside a container 01:59:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-578 -v /w/workspace/gexfoundry_device-mqtt-go_PR-578:/w/workspace/gexfoundry_device-mqtt-go_PR-578:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-578@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 01:59:52 $ docker top b8f714f5474612ce02934e057dd0d8691818cb36b7b74fc3a419d1bbc5e2ab53 -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:53 + go version 01:59:53 go version go1.20.2 linux/amd64 [Pipeline] } 01:59:53 $ docker stop --time=1 b8f714f5474612ce02934e057dd0d8691818cb36b7b74fc3a419d1bbc5e2ab53 01:59:54 $ docker rm -f --volumes b8f714f5474612ce02934e057dd0d8691818cb36b7b74fc3a419d1bbc5e2ab53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:55 + docker inspect -f . ci-base-image-x86_64 01:59:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:55 prd-ubuntu20.04-docker-8c-8g-9597 does not seem to be running inside a container 01:59:55 $ 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-578 -v /w/workspace/gexfoundry_device-mqtt-go_PR-578:/w/workspace/gexfoundry_device-mqtt-go_PR-578:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-578@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 01:59:55 $ docker top 57dd2f8af3921f12ab70859338e9838407b68686f4577c5ae78f5a71266f1662 -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:56 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-578 [Pipeline] fileExists [Pipeline] sh 01:59:56 + make test 01:59:56 go test ./... -coverprofile=coverage.out ./... 02:00:02 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:00:12 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:00:12 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:00:12 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.019s coverage: 21.9% of statements 02:00:18 go vet ./... 02:00:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:00:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:00:21 ./bin/test-attribution-txt.sh [Pipeline] echo 02:00:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:00:21 $ docker stop --time=1 57dd2f8af3921f12ab70859338e9838407b68686f4577c5ae78f5a71266f1662 02:00:24 $ docker rm -f --volumes 57dd2f8af3921f12ab70859338e9838407b68686f4577c5ae78f5a71266f1662 [Pipeline] // withDockerContainer [Pipeline] sh 02:00:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:00:25 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:00:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:00:26 + ls -al . 02:00:26 total 180 02:00:26 drwxrwxr-x 10 jenkins jenkins 4096 Apr 25 01:59 . 02:00:26 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 01:58 .. 02:00:26 -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 01:58 .dockerignore 02:00:26 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 01:58 .git 02:00:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 01:58 .github 02:00:26 -rw-rw-r-- 1 jenkins jenkins 329 Apr 25 01:58 .gitignore 02:00:26 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 01:58 .golangci.yml 02:00:26 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 01:58 .semver 02:00:26 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 25 01:58 Attribution.txt 02:00:26 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 25 01:58 CHANGELOG.md 02:00:26 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 25 01:58 Dockerfile 02:00:26 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 01:58 GOVERNANCE.md 02:00:26 -rw-rw-r-- 1 jenkins jenkins 678 Apr 25 01:58 Jenkinsfile 02:00:26 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 01:58 LICENSE 02:00:26 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 25 01:58 Makefile 02:00:26 -rw-rw-r-- 1 jenkins jenkins 620 Apr 25 01:58 OWNERS.md 02:00:26 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 25 01:58 README.md 02:00:26 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 01:58 VERSION 02:00:26 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 01:58 bin 02:00:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 01:58 cmd 02:00:26 -rw-r--r-- 1 jenkins jenkins 18460 Apr 25 02:00 coverage.out 02:00:26 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 25 01:58 go.mod 02:00:26 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 25 01:58 go.sum 02:00:26 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 01:58 internal 02:00:26 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 01:58 mock 02:00:26 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 01:58 snap 02:00:26 -rw-rw-r-- 1 jenkins jenkins 227 Apr 25 01:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:26 + 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=93463789da1293ec58fdbcb73275c398457a668b --label arch=amd64 --label version=0.0.0 . 02:00:26 Sending build context to Docker daemon 6.486MB 02:00:26 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:00:26 Step 2/24 : FROM ${BASE} AS builder 02:00:26 ---> 8e1e702795fd 02:00:26 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:00:26 ---> Running in d25388114caf 02:00:26 Removing intermediate container d25388114caf 02:00:26 ---> 48eb5413dd2e 02:00:26 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:00:26 ---> Running in cf92c6d00212 02:00:26 Removing intermediate container cf92c6d00212 02:00:26 ---> fb08332be230 02:00:26 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:00:26 ---> Running in 06ccb0cde4ed 02:00:26 Removing intermediate container 06ccb0cde4ed 02:00:26 ---> 197c12c8b4a1 02:00:26 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:00:26 ---> Running in 91a36c70d0e6 02:00:27 Removing intermediate container 91a36c70d0e6 02:00:27 ---> 5ce36e652c82 02:00:27 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:00:27 ---> Running in c052c6658b69 02:00:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:00:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:00:27 OK: 269 MiB in 57 packages 02:00:27 Removing intermediate container c052c6658b69 02:00:27 ---> 9f18fb3848ae 02:00:27 Step 8/24 : WORKDIR /device-mqtt-go 02:00:27 ---> Running in e8050270f3a2 02:00:28 Removing intermediate container e8050270f3a2 02:00:28 ---> eef6c000d148 02:00:28 Step 9/24 : COPY go.mod vendor* ./ 02:00:28 ---> 36967798af0d 02:00:28 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:00:28 ---> Running in 6a455a671144 02:00:29 Removing intermediate container 6a455a671144 02:00:29 ---> 0e807f59d931 02:00:29 Step 11/24 : COPY . . 02:00:29 ---> 4ee5ef0ed9b3 02:00:29 Step 12/24 : RUN $MAKE 02:00:29 ---> Running in de2004b60602 02:00:29 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:00:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9598 in /w/workspace/gexfoundry_device-mqtt-go_PR-578 [Pipeline] { [Pipeline] ws 02:00:39 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 02:00:39 Selected Git installation does not exist. Using Default 02:00:39 The recommended git tool is: NONE 02:00:45 using credential edgex-jenkins-ssh 02:00:45 Cloning the remote Git repository 02:00:45 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:00:45 > git init /w/workspace/device-mqtt-go/1 # timeout=10 02:00:45 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:00:45 > git --version # timeout=10 02:00:45 > git --version # 'git version 2.25.1' 02:00:45 using GIT_SSH to set credentials SSH Credentials for GitHub 02:00:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:00:46 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:00:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:00:47 Removing intermediate container de2004b60602 02:00:47 ---> c23c33b90e61 02:00:47 Step 13/24 : FROM alpine:3.17 02:00:47 3.17: Pulling from library/alpine 02:00:47 f56be85fc22e: Already exists 02:00:47 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:00:47 Status: Downloaded newer image for alpine:3.17 02:00:47 ---> 9ed4aefc74f6 02:00:47 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:00:47 ---> Running in 2bb52341473d 02:00:47 Removing intermediate container 2bb52341473d 02:00:47 ---> 1cc7cca9accc 02:00:47 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:00:47 ---> Running in 0836280d9e3d 02:00:47 Merging remotes/origin/main commit e2c07314706493d6366513279fddb5169d0fbe38 into PR head commit 93463789da1293ec58fdbcb73275c398457a668b 02:00:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:00:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:00:48 Merge succeeded, producing 93463789da1293ec58fdbcb73275c398457a668b 02:00:48 Checking out Revision 93463789da1293ec58fdbcb73275c398457a668b (PR-578) 02:00:48 (1/1) Installing dumb-init (1.2.5-r2) 02:00:48 Executing busybox-1.35.0-r29.trigger 02:00:48 OK: 7 MiB in 16 packages 02:00:48 Removing intermediate container 0836280d9e3d 02:00:48 ---> 725ed2819aca 02:00:48 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:00:47 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:00:47 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:00:47 using GIT_SSH to set credentials SSH Credentials for GitHub 02:00:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/578/head:refs/remotes/origin/PR-578 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:00:48 > git config core.sparsecheckout # timeout=10 02:00:48 > git checkout -f 93463789da1293ec58fdbcb73275c398457a668b # timeout=10 02:00:48 > git remote # timeout=10 02:00:48 > git config --get remote.origin.url # timeout=10 02:00:48 using GIT_SSH to set credentials SSH Credentials for GitHub 02:00:48 > git merge e2c07314706493d6366513279fddb5169d0fbe38 # timeout=10 02:00:48 > git rev-parse HEAD^{commit} # timeout=10 02:00:48 > git config core.sparsecheckout # timeout=10 02:00:48 > git checkout -f 93463789da1293ec58fdbcb73275c398457a668b # timeout=10 02:00:48 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 02:00:48 > git --version # timeout=10 02:00:48 > git --version # 'git version 2.25.1' 02:00:48 fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { 02:00:49 ---> f5d486347eae 02:00:49 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:00:49 ---> a5f5e586c525 02:00:49 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:00:49 ---> 35b85f984016 02:00:49 Step 19/24 : EXPOSE 59982 02:00:49 ---> Running in 2babe57ab610 02:00:49 Removing intermediate container 2babe57ab610 02:00:49 ---> 73424fb20479 02:00:49 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:00:49 ---> Running in 353e916e64c4 02:00:49 Removing intermediate container 353e916e64c4 02:00:49 ---> 34460d40215f 02:00:49 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:00:49 ---> Running in 872013d4bb56 02:00:49 Removing intermediate container 872013d4bb56 02:00:49 ---> 4a126a2bea6f 02:00:49 Step 22/24 : LABEL arch=amd64 02:00:49 ---> Running in affd944905d5 02:00:49 Removing intermediate container affd944905d5 02:00:49 ---> 8194bf7a9bee 02:00:49 Step 23/24 : LABEL git_sha=93463789da1293ec58fdbcb73275c398457a668b 02:00:49 ---> Running in 5f5a1011809e 02:00:49 Removing intermediate container 5f5a1011809e 02:00:49 ---> e5933404d6c5 02:00:49 Step 24/24 : LABEL version=0.0.0 02:00:49 ---> Running in c1135ce74085 02:00:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:00:50 % Total % Received % Xferd Average Speed Time Time Time Current 02:00:50 Dload Upload Total Spent Left Speed 02:00:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 77278 0 --:--:-- --:--:-- --:--:-- 77750 02:00:50 Removing intermediate container c1135ce74085 02:00:50 ---> b11604c5ebf3 02:00:50 [Warning] One or more build-args [ARCH] were not consumed 02:00:50 Successfully built b11604c5ebf3 02:00:50 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) 02:00:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:00:51 + sudo tee /etc/docker/daemon.new 02:00:51 { 02:00:51 "registry-mirrors": [ 02:00:51 "https://nexus3.edgexfoundry.org:10001" 02:00:51 ], 02:00:51 "bip": "10.250.0.254/24", 02:00:51 "hosts": [ 02:00:51 "tcp://0.0.0.0:5555", 02:00:51 "unix:///var/run/docker.sock" 02:00:51 ], 02:00:51 "mtu": 1458, 02:00:51 "selinux-enabled": true, 02:00:51 "seccomp-profile": "/etc/docker/seccomp.json" 02:00:51 } [Pipeline] sh 02:00:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:00:51 02:00:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:00:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:00:51 latest: Pulling from edgex-lftools-log-publisher 02:00:51 5eb5b503b376: Pulling fs layer 02:00:51 5c69ac0246d0: Pulling fs layer 02:00:51 ec43610c2a17: Pulling fs layer 02:00:51 3a2ae6a8a46f: Pulling fs layer 02:00:51 33b1e0a273af: Pulling fs layer 02:00:51 5d3b04190fa2: Pulling fs layer 02:00:51 2f39f015ded8: Pulling fs layer 02:00:51 33b1e0a273af: Waiting 02:00:51 5d3b04190fa2: Waiting 02:00:51 2f39f015ded8: Waiting 02:00:51 3a2ae6a8a46f: Waiting 02:00:51 5c69ac0246d0: Download complete 02:00:51 3a2ae6a8a46f: Download complete 02:00:51 33b1e0a273af: Verifying Checksum 02:00:51 33b1e0a273af: Download complete 02:00:51 ec43610c2a17: Verifying Checksum 02:00:51 ec43610c2a17: Download complete 02:00:51 5d3b04190fa2: Download complete 02:00:51 + sudo service docker restart 02:00:52 5eb5b503b376: Verifying Checksum 02:00:52 5eb5b503b376: Download complete 02:00:52 2f39f015ded8: Download complete 02:00:53 5eb5b503b376: Pull complete 02:00:53 5c69ac0246d0: Pull complete 02:00:54 ec43610c2a17: Pull complete 02:00:54 3a2ae6a8a46f: Pull complete 02:00:54 33b1e0a273af: Pull complete 02:00:54 5d3b04190fa2: Pull complete 02:00:58 2f39f015ded8: Pull complete 02:00:58 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:00:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:00:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:00:58 prd-ubuntu20.04-docker-8c-8g-9597 does not seem to be running inside a container 02:00:58 $ 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-578 -v /w/workspace/gexfoundry_device-mqtt-go_PR-578:/w/workspace/gexfoundry_device-mqtt-go_PR-578:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-578@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:02 $ docker top 8ab4b60ce1d6175db8deeb703143a78cc0813ef221acf9caa478b134d92ec554 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:02 ---> job-cost.sh 02:01:02 lf-activate-venv: SKIPPING 02:01:02 INFO: No Stack... 02:01:02 INFO: Retrieving Pricing Info for: v3-standard-8 02:01:03 INFO: Archiving Costs [Pipeline] sh 02:01:03 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-578/archives/cost.csv 02:01:03 + cut -d, -f6 [Pipeline] lock 02:01:03 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-578-1-stack-cost] 02:01:03 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-578-1-stack-cost] did not exist. Created. 02:01:03 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-578-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:01:04 + echo total: 0.2199999988079071 [Pipeline] stash 02:01:04 Stashed 1 file(s) [Pipeline] } 02:01:04 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-578-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:01:04 $ docker stop --time=1 8ab4b60ce1d6175db8deeb703143a78cc0813ef221acf9caa478b134d92ec554 02:01:05 $ docker rm -f --volumes 8ab4b60ce1d6175db8deeb703143a78cc0813ef221acf9caa478b134d92ec554 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:01:10 provisioning config files... 02:01:10 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config5334946582929058941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:10 ---> docker-login.sh 02:01:10 nexus3.edgexfoundry.org:10001 02:01:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:11 Configure a credential helper to remove this warning. See 02:01:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:11 02:01:11 Login Succeeded 02:01:11 nexus3.edgexfoundry.org:10002 02:01:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:11 Configure a credential helper to remove this warning. See 02:01:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:11 02:01:11 Login Succeeded 02:01:11 nexus3.edgexfoundry.org:10003 02:01:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:12 Configure a credential helper to remove this warning. See 02:01:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:12 02:01:12 Login Succeeded 02:01:12 nexus3.edgexfoundry.org:10004 02:01:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:13 Configure a credential helper to remove this warning. See 02:01:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:13 02:01:13 Login Succeeded 02:01:13 docker.io 02:01:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:14 Configure a credential helper to remove this warning. See 02:01:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:14 02:01:14 Login Succeeded 02:01:14 ---> docker-login.sh ends [Pipeline] } 02:01:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:01:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:01:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:01:14 ========================================================= 02:01:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:01:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:15 + 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:01:15 Sending build context to Docker daemon 3.361MB 02:01:15 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:01:15 Step 2/12 : FROM ${BASE} AS builder 02:01:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:01:15 c41833b44d91: Pulling fs layer 02:01:15 ed15518f5707: Pulling fs layer 02:01:15 feae8fd75edb: Pulling fs layer 02:01:15 242c74f7c9fa: Pulling fs layer 02:01:15 3cdef696dda3: Pulling fs layer 02:01:15 2ced38df9373: Pulling fs layer 02:01:15 58f1dce35555: Pulling fs layer 02:01:15 242c74f7c9fa: Waiting 02:01:15 3cdef696dda3: Waiting 02:01:15 2ced38df9373: Waiting 02:01:15 58f1dce35555: Waiting 02:01:15 ed15518f5707: Verifying Checksum 02:01:15 ed15518f5707: Download complete 02:01:15 242c74f7c9fa: Download complete 02:01:15 3cdef696dda3: Verifying Checksum 02:01:15 3cdef696dda3: Download complete 02:01:15 c41833b44d91: Download complete 02:01:17 58f1dce35555: Verifying Checksum 02:01:17 58f1dce35555: Download complete 02:01:17 c41833b44d91: Pull complete 02:01:18 feae8fd75edb: Verifying Checksum 02:01:18 feae8fd75edb: Download complete 02:01:18 2ced38df9373: Verifying Checksum 02:01:18 2ced38df9373: Download complete 02:01:18 ed15518f5707: Pull complete 02:01:33 feae8fd75edb: Pull complete 02:01:33 242c74f7c9fa: Pull complete 02:01:33 3cdef696dda3: Pull complete 02:01:40 2ced38df9373: Pull complete 02:01:41 58f1dce35555: Pull complete 02:01:41 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 02:01:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:01:41 ---> fadd8f120f05 02:01:41 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:01:43 ---> Running in 198268b8fb6c 02:01:43 Removing intermediate container 198268b8fb6c 02:01:43 ---> c7266f934f47 02:01:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:01:43 ---> Running in 73b977d05a5c 02:01:44 Removing intermediate container 73b977d05a5c 02:01:44 ---> 7eb33ba5bb96 02:01:44 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:01:44 ---> Running in 9bcaf9b6e3fb 02:01:44 Removing intermediate container 9bcaf9b6e3fb 02:01:44 ---> 33bb61b74642 02:01:44 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:01:44 ---> Running in 96f59f286a14 02:01:44 Removing intermediate container 96f59f286a14 02:01:44 ---> 350ebda03c67 02:01:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:01:44 ---> Running in 70fcceb8adb9 02:01:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:01:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:01:47 (1/4) Installing openssh-keygen (9.1_p1-r2) 02:01:47 (2/4) Installing libedit (20221030.3.1-r0) 02:01:47 (3/4) Installing openssh-client-common (9.1_p1-r2) 02:01:47 (4/4) Installing openssh-client-default (9.1_p1-r2) 02:01:47 Executing busybox-1.35.0-r29.trigger 02:01:47 OK: 268 MiB in 57 packages 02:01:48 Removing intermediate container 70fcceb8adb9 02:01:48 ---> 5d3d994293d2 02:01:48 Step 8/12 : WORKDIR /device-mqtt-go 02:01:48 ---> Running in 7e2c6f085d22 02:01:48 Removing intermediate container 7e2c6f085d22 02:01:48 ---> 114e0f4edd26 02:01:48 Step 9/12 : COPY go.mod vendor* ./ 02:01:49 ---> ce280359b7fc 02:01:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:01:49 ---> Running in 051db1139bcd 02:02:57 Removing intermediate container 051db1139bcd 02:02:57 ---> 476ecea681a8 02:02:57 Step 11/12 : COPY . . 02:02:57 ---> a3fc16f53325 02:02:57 Step 12/12 : RUN $MAKE 02:02:57 ---> Running in a76f06005b33 02:02:57 noop 02:02:57 Removing intermediate container a76f06005b33 02:02:57 ---> 333d3cd90fda 02:02:57 Successfully built 333d3cd90fda 02:02:57 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:57 + docker inspect -f . ci-base-image-arm64 02:02:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:58 prd-ubuntu20.04-docker-arm64-4c-16g-9598 does not seem to be running inside a container 02:02:58 $ 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:02:59 $ docker top 0dc466f0ca61cb7098e37ad28c309cda9d0c095139548fdfa3d3de201d18bdab -eo pid,comm [Pipeline] { [Pipeline] sh 02:03:00 + go version 02:03:00 go version go1.20.2 linux/arm64 [Pipeline] } 02:03:00 $ docker stop --time=1 0dc466f0ca61cb7098e37ad28c309cda9d0c095139548fdfa3d3de201d18bdab 02:03:02 $ docker rm -f --volumes 0dc466f0ca61cb7098e37ad28c309cda9d0c095139548fdfa3d3de201d18bdab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:02 + docker inspect -f . ci-base-image-arm64 02:03:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:03 prd-ubuntu20.04-docker-arm64-4c-16g-9598 does not seem to be running inside a container 02:03:03 $ 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:03:05 $ docker top ebb4e077f5bdff66fc3c8f648db33ed90db435090a39eb7a954df76018059b87 -eo pid,comm [Pipeline] { [Pipeline] sh 02:03:06 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 02:03:06 + make test 02:03:06 go test ./... -coverprofile=coverage.out ./... 02:03:39 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:05:31 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:05:35 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:05:35 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.074s coverage: 21.9% of statements 02:05:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:05:35 go vet ./... 02:06:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:06:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:06:14 ./bin/test-attribution-txt.sh [Pipeline] echo 02:06:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:06:14 $ docker stop --time=1 ebb4e077f5bdff66fc3c8f648db33ed90db435090a39eb7a954df76018059b87 02:06:16 $ docker rm -f --volumes ebb4e077f5bdff66fc3c8f648db33ed90db435090a39eb7a954df76018059b87 [Pipeline] // withDockerContainer [Pipeline] sh 02:06:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:06:17 Warning: overwriting stash ‘coverage-report’ 02:06:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:06:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:06:19 + ls -al . 02:06:19 total 176 02:06:19 drwxrwxr-x 9 jenkins jenkins 4096 Apr 25 02:03 . 02:06:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 02:00 .. 02:06:19 -rw-rw-r-- 1 jenkins jenkins 140 Apr 25 02:00 .dockerignore 02:06:19 drwxrwxr-x 8 jenkins jenkins 4096 Apr 25 02:00 .git 02:06:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 02:00 .github 02:06:19 -rw-rw-r-- 1 jenkins jenkins 329 Apr 25 02:00 .gitignore 02:06:19 -rw-rw-r-- 1 jenkins jenkins 41 Apr 25 02:00 .golangci.yml 02:06:19 -rw-rw-r-- 1 jenkins jenkins 9417 Apr 25 02:00 Attribution.txt 02:06:19 -rw-rw-r-- 1 jenkins jenkins 13162 Apr 25 02:00 CHANGELOG.md 02:06:19 -rw-rw-r-- 1 jenkins jenkins 1689 Apr 25 02:00 Dockerfile 02:06:19 -rw-rw-r-- 1 jenkins jenkins 677 Apr 25 02:00 GOVERNANCE.md 02:06:19 -rw-rw-r-- 1 jenkins jenkins 678 Apr 25 02:00 Jenkinsfile 02:06:19 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 25 02:00 LICENSE 02:06:19 -rw-rw-r-- 1 jenkins jenkins 1732 Apr 25 02:00 Makefile 02:06:19 -rw-rw-r-- 1 jenkins jenkins 620 Apr 25 02:00 OWNERS.md 02:06:19 -rw-rw-r-- 1 jenkins jenkins 3165 Apr 25 02:00 README.md 02:06:19 -rw-rw-r-- 1 jenkins jenkins 5 Apr 25 01:58 VERSION 02:06:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 02:00 bin 02:06:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 02:00 cmd 02:06:19 -rw-r--r-- 1 jenkins jenkins 18460 Apr 25 02:05 coverage.out 02:06:19 -rw-rw-r-- 1 jenkins jenkins 3333 Apr 25 02:00 go.mod 02:06:19 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 25 02:00 go.sum 02:06:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 25 02:00 internal 02:06:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 25 02:00 mock 02:06:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 25 02:00 snap 02:06:19 -rw-rw-r-- 1 jenkins jenkins 227 Apr 25 02:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:06:19 + 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=93463789da1293ec58fdbcb73275c398457a668b --label arch=arm64 --label version=0.0.0 . 02:06:19 Sending build context to Docker daemon 3.38MB 02:06:19 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:06:19 Step 2/24 : FROM ${BASE} AS builder 02:06:19 ---> 333d3cd90fda 02:06:19 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:06:20 ---> Running in 020f28a221dc 02:06:20 Removing intermediate container 020f28a221dc 02:06:20 ---> a4865b6709e1 02:06:20 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:06:20 ---> Running in 980f37c92e97 02:06:20 Removing intermediate container 980f37c92e97 02:06:20 ---> e30a15fae72d 02:06:20 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:06:20 ---> Running in e8e04945b8e0 02:06:20 Removing intermediate container e8e04945b8e0 02:06:20 ---> fdf722e85eea 02:06:20 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:06:20 ---> Running in b2ba0ec6c944 02:06:21 Removing intermediate container b2ba0ec6c944 02:06:21 ---> 91c07e881a57 02:06:21 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:06:21 ---> Running in fce4b8888fd6 02:06:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:06:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:06:23 OK: 268 MiB in 57 packages 02:06:24 Removing intermediate container fce4b8888fd6 02:06:24 ---> d18f62d622d2 02:06:24 Step 8/24 : WORKDIR /device-mqtt-go 02:06:24 ---> Running in 3b5e48cda125 02:06:24 Removing intermediate container 3b5e48cda125 02:06:24 ---> 2e9e190314e3 02:06:24 Step 9/24 : COPY go.mod vendor* ./ 02:06:25 ---> 7e3a9cf259d7 02:06:25 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:06:25 ---> Running in 6087fbaff14a 02:06:29 Removing intermediate container 6087fbaff14a 02:06:29 ---> 791b1c485e02 02:06:29 Step 11/24 : COPY . . 02:06:29 ---> 13d166c80dbc 02:06:29 Step 12/24 : RUN $MAKE 02:06:30 ---> Running in d9b20a0bbc28 02:06:31 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:08:37 Removing intermediate container d9b20a0bbc28 02:08:37 ---> bc7ed58e9e94 02:08:37 Step 13/24 : FROM alpine:3.17 02:08:37 3.17: Pulling from library/alpine 02:08:37 c41833b44d91: Already exists 02:08:37 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:08:37 Status: Downloaded newer image for alpine:3.17 02:08:37 ---> 51e60588ff2c 02:08:37 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:08:37 ---> Running in 4307912f572a 02:08:37 Removing intermediate container 4307912f572a 02:08:37 ---> 25b8c112c9bf 02:08:37 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:08:37 ---> Running in b3fbb7d6efe8 02:08:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:08:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:08:40 (1/1) Installing dumb-init (1.2.5-r2) 02:08:40 Executing busybox-1.35.0-r29.trigger 02:08:40 OK: 8 MiB in 16 packages 02:08:42 Removing intermediate container b3fbb7d6efe8 02:08:42 ---> eb7633631307 02:08:42 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:08:44 ---> 3abb7c5a58d8 02:08:44 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:08:44 ---> da064ad81aed 02:08:44 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:08:45 ---> 7de64498d4e7 02:08:45 Step 19/24 : EXPOSE 59982 02:08:45 ---> Running in ba03ac66193a 02:08:45 Removing intermediate container ba03ac66193a 02:08:45 ---> 5c2bbc7231f2 02:08:45 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:08:45 ---> Running in 733234f30871 02:08:45 Removing intermediate container 733234f30871 02:08:45 ---> 8ac067c2dd32 02:08:45 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:08:45 ---> Running in 9c7de83eba4d 02:08:46 Removing intermediate container 9c7de83eba4d 02:08:46 ---> 0280a257c501 02:08:46 Step 22/24 : LABEL arch=arm64 02:08:46 ---> Running in 3894494c35cf 02:08:46 Removing intermediate container 3894494c35cf 02:08:46 ---> 2bace232e2d4 02:08:46 Step 23/24 : LABEL git_sha=93463789da1293ec58fdbcb73275c398457a668b 02:08:46 ---> Running in f8119d861d0a 02:08:47 Removing intermediate container f8119d861d0a 02:08:47 ---> 5bd0c1c76fb2 02:08:47 Step 24/24 : LABEL version=0.0.0 02:08:47 ---> Running in 9201665be40d 02:08:47 Removing intermediate container 9201665be40d 02:08:47 ---> a97fda51140b 02:08:47 [Warning] One or more build-args [ARCH] were not consumed 02:08:47 Successfully built a97fda51140b 02:08:47 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:08:48 02:08:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:08:48 arm64: Pulling from edgex-lftools-log-publisher 02:08:48 8998bd30e6a1: Pulling fs layer 02:08:48 04944245beec: Pulling fs layer 02:08:48 699f458cf7ca: Pulling fs layer 02:08:48 765212b225bb: Pulling fs layer 02:08:48 f23df028b6ca: Pulling fs layer 02:08:48 d65c8cfc05b1: Pulling fs layer 02:08:48 2437ff75d9bd: Pulling fs layer 02:08:48 f23df028b6ca: Waiting 02:08:48 d65c8cfc05b1: Waiting 02:08:48 2437ff75d9bd: Waiting 02:08:48 765212b225bb: Waiting 02:08:48 04944245beec: Verifying Checksum 02:08:48 04944245beec: Download complete 02:08:48 765212b225bb: Verifying Checksum 02:08:48 765212b225bb: Download complete 02:08:48 f23df028b6ca: Verifying Checksum 02:08:48 f23df028b6ca: Download complete 02:08:48 d65c8cfc05b1: Verifying Checksum 02:08:48 d65c8cfc05b1: Download complete 02:08:49 699f458cf7ca: Verifying Checksum 02:08:49 8998bd30e6a1: Verifying Checksum 02:08:49 8998bd30e6a1: Download complete 02:08:52 2437ff75d9bd: Verifying Checksum 02:08:52 2437ff75d9bd: Download complete 02:08:53 8998bd30e6a1: Pull complete 02:08:55 04944245beec: Pull complete 02:08:56 699f458cf7ca: Pull complete 02:08:56 765212b225bb: Pull complete 02:08:57 f23df028b6ca: Pull complete 02:08:57 d65c8cfc05b1: Pull complete 02:09:12 2437ff75d9bd: Pull complete 02:09:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:09:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:09:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:09:13 prd-ubuntu20.04-docker-arm64-4c-16g-9598 does not seem to be running inside a container 02:09:13 $ 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:09:16 $ docker top 95c946bc62d02904c8dc269709029af1c79aa0dfa5467ba93b3796a3a52cd71d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:09:17 ---> job-cost.sh 02:09:17 lf-activate-venv: SKIPPING 02:09:17 INFO: No Stack... 02:09:18 INFO: Retrieving Pricing Info for: v3-standard-4 02:09:18 INFO: Archiving Costs [Pipeline] sh 02:09:19 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 02:09:19 + cut -d, -f6 [Pipeline] lock 02:09:19 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-578-1-stack-cost] 02:09:19 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-578-1-stack-cost] did not exist. Created. 02:09:19 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-578-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:09:20 /w/workspace/device-mqtt-go/1@tmp/durable-4b4f5a54/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:09:20 + echo total: 0.10999999940395355 [Pipeline] stash 02:09:20 Warning: overwriting stash ‘stack-cost’ 02:09:21 Stashed 1 file(s) [Pipeline] } 02:09:21 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-578-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:09:21 $ docker stop --time=1 95c946bc62d02904c8dc269709029af1c79aa0dfa5467ba93b3796a3a52cd71d 02:09:22 $ docker rm -f --volumes 95c946bc62d02904c8dc269709029af1c79aa0dfa5467ba93b3796a3a52cd71d [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:09:23 provisioning config files... 02:09:23 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp/config13887170231998879183tmp [Pipeline] { [Pipeline] sh 02:09:24 + set +x 02:09:24 + curl -s https://codecov.io/bash 02:09:24 + bash -s -- 02:09:24 02:09:24 _____ _ 02:09:24 / ____| | | 02:09:24 | | ___ __| | ___ ___ _____ __ 02:09:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:09:24 | |___| (_) | (_| | __/ (_| (_) \ V / 02:09:24 \_____\___/ \__,_|\___|\___\___/ \_/ 02:09:24 Bash-1.0.6 02:09:24 02:09:24 02:09:24 ==> git version 2.25.1 found 02:09:24 ==> 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:09:24 Release-Date: 2020-01-08 02:09:24 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:09:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:09:24 ==> Jenkins CI detected. 02:09:24 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-578 02:09:24 project root: . 02:09:24 --> token set from env 02:09:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:09:24 ==> Running gcov in . (disable via -X gcov) 02:09:24 ==> Python coveragepy not found 02:09:24 ==> Searching for coverage reports in: 02:09:24 + . 02:09:24 -> Found 1 reports 02:09:24 ==> Detecting git/mercurial file structure 02:09:24 ==> Reading reports 02:09:24 + ./coverage.out bytes=18460 02:09:24 ==> Appending adjustments 02:09:24 https://docs.codecov.io/docs/fixing-reports 02:09:24 + Found adjustments 02:09:24 ==> Gzipping contents 02:09:24 4.0K /tmp/codecov.3g2RCr.gz 02:09:24 ==> Uploading reports 02:09:24 url: https://codecov.io 02:09:24 query: branch=PR-578&commit=93463789da1293ec58fdbcb73275c398457a668b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-578%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=578&job=&cmd_args= 02:09:24 -> Pinging Codecov 02:09:24 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-578&commit=93463789da1293ec58fdbcb73275c398457a668b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-578%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=578&job=&cmd_args= 02:09:24 -> Uploading to 02:09:24 https://storage.googleapis.com/codecov/v4/raw/2023-04-25/7D719EC7BBE17E464838252E33014C33/93463789da1293ec58fdbcb73275c398457a668b/1c7aa4fe-4b17-4f99-a678-d1055fd761f7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230425%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230425T020924Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bbcde5102dcd318ac336529c84ad54543fc05391bf12b607c5badc3287818664 02:09:24 % Total % Received % Xferd Average Speed Time Time Time Current 02:09:24 Dload Upload Total Spent Left Speed 02:09:24 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3182 0 0 100 3182 0 13895 --:--:-- --:--:-- --:--:-- 13895 02:09:24 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/93463789da1293ec58fdbcb73275c398457a668b [Pipeline] } 02:09:24 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:09:26 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-578/archives ] 02:09:26 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-578/archives 02:09:26 total 16 02:09:26 drwxr-xr-x 3 root root 4096 Apr 25 02:01 . 02:09:26 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 02:01 .. 02:09:26 drwxr-xr-x 2 root root 4096 Apr 25 02:01 cost 02:09:26 -rw-r--r-- 1 root root 86 Apr 25 02:01 cost.csv 02:09:26 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-578/archives 02:09:26 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-578/archives 02:09:26 total 16 02:09:26 drwxr-xr-x 3 jenkins jenkins 4096 Apr 25 02:01 . 02:09:26 drwxrwxr-x 11 jenkins jenkins 4096 Apr 25 02:01 .. 02:09:26 drwxr-xr-x 2 jenkins jenkins 4096 Apr 25 02:01 cost 02:09:26 -rw-r--r-- 1 jenkins jenkins 86 Apr 25 02:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:09:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:09:27 ---> package-listing.sh 02:09:27 ++ facter osfamily 02:09:27 ++ tr '[:upper:]' '[:lower:]' 02:09:27 + OS_FAMILY=debian 02:09:27 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-578 02:09:27 + START_PACKAGES=/tmp/packages_start.txt 02:09:27 + END_PACKAGES=/tmp/packages_end.txt 02:09:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:09:27 + PACKAGES=/tmp/packages_start.txt 02:09:27 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-578 ']' 02:09:27 + PACKAGES=/tmp/packages_end.txt 02:09:27 + case "${OS_FAMILY}" in 02:09:27 + dpkg -l 02:09:27 + grep '^ii' 02:09:27 + '[' -f /tmp/packages_start.txt ']' 02:09:27 + '[' -f /tmp/packages_end.txt ']' 02:09:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:09:27 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-578 ']' 02:09:27 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-578/archives/ 02:09:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-578/archives/ [Pipeline] echo 02:09:27 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-578/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:09:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:09:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:09:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:09:29 prd-ubuntu20.04-docker-8c-8g-9597 does not seem to be running inside a container 02:09:29 $ 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-578/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-578 -v /w/workspace/gexfoundry_device-mqtt-go_PR-578:/w/workspace/gexfoundry_device-mqtt-go_PR-578:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-578@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:09:29 $ docker top cfac5ba50f6a55fdb556af653f22559f192825b0c96d255acf91594c591be9ae -eo pid,comm [Pipeline] { [Pipeline] sh 02:09:29 + touch /tmp/pre-build-complete [Pipeline] sh 02:09:30 + mkdir -p /var/log/sysstat [Pipeline] sh 02:09:30 + ls /var/log/sa-host 02:09:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:09:30 provisioning config files... 02:09:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-578@tmp/config16889256345430987838tmp [Pipeline] { [Pipeline] echo 02:09:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:09:31 ---> create-netrc.sh [Pipeline] } 02:09:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:09:31 ---> python-tools-install.sh [Pipeline] echo 02:09:31 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:09:31 ---> sudo-logs.sh 02:09:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:09:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:09:32 ---> job-cost.sh 02:09:32 lf-activate-venv: SKIPPING 02:09:32 DEBUG: total: 0.2199999988079071 02:09:32 INFO: Retrieving Stack Cost... 02:09:32 INFO: Retrieving Pricing Info for: v3-standard-8 02:09:33 INFO: Archiving Costs [Pipeline] echo 02:09:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:09:33 ---> logs-deploy.sh 02:09:33 lf-activate-venv: SKIPPING 02:09:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-578/1 02:09:33 INFO: archiving workspace using pattern(s): 02:09:34 Archives upload complete. 02:09:34 INFO: archiving logs to Nexus