Pull request #607 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ce29687293c29037e355f891133db972a10e8a2f+96b3e6837c0c0a3acc7abbc19ad4378a288ec056 (da973b7ac7ba5458e14ac65cf5e14ec9ac8b428d) 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-ssh14297892795133605296.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12659839961587810774.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/PR-607/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-607/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4874560860632755734.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-607/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4584650164426534136.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8747706481461489988.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-607/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-607/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10806258686728325661.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go, buildSnap:false] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16439 in /w/workspace/gexfoundry_device-mqtt-go_PR-607 [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-607 # 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/607/head:refs/remotes/origin/PR-607 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 96b3e6837c0c0a3acc7abbc19ad4378a288ec056 into PR head commit ce29687293c29037e355f891133db972a10e8a2f Merge succeeded, producing ce29687293c29037e355f891133db972a10e8a2f Checking out Revision ce29687293c29037e355f891133db972a10e8a2f (PR-607) 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 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } > git config core.sparsecheckout # timeout=10 > git checkout -f ce29687293c29037e355f891133db972a10e8a2f # 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 96b3e6837c0c0a3acc7abbc19ad4378a288ec056 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ce29687293c29037e355f891133db972a10e8a2f # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:01:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:01:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:01:02 ========================================================= 02:01:02 EdgeX Global Pipelines Version Info 02:01:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:01:03 ------------------- 02:01:03 stable info: 02:01:03 ------------------- 02:01:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:01:03 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:01:03 Message: update stable to v1.0.249 02:01:04 ------------------- 02:01:04 experimental info: 02:01:04 ------------------- 02:01:04 Commited By: **** collab-it+edgex@linuxfoundation.org 02:01:04 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 02:01:04 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:01:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 02:01:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 02:01:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:01:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:01:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:01:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 02:01:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:01:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 02:01:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:01:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:01:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:01:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 02:01:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-607 [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-607 [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-607 [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ce29687293c29037e355f891133db972a10e8a2f [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ce29687 [Pipeline] echo 02:01:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:01:05 provisioning config files... 02:01:06 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-607@tmp/config2448977182798139204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:06 ---> docker-login.sh 02:01:06 nexus3.edgexfoundry.org:10001 02:01:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:06 Configure a credential helper to remove this warning. See 02:01:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:06 02:01:06 Login Succeeded 02:01:06 nexus3.edgexfoundry.org:10002 02:01:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:06 Configure a credential helper to remove this warning. See 02:01:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:06 02:01:06 Login Succeeded 02:01:06 nexus3.edgexfoundry.org:10003 02:01:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:06 Configure a credential helper to remove this warning. See 02:01:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:06 02:01:06 Login Succeeded 02:01:06 nexus3.edgexfoundry.org:10004 02:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:07 Configure a credential helper to remove this warning. See 02:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:07 02:01:07 Login Succeeded 02:01:07 docker.io 02:01:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:07 Configure a credential helper to remove this warning. See 02:01:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:07 02:01:07 Login Succeeded 02:01:07 ---> docker-login.sh ends [Pipeline] } 02:01:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:01:08 + git rev-list -1 --merges ce29687293c29037e355f891133db972a10e8a2f~1..ce29687293c29037e355f891133db972a10e8a2f [Pipeline] echo 02:01:08 -----------> git rev-list -1 --merges ce29687293c29037e355f891133db972a10e8a2f~1..ce29687293c29037e355f891133db972a10e8a2f ce29687293c29037e355f891133db972a10e8a2f [false] [Pipeline] sh 02:01:08 + git log --format=format:%s -1 ce29687293c29037e355f891133db972a10e8a2f [Pipeline] echo 02:01:08 ========================================================= 02:01:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:01:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:01:08 + git log --format=format:%s -1 ce29687293c29037e355f891133db972a10e8a2f [Pipeline] echo 02:01:08 [semverPrep] GIT_COMMIT: ce29687293c29037e355f891133db972a10e8a2f, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 02:01:09 [semverPrep] This is not a build commit. [Pipeline] sh 02:01:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:01:09 + grep -v github /etc/ssh/ssh_known_hosts 02:01:09 + [ -e /tmp/ssh_known_hosts ] 02:01:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:01:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:01:09 + sudo tee -a /etc/ssh/ssh_known_hosts 02:01:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:10 02:01:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:10 0.1.4: Pulling from edgex-devops/py-git-semver 02:01:10 b85a868b505f: Pulling fs layer 02:01:10 e2be974225ed: Pulling fs layer 02:01:10 339a4e72a1f5: Pulling fs layer 02:01:10 988bab9f4d93: Pulling fs layer 02:01:10 1469e6f7b9e6: Pulling fs layer 02:01:10 eaf3925da568: Pulling fs layer 02:01:10 bab4dde63d76: Pulling fs layer 02:01:10 bde34c3a00c8: Pulling fs layer 02:01:10 b352a97aabf1: Pulling fs layer 02:01:10 4872d77fe225: Pulling fs layer 02:01:10 5851b861e8e6: Pulling fs layer 02:01:10 1469e6f7b9e6: Waiting 02:01:10 988bab9f4d93: Waiting 02:01:10 eaf3925da568: Waiting 02:01:10 bde34c3a00c8: Waiting 02:01:10 b352a97aabf1: Waiting 02:01:10 4872d77fe225: Waiting 02:01:10 bab4dde63d76: Waiting 02:01:10 e2be974225ed: Verifying Checksum 02:01:10 e2be974225ed: Download complete 02:01:10 988bab9f4d93: Verifying Checksum 02:01:10 988bab9f4d93: Download complete 02:01:10 1469e6f7b9e6: Verifying Checksum 02:01:10 1469e6f7b9e6: Download complete 02:01:10 eaf3925da568: Download complete 02:01:10 339a4e72a1f5: Verifying Checksum 02:01:10 339a4e72a1f5: Download complete 02:01:10 bde34c3a00c8: Download complete 02:01:10 b352a97aabf1: Download complete 02:01:10 4872d77fe225: Download complete 02:01:10 5851b861e8e6: Download complete 02:01:10 b85a868b505f: Download complete 02:01:10 bab4dde63d76: Verifying Checksum 02:01:10 bab4dde63d76: Download complete 02:01:12 b85a868b505f: Pull complete 02:01:12 e2be974225ed: Pull complete 02:01:13 339a4e72a1f5: Pull complete 02:01:13 988bab9f4d93: Pull complete 02:01:14 1469e6f7b9e6: Pull complete 02:01:14 eaf3925da568: Pull complete 02:01:16 bab4dde63d76: Pull complete 02:01:16 bde34c3a00c8: Pull complete 02:01:16 b352a97aabf1: Pull complete 02:01:16 4872d77fe225: Pull complete 02:01:16 5851b861e8e6: Pull complete 02:01:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 02:01:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:01:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:01:16 prd-ubuntu20.04-docker-8c-8g-16439 does not seem to be running inside a container 02:01:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-607 -v /w/workspace/gexfoundry_device-mqtt-go_PR-607:/w/workspace/gexfoundry_device-mqtt-go_PR-607:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-607@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-607@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 02:01:19 $ docker top f0bf4b41c1564654c22865c69efc8161ca67b3dd55f6740a1510c5f6d81d65e6 -eo pid,comm 02:01:19 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:01:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:01:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:01:19 [ssh-agent] Looking for ssh-agent implementation... 02:01:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:01:20 $ docker exec f0bf4b41c1564654c22865c69efc8161ca67b3dd55f6740a1510c5f6d81d65e6 ssh-agent 02:01:20 SSH_AUTH_SOCK=/tmp/ssh-ndUouIGeWwr2/agent.33 02:01:20 SSH_AGENT_PID=39 02:01:20 Running ssh-add (command line suppressed) 02:01:20 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-607@tmp/private_key_13954509363173263353.key (/w/workspace/gexfoundry_device-mqtt-go_PR-607@tmp/private_key_13954509363173263353.key) 02:01:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:01:20 + git tag --points-at HEAD [Pipeline] } 02:01:20 $ docker exec --env ******** --env ******** f0bf4b41c1564654c22865c69efc8161ca67b3dd55f6740a1510c5f6d81d65e6 ssh-agent -k 02:01:20 unset SSH_AUTH_SOCK; 02:01:20 unset SSH_AGENT_PID; 02:01:20 echo Agent pid 39 killed; 02:01:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:01:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:01:20 [ssh-agent] Looking for ssh-agent implementation... 02:01:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:01:20 $ docker exec f0bf4b41c1564654c22865c69efc8161ca67b3dd55f6740a1510c5f6d81d65e6 ssh-agent 02:01:21 SSH_AUTH_SOCK=/tmp/ssh-2XjwnInhDc4N/agent.72 02:01:21 SSH_AGENT_PID=78 02:01:21 Running ssh-add (command line suppressed) 02:01:21 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-607@tmp/private_key_18312948987473034348.key (/w/workspace/gexfoundry_device-mqtt-go_PR-607@tmp/private_key_18312948987473034348.key) 02:01:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:01:21 + git semver init 02:01:21 2023-05-23 02:01:21,763 [run_init] DEBUG init version:0.0.0 force:False 02:01:21 2023-05-23 02:01:21,765 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-607/.semver 02:01:21 2023-05-23 02:01:21,765 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-607/.semver 02:01:21 2023-05-23 02:01:21,765 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-607/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-607, universal_newlines=False, shell=None, istream=None) 02:01:22 2023-05-23 02:01:22,548 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-607/.git/info/exclude 02:01:22 2023-05-23 02:01:22,548 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-607/.semver/PR-607 with force:False 02:01:22 2023-05-23 02:01:22,549 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-607/.semver/PR-607 02:01:22 2023-05-23 02:01:22,553 [execute] INFO git cat-file --batch-check 02:01:22 2023-05-23 02:01:22,554 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-607/.semver, universal_newlines=False, shell=None, istream=) 02:01:22 2023-05-23 02:01:22,560 [execute] INFO git cat-file --batch 02:01:22 2023-05-23 02:01:22,560 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-607/.semver, universal_newlines=False, shell=None, istream=) 02:01:22 2023-05-23 02:01:22,565 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-607/.semver/PR-607 02:01:22 0.0.0 [Pipeline] } 02:01:22 $ docker exec --env ******** --env ******** f0bf4b41c1564654c22865c69efc8161ca67b3dd55f6740a1510c5f6d81d65e6 ssh-agent -k 02:01:22 unset SSH_AUTH_SOCK; 02:01:22 unset SSH_AGENT_PID; 02:01:22 echo Agent pid 78 killed; 02:01:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:01:23 + git semver [Pipeline] } 02:01:23 $ docker stop --time=1 f0bf4b41c1564654c22865c69efc8161ca67b3dd55f6740a1510c5f6d81d65e6 02:01:24 $ docker rm -f --volumes f0bf4b41c1564654c22865c69efc8161ca67b3dd55f6740a1510c5f6d81d65e6 [Pipeline] // withDockerContainer [Pipeline] sh 02:01:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:01:25 Stashed 1 file(s) [Pipeline] echo 02:01:25 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:01:26 provisioning config files... 02:01:26 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-607@tmp/config18322081162493036594tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:26 ---> docker-login.sh 02:01:26 nexus3.edgexfoundry.org:10001 02:01:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:26 Configure a credential helper to remove this warning. See 02:01:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:26 02:01:26 Login Succeeded 02:01:26 nexus3.edgexfoundry.org:10002 02:01:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:26 Configure a credential helper to remove this warning. See 02:01:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:26 02:01:26 Login Succeeded 02:01:26 nexus3.edgexfoundry.org:10003 02:01:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:26 Configure a credential helper to remove this warning. See 02:01:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:26 02:01:26 Login Succeeded 02:01:26 nexus3.edgexfoundry.org:10004 02:01:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:26 Configure a credential helper to remove this warning. See 02:01:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:26 02:01:26 Login Succeeded 02:01:26 docker.io 02:01:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:01:27 Configure a credential helper to remove this warning. See 02:01:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:01:27 02:01:27 Login Succeeded 02:01:27 ---> docker-login.sh ends [Pipeline] } 02:01:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:01:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:01:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:01:27 ========================================================= 02:01:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 02:01:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:28 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 02:01:28 Sending build context to Docker daemon 6.587MB 02:01:28 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:01:28 Step 2/12 : FROM ${BASE} AS builder 02:01:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 02:01:28 f56be85fc22e: Pulling fs layer 02:01:28 85791d961cd3: Pulling fs layer 02:01:28 d694b5ae8c79: Pulling fs layer 02:01:28 9f32a84ed3da: Pulling fs layer 02:01:28 4d19c01a9841: Pulling fs layer 02:01:28 9f32a84ed3da: Waiting 02:01:28 9325e15d5711: Pulling fs layer 02:01:28 556b6ee489ea: Pulling fs layer 02:01:28 c5a4b2cf53e6: Pulling fs layer 02:01:28 4d19c01a9841: Waiting 02:01:28 c5a4b2cf53e6: Waiting 02:01:28 9325e15d5711: Waiting 02:01:28 85791d961cd3: Verifying Checksum 02:01:28 85791d961cd3: Download complete 02:01:28 9f32a84ed3da: Verifying Checksum 02:01:28 9f32a84ed3da: Download complete 02:01:28 4d19c01a9841: Download complete 02:01:28 f56be85fc22e: Verifying Checksum 02:01:28 f56be85fc22e: Download complete 02:01:28 9325e15d5711: Verifying Checksum 02:01:28 9325e15d5711: Download complete 02:01:28 f56be85fc22e: Pull complete 02:01:28 85791d961cd3: Pull complete 02:01:29 c5a4b2cf53e6: Verifying Checksum 02:01:29 c5a4b2cf53e6: Download complete 02:01:29 d694b5ae8c79: Verifying Checksum 02:01:29 d694b5ae8c79: Download complete 02:01:29 556b6ee489ea: Verifying Checksum 02:01:29 556b6ee489ea: Download complete 02:01:32 d694b5ae8c79: Pull complete 02:01:32 9f32a84ed3da: Pull complete 02:01:32 4d19c01a9841: Pull complete 02:01:32 9325e15d5711: Pull complete 02:01:35 556b6ee489ea: Pull complete 02:01:36 c5a4b2cf53e6: Pull complete 02:01:36 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 02:01:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 02:01:36 ---> c4be618373d6 02:01:36 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:01:41 Still waiting to schedule task 02:01:41 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16438’ 02:01:42 ---> Running in 9d13dc9382e9 02:01:42 Removing intermediate container 9d13dc9382e9 02:01:42 ---> 4ba88d2642fb 02:01:42 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:01:42 ---> Running in 55814cdf0b9f 02:01:42 Removing intermediate container 55814cdf0b9f 02:01:42 ---> a253079a3986 02:01:42 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:01:42 ---> Running in 918b94758193 02:01:42 Removing intermediate container 918b94758193 02:01:42 ---> 4f761e2010f9 02:01:42 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:01:42 ---> Running in 6a53ab165e28 02:01:42 Removing intermediate container 6a53ab165e28 02:01:42 ---> 01086b5aff1e 02:01:42 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:01:42 ---> Running in 17a8188263ae 02:01:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:01:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:01:42 (1/4) Installing openssh-keygen (9.1_p1-r3) 02:01:42 (2/4) Installing libedit (20221030.3.1-r0) 02:01:42 (3/4) Installing openssh-client-common (9.1_p1-r3) 02:01:42 (4/4) Installing openssh-client-default (9.1_p1-r3) 02:01:42 Executing busybox-1.35.0-r29.trigger 02:01:42 OK: 269 MiB in 57 packages 02:01:43 Removing intermediate container 17a8188263ae 02:01:43 ---> 1f519ecb7b57 02:01:43 Step 8/12 : WORKDIR /device-mqtt-go 02:01:43 ---> Running in 3b74853b92cb 02:01:43 Removing intermediate container 3b74853b92cb 02:01:43 ---> 7e1ab21af904 02:01:43 Step 9/12 : COPY go.mod vendor* ./ 02:01:43 ---> a5bb4c604ae6 02:01:43 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:01:43 ---> Running in 9e6f00164dd0 02:02:10 Removing intermediate container 9e6f00164dd0 02:02:10 ---> 1b2a60f901ad 02:02:10 Step 11/12 : COPY . . 02:02:10 ---> 014f98047cef 02:02:10 Step 12/12 : RUN $MAKE 02:02:10 ---> Running in 3c5de01896ec 02:02:10 noop 02:02:10 Removing intermediate container 3c5de01896ec 02:02:10 ---> ec8d7d296cde 02:02:10 Successfully built ec8d7d296cde 02:02:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:11 + docker inspect -f . ci-base-image-x86_64 02:02:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:11 prd-ubuntu20.04-docker-8c-8g-16439 does not seem to be running inside a container 02:02:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-607 -v /w/workspace/gexfoundry_device-mqtt-go_PR-607:/w/workspace/gexfoundry_device-mqtt-go_PR-607:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-607@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-607@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:02:11 $ docker top ea689f342ed04e0e5eb91d9477aa24246ed1ed3317d81e53988eebc8d5fe4696 -eo pid,comm [Pipeline] { [Pipeline] sh 02:02:12 + go version 02:02:12 go version go1.20.2 linux/amd64 [Pipeline] } 02:02:12 $ docker stop --time=1 ea689f342ed04e0e5eb91d9477aa24246ed1ed3317d81e53988eebc8d5fe4696 02:02:13 $ docker rm -f --volumes ea689f342ed04e0e5eb91d9477aa24246ed1ed3317d81e53988eebc8d5fe4696 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:14 + docker inspect -f . ci-base-image-x86_64 02:02:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:14 prd-ubuntu20.04-docker-8c-8g-16439 does not seem to be running inside a container 02:02:14 $ 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-607 -v /w/workspace/gexfoundry_device-mqtt-go_PR-607:/w/workspace/gexfoundry_device-mqtt-go_PR-607:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-607@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-607@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:02:14 $ docker top 2eabea87a4605f04e1170bb15695dd04abee5f32fbcdea881b50f7a1c4cb87e4 -eo pid,comm [Pipeline] { [Pipeline] sh 02:02:15 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-607 [Pipeline] fileExists [Pipeline] sh 02:02:15 + make test 02:02:15 go test ./... -coverprofile=coverage.out ./... 02:02:20 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:02:30 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:02:31 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:02:31 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.8% of statements 02:02:39 go vet ./... 02:02:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:02:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:02:42 ./bin/test-attribution-txt.sh [Pipeline] echo 02:02:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:02:42 $ docker stop --time=1 2eabea87a4605f04e1170bb15695dd04abee5f32fbcdea881b50f7a1c4cb87e4 02:02:46 $ docker rm -f --volumes 2eabea87a4605f04e1170bb15695dd04abee5f32fbcdea881b50f7a1c4cb87e4 [Pipeline] // withDockerContainer [Pipeline] sh 02:02:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:02:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:02:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:02:47 + ls -al . 02:02:47 total 180 02:02:47 drwxrwxr-x 10 jenkins jenkins 4096 May 23 02:02 . 02:02:47 drwxrwxr-x 4 jenkins jenkins 4096 May 23 02:00 .. 02:02:47 -rw-rw-r-- 1 jenkins jenkins 140 May 23 02:01 .dockerignore 02:02:47 drwxrwxr-x 8 jenkins jenkins 4096 May 23 02:01 .git 02:02:47 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:01 .github 02:02:47 -rw-rw-r-- 1 jenkins jenkins 329 May 23 02:01 .gitignore 02:02:47 -rw-rw-r-- 1 jenkins jenkins 41 May 23 02:01 .golangci.yml 02:02:47 drwxr-xr-x 3 jenkins jenkins 4096 May 23 02:01 .semver 02:02:47 -rw-rw-r-- 1 jenkins jenkins 9417 May 23 02:01 Attribution.txt 02:02:47 -rw-rw-r-- 1 jenkins jenkins 13162 May 23 02:01 CHANGELOG.md 02:02:47 -rw-rw-r-- 1 jenkins jenkins 1689 May 23 02:01 Dockerfile 02:02:47 -rw-rw-r-- 1 jenkins jenkins 677 May 23 02:01 GOVERNANCE.md 02:02:47 -rw-rw-r-- 1 jenkins jenkins 678 May 23 02:01 Jenkinsfile 02:02:47 -rw-rw-r-- 1 jenkins jenkins 11340 May 23 02:01 LICENSE 02:02:47 -rw-rw-r-- 1 jenkins jenkins 1732 May 23 02:01 Makefile 02:02:47 -rw-rw-r-- 1 jenkins jenkins 620 May 23 02:01 OWNERS.md 02:02:47 -rw-rw-r-- 1 jenkins jenkins 3165 May 23 02:01 README.md 02:02:47 -rw-rw-r-- 1 jenkins jenkins 5 May 23 02:01 VERSION 02:02:47 drwxrwxr-x 2 jenkins jenkins 4096 May 23 02:01 bin 02:02:47 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:01 cmd 02:02:47 -rw-r--r-- 1 jenkins jenkins 18506 May 23 02:02 coverage.out 02:02:47 -rw-rw-r-- 1 jenkins jenkins 3333 May 23 02:01 go.mod 02:02:47 -rw-rw-r-- 1 jenkins jenkins 31328 May 23 02:01 go.sum 02:02:47 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:01 internal 02:02:47 drwxrwxr-x 2 jenkins jenkins 4096 May 23 02:01 mock 02:02:47 drwxrwxr-x 4 jenkins jenkins 4096 May 23 02:01 snap 02:02:47 -rw-rw-r-- 1 jenkins jenkins 227 May 23 02:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:48 + 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=ce29687293c29037e355f891133db972a10e8a2f --label arch=amd64 --label version=0.0.0 . 02:02:48 Sending build context to Docker daemon 6.606MB 02:02:48 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:02:48 Step 2/24 : FROM ${BASE} AS builder 02:02:48 ---> ec8d7d296cde 02:02:48 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:02:49 ---> Running in adf48f8fb6e7 02:02:49 Removing intermediate container adf48f8fb6e7 02:02:49 ---> ceb42b205bd1 02:02:49 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:02:49 ---> Running in a8a0c2cbf525 02:02:49 Removing intermediate container a8a0c2cbf525 02:02:49 ---> 75e4a6999770 02:02:49 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:02:49 ---> Running in 4560a15c4570 02:02:50 Removing intermediate container 4560a15c4570 02:02:50 ---> 85f04879d395 02:02:50 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:02:50 ---> Running in 65259f589703 02:02:51 Removing intermediate container 65259f589703 02:02:51 ---> 4691040562b7 02:02:51 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:02:51 ---> Running in 465643d4db4a 02:02:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:02:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:02:51 OK: 269 MiB in 57 packages 02:02:52 Removing intermediate container 465643d4db4a 02:02:52 ---> 5db70adf883b 02:02:52 Step 8/24 : WORKDIR /device-mqtt-go 02:02:52 ---> Running in b0f43d3ac38d 02:02:52 Removing intermediate container b0f43d3ac38d 02:02:52 ---> 4004323cbe46 02:02:52 Step 9/24 : COPY go.mod vendor* ./ 02:02:53 ---> 3f0106d904aa 02:02:53 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:02:53 ---> Running in e7e2d2d78f29 02:02:53 Removing intermediate container e7e2d2d78f29 02:02:53 ---> acf626786db3 02:02:53 Step 11/24 : COPY . . 02:02:54 ---> 40b020dbe93b 02:02:54 Step 12/24 : RUN $MAKE 02:02:54 ---> Running in 03ca60ec5985 02:02:54 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:03:16 Removing intermediate container 03ca60ec5985 02:03:16 ---> a1b2132148a1 02:03:16 Step 13/24 : FROM alpine:3.17 02:03:16 3.17: Pulling from library/alpine 02:03:16 f56be85fc22e: Already exists 02:03:16 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:03:16 Status: Downloaded newer image for alpine:3.17 02:03:16 ---> 9ed4aefc74f6 02:03:16 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:03:16 ---> Running in e42823b01c74 02:03:16 Removing intermediate container e42823b01c74 02:03:16 ---> 8444b8c856c1 02:03:16 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:03:16 ---> Running in c1e846dd9605 02:03:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 02:03:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 02:03:16 (1/1) Installing dumb-init (1.2.5-r2) 02:03:16 Executing busybox-1.35.0-r29.trigger 02:03:16 OK: 7 MiB in 16 packages 02:03:16 Removing intermediate container c1e846dd9605 02:03:16 ---> 282f3fccfd48 02:03:16 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:03:17 ---> 0571ac4c3292 02:03:17 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:03:17 ---> ebcce5e6cd58 02:03:17 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:03:17 ---> 30bb2ec98dcc 02:03:17 Step 19/24 : EXPOSE 59982 02:03:17 ---> Running in 98b52d2efb3e 02:03:17 Removing intermediate container 98b52d2efb3e 02:03:17 ---> cf005531a425 02:03:17 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:03:17 ---> Running in 8bc5e9b2f750 02:03:17 Removing intermediate container 8bc5e9b2f750 02:03:17 ---> 93c1733d421e 02:03:17 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:03:17 ---> Running in fed4ab888c8a 02:03:17 Removing intermediate container fed4ab888c8a 02:03:17 ---> 088a94ceed68 02:03:17 Step 22/24 : LABEL arch=amd64 02:03:17 ---> Running in ba393f2b5edb 02:03:17 Removing intermediate container ba393f2b5edb 02:03:17 ---> 1e5a3c16cab4 02:03:17 Step 23/24 : LABEL git_sha=ce29687293c29037e355f891133db972a10e8a2f 02:03:17 ---> Running in ad458466331b 02:03:17 Removing intermediate container ad458466331b 02:03:17 ---> 1126668b050a 02:03:17 Step 24/24 : LABEL version=0.0.0 02:03:17 ---> Running in 6e5b9d57f2a1 02:03:17 Removing intermediate container 6e5b9d57f2a1 02:03:17 ---> a7823a944f72 02:03:17 [Warning] One or more build-args [ARCH] were not consumed 02:03:17 Successfully built a7823a944f72 02:03:17 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:18 02:03:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:19 latest: Pulling from edgex-lftools-log-publisher 02:03:19 5eb5b503b376: Pulling fs layer 02:03:19 5c69ac0246d0: Pulling fs layer 02:03:19 ec43610c2a17: Pulling fs layer 02:03:19 3a2ae6a8a46f: Pulling fs layer 02:03:19 33b1e0a273af: Pulling fs layer 02:03:19 5d3b04190fa2: Pulling fs layer 02:03:19 2f39f015ded8: Pulling fs layer 02:03:19 3a2ae6a8a46f: Waiting 02:03:19 2f39f015ded8: Waiting 02:03:19 33b1e0a273af: Waiting 02:03:19 5d3b04190fa2: Waiting 02:03:19 5c69ac0246d0: Download complete 02:03:19 3a2ae6a8a46f: Verifying Checksum 02:03:19 3a2ae6a8a46f: Download complete 02:03:19 33b1e0a273af: Verifying Checksum 02:03:19 33b1e0a273af: Download complete 02:03:19 5d3b04190fa2: Download complete 02:03:19 ec43610c2a17: Verifying Checksum 02:03:19 ec43610c2a17: Download complete 02:03:19 5eb5b503b376: Download complete 02:03:20 2f39f015ded8: Download complete 02:03:20 5eb5b503b376: Pull complete 02:03:20 5c69ac0246d0: Pull complete 02:03:21 ec43610c2a17: Pull complete 02:03:21 3a2ae6a8a46f: Pull complete 02:03:21 33b1e0a273af: Pull complete 02:03:21 5d3b04190fa2: Pull complete 02:03:27 2f39f015ded8: Pull complete 02:03:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:03:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:03:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:27 prd-ubuntu20.04-docker-8c-8g-16439 does not seem to be running inside a container 02:03:27 $ 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-607 -v /w/workspace/gexfoundry_device-mqtt-go_PR-607:/w/workspace/gexfoundry_device-mqtt-go_PR-607:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-607@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-607@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:03:30 $ docker top f064f18a832e9952639c099183e5256ebe8cdc032c555b994ecbe02b7addeddd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:03:31 ---> job-cost.sh 02:03:31 lf-activate-venv: SKIPPING 02:03:31 INFO: No Stack... 02:03:32 INFO: Retrieving Pricing Info for: v3-standard-8 02:03:32 INFO: Archiving Costs [Pipeline] sh 02:03:32 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-607/archives/cost.csv 02:03:32 + cut -d, -f6 [Pipeline] lock 02:03:32 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-607-1-stack-cost] 02:03:32 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-607-1-stack-cost] did not exist. Created. 02:03:32 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-607-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:03:33 + echo total: 0.2199999988079071 [Pipeline] stash 02:03:33 Stashed 1 file(s) [Pipeline] } 02:03:33 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-607-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:03:33 $ docker stop --time=1 f064f18a832e9952639c099183e5256ebe8cdc032c555b994ecbe02b7addeddd 02:03:34 $ docker rm -f --volumes f064f18a832e9952639c099183e5256ebe8cdc032c555b994ecbe02b7addeddd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:05:28 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16441 in /w/workspace/gexfoundry_device-mqtt-go_PR-607 [Pipeline] { [Pipeline] ws 02:05:28 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 02:05:28 Selected Git installation does not exist. Using Default 02:05:28 The recommended git tool is: NONE 02:05:37 using credential edgex-jenkins-ssh 02:05:38 Cloning the remote Git repository 02:05:38 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 02:05:38 > git init /w/workspace/device-mqtt-go/1 # timeout=10 02:05:38 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:05:38 > git --version # timeout=10 02:05:38 > git --version # 'git version 2.25.1' 02:05:38 using GIT_SSH to set credentials SSH Credentials for GitHub 02:05:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:05:40 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:05:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:05:42 Merging remotes/origin/main commit 96b3e6837c0c0a3acc7abbc19ad4378a288ec056 into PR head commit ce29687293c29037e355f891133db972a10e8a2f 02:05:41 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 02:05:41 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 02:05:41 using GIT_SSH to set credentials SSH Credentials for GitHub 02:05:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/607/head:refs/remotes/origin/PR-607 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:05:42 > git config core.sparsecheckout # timeout=10 02:05:42 > git checkout -f ce29687293c29037e355f891133db972a10e8a2f # timeout=10 02:05:42 Merge succeeded, producing ce29687293c29037e355f891133db972a10e8a2f 02:05:42 Checking out Revision ce29687293c29037e355f891133db972a10e8a2f (PR-607) 02:05:43 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" 02:05:43 > git --version # timeout=10 02:05:43 > git --version # 'git version 2.25.1' 02:05:43 fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 02:05:42 > git remote # timeout=10 02:05:42 > git config --get remote.origin.url # timeout=10 02:05:42 using GIT_SSH to set credentials SSH Credentials for GitHub 02:05:42 > git merge 96b3e6837c0c0a3acc7abbc19ad4378a288ec056 # timeout=10 02:05:42 > git rev-parse HEAD^{commit} # timeout=10 02:05:42 > git config core.sparsecheckout # timeout=10 02:05:42 > git checkout -f ce29687293c29037e355f891133db972a10e8a2f # timeout=10 [Pipeline] sh 02:05:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:05:44 % Total % Received % Xferd Average Speed Time Time Time Current 02:05:44 Dload Upload Total Spent Left Speed 02:05:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93757 0 --:--:-- --:--:-- --:--:-- 93757 [Pipeline] sh 02:05:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:05:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:05:45 + sudo tee /etc/docker/daemon.new 02:05:46 { 02:05:46 "registry-mirrors": [ 02:05:46 "https://nexus3.edgexfoundry.org:10001" 02:05:46 ], 02:05:46 "bip": "10.250.0.254/24", 02:05:46 "hosts": [ 02:05:46 "tcp://0.0.0.0:5555", 02:05:46 "unix:///var/run/docker.sock" 02:05:46 ], 02:05:46 "mtu": 1458, 02:05:46 "selinux-enabled": true, 02:05:46 "seccomp-profile": "/etc/docker/seccomp.json" 02:05:46 } [Pipeline] sh 02:05:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:05:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:06:06 provisioning config files... 02:06:06 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config6979979592437171882tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:06:06 ---> docker-login.sh 02:06:06 nexus3.edgexfoundry.org:10001 02:06:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:06:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:06:07 Configure a credential helper to remove this warning. See 02:06:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:06:07 02:06:07 Login Succeeded 02:06:07 nexus3.edgexfoundry.org:10002 02:06:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:06:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:06:07 Configure a credential helper to remove this warning. See 02:06:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:06:07 02:06:07 Login Succeeded 02:06:07 nexus3.edgexfoundry.org:10003 02:06:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:06:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:06:07 Configure a credential helper to remove this warning. See 02:06:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:06:07 02:06:07 Login Succeeded 02:06:07 nexus3.edgexfoundry.org:10004 02:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:06:08 Configure a credential helper to remove this warning. See 02:06:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:06:08 02:06:08 Login Succeeded 02:06:08 docker.io 02:06:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:06:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:06:08 Configure a credential helper to remove this warning. See 02:06:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:06:08 02:06:08 Login Succeeded 02:06:08 ---> docker-login.sh ends [Pipeline] } 02:06:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:06:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:06:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:06:09 ========================================================= 02:06:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 02:06:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:06:09 + 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:06:10 Sending build context to Docker daemon 3.415MB 02:06:10 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 02:06:10 Step 2/12 : FROM ${BASE} AS builder 02:06:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:06:10 c41833b44d91: Pulling fs layer 02:06:10 ed15518f5707: Pulling fs layer 02:06:10 feae8fd75edb: Pulling fs layer 02:06:10 242c74f7c9fa: Pulling fs layer 02:06:10 3cdef696dda3: Pulling fs layer 02:06:10 2ced38df9373: Pulling fs layer 02:06:10 58f1dce35555: Pulling fs layer 02:06:10 3cdef696dda3: Waiting 02:06:10 2ced38df9373: Waiting 02:06:10 58f1dce35555: Waiting 02:06:10 242c74f7c9fa: Waiting 02:06:10 ed15518f5707: Verifying Checksum 02:06:10 ed15518f5707: Download complete 02:06:10 242c74f7c9fa: Download complete 02:06:10 3cdef696dda3: Verifying Checksum 02:06:10 3cdef696dda3: Download complete 02:06:10 c41833b44d91: Verifying Checksum 02:06:10 c41833b44d91: Download complete 02:06:11 58f1dce35555: Verifying Checksum 02:06:11 58f1dce35555: Download complete 02:06:12 feae8fd75edb: Verifying Checksum 02:06:12 feae8fd75edb: Download complete 02:06:12 c41833b44d91: Pull complete 02:06:12 2ced38df9373: Verifying Checksum 02:06:12 2ced38df9373: Download complete 02:06:13 ed15518f5707: Pull complete 02:06:23 feae8fd75edb: Pull complete 02:06:23 242c74f7c9fa: Pull complete 02:06:23 3cdef696dda3: Pull complete 02:06:32 2ced38df9373: Pull complete 02:06:33 58f1dce35555: Pull complete 02:06:33 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 02:06:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 02:06:33 ---> fadd8f120f05 02:06:33 Step 3/12 : ARG ADD_BUILD_TAGS="" 02:06:35 ---> Running in 8b1571d28f40 02:06:35 Removing intermediate container 8b1571d28f40 02:06:35 ---> 0f7bcddd0b75 02:06:35 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:06:35 ---> Running in bd432866227f 02:06:35 Removing intermediate container bd432866227f 02:06:35 ---> 5e0b33dea511 02:06:35 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:06:35 ---> Running in 344d697d99de 02:06:36 Removing intermediate container 344d697d99de 02:06:36 ---> 58e7092f5078 02:06:36 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 02:06:36 ---> Running in d29a20e87743 02:06:36 Removing intermediate container d29a20e87743 02:06:36 ---> a5fa02f2438e 02:06:36 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:06:36 ---> Running in dc67a6c8e002 02:06:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:06:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:06:39 (1/4) Installing openssh-keygen (9.1_p1-r3) 02:06:39 (2/4) Installing libedit (20221030.3.1-r0) 02:06:39 (3/4) Installing openssh-client-common (9.1_p1-r3) 02:06:39 (4/4) Installing openssh-client-default (9.1_p1-r3) 02:06:39 Executing busybox-1.35.0-r29.trigger 02:06:39 OK: 268 MiB in 57 packages 02:06:40 Removing intermediate container dc67a6c8e002 02:06:40 ---> 09173dc39119 02:06:40 Step 8/12 : WORKDIR /device-mqtt-go 02:06:40 ---> Running in 095db6ccc867 02:06:40 Removing intermediate container 095db6ccc867 02:06:40 ---> 6366147bb760 02:06:40 Step 9/12 : COPY go.mod vendor* ./ 02:06:41 ---> 31e28692df12 02:06:41 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:06:41 ---> Running in 71da48a8b6d1 02:08:03 Removing intermediate container 71da48a8b6d1 02:08:03 ---> 7102f219e7d4 02:08:03 Step 11/12 : COPY . . 02:08:03 ---> b829e557ad87 02:08:03 Step 12/12 : RUN $MAKE 02:08:03 ---> Running in 0b520ab907f5 02:08:03 noop 02:08:03 Removing intermediate container 0b520ab907f5 02:08:03 ---> 56084e57cca0 02:08:03 Successfully built 56084e57cca0 02:08:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:03 + docker inspect -f . ci-base-image-arm64 02:08:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:08:03 prd-ubuntu20.04-docker-arm64-4c-16g-16441 does not seem to be running inside a container 02:08:03 $ 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:08:05 $ docker top ea75fd25203417824d57b8cb8ece7c1c218134bbf273cbeceefbf0533b72ae53 -eo pid,comm [Pipeline] { [Pipeline] sh 02:08:05 + go version 02:08:05 go version go1.20.2 linux/arm64 [Pipeline] } 02:08:06 $ docker stop --time=1 ea75fd25203417824d57b8cb8ece7c1c218134bbf273cbeceefbf0533b72ae53 02:08:07 $ docker rm -f --volumes ea75fd25203417824d57b8cb8ece7c1c218134bbf273cbeceefbf0533b72ae53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:08:08 + docker inspect -f . ci-base-image-arm64 02:08:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:08:08 prd-ubuntu20.04-docker-arm64-4c-16g-16441 does not seem to be running inside a container 02:08:09 $ 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:08:10 $ docker top 64b646d2408ff5fb6c16002f2b40af7f8576afba3804b57f8f65d056712c85e8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:08:10 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 02:08:11 + make test 02:08:11 go test ./... -coverprofile=coverage.out ./... 02:08:43 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:10:35 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:10:35 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:10:35 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.073s coverage: 22.8% of statements 02:10:35 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:10:35 go vet ./... 02:10:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:10:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:10:57 ./bin/test-attribution-txt.sh [Pipeline] echo 02:10:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:10:57 $ docker stop --time=1 64b646d2408ff5fb6c16002f2b40af7f8576afba3804b57f8f65d056712c85e8 02:10:59 $ docker rm -f --volumes 64b646d2408ff5fb6c16002f2b40af7f8576afba3804b57f8f65d056712c85e8 [Pipeline] // withDockerContainer [Pipeline] sh 02:11:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:11:00 Warning: overwriting stash ‘coverage-report’ 02:11:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:11:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:11:02 + ls -al . 02:11:02 total 176 02:11:02 drwxrwxr-x 9 jenkins jenkins 4096 May 23 02:08 . 02:11:02 drwxrwxr-x 4 jenkins jenkins 4096 May 23 02:05 .. 02:11:02 -rw-rw-r-- 1 jenkins jenkins 140 May 23 02:05 .dockerignore 02:11:02 drwxrwxr-x 8 jenkins jenkins 4096 May 23 02:05 .git 02:11:02 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:05 .github 02:11:02 -rw-rw-r-- 1 jenkins jenkins 329 May 23 02:05 .gitignore 02:11:02 -rw-rw-r-- 1 jenkins jenkins 41 May 23 02:05 .golangci.yml 02:11:02 -rw-rw-r-- 1 jenkins jenkins 9417 May 23 02:05 Attribution.txt 02:11:02 -rw-rw-r-- 1 jenkins jenkins 13162 May 23 02:05 CHANGELOG.md 02:11:02 -rw-rw-r-- 1 jenkins jenkins 1689 May 23 02:05 Dockerfile 02:11:02 -rw-rw-r-- 1 jenkins jenkins 677 May 23 02:05 GOVERNANCE.md 02:11:02 -rw-rw-r-- 1 jenkins jenkins 678 May 23 02:05 Jenkinsfile 02:11:02 -rw-rw-r-- 1 jenkins jenkins 11340 May 23 02:05 LICENSE 02:11:02 -rw-rw-r-- 1 jenkins jenkins 1732 May 23 02:05 Makefile 02:11:02 -rw-rw-r-- 1 jenkins jenkins 620 May 23 02:05 OWNERS.md 02:11:02 -rw-rw-r-- 1 jenkins jenkins 3165 May 23 02:05 README.md 02:11:02 -rw-rw-r-- 1 jenkins jenkins 5 May 23 02:01 VERSION 02:11:02 drwxrwxr-x 2 jenkins jenkins 4096 May 23 02:05 bin 02:11:02 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:05 cmd 02:11:02 -rw-r--r-- 1 jenkins jenkins 18506 May 23 02:10 coverage.out 02:11:02 -rw-rw-r-- 1 jenkins jenkins 3333 May 23 02:05 go.mod 02:11:02 -rw-rw-r-- 1 jenkins jenkins 31328 May 23 02:05 go.sum 02:11:02 drwxrwxr-x 3 jenkins jenkins 4096 May 23 02:05 internal 02:11:02 drwxrwxr-x 2 jenkins jenkins 4096 May 23 02:05 mock 02:11:02 drwxrwxr-x 4 jenkins jenkins 4096 May 23 02:05 snap 02:11:02 -rw-rw-r-- 1 jenkins jenkins 227 May 23 02:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:11:02 + 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=ce29687293c29037e355f891133db972a10e8a2f --label arch=arm64 --label version=0.0.0 . 02:11:02 Sending build context to Docker daemon 3.434MB 02:11:02 Step 1/24 : ARG BASE=golang:1.20-alpine3.17 02:11:02 Step 2/24 : FROM ${BASE} AS builder 02:11:02 ---> 56084e57cca0 02:11:02 Step 3/24 : ARG ADD_BUILD_TAGS="" 02:11:03 ---> Running in a98280b49269 02:11:03 Removing intermediate container a98280b49269 02:11:03 ---> 63e253449483 02:11:03 Step 4/24 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:11:03 ---> Running in dd7c6541313b 02:11:03 Removing intermediate container dd7c6541313b 02:11:03 ---> 29d53701d8d8 02:11:03 Step 5/24 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:11:03 ---> Running in 2057a9aadbd9 02:11:03 Removing intermediate container 2057a9aadbd9 02:11:03 ---> b4f6308da653 02:11:03 Step 6/24 : ARG ALPINE_PKG_EXTRA="" 02:11:04 ---> Running in 5b96616d255e 02:11:04 Removing intermediate container 5b96616d255e 02:11:04 ---> d7ab9b8aa0c9 02:11:04 Step 7/24 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:11:04 ---> Running in 4328d381a18e 02:11:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:11:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:11:07 OK: 268 MiB in 57 packages 02:11:08 Removing intermediate container 4328d381a18e 02:11:08 ---> 6113dbfb2da1 02:11:08 Step 8/24 : WORKDIR /device-mqtt-go 02:11:08 ---> Running in 7771621b4a24 02:11:08 Removing intermediate container 7771621b4a24 02:11:08 ---> 46d61019e159 02:11:08 Step 9/24 : COPY go.mod vendor* ./ 02:11:08 ---> 7f0e6d3ece53 02:11:08 Step 10/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:11:08 ---> Running in 0ead33089b52 02:11:11 Removing intermediate container 0ead33089b52 02:11:11 ---> 0ab565c0b3ee 02:11:11 Step 11/24 : COPY . . 02:11:12 ---> 30b94c38f43c 02:11:12 Step 12/24 : RUN $MAKE 02:11:12 ---> Running in f054200a26a3 02:11:13 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:13:35 Removing intermediate container f054200a26a3 02:13:35 ---> d32adde2d9f9 02:13:35 Step 13/24 : FROM alpine:3.17 02:13:35 3.17: Pulling from library/alpine 02:13:35 c41833b44d91: Already exists 02:13:35 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 02:13:35 Status: Downloaded newer image for alpine:3.17 02:13:35 ---> 51e60588ff2c 02:13:35 Step 14/24 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:13:35 ---> Running in 8b4e74fa98c5 02:13:35 Removing intermediate container 8b4e74fa98c5 02:13:35 ---> 3f20eb7bf3a5 02:13:35 Step 15/24 : RUN apk add --update --no-cache dumb-init 02:13:35 ---> Running in b456d7c813f5 02:13:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 02:13:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 02:13:35 (1/1) Installing dumb-init (1.2.5-r2) 02:13:35 Executing busybox-1.35.0-r29.trigger 02:13:35 OK: 8 MiB in 16 packages 02:13:35 Removing intermediate container b456d7c813f5 02:13:35 ---> 21f38baf46b8 02:13:35 Step 16/24 : COPY --from=builder /device-mqtt-go/cmd / 02:13:35 ---> 63483e686dff 02:13:35 Step 17/24 : COPY --from=builder /device-mqtt-go/LICENSE / 02:13:35 ---> 10953b40e400 02:13:35 Step 18/24 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:13:35 ---> 431f8ee2e873 02:13:35 Step 19/24 : EXPOSE 59982 02:13:36 ---> Running in e65cd6ea92e9 02:13:36 Removing intermediate container e65cd6ea92e9 02:13:36 ---> 7de4fb54aa35 02:13:36 Step 20/24 : ENTRYPOINT ["/device-mqtt"] 02:13:36 ---> Running in 14e22da707eb 02:13:36 Removing intermediate container 14e22da707eb 02:13:36 ---> ca5b502e012b 02:13:36 Step 21/24 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:13:36 ---> Running in 0d310a2a5238 02:13:37 Removing intermediate container 0d310a2a5238 02:13:37 ---> 625d838a270c 02:13:37 Step 22/24 : LABEL arch=arm64 02:13:37 ---> Running in 91120e0b4969 02:13:37 Removing intermediate container 91120e0b4969 02:13:37 ---> 727369b73943 02:13:37 Step 23/24 : LABEL git_sha=ce29687293c29037e355f891133db972a10e8a2f 02:13:37 ---> Running in 1ab7a3ea8d82 02:13:38 Removing intermediate container 1ab7a3ea8d82 02:13:38 ---> 92259d4ae474 02:13:38 Step 24/24 : LABEL version=0.0.0 02:13:38 ---> Running in b34b055919b9 02:13:38 Removing intermediate container b34b055919b9 02:13:38 ---> 39e3e902386c 02:13:38 [Warning] One or more build-args [ARCH] were not consumed 02:13:38 Successfully built 39e3e902386c 02:13:38 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:13:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:13:39 02:13:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:13:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:13:39 arm64: Pulling from edgex-lftools-log-publisher 02:13:39 8998bd30e6a1: Pulling fs layer 02:13:39 04944245beec: Pulling fs layer 02:13:39 699f458cf7ca: Pulling fs layer 02:13:39 765212b225bb: Pulling fs layer 02:13:39 f23df028b6ca: Pulling fs layer 02:13:39 d65c8cfc05b1: Pulling fs layer 02:13:39 2437ff75d9bd: Pulling fs layer 02:13:39 d65c8cfc05b1: Waiting 02:13:39 f23df028b6ca: Waiting 02:13:39 2437ff75d9bd: Waiting 02:13:39 765212b225bb: Waiting 02:13:39 04944245beec: Verifying Checksum 02:13:39 04944245beec: Download complete 02:13:39 765212b225bb: Verifying Checksum 02:13:39 765212b225bb: Download complete 02:13:39 f23df028b6ca: Verifying Checksum 02:13:39 f23df028b6ca: Download complete 02:13:39 d65c8cfc05b1: Verifying Checksum 02:13:39 d65c8cfc05b1: Download complete 02:13:40 699f458cf7ca: Verifying Checksum 02:13:40 699f458cf7ca: Download complete 02:13:40 8998bd30e6a1: Verifying Checksum 02:13:40 8998bd30e6a1: Download complete 02:13:42 2437ff75d9bd: Verifying Checksum 02:13:42 2437ff75d9bd: Download complete 02:13:44 8998bd30e6a1: Pull complete 02:13:44 04944245beec: Pull complete 02:13:47 699f458cf7ca: Pull complete 02:13:47 765212b225bb: Pull complete 02:13:48 f23df028b6ca: Pull complete 02:13:48 d65c8cfc05b1: Pull complete 02:14:03 2437ff75d9bd: Pull complete 02:14:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:14:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:14:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:14:04 prd-ubuntu20.04-docker-arm64-4c-16g-16441 does not seem to be running inside a container 02:14:04 $ 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:14:07 $ docker top b3068955ad22d79882c7a7246e14ca217f25958c441affd5e3ffab78a4524d42 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:14:07 ---> job-cost.sh 02:14:07 lf-activate-venv: SKIPPING 02:14:07 INFO: No Stack... 02:14:08 INFO: Retrieving Pricing Info for: v3-standard-4 02:14:09 INFO: Archiving Costs [Pipeline] sh 02:14:09 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 02:14:09 + cut -d, -f6 [Pipeline] lock 02:14:09 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-607-1-stack-cost] 02:14:09 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-607-1-stack-cost] did not exist. Created. 02:14:09 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-607-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:14:10 /w/workspace/device-mqtt-go/1@tmp/durable-f823a5fb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:14:11 + echo total: 0.10999999940395355 [Pipeline] stash 02:14:11 Warning: overwriting stash ‘stack-cost’ 02:14:11 Stashed 1 file(s) [Pipeline] } 02:14:11 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-607-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:14:11 $ docker stop --time=1 b3068955ad22d79882c7a7246e14ca217f25958c441affd5e3ffab78a4524d42 02:14:14 $ docker rm -f --volumes b3068955ad22d79882c7a7246e14ca217f25958c441affd5e3ffab78a4524d42 [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:14:15 provisioning config files... 02:14:16 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-607@tmp/config13360344194231151118tmp [Pipeline] { [Pipeline] sh 02:14:16 + set +x 02:14:16 + curl -s https://codecov.io/bash 02:14:16 + bash -s -- 02:14:16 02:14:16 _____ _ 02:14:16 / ____| | | 02:14:16 | | ___ __| | ___ ___ _____ __ 02:14:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:14:16 | |___| (_) | (_| | __/ (_| (_) \ V / 02:14:16 \_____\___/ \__,_|\___|\___\___/ \_/ 02:14:16 Bash-1.0.6 02:14:16 02:14:16 02:14:16 ==> git version 2.25.1 found 02:14:16 ==> 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:14:16 Release-Date: 2020-01-08 02:14:16 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:14:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:14:16 ==> Jenkins CI detected. 02:14:16 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-607 02:14:16 project root: . 02:14:16 --> token set from env 02:14:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:14:16 ==> Running gcov in . (disable via -X gcov) 02:14:16 ==> Python coveragepy not found 02:14:16 ==> Searching for coverage reports in: 02:14:16 + . 02:14:16 -> Found 1 reports 02:14:16 ==> Detecting git/mercurial file structure 02:14:16 ==> Reading reports 02:14:16 + ./coverage.out bytes=18506 02:14:16 ==> Appending adjustments 02:14:16 https://docs.codecov.io/docs/fixing-reports 02:14:16 + Found adjustments 02:14:16 ==> Gzipping contents 02:14:16 4.0K /tmp/codecov.ZGoXYD.gz 02:14:16 ==> Uploading reports 02:14:16 url: https://codecov.io 02:14:16 query: branch=PR-607&commit=ce29687293c29037e355f891133db972a10e8a2f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-607%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=607&job=&cmd_args= 02:14:16 -> Pinging Codecov 02:14:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=3cf7f23a-d5e6-4c47-868b-a0a7f9a025f8&branch=PR-607&commit=ce29687293c29037e355f891133db972a10e8a2f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-607%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=607&job=&cmd_args= 02:14:16 -> Uploading to 02:14:16 https://storage.googleapis.com/codecov/v4/raw/2023-05-23/7D719EC7BBE17E464838252E33014C33/ce29687293c29037e355f891133db972a10e8a2f/a119594d-d756-48d2-917a-9ff540f75de0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230523%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230523T021416Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c1974afb2b62ece9f37d22e73b4c229deda3c2a18df58111496e383721e42370 02:14:16 % Total % Received % Xferd Average Speed Time Time Time Current 02:14:16 Dload Upload Total Spent Left Speed 02:14:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3219 0 0 100 3219 0 12380 --:--:-- --:--:-- --:--:-- 12380 02:14:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/ce29687293c29037e355f891133db972a10e8a2f [Pipeline] } 02:14:16 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:14:18 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-607/archives ] 02:14:18 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-607/archives 02:14:18 total 16 02:14:18 drwxr-xr-x 3 root root 4096 May 23 02:03 . 02:14:18 drwxrwxr-x 11 jenkins jenkins 4096 May 23 02:03 .. 02:14:18 drwxr-xr-x 2 root root 4096 May 23 02:03 cost 02:14:18 -rw-r--r-- 1 root root 86 May 23 02:03 cost.csv 02:14:18 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-607/archives 02:14:18 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-607/archives 02:14:18 total 16 02:14:18 drwxr-xr-x 3 jenkins jenkins 4096 May 23 02:03 . 02:14:18 drwxrwxr-x 11 jenkins jenkins 4096 May 23 02:03 .. 02:14:18 drwxr-xr-x 2 jenkins jenkins 4096 May 23 02:03 cost 02:14:18 -rw-r--r-- 1 jenkins jenkins 86 May 23 02:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:14:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:14:19 ---> package-listing.sh 02:14:19 ++ facter osfamily 02:14:19 ++ tr '[:upper:]' '[:lower:]' 02:14:20 + OS_FAMILY=debian 02:14:20 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-607 02:14:20 + START_PACKAGES=/tmp/packages_start.txt 02:14:20 + END_PACKAGES=/tmp/packages_end.txt 02:14:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:14:20 + PACKAGES=/tmp/packages_start.txt 02:14:20 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-607 ']' 02:14:20 + PACKAGES=/tmp/packages_end.txt 02:14:20 + case "${OS_FAMILY}" in 02:14:20 + dpkg -l 02:14:20 + grep '^ii' 02:14:20 + '[' -f /tmp/packages_start.txt ']' 02:14:20 + '[' -f /tmp/packages_end.txt ']' 02:14:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:14:20 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-607 ']' 02:14:20 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-607/archives/ 02:14:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-607/archives/ [Pipeline] echo 02:14:20 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-607/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:14:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:14:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:14:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:14:21 prd-ubuntu20.04-docker-8c-8g-16439 does not seem to be running inside a container 02:14:21 $ 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-607/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-607 -v /w/workspace/gexfoundry_device-mqtt-go_PR-607:/w/workspace/gexfoundry_device-mqtt-go_PR-607:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-607@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-607@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:14:21 $ docker top dfef7d8e53a94fecafa370279ce0be3621de2020b2db228e05a9e0ff7af13f1e -eo pid,comm [Pipeline] { [Pipeline] sh 02:14:22 + touch /tmp/pre-build-complete [Pipeline] sh 02:14:22 + mkdir -p /var/log/sysstat [Pipeline] sh 02:14:22 + ls /var/log/sa-host 02:14:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:14:22 provisioning config files... 02:14:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-607@tmp/config3938354096786150373tmp [Pipeline] { [Pipeline] echo 02:14:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:14:23 ---> create-netrc.sh [Pipeline] } 02:14:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:14:23 ---> python-tools-install.sh [Pipeline] echo 02:14:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:14:24 ---> sudo-logs.sh 02:14:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:14:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:14:24 ---> job-cost.sh 02:14:24 lf-activate-venv: SKIPPING 02:14:24 DEBUG: total: 0.2199999988079071 02:14:24 INFO: Retrieving Stack Cost... 02:14:24 INFO: Retrieving Pricing Info for: v3-standard-8 02:14:25 INFO: Archiving Costs [Pipeline] echo 02:14:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:14:25 ---> logs-deploy.sh 02:14:25 lf-activate-venv: SKIPPING 02:14:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-607/1 02:14:25 INFO: archiving workspace using pattern(s): 02:14:26 Archives upload complete. 02:14:26 INFO: archiving logs to Nexus