Pull request #671 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 609b28e7a8737900ac797732e13c82425c3e3def+db84220a98baf26f07a1d477c585bb37996b93c5 (0aaf3438ba97258f9518501a316ad2d666af1d75) 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-ssh11475397266464515333.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh11896560517010064791.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-671/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-671/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12598976227900985511.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-671/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10050444844336427835.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh8332765573207986872.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-671/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-671/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh490109207843738655.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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] ========================================================= [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.21 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-2843 in /w/workspace/gexfoundry_device-mqtt-go_PR-671 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-671 # 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/671/head:refs/remotes/origin/PR-671 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit db84220a98baf26f07a1d477c585bb37996b93c5 into PR head commit 609b28e7a8737900ac797732e13c82425c3e3def Merge succeeded, producing 609b28e7a8737900ac797732e13c82425c3e3def Checking out Revision 609b28e7a8737900ac797732e13c82425c3e3def (PR-671) Commit message: "build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config core.sparsecheckout # timeout=10 > git checkout -f 609b28e7a8737900ac797732e13c82425c3e3def # 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 db84220a98baf26f07a1d477c585bb37996b93c5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 609b28e7a8737900ac797732e13c82425c3e3def # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:25:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:25:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:25:57 ========================================================= 13:25:57 EdgeX Global Pipelines Version Info 13:25:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:25:58 ------------------- 13:25:58 stable info: 13:25:58 ------------------- 13:25:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:25:58 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 13:25:58 Message: update stable to v1.0.258 13:25:59 ------------------- 13:25:59 experimental info: 13:25:59 ------------------- 13:25:59 Commited By: **** collab-it+edgex@linuxfoundation.org 13:25:59 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 13:25:59 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:25:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 13:25:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 13:25:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:25:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:25:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:25:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 13:25:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:25:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 13:25:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:25:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:25:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:25:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 13:26:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:26:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:26:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:26:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 13:26:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:26:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:26:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:26:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:26:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 13:26:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 13:26:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:26:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:26:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:26:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:26:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:26:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-671 [Pipeline] echo 13:26:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-671 [Pipeline] echo 13:26:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-671 [Pipeline] echo 13:26:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 609b28e7a8737900ac797732e13c82425c3e3def [Pipeline] echo 13:26:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 609b28e [Pipeline] echo 13:26:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:26:01 provisioning config files... 13:26:01 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-671@tmp/config1268006368000505278tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:26:01 ---> ****-login.sh 13:26:01 nexus3.edgexfoundry.org:10001 13:26:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:26:02 Configure a credential helper to remove this warning. See 13:26:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:26:02 13:26:02 Login Succeeded 13:26:02 nexus3.edgexfoundry.org:10002 13:26:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:26:02 Configure a credential helper to remove this warning. See 13:26:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:26:02 13:26:02 Login Succeeded 13:26:02 nexus3.edgexfoundry.org:10003 13:26:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:26:02 Configure a credential helper to remove this warning. See 13:26:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:26:02 13:26:02 Login Succeeded 13:26:02 nexus3.edgexfoundry.org:10004 13:26:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:26:02 Configure a credential helper to remove this warning. See 13:26:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:26:02 13:26:02 Login Succeeded 13:26:02 ****.io 13:26:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:26:03 Configure a credential helper to remove this warning. See 13:26:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:26:03 13:26:03 Login Succeeded 13:26:03 ---> ****-login.sh ends [Pipeline] } 13:26:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:26:03 + git rev-list -1 --merges 609b28e7a8737900ac797732e13c82425c3e3def~1..609b28e7a8737900ac797732e13c82425c3e3def [Pipeline] echo 13:26:03 -----------> git rev-list -1 --merges 609b28e7a8737900ac797732e13c82425c3e3def~1..609b28e7a8737900ac797732e13c82425c3e3def 609b28e7a8737900ac797732e13c82425c3e3def [false] [Pipeline] sh 13:26:04 + git log --format=format:%s -1 609b28e7a8737900ac797732e13c82425c3e3def [Pipeline] echo 13:26:04 ========================================================= 13:26:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:26:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:26:04 + git log --format=format:%s -1 609b28e7a8737900ac797732e13c82425c3e3def [Pipeline] echo 13:26:04 [semverPrep] GIT_COMMIT: 609b28e7a8737900ac797732e13c82425c3e3def, Commit Message: build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0 [Pipeline] echo 13:26:04 [semverPrep] This is not a build commit. [Pipeline] sh 13:26:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:26:07 + grep -v github /etc/ssh/ssh_known_hosts 13:26:07 + [ -e /tmp/ssh_known_hosts ] 13:26:07 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:26:07 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:26:07 sudo tee -a /etc/ssh/ssh_known_hosts 13:26:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:26:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:26:08 13:26:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:26:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:26:08 0.1.4: Pulling from edgex-devops/py-git-semver 13:26:08 b85a868b505f: Pulling fs layer 13:26:08 e2be974225ed: Pulling fs layer 13:26:08 339a4e72a1f5: Pulling fs layer 13:26:08 988bab9f4d93: Pulling fs layer 13:26:08 1469e6f7b9e6: Pulling fs layer 13:26:08 eaf3925da568: Pulling fs layer 13:26:08 bab4dde63d76: Pulling fs layer 13:26:08 bde34c3a00c8: Pulling fs layer 13:26:08 b352a97aabf1: Pulling fs layer 13:26:08 4872d77fe225: Pulling fs layer 13:26:08 5851b861e8e6: Pulling fs layer 13:26:08 1469e6f7b9e6: Waiting 13:26:08 988bab9f4d93: Waiting 13:26:08 eaf3925da568: Waiting 13:26:08 bde34c3a00c8: Waiting 13:26:08 b352a97aabf1: Waiting 13:26:08 4872d77fe225: Waiting 13:26:08 bab4dde63d76: Waiting 13:26:08 e2be974225ed: Verifying Checksum 13:26:08 e2be974225ed: Download complete 13:26:08 988bab9f4d93: Verifying Checksum 13:26:08 988bab9f4d93: Download complete 13:26:08 1469e6f7b9e6: Verifying Checksum 13:26:08 1469e6f7b9e6: Download complete 13:26:08 eaf3925da568: Verifying Checksum 13:26:08 eaf3925da568: Download complete 13:26:09 339a4e72a1f5: Verifying Checksum 13:26:09 339a4e72a1f5: Download complete 13:26:09 bde34c3a00c8: Download complete 13:26:09 b352a97aabf1: Verifying Checksum 13:26:09 b352a97aabf1: Download complete 13:26:09 4872d77fe225: Download complete 13:26:09 5851b861e8e6: Download complete 13:26:09 b85a868b505f: Verifying Checksum 13:26:09 b85a868b505f: Download complete 13:26:09 bab4dde63d76: Verifying Checksum 13:26:09 bab4dde63d76: Download complete 13:26:10 b85a868b505f: Pull complete 13:26:10 e2be974225ed: Pull complete 13:26:11 339a4e72a1f5: Pull complete 13:26:11 988bab9f4d93: Pull complete 13:26:11 1469e6f7b9e6: Pull complete 13:26:11 eaf3925da568: Pull complete 13:26:13 bab4dde63d76: Pull complete 13:26:13 bde34c3a00c8: Pull complete 13:26:13 b352a97aabf1: Pull complete 13:26:13 4872d77fe225: Pull complete 13:26:13 5851b861e8e6: Pull complete 13:26:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:26:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:26:13 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:26:14 prd-ubuntu20.04-docker-8c-8g-2843 does not seem to be running inside a container 13:26:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-671 -v /w/workspace/gexfoundry_device-mqtt-go_PR-671:/w/workspace/gexfoundry_device-mqtt-go_PR-671:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-671@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-671@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 13:26:17 $ docker top 92f8e4a3f7806f960af8d4acfa9c8d18d94cd37ac85ae847a5b9f229b26e6d9f -eo pid,comm 13:26:17 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). 13:26:17 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:26:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:26:17 [ssh-agent] Looking for ssh-agent implementation... 13:26:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:26:18 $ docker exec 92f8e4a3f7806f960af8d4acfa9c8d18d94cd37ac85ae847a5b9f229b26e6d9f ssh-agent 13:26:18 SSH_AUTH_SOCK=/tmp/ssh-ZZxgUyCoaINA/agent.34 13:26:18 SSH_AGENT_PID=40 13:26:18 Running ssh-add (command line suppressed) 13:26:18 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-671@tmp/private_key_3265370478186725010.key (/w/workspace/gexfoundry_device-mqtt-go_PR-671@tmp/private_key_3265370478186725010.key) 13:26:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:26:18 + git tag --points-at HEAD [Pipeline] } 13:26:18 $ docker exec --env ******** --env ******** 92f8e4a3f7806f960af8d4acfa9c8d18d94cd37ac85ae847a5b9f229b26e6d9f ssh-agent -k 13:26:18 unset SSH_AUTH_SOCK; 13:26:18 unset SSH_AGENT_PID; 13:26:18 echo Agent pid 40 killed; 13:26:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:26:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:26:18 [ssh-agent] Looking for ssh-agent implementation... 13:26:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:26:19 $ docker exec 92f8e4a3f7806f960af8d4acfa9c8d18d94cd37ac85ae847a5b9f229b26e6d9f ssh-agent 13:26:19 SSH_AUTH_SOCK=/tmp/ssh-oaMia7dPb5Yy/agent.73 13:26:19 SSH_AGENT_PID=79 13:26:19 Running ssh-add (command line suppressed) 13:26:19 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-671@tmp/private_key_5445274374961008382.key (/w/workspace/gexfoundry_device-mqtt-go_PR-671@tmp/private_key_5445274374961008382.key) 13:26:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:26:19 + git semver init 13:26:19 2024-04-19 13:26:19,861 [run_init] DEBUG init version:0.0.0 force:False 13:26:19 2024-04-19 13:26:19,861 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-671/.semver 13:26:19 2024-04-19 13:26:19,862 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-671/.semver 13:26:19 2024-04-19 13:26:19,862 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-671/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-671, universal_newlines=False, shell=None, istream=None) 13:26:21 2024-04-19 13:26:20,999 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-671/.git/info/exclude 13:26:21 2024-04-19 13:26:21,000 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-671/.semver/PR-671 with force:False 13:26:21 2024-04-19 13:26:21,000 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-671/.semver/PR-671 13:26:21 2024-04-19 13:26:21,003 [execute] INFO git cat-file --batch-check 13:26:21 2024-04-19 13:26:21,003 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-671/.semver, universal_newlines=False, shell=None, istream=) 13:26:21 2024-04-19 13:26:21,010 [execute] INFO git cat-file --batch 13:26:21 2024-04-19 13:26:21,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-671/.semver, universal_newlines=False, shell=None, istream=) 13:26:21 2024-04-19 13:26:21,016 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-671/.semver/PR-671 13:26:21 0.0.0 [Pipeline] } 13:26:21 $ docker exec --env ******** --env ******** 92f8e4a3f7806f960af8d4acfa9c8d18d94cd37ac85ae847a5b9f229b26e6d9f ssh-agent -k 13:26:21 unset SSH_AUTH_SOCK; 13:26:21 unset SSH_AGENT_PID; 13:26:21 echo Agent pid 79 killed; 13:26:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:26:21 + git semver [Pipeline] } 13:26:22 $ docker stop --time=1 92f8e4a3f7806f960af8d4acfa9c8d18d94cd37ac85ae847a5b9f229b26e6d9f 13:26:23 $ docker rm -f --volumes 92f8e4a3f7806f960af8d4acfa9c8d18d94cd37ac85ae847a5b9f229b26e6d9f [Pipeline] // withDockerContainer [Pipeline] sh 13:26:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:26:24 Stashed 1 file(s) [Pipeline] echo 13:26:24 [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 13:26:24 provisioning config files... 13:26:24 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-671@tmp/config17474833480034324714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:26:25 ---> ****-login.sh 13:26:25 nexus3.edgexfoundry.org:10001 13:26:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:26:25 Configure a credential helper to remove this warning. See 13:26:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:26:25 13:26:25 Login Succeeded 13:26:25 nexus3.edgexfoundry.org:10002 13:26:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:26:25 Configure a credential helper to remove this warning. See 13:26:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:26:25 13:26:25 Login Succeeded 13:26:25 nexus3.edgexfoundry.org:10003 13:26:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:26:25 Configure a credential helper to remove this warning. See 13:26:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:26:25 13:26:25 Login Succeeded 13:26:25 nexus3.edgexfoundry.org:10004 13:26:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:26:25 Configure a credential helper to remove this warning. See 13:26:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:26:25 13:26:25 Login Succeeded 13:26:25 ****.io 13:26:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:26:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:26:25 Configure a credential helper to remove this warning. See 13:26:25 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:26:25 13:26:25 Login Succeeded 13:26:25 ---> ****-login.sh ends [Pipeline] } 13:26:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:26:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:26:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:26:26 ========================================================= 13:26:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 13:26:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:26:26 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 13:26:26 Sending build context to Docker daemon 15.01MB 13:26:26 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:26:26 Step 2/12 : FROM ${BASE} AS builder 13:26:26 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 13:26:26 7264a8db6415: Pulling fs layer 13:26:26 c4d48a809fc2: Pulling fs layer 13:26:26 4f1c88b9dad5: Pulling fs layer 13:26:26 ad3a456e5733: Pulling fs layer 13:26:26 69c7f0334f64: Pulling fs layer 13:26:26 1f1c1a5573a3: Pulling fs layer 13:26:26 ce7588e14bc9: Pulling fs layer 13:26:26 b5e4710f87ac: Pulling fs layer 13:26:26 ad3a456e5733: Waiting 13:26:26 69c7f0334f64: Waiting 13:26:26 1f1c1a5573a3: Waiting 13:26:26 ce7588e14bc9: Waiting 13:26:26 b5e4710f87ac: Waiting 13:26:26 c4d48a809fc2: Verifying Checksum 13:26:26 c4d48a809fc2: Download complete 13:26:26 ad3a456e5733: Verifying Checksum 13:26:26 ad3a456e5733: Download complete 13:26:26 69c7f0334f64: Verifying Checksum 13:26:26 69c7f0334f64: Download complete 13:26:26 7264a8db6415: Verifying Checksum 13:26:26 7264a8db6415: Download complete 13:26:26 1f1c1a5573a3: Verifying Checksum 13:26:26 1f1c1a5573a3: Download complete 13:26:27 b5e4710f87ac: Verifying Checksum 13:26:27 b5e4710f87ac: Download complete 13:26:27 7264a8db6415: Pull complete 13:26:27 c4d48a809fc2: Pull complete 13:26:27 4f1c88b9dad5: Verifying Checksum 13:26:27 4f1c88b9dad5: Download complete 13:26:27 ce7588e14bc9: Verifying Checksum 13:26:27 ce7588e14bc9: Download complete 13:26:30 4f1c88b9dad5: Pull complete 13:26:30 ad3a456e5733: Pull complete 13:26:30 69c7f0334f64: Pull complete 13:26:30 1f1c1a5573a3: Pull complete 13:26:33 ce7588e14bc9: Pull complete 13:26:33 b5e4710f87ac: Pull complete 13:26:33 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 13:26:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 13:26:33 ---> 88b5674ff536 13:26:33 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:26:37 ---> Running in 6a423a3a5071 13:26:38 Removing intermediate container 6a423a3a5071 13:26:38 ---> 990f577c5a49 13:26:38 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:26:38 ---> Running in 18df966af3e4 13:26:38 Removing intermediate container 18df966af3e4 13:26:38 ---> 52ccd0da6a0e 13:26:38 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:26:38 ---> Running in 93be6c668190 13:26:38 Removing intermediate container 93be6c668190 13:26:38 ---> 32d271219cbf 13:26:38 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:26:38 ---> Running in 8e9b9a29d72b 13:26:38 Removing intermediate container 8e9b9a29d72b 13:26:38 ---> f8931a313415 13:26:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:26:38 ---> Running in 7cb6faaf0b3c 13:26:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:26:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:26:39 (1/4) Installing openssh-keygen (9.3_p2-r1) 13:26:39 (2/4) Installing libedit (20221030.3.1-r1) 13:26:39 (3/4) Installing openssh-client-common (9.3_p2-r1) 13:26:39 (4/4) Installing openssh-client-default (9.3_p2-r1) 13:26:39 Executing busybox-1.36.1-r5.trigger 13:26:39 OK: 268 MiB in 56 packages 13:26:39 Removing intermediate container 7cb6faaf0b3c 13:26:39 ---> 8d67308e0162 13:26:39 Step 8/12 : WORKDIR /device-mqtt-go 13:26:39 ---> Running in 3e0ab84de312 13:26:39 Still waiting to schedule task 13:26:39 ‘prd-centos7-blackbox-4c-2g-2400’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:26:39 ‘prd-ubuntu20.04-docker-8c-8g-2823’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:26:39 ‘prd-ubuntu20.04-docker-8c-8g-2825’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:26:39 ‘prd-ubuntu20.04-docker-8c-8g-2826’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:26:39 ‘prd-ubuntu20.04-docker-8c-8g-2827’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:26:39 ‘prd-ubuntu20.04-docker-8c-8g-2838’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:26:39 ‘prd-ubuntu20.04-docker-8c-8g-2853’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:26:39 ‘prd-ubuntu20.04-docker-8c-8g-2854’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:26:39 ‘prd-ubuntu20.04-docker-8c-8g-2855’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 13:26:39 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2831’ is offline 13:26:39 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2832’ is offline 13:26:39 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2833’ is offline 13:26:39 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2834’ is offline 13:26:39 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2837’ is offline 13:26:39 ‘prd-ubuntu20.04-docker-arm64-4c-16g-2851’ is offline 13:26:39 Removing intermediate container 3e0ab84de312 13:26:39 ---> 1e75637a08eb 13:26:39 Step 9/12 : COPY go.mod vendor* ./ 13:26:39 ---> e6648eb4e346 13:26:39 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:26:39 ---> Running in f39c3c3cd0cd 13:27:36 Removing intermediate container f39c3c3cd0cd 13:27:36 ---> ace61fc66689 13:27:36 Step 11/12 : COPY . . 13:27:36 ---> 1c716dd2ef7f 13:27:36 Step 12/12 : RUN $MAKE 13:27:36 ---> Running in 1d91b7f164f5 13:27:36 noop 13:27:36 Removing intermediate container 1d91b7f164f5 13:27:36 ---> 63afde5056f1 13:27:36 Successfully built 63afde5056f1 13:27:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:27:36 + docker inspect -f . ci-base-image-x86_64 13:27:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:27:36 prd-ubuntu20.04-docker-8c-8g-2843 does not seem to be running inside a container 13:27:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-671 -v /w/workspace/gexfoundry_device-mqtt-go_PR-671:/w/workspace/gexfoundry_device-mqtt-go_PR-671:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-671@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-671@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 13:27:37 $ docker top 11291200063a59f55de89f4897dc1c1facd236e7c29ddf06cf9428b34efa10a6 -eo pid,comm [Pipeline] { [Pipeline] sh 13:27:37 + go version 13:27:37 go version go1.21.0 linux/amd64 [Pipeline] } 13:27:37 $ docker stop --time=1 11291200063a59f55de89f4897dc1c1facd236e7c29ddf06cf9428b34efa10a6 13:27:38 $ docker rm -f --volumes 11291200063a59f55de89f4897dc1c1facd236e7c29ddf06cf9428b34efa10a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:27:39 + docker inspect -f . ci-base-image-x86_64 13:27:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:27:39 prd-ubuntu20.04-docker-8c-8g-2843 does not seem to be running inside a container 13:27:39 $ 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-671 -v /w/workspace/gexfoundry_device-mqtt-go_PR-671:/w/workspace/gexfoundry_device-mqtt-go_PR-671:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-671@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-671@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 13:27:39 $ docker top a56861257c8dcbf9c785e7ee085aac1b4f9be2d4cb16e264a2fcb558dbfbbdf9 -eo pid,comm [Pipeline] { [Pipeline] sh 13:27:40 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-671 [Pipeline] fileExists [Pipeline] sh 13:27:40 + make test 13:27:40 go test ./... -coverprofile=coverage.out ./... 13:27:42 ? github.com/edgexfoundry/device-mqtt-go [no test files] 13:28:00 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 13:28:00 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 13:28:00 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements 13:28:06 go vet ./... 13:28:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:28:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:28:10 ./bin/test-attribution-txt.sh 13:28:10 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:28:10 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:28:10 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 13:28:10 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:28:10 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:28:10 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:28:10 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:28:10 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:28:10 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:28:10 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 13:28:10 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:28:10 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:28:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:28:11 $ docker stop --time=1 a56861257c8dcbf9c785e7ee085aac1b4f9be2d4cb16e264a2fcb558dbfbbdf9 13:28:15 $ docker rm -f --volumes a56861257c8dcbf9c785e7ee085aac1b4f9be2d4cb16e264a2fcb558dbfbbdf9 [Pipeline] // withDockerContainer [Pipeline] sh 13:28:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:28:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:28:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:28:16 + ls -al . 13:28:16 total 252 13:28:16 drwxrwxr-x 9 jenkins jenkins 4096 Apr 19 13:27 . 13:28:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 13:25 .. 13:28:16 -rw-rw-r-- 1 jenkins jenkins 140 Apr 19 13:25 .dockerignore 13:28:16 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 13:27 .git 13:28:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:25 .github 13:28:16 -rw-rw-r-- 1 jenkins jenkins 264 Apr 19 13:25 .gitignore 13:28:16 -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 13:25 .golangci.yml 13:28:16 drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 13:26 .semver 13:28:16 -rw-rw-r-- 1 jenkins jenkins 10386 Apr 19 13:25 Attribution.txt 13:28:16 -rw-rw-r-- 1 jenkins jenkins 18574 Apr 19 13:25 CHANGELOG.md 13:28:16 -rw-rw-r-- 1 jenkins jenkins 1798 Apr 19 13:25 Dockerfile 13:28:16 -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 13:25 GOVERNANCE.md 13:28:16 -rw-rw-r-- 1 jenkins jenkins 657 Apr 19 13:25 Jenkinsfile 13:28:16 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 13:25 LICENSE 13:28:16 -rw-rw-r-- 1 jenkins jenkins 1963 Apr 19 13:25 Makefile 13:28:16 -rw-rw-r-- 1 jenkins jenkins 620 Apr 19 13:25 OWNERS.md 13:28:16 -rw-rw-r-- 1 jenkins jenkins 3599 Apr 19 13:25 README.md 13:28:16 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 13:26 VERSION 13:28:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 13:25 bin 13:28:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:25 cmd 13:28:16 -rw-r--r-- 1 jenkins jenkins 18506 Apr 19 13:27 coverage.out 13:28:16 -rw-rw-r-- 1 jenkins jenkins 7169 Apr 19 13:25 go.mod 13:28:16 -rw-rw-r-- 1 jenkins jenkins 101597 Apr 19 13:25 go.sum 13:28:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:25 internal 13:28:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 13:25 mock 13:28:16 -rw-rw-r-- 1 jenkins jenkins 227 Apr 19 13:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:28:17 + 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=609b28e7a8737900ac797732e13c82425c3e3def --label arch=amd64 --label version=0.0.0 . 13:28:17 Sending build context to Docker daemon 15.03MB 13:28:17 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 13:28:17 Step 2/25 : FROM ${BASE} AS builder 13:28:17 ---> 63afde5056f1 13:28:17 Step 3/25 : ARG ADD_BUILD_TAGS="" 13:28:17 ---> Running in c39c97595445 13:28:17 Removing intermediate container c39c97595445 13:28:17 ---> 5acdef96848a 13:28:17 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:28:17 ---> Running in 86fbc083fd35 13:28:17 Removing intermediate container 86fbc083fd35 13:28:17 ---> 01de9e5a2ddf 13:28:17 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:28:17 ---> Running in 46d8147dffad 13:28:17 Removing intermediate container 46d8147dffad 13:28:17 ---> 8cce2f064aec 13:28:17 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 13:28:17 ---> Running in 8b6d5ce4b9d2 13:28:17 Removing intermediate container 8b6d5ce4b9d2 13:28:17 ---> 8eef6f001ecd 13:28:17 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:28:17 ---> Running in 048c4b4c17e6 13:28:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:28:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:28:18 OK: 268 MiB in 56 packages 13:28:18 Removing intermediate container 048c4b4c17e6 13:28:18 ---> 397d9e85b344 13:28:18 Step 8/25 : WORKDIR /device-mqtt-go 13:28:18 ---> Running in 237609b2c755 13:28:18 Removing intermediate container 237609b2c755 13:28:18 ---> cb5ea57b7e72 13:28:18 Step 9/25 : COPY go.mod vendor* ./ 13:28:18 ---> 24e36e79817e 13:28:18 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:28:18 ---> Running in 9b357a427657 13:28:19 Removing intermediate container 9b357a427657 13:28:19 ---> 15bc82c4ea0c 13:28:19 Step 11/25 : COPY . . 13:28:20 ---> ffb48ca1acb9 13:28:20 Step 12/25 : RUN $MAKE 13:28:20 ---> Running in e748f32b7e84 13:28:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 13:28:52 Removing intermediate container e748f32b7e84 13:28:52 ---> 392ad1810c16 13:28:52 Step 13/25 : FROM alpine:3.18 13:28:52 3.18: Pulling from library/alpine 13:28:52 619be1103602: Pulling fs layer 13:28:52 619be1103602: Download complete 13:28:52 619be1103602: Pull complete 13:28:52 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 13:28:52 Status: Downloaded newer image for alpine:3.18 13:28:52 ---> d3782b16ccc9 13:28:52 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 13:28:52 ---> Running in 76de381ce72d 13:28:52 Removing intermediate container 76de381ce72d 13:28:52 ---> 5e6de59039bd 13:28:52 Step 15/25 : RUN apk add --update --no-cache dumb-init 13:28:52 ---> Running in 641cf5bbb69e 13:28:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:28:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:28:52 (1/1) Installing dumb-init (1.2.5-r2) 13:28:52 Executing busybox-1.36.1-r5.trigger 13:28:52 OK: 7 MiB in 16 packages 13:28:52 Removing intermediate container 641cf5bbb69e 13:28:52 ---> e2d9ebf50b76 13:28:52 Step 16/25 : RUN apk --no-cache upgrade 13:28:52 ---> Running in ee239f6f35b8 13:28:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:28:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:28:52 Upgrading critical system libraries and apk-tools: 13:28:52 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 13:28:52 Executing busybox-1.36.1-r5.trigger 13:28:52 Continuing the upgrade transaction with new apk-tools: 13:28:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 13:28:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 13:28:52 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 13:28:52 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 13:28:52 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 13:28:52 OK: 7 MiB in 16 packages 13:28:52 Removing intermediate container ee239f6f35b8 13:28:52 ---> c9c5f07bdd63 13:28:52 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 13:28:52 ---> 03ae09ee63a7 13:28:52 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 13:28:52 ---> 97ecbebb3da9 13:28:52 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 13:28:52 ---> 88e3e5fdb3bd 13:28:52 Step 20/25 : EXPOSE 59982 13:28:52 ---> Running in d6561ad9aa9a 13:28:52 Removing intermediate container d6561ad9aa9a 13:28:52 ---> 8fe258247ddc 13:28:52 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 13:28:52 ---> Running in bff0c051bbd1 13:28:52 Removing intermediate container bff0c051bbd1 13:28:52 ---> e17d747c48ff 13:28:52 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 13:28:52 ---> Running in a7ef04378afd 13:28:52 Removing intermediate container a7ef04378afd 13:28:52 ---> 3c157a54f25a 13:28:52 Step 23/25 : LABEL arch=amd64 13:28:52 ---> Running in f983a88d6eb0 13:28:52 Removing intermediate container f983a88d6eb0 13:28:52 ---> 980fa46a4630 13:28:52 Step 24/25 : LABEL git_sha=609b28e7a8737900ac797732e13c82425c3e3def 13:28:52 ---> Running in 4251d11fbec6 13:28:52 Removing intermediate container 4251d11fbec6 13:28:52 ---> 978352523d13 13:28:52 Step 25/25 : LABEL version=0.0.0 13:28:52 ---> Running in 732f568db757 13:28:52 Removing intermediate container 732f568db757 13:28:52 ---> a245ae27d718 13:28:52 [Warning] One or more build-args [ARCH] were not consumed 13:28:52 Successfully built a245ae27d718 13:28:52 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 13:28:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:28:53 13:28:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:28:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:28:54 latest: Pulling from edgex-lftools-log-publisher 13:28:54 5eb5b503b376: Pulling fs layer 13:28:54 5c69ac0246d0: Pulling fs layer 13:28:54 ec43610c2a17: Pulling fs layer 13:28:54 3a2ae6a8a46f: Pulling fs layer 13:28:54 33b1e0a273af: Pulling fs layer 13:28:54 5d3b04190fa2: Pulling fs layer 13:28:54 2f39f015ded8: Pulling fs layer 13:28:54 3a2ae6a8a46f: Waiting 13:28:54 33b1e0a273af: Waiting 13:28:54 5d3b04190fa2: Waiting 13:28:54 2f39f015ded8: Waiting 13:28:54 5c69ac0246d0: Verifying Checksum 13:28:54 5c69ac0246d0: Download complete 13:28:54 3a2ae6a8a46f: Verifying Checksum 13:28:54 3a2ae6a8a46f: Download complete 13:28:54 33b1e0a273af: Download complete 13:28:54 5d3b04190fa2: Verifying Checksum 13:28:54 5d3b04190fa2: Download complete 13:28:54 ec43610c2a17: Verifying Checksum 13:28:54 ec43610c2a17: Download complete 13:28:54 5eb5b503b376: Verifying Checksum 13:28:54 5eb5b503b376: Download complete 13:28:55 2f39f015ded8: Download complete 13:28:55 5eb5b503b376: Pull complete 13:28:55 5c69ac0246d0: Pull complete 13:28:56 ec43610c2a17: Pull complete 13:28:56 3a2ae6a8a46f: Pull complete 13:28:56 33b1e0a273af: Pull complete 13:28:56 5d3b04190fa2: Pull complete 13:29:00 2f39f015ded8: Pull complete 13:29:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:29:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:29:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:29:00 prd-ubuntu20.04-docker-8c-8g-2843 does not seem to be running inside a container 13:29:00 $ 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-671 -v /w/workspace/gexfoundry_device-mqtt-go_PR-671:/w/workspace/gexfoundry_device-mqtt-go_PR-671:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-671@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-671@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 13:29:05 $ docker top 8dc9c5420c1767f73c0e8367207117f85d73b153032adabbd8b8d59461bc071b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:29:05 ---> job-cost.sh 13:29:05 lf-activate-venv: SKIPPING 13:29:05 INFO: No Stack... 13:29:06 INFO: Retrieving Pricing Info for: v3-standard-8 13:29:06 INFO: Archiving Costs [Pipeline] sh 13:29:07 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-671/archives/cost.csv 13:29:07 + cut -d, -f6 [Pipeline] lock 13:29:07 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-671-1-stack-cost] 13:29:07 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-671-1-stack-cost] did not exist. Created. 13:29:07 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-671-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:29:07 + echo total: 0.2199999988079071 [Pipeline] stash 13:29:07 Stashed 1 file(s) [Pipeline] } 13:29:07 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-671-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:29:07 $ docker stop --time=1 8dc9c5420c1767f73c0e8367207117f85d73b153032adabbd8b8d59461bc071b 13:29:08 $ docker rm -f --volumes 8dc9c5420c1767f73c0e8367207117f85d73b153032adabbd8b8d59461bc071b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:35:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-3067 in /w/workspace/gexfoundry_device-mqtt-go_PR-671 [Pipeline] { [Pipeline] ws 13:35:01 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 13:35:01 The recommended git tool is: git 13:35:08 using credential edgex-jenkins-ssh 13:35:08 Cloning the remote Git repository 13:35:08 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 13:35:08 > git init /w/workspace/device-mqtt-go/1 # timeout=10 13:35:08 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 13:35:08 > git --version # timeout=10 13:35:08 > git --version # 'git version 2.25.1' 13:35:08 using GIT_SSH to set credentials SSH Credentials for GitHub 13:35:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:35:10 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 13:35:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:35:12 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 13:35:12 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 13:35:12 using GIT_SSH to set credentials SSH Credentials for GitHub 13:35:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/671/head:refs/remotes/origin/PR-671 +refs/heads/main:refs/remotes/origin/main # timeout=10 13:35:12 Merging remotes/origin/main commit db84220a98baf26f07a1d477c585bb37996b93c5 into PR head commit 609b28e7a8737900ac797732e13c82425c3e3def 13:35:13 Merge succeeded, producing 609b28e7a8737900ac797732e13c82425c3e3def 13:35:13 Checking out Revision 609b28e7a8737900ac797732e13c82425c3e3def (PR-671) 13:35:12 > git config core.sparsecheckout # timeout=10 13:35:12 > git checkout -f 609b28e7a8737900ac797732e13c82425c3e3def # timeout=10 13:35:12 > git remote # timeout=10 13:35:12 > git config --get remote.origin.url # timeout=10 13:35:13 using GIT_SSH to set credentials SSH Credentials for GitHub 13:35:13 > git merge db84220a98baf26f07a1d477c585bb37996b93c5 # timeout=10 13:35:13 > git rev-parse HEAD^{commit} # timeout=10 13:35:13 > git config core.sparsecheckout # timeout=10 13:35:13 > git checkout -f 609b28e7a8737900ac797732e13c82425c3e3def # timeout=10 13:35:13 Commit message: "build(deps): bump golang.org/x/net from 0.22.0 to 0.23.0" 13:35:13 > git --version # timeout=10 13:35:13 > git --version # 'git version 2.25.1' 13:35:13 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:35:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:35:18 % Total % Received % Xferd Average Speed Time Time Time Current 13:35:18 Dload Upload Total Spent Left Speed 13:35:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 13:35:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:35:19 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 13:35:19 /etc/docker/daemon.json 13:35:19 { 13:35:19 "registry-mirrors": [ 13:35:19 "https://nexus3.edgexfoundry.org:10001" 13:35:19 ], 13:35:19 "bip": "10.250.0.254/24", 13:35:19 "hosts": [ 13:35:19 "tcp://0.0.0.0:5555", 13:35:19 "unix:///var/run/docker.sock" 13:35:19 ], 13:35:19 "mtu": 1458, 13:35:19 "selinux-enabled": true, 13:35:19 "seccomp-profile": "/etc/docker/seccomp.json" 13:35:19 } [Pipeline] sh 13:35:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:35:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:35:38 provisioning config files... 13:35:38 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config17494464553083078023tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:35:39 ---> ****-login.sh 13:35:39 nexus3.edgexfoundry.org:10001 13:35:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:35:40 Configure a credential helper to remove this warning. See 13:35:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:35:40 13:35:40 Login Succeeded 13:35:40 nexus3.edgexfoundry.org:10002 13:35:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:35:40 Configure a credential helper to remove this warning. See 13:35:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:35:40 13:35:40 Login Succeeded 13:35:40 nexus3.edgexfoundry.org:10003 13:35:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:35:40 Configure a credential helper to remove this warning. See 13:35:40 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:35:40 13:35:40 Login Succeeded 13:35:40 nexus3.edgexfoundry.org:10004 13:35:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:35:41 Configure a credential helper to remove this warning. See 13:35:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:35:41 13:35:41 Login Succeeded 13:35:41 ****.io 13:35:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:35:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 13:35:41 Configure a credential helper to remove this warning. See 13:35:41 https://docs.****.com/engine/reference/commandline/login/#credentials-store 13:35:41 13:35:41 Login Succeeded 13:35:41 ---> ****-login.sh ends [Pipeline] } 13:35:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:35:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:35:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 13:35:42 ========================================================= 13:35:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 13:35:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:35:43 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 13:35:43 Sending build context to Docker daemon 7.612MB 13:35:43 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 13:35:43 Step 2/12 : FROM ${BASE} AS builder 13:35:43 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:35:43 9fda8d8052c6: Pulling fs layer 13:35:43 5d54e960e981: Pulling fs layer 13:35:43 c4a7e357bf2a: Pulling fs layer 13:35:43 f0e02332f6b5: Pulling fs layer 13:35:43 872ee5b61b7b: Pulling fs layer 13:35:43 0c6a40ed1a82: Pulling fs layer 13:35:43 94ae7d8d031c: Pulling fs layer 13:35:43 872ee5b61b7b: Waiting 13:35:43 0c6a40ed1a82: Waiting 13:35:43 94ae7d8d031c: Waiting 13:35:43 f0e02332f6b5: Waiting 13:35:43 5d54e960e981: Download complete 13:35:43 f0e02332f6b5: Verifying Checksum 13:35:43 f0e02332f6b5: Download complete 13:35:43 872ee5b61b7b: Verifying Checksum 13:35:43 872ee5b61b7b: Download complete 13:35:43 9fda8d8052c6: Download complete 13:35:44 94ae7d8d031c: Verifying Checksum 13:35:44 94ae7d8d031c: Download complete 13:35:44 9fda8d8052c6: Pull complete 13:35:45 5d54e960e981: Pull complete 13:35:45 c4a7e357bf2a: Verifying Checksum 13:35:45 c4a7e357bf2a: Download complete 13:35:46 0c6a40ed1a82: Verifying Checksum 13:35:46 0c6a40ed1a82: Download complete 13:35:58 c4a7e357bf2a: Pull complete 13:35:58 f0e02332f6b5: Pull complete 13:35:58 872ee5b61b7b: Pull complete 13:36:07 0c6a40ed1a82: Pull complete 13:36:07 94ae7d8d031c: Pull complete 13:36:07 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 13:36:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 13:36:07 ---> 86de565de09d 13:36:07 Step 3/12 : ARG ADD_BUILD_TAGS="" 13:36:10 ---> Running in 5a566e6156de 13:36:10 Removing intermediate container 5a566e6156de 13:36:10 ---> 0953346976b9 13:36:10 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:36:10 ---> Running in 714c2f4c423e 13:36:10 Removing intermediate container 714c2f4c423e 13:36:10 ---> 7cf71f1e22d6 13:36:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:36:10 ---> Running in 7b8f8f4b3749 13:36:10 Removing intermediate container 7b8f8f4b3749 13:36:10 ---> 03ee1df531d0 13:36:10 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 13:36:11 ---> Running in 03b76494cc0a 13:36:11 Removing intermediate container 03b76494cc0a 13:36:11 ---> ccf5d7b663f8 13:36:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:36:11 ---> Running in 7597cb74fc7b 13:36:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:36:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:36:14 (1/4) Installing openssh-keygen (9.3_p2-r1) 13:36:14 (2/4) Installing libedit (20221030.3.1-r1) 13:36:14 (3/4) Installing openssh-client-common (9.3_p2-r1) 13:36:14 (4/4) Installing openssh-client-default (9.3_p2-r1) 13:36:14 Executing busybox-1.36.1-r5.trigger 13:36:14 OK: 271 MiB in 56 packages 13:36:16 Removing intermediate container 7597cb74fc7b 13:36:16 ---> 7d711cb7dbea 13:36:16 Step 8/12 : WORKDIR /device-mqtt-go 13:36:16 ---> Running in e403a8b45312 13:36:16 Removing intermediate container e403a8b45312 13:36:16 ---> 8315e33a2139 13:36:16 Step 9/12 : COPY go.mod vendor* ./ 13:36:16 ---> 4af21203c801 13:36:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:36:16 ---> Running in e0d3490e1b9a 13:38:38 Removing intermediate container e0d3490e1b9a 13:38:38 ---> b111fd856d5f 13:38:38 Step 11/12 : COPY . . 13:38:38 ---> 1acf37729b60 13:38:38 Step 12/12 : RUN $MAKE 13:38:38 ---> Running in 83761c90d3b7 13:38:38 noop 13:38:38 Removing intermediate container 83761c90d3b7 13:38:38 ---> ad93fc508846 13:38:38 Successfully built ad93fc508846 13:38:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:39 + docker inspect -f . ci-base-image-arm64 13:38:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:38:39 prd-ubuntu20.04-docker-arm64-4c-16g-3067 does not seem to be running inside a container 13:38:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:38:41 $ docker top ab1c8f22c8131cb9c916df5119bdd0073d7e839ba58b9c6188df0997d9b17c95 -eo pid,comm [Pipeline] { [Pipeline] sh 13:38:42 + go version 13:38:42 go version go1.21.0 linux/arm64 [Pipeline] } 13:38:42 $ docker stop --time=1 ab1c8f22c8131cb9c916df5119bdd0073d7e839ba58b9c6188df0997d9b17c95 13:38:44 $ docker rm -f --volumes ab1c8f22c8131cb9c916df5119bdd0073d7e839ba58b9c6188df0997d9b17c95 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:38:45 + docker inspect -f . ci-base-image-arm64 13:38:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:38:45 prd-ubuntu20.04-docker-arm64-4c-16g-3067 does not seem to be running inside a container 13:38:45 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:38:46 $ docker top 438f387fd437506af99140e732a953f2b28767edf4f67221c6d33a377ac670eb -eo pid,comm [Pipeline] { [Pipeline] sh 13:38:47 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 13:38:48 + make test 13:38:48 go test ./... -coverprofile=coverage.out ./... 13:38:55 ? github.com/edgexfoundry/device-mqtt-go [no test files] 13:42:09 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 13:42:09 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 13:42:09 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.065s coverage: 22.8% of statements 13:42:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:42:09 go vet ./... 13:42:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:42:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:42:41 ./bin/test-attribution-txt.sh 13:42:41 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 13:42:41 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 13:42:41 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 13:42:41 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 13:42:41 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 13:42:41 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 13:42:41 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 13:42:41 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 13:42:41 An attribution for golang.org/x/term is missing from Attribution.txt, please add 13:42:41 An attribution for google.golang.org/appengine is missing from Attribution.txt, please add 13:42:41 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 13:42:41 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 13:42:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 13:42:42 $ docker stop --time=1 438f387fd437506af99140e732a953f2b28767edf4f67221c6d33a377ac670eb 13:42:44 $ docker rm -f --volumes 438f387fd437506af99140e732a953f2b28767edf4f67221c6d33a377ac670eb [Pipeline] // withDockerContainer [Pipeline] sh 13:42:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:42:46 Warning: overwriting stash ‘coverage-report’ 13:42:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:42:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:42:48 + ls -al . 13:42:48 total 248 13:42:48 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 13:38 . 13:42:48 drwxrwxr-x 4 jenkins jenkins 4096 Apr 19 13:35 .. 13:42:48 -rw-rw-r-- 1 jenkins jenkins 140 Apr 19 13:35 .dockerignore 13:42:48 drwxrwxr-x 8 jenkins jenkins 4096 Apr 19 13:35 .git 13:42:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:35 .github 13:42:48 -rw-rw-r-- 1 jenkins jenkins 264 Apr 19 13:35 .gitignore 13:42:48 -rw-rw-r-- 1 jenkins jenkins 41 Apr 19 13:35 .golangci.yml 13:42:48 -rw-rw-r-- 1 jenkins jenkins 10386 Apr 19 13:35 Attribution.txt 13:42:48 -rw-rw-r-- 1 jenkins jenkins 18574 Apr 19 13:35 CHANGELOG.md 13:42:48 -rw-rw-r-- 1 jenkins jenkins 1798 Apr 19 13:35 Dockerfile 13:42:48 -rw-rw-r-- 1 jenkins jenkins 677 Apr 19 13:35 GOVERNANCE.md 13:42:48 -rw-rw-r-- 1 jenkins jenkins 657 Apr 19 13:35 Jenkinsfile 13:42:48 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 19 13:35 LICENSE 13:42:48 -rw-rw-r-- 1 jenkins jenkins 1963 Apr 19 13:35 Makefile 13:42:48 -rw-rw-r-- 1 jenkins jenkins 620 Apr 19 13:35 OWNERS.md 13:42:48 -rw-rw-r-- 1 jenkins jenkins 3599 Apr 19 13:35 README.md 13:42:48 -rw-rw-r-- 1 jenkins jenkins 5 Apr 19 13:26 VERSION 13:42:48 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 13:35 bin 13:42:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:35 cmd 13:42:48 -rw-r--r-- 1 jenkins jenkins 18506 Apr 19 13:42 coverage.out 13:42:48 -rw-rw-r-- 1 jenkins jenkins 7169 Apr 19 13:35 go.mod 13:42:48 -rw-rw-r-- 1 jenkins jenkins 101597 Apr 19 13:35 go.sum 13:42:48 drwxrwxr-x 3 jenkins jenkins 4096 Apr 19 13:35 internal 13:42:48 drwxrwxr-x 2 jenkins jenkins 4096 Apr 19 13:35 mock 13:42:48 -rw-rw-r-- 1 jenkins jenkins 227 Apr 19 13:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:42:48 + 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=609b28e7a8737900ac797732e13c82425c3e3def --label arch=arm64 --label version=0.0.0 . 13:42:49 Sending build context to Docker daemon 7.632MB 13:42:49 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 13:42:49 Step 2/25 : FROM ${BASE} AS builder 13:42:49 ---> ad93fc508846 13:42:49 Step 3/25 : ARG ADD_BUILD_TAGS="" 13:42:49 ---> Running in c0a66014b6a9 13:42:49 Removing intermediate container c0a66014b6a9 13:42:49 ---> 88a6c03c9d4a 13:42:49 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 13:42:49 ---> Running in b8c7d5230f7e 13:42:50 Removing intermediate container b8c7d5230f7e 13:42:50 ---> 759c74dc01c9 13:42:50 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 13:42:50 ---> Running in 0e1d7db362d3 13:42:50 Removing intermediate container 0e1d7db362d3 13:42:50 ---> 132f05ca272d 13:42:50 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 13:42:50 ---> Running in 122fc56b007e 13:42:51 Removing intermediate container 122fc56b007e 13:42:51 ---> 2ebccdb4a5db 13:42:51 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 13:42:51 ---> Running in ab3abcc877f1 13:42:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:42:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:42:55 OK: 271 MiB in 56 packages 13:42:56 Removing intermediate container ab3abcc877f1 13:42:56 ---> fef66ac04e1a 13:42:56 Step 8/25 : WORKDIR /device-mqtt-go 13:42:56 ---> Running in 69e3b6355980 13:42:56 Removing intermediate container 69e3b6355980 13:42:56 ---> f0265ce8c10f 13:42:56 Step 9/25 : COPY go.mod vendor* ./ 13:42:57 ---> 59fbe086dedb 13:42:57 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:42:57 ---> Running in aa5a37e6003b 13:43:00 Removing intermediate container aa5a37e6003b 13:43:00 ---> 954863aa9733 13:43:00 Step 11/25 : COPY . . 13:43:01 ---> 645f222e39e6 13:43:01 Step 12/25 : RUN $MAKE 13:43:01 ---> Running in e9df6ac796d9 13:43:02 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.12" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 13:46:54 Removing intermediate container e9df6ac796d9 13:46:54 ---> dfb2b501acd2 13:46:54 Step 13/25 : FROM alpine:3.18 13:46:54 3.18: Pulling from library/alpine 13:46:54 c6b39de5b339: Pulling fs layer 13:46:55 c6b39de5b339: Verifying Checksum 13:46:55 c6b39de5b339: Download complete 13:46:55 c6b39de5b339: Pull complete 13:46:56 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 13:46:56 Status: Downloaded newer image for alpine:3.18 13:46:56 ---> 33abbf032149 13:46:56 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 13:46:56 ---> Running in 5f68945e443e 13:46:56 Removing intermediate container 5f68945e443e 13:46:56 ---> b851e5840c49 13:46:56 Step 15/25 : RUN apk add --update --no-cache dumb-init 13:46:56 ---> Running in dfd6465575d1 13:46:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:46:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:46:59 (1/1) Installing dumb-init (1.2.5-r2) 13:46:59 Executing busybox-1.36.1-r5.trigger 13:47:00 OK: 8 MiB in 16 packages 13:47:01 Removing intermediate container dfd6465575d1 13:47:01 ---> 1bb9334bbaa6 13:47:01 Step 16/25 : RUN apk --no-cache upgrade 13:47:01 ---> Running in 653e586e5a10 13:47:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:47:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:47:04 Upgrading critical system libraries and apk-tools: 13:47:04 (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) 13:47:04 Executing busybox-1.36.1-r5.trigger 13:47:04 Continuing the upgrade transaction with new apk-tools: 13:47:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 13:47:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 13:47:06 (1/3) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) 13:47:06 (2/3) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.4-r6) 13:47:06 (3/3) Upgrading libssl3 (3.1.4-r5 -> 3.1.4-r6) 13:47:06 OK: 8 MiB in 16 packages 13:47:07 Removing intermediate container 653e586e5a10 13:47:07 ---> 8c0a89bb966a 13:47:07 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 13:47:10 ---> ddfc608fae3c 13:47:10 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 13:47:10 ---> 520949f20f65 13:47:10 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 13:47:11 ---> 2b7626222774 13:47:11 Step 20/25 : EXPOSE 59982 13:47:11 ---> Running in 5ddb30fae283 13:47:11 Removing intermediate container 5ddb30fae283 13:47:11 ---> e06b72cc36ba 13:47:11 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 13:47:11 ---> Running in f836995f5c6c 13:47:11 Removing intermediate container f836995f5c6c 13:47:11 ---> 7d89147bd9fc 13:47:11 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 13:47:11 ---> Running in 31ba4c55bccc 13:47:12 Removing intermediate container 31ba4c55bccc 13:47:12 ---> 2f1e43bb1e04 13:47:12 Step 23/25 : LABEL arch=arm64 13:47:12 ---> Running in 47f6ee7dba64 13:47:12 Removing intermediate container 47f6ee7dba64 13:47:12 ---> e53bfad67abf 13:47:12 Step 24/25 : LABEL git_sha=609b28e7a8737900ac797732e13c82425c3e3def 13:47:13 ---> Running in cb6e00b11a20 13:47:13 Removing intermediate container cb6e00b11a20 13:47:13 ---> 865928440443 13:47:13 Step 25/25 : LABEL version=0.0.0 13:47:13 ---> Running in 99b6a4a0e699 13:47:13 Removing intermediate container 99b6a4a0e699 13:47:13 ---> 702ad67d173b 13:47:13 [Warning] One or more build-args [ARCH] were not consumed 13:47:13 Successfully built 702ad67d173b 13:47:13 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 13:47:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:47:14 13:47:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:47:14 arm64: Pulling from edgex-lftools-log-publisher 13:47:14 8998bd30e6a1: Pulling fs layer 13:47:14 04944245beec: Pulling fs layer 13:47:14 699f458cf7ca: Pulling fs layer 13:47:14 765212b225bb: Pulling fs layer 13:47:14 f23df028b6ca: Pulling fs layer 13:47:14 d65c8cfc05b1: Pulling fs layer 13:47:14 765212b225bb: Waiting 13:47:14 2437ff75d9bd: Pulling fs layer 13:47:14 f23df028b6ca: Waiting 13:47:14 d65c8cfc05b1: Waiting 13:47:15 04944245beec: Verifying Checksum 13:47:15 04944245beec: Download complete 13:47:15 765212b225bb: Download complete 13:47:15 f23df028b6ca: Download complete 13:47:15 d65c8cfc05b1: Verifying Checksum 13:47:15 d65c8cfc05b1: Download complete 13:47:15 699f458cf7ca: Verifying Checksum 13:47:15 699f458cf7ca: Download complete 13:47:15 8998bd30e6a1: Verifying Checksum 13:47:15 8998bd30e6a1: Download complete 13:47:18 2437ff75d9bd: Verifying Checksum 13:47:18 2437ff75d9bd: Download complete 13:47:20 8998bd30e6a1: Pull complete 13:47:20 04944245beec: Pull complete 13:47:22 699f458cf7ca: Pull complete 13:47:22 765212b225bb: Pull complete 13:47:23 f23df028b6ca: Pull complete 13:47:23 d65c8cfc05b1: Pull complete 13:47:41 2437ff75d9bd: Pull complete 13:47:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 13:47:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:47:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:47:42 prd-ubuntu20.04-docker-arm64-4c-16g-3067 does not seem to be running inside a container 13:47:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 13:47:45 $ docker top 07d28d70d678803e6b75559b7de0619938858afbf841ac299f9d7f47e26b30e5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:47:46 ---> job-cost.sh 13:47:46 lf-activate-venv: SKIPPING 13:47:46 INFO: No Stack... 13:47:47 INFO: Retrieving Pricing Info for: v3-standard-4 13:47:48 INFO: Archiving Costs [Pipeline] sh 13:47:49 + cut -d, -f6 13:47:49 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv [Pipeline] lock 13:47:49 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-671-1-stack-cost] 13:47:49 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-671-1-stack-cost] did not exist. Created. 13:47:49 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-671-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:47:50 /w/workspace/device-mqtt-go/1@tmp/durable-3d17ef53/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 13:47:50 + echo total: 0.10999999940395355 [Pipeline] stash 13:47:50 Warning: overwriting stash ‘stack-cost’ 13:47:50 Stashed 1 file(s) [Pipeline] } 13:47:50 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-671-1-stack-cost] [Pipeline] // lock [Pipeline] } 13:47:50 $ docker stop --time=1 07d28d70d678803e6b75559b7de0619938858afbf841ac299f9d7f47e26b30e5 13:47:52 $ docker rm -f --volumes 07d28d70d678803e6b75559b7de0619938858afbf841ac299f9d7f47e26b30e5 [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 13:47:53 provisioning config files... 13:47:53 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-671@tmp/config15492014441036248876tmp [Pipeline] { [Pipeline] sh 13:47:54 + set +x 13:47:54 + curl -s https://codecov.io/bash 13:47:54 + bash -s -- 13:47:54 13:47:54 _____ _ 13:47:54 / ____| | | 13:47:54 | | ___ __| | ___ ___ _____ __ 13:47:54 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:47:54 | |___| (_) | (_| | __/ (_| (_) \ V / 13:47:54 \_____\___/ \__,_|\___|\___\___/ \_/ 13:47:54 Bash-1.0.6 13:47:54 13:47:54 13:47:54 ==> git version 2.25.1 found 13:47:54 ==> 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 13:47:54 Release-Date: 2020-01-08 13:47:54 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 13:47:54 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 13:47:54 ==> Jenkins CI detected. 13:47:54 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-671 13:47:54 project root: . 13:47:54 --> token set from env 13:47:54 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:47:54 ==> Running gcov in . (disable via -X gcov) 13:47:54 ==> Python coveragepy not found 13:47:54 ==> Searching for coverage reports in: 13:47:54 + . 13:47:54 -> Found 1 reports 13:47:54 ==> Detecting git/mercurial file structure 13:47:54 ==> Reading reports 13:47:54 + ./coverage.out bytes=18506 13:47:54 ==> Appending adjustments 13:47:54 https://docs.codecov.io/docs/fixing-reports 13:47:54 + Found adjustments 13:47:54 ==> Gzipping contents 13:47:54 4.0K /tmp/codecov.Gx4nmJ.gz 13:47:54 ==> Uploading reports 13:47:54 url: https://codecov.io 13:47:54 query: branch=PR-671&commit=609b28e7a8737900ac797732e13c82425c3e3def&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-671%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=671&job=&cmd_args= 13:47:54 -> Pinging Codecov 13:47:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-671&commit=609b28e7a8737900ac797732e13c82425c3e3def&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-671%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=671&job=&cmd_args= 13:47:54 -> Uploading to 13:47:54 https://storage.googleapis.com/codecov/v4/raw/2024-04-19/7D719EC7BBE17E464838252E33014C33/609b28e7a8737900ac797732e13c82425c3e3def/fdd45547-0197-4f25-9b45-38ae2b8b7d90.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240419%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240419T134754Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6326de97b3d1a7189f0bab81ce46ff7c61afbd25ce6b46e046b81e0e717640d1 13:47:54 % Total % Received % Xferd Average Speed Time Time Time Current 13:47:54 Dload Upload Total Spent Left Speed 13:47:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11772 --:--:-- --:--:-- --:--:-- 11772 13:47:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/609b28e7a8737900ac797732e13c82425c3e3def [Pipeline] } 13:47:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 13:47:56 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-671/archives ] 13:47:56 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-671/archives 13:47:56 total 16 13:47:56 drwxr-xr-x 3 root root 4096 Apr 19 13:29 . 13:47:56 drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 13:29 .. 13:47:56 drwxr-xr-x 2 root root 4096 Apr 19 13:29 cost 13:47:56 -rw-r--r-- 1 root root 86 Apr 19 13:29 cost.csv 13:47:56 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-671/archives 13:47:56 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-671/archives 13:47:56 total 16 13:47:56 drwxr-xr-x 3 jenkins jenkins 4096 Apr 19 13:29 . 13:47:56 drwxrwxr-x 10 jenkins jenkins 4096 Apr 19 13:29 .. 13:47:56 drwxr-xr-x 2 jenkins jenkins 4096 Apr 19 13:29 cost 13:47:56 -rw-r--r-- 1 jenkins jenkins 86 Apr 19 13:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:47:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:47:58 ---> package-listing.sh 13:47:58 ++ facter osfamily 13:47:58 ++ tr '[:upper:]' '[:lower:]' 13:47:58 + OS_FAMILY=debian 13:47:58 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-671 13:47:58 + START_PACKAGES=/tmp/packages_start.txt 13:47:58 + END_PACKAGES=/tmp/packages_end.txt 13:47:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:47:58 + PACKAGES=/tmp/packages_start.txt 13:47:58 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-671 ']' 13:47:58 + PACKAGES=/tmp/packages_end.txt 13:47:58 + case "${OS_FAMILY}" in 13:47:58 + dpkg -l 13:47:58 + grep '^ii' 13:47:58 + '[' -f /tmp/packages_start.txt ']' 13:47:58 + '[' -f /tmp/packages_end.txt ']' 13:47:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:47:58 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-671 ']' 13:47:58 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-671/archives/ 13:47:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-671/archives/ [Pipeline] echo 13:47:58 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-671/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:47:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:47:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:47:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:47:59 prd-ubuntu20.04-docker-8c-8g-2843 does not seem to be running inside a container 13:47:59 $ 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-671/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-671 -v /w/workspace/gexfoundry_device-mqtt-go_PR-671:/w/workspace/gexfoundry_device-mqtt-go_PR-671:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-671@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-671@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 13:47:59 $ docker top b4317d359204a6ece3ad069412ced2c41624f9f28e8b92021c7c3e629959b806 -eo pid,comm [Pipeline] { [Pipeline] sh 13:48:00 + touch /tmp/pre-build-complete [Pipeline] sh 13:48:00 + mkdir -p /var/log/sysstat [Pipeline] sh 13:48:00 + ls /var/log/sa-host 13:48:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:48:00 provisioning config files... 13:48:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-671@tmp/config7456382244741922755tmp [Pipeline] { [Pipeline] echo 13:48:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:48:01 ---> create-netrc.sh [Pipeline] } 13:48:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:48:01 ---> python-tools-install.sh [Pipeline] echo 13:48:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:48:02 ---> sudo-logs.sh 13:48:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 13:48:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:48:02 ---> job-cost.sh 13:48:02 lf-activate-venv: SKIPPING 13:48:02 DEBUG: total: 0.2199999988079071 13:48:02 INFO: Retrieving Stack Cost... 13:48:02 INFO: Retrieving Pricing Info for: v3-standard-8 13:48:03 INFO: Archiving Costs [Pipeline] echo 13:48:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:48:03 ---> logs-deploy.sh 13:48:03 lf-activate-venv: SKIPPING 13:48:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-671/1 13:48:03 INFO: archiving workspace using pattern(s): 13:48:04 Archives upload complete. 13:48:04 INFO: archiving logs to Nexus