Pull request #658 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c7495f25c384d472033ef6b02d1bae16dc7bdc16+e5520233bf84df16304f7dd08ef94c536c7e2796 (3eeca95b6b0e90a8768b3b2346370d2a8138c357) 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-ssh3563662624294425139.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-ssh6625196986443020573.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-658/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-658/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4043135931238339720.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-658/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3899860106277532524.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-ssh14626253498202718399.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-658/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-658/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8864211521752256913.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 ‘prd-ubuntu20.04-docker-8c-8g-26532’ Running on prd-ubuntu20.04-docker-8c-8g-26536 in /w/workspace/gexfoundry_device-mqtt-go_PR-658 [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-658 # 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/658/head:refs/remotes/origin/PR-658 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e5520233bf84df16304f7dd08ef94c536c7e2796 into PR head commit c7495f25c384d472033ef6b02d1bae16dc7bdc16 Merge succeeded, producing c7495f25c384d472033ef6b02d1bae16dc7bdc16 Checking out Revision c7495f25c384d472033ef6b02d1bae16dc7bdc16 (PR-658) Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:47:03 Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f c7495f25c384d472033ef6b02d1bae16dc7bdc16 # 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 e5520233bf84df16304f7dd08ef94c536c7e2796 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c7495f25c384d472033ef6b02d1bae16dc7bdc16 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:47:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:47:04 ========================================================= 01:47:04 EdgeX Global Pipelines Version Info 01:47:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:47:05 ------------------- 01:47:05 stable info: 01:47:05 ------------------- 01:47:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:47:05 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:47:05 Message: update stable to v1.0.258 01:47:05 ------------------- 01:47:05 experimental info: 01:47:05 ------------------- 01:47:05 Commited By: **** collab-it+edgex@linuxfoundation.org 01:47:05 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:47:05 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:47:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:47:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:47:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:47:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:47:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:47:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:47:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:47:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:47:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:47:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:47:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:47:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:47:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:47:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:47:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:47:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:47:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:47:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:47:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:47:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:47:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:47:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:47:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:47:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:47:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:47:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:47:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:47:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-658 [Pipeline] echo 01:47:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-658 [Pipeline] echo 01:47:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-658 [Pipeline] echo 01:47:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c7495f25c384d472033ef6b02d1bae16dc7bdc16 [Pipeline] echo 01:47:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c7495f2 [Pipeline] echo 01:47:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:47:08 provisioning config files... 01:47:08 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-658@tmp/config10648131058983816323tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:47:08 ---> ****-login.sh 01:47:08 nexus3.edgexfoundry.org:10001 01:47:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:08 Configure a credential helper to remove this warning. See 01:47:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:08 01:47:08 Login Succeeded 01:47:08 nexus3.edgexfoundry.org:10002 01:47:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:09 Configure a credential helper to remove this warning. See 01:47:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:09 01:47:09 Login Succeeded 01:47:09 nexus3.edgexfoundry.org:10003 01:47:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:09 Configure a credential helper to remove this warning. See 01:47:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:09 01:47:09 Login Succeeded 01:47:09 nexus3.edgexfoundry.org:10004 01:47:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:09 Configure a credential helper to remove this warning. See 01:47:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:09 01:47:09 Login Succeeded 01:47:09 ****.io 01:47:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:09 Configure a credential helper to remove this warning. See 01:47:09 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:09 01:47:09 Login Succeeded 01:47:09 ---> ****-login.sh ends [Pipeline] } 01:47:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:47:10 + git rev-list -1 --merges c7495f25c384d472033ef6b02d1bae16dc7bdc16~1..c7495f25c384d472033ef6b02d1bae16dc7bdc16 [Pipeline] echo 01:47:10 -----------> git rev-list -1 --merges c7495f25c384d472033ef6b02d1bae16dc7bdc16~1..c7495f25c384d472033ef6b02d1bae16dc7bdc16 c7495f25c384d472033ef6b02d1bae16dc7bdc16 [false] [Pipeline] sh 01:47:10 + git log --format=format:%s -1 c7495f25c384d472033ef6b02d1bae16dc7bdc16 [Pipeline] echo 01:47:10 ========================================================= 01:47:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:47:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:47:11 + git log --format=format:%s -1 c7495f25c384d472033ef6b02d1bae16dc7bdc16 [Pipeline] echo 01:47:11 [semverPrep] GIT_COMMIT: c7495f25c384d472033ef6b02d1bae16dc7bdc16, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:47:11 [semverPrep] This is not a build commit. [Pipeline] sh 01:47:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:47:11 + grep -v github /etc/ssh/ssh_known_hosts 01:47:11 + [ -e /tmp/ssh_known_hosts ] 01:47:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:47:11 + sudo tee -a /etc/ssh/ssh_known_hosts 01:47:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:47:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:47:12 01:47:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:47:12 0.1.4: Pulling from edgex-devops/py-git-semver 01:47:12 b85a868b505f: Pulling fs layer 01:47:12 e2be974225ed: Pulling fs layer 01:47:12 339a4e72a1f5: Pulling fs layer 01:47:12 988bab9f4d93: Pulling fs layer 01:47:12 1469e6f7b9e6: Pulling fs layer 01:47:12 eaf3925da568: Pulling fs layer 01:47:12 bab4dde63d76: Pulling fs layer 01:47:12 bde34c3a00c8: Pulling fs layer 01:47:12 b352a97aabf1: Pulling fs layer 01:47:12 4872d77fe225: Pulling fs layer 01:47:12 5851b861e8e6: Pulling fs layer 01:47:12 4872d77fe225: Waiting 01:47:12 bab4dde63d76: Waiting 01:47:12 988bab9f4d93: Waiting 01:47:12 b352a97aabf1: Waiting 01:47:12 1469e6f7b9e6: Waiting 01:47:12 5851b861e8e6: Waiting 01:47:12 bde34c3a00c8: Waiting 01:47:12 eaf3925da568: Waiting 01:47:12 e2be974225ed: Download complete 01:47:12 988bab9f4d93: Download complete 01:47:12 1469e6f7b9e6: Verifying Checksum 01:47:12 1469e6f7b9e6: Download complete 01:47:12 eaf3925da568: Download complete 01:47:13 339a4e72a1f5: Verifying Checksum 01:47:13 339a4e72a1f5: Download complete 01:47:13 bde34c3a00c8: Verifying Checksum 01:47:13 bde34c3a00c8: Download complete 01:47:13 b352a97aabf1: Download complete 01:47:13 4872d77fe225: Verifying Checksum 01:47:13 4872d77fe225: Download complete 01:47:13 5851b861e8e6: Download complete 01:47:13 b85a868b505f: Download complete 01:47:13 bab4dde63d76: Verifying Checksum 01:47:13 bab4dde63d76: Download complete 01:47:14 b85a868b505f: Pull complete 01:47:14 e2be974225ed: Pull complete 01:47:14 339a4e72a1f5: Pull complete 01:47:14 988bab9f4d93: Pull complete 01:47:15 1469e6f7b9e6: Pull complete 01:47:15 eaf3925da568: Pull complete 01:47:17 bab4dde63d76: Pull complete 01:47:17 bde34c3a00c8: Pull complete 01:47:17 b352a97aabf1: Pull complete 01:47:17 4872d77fe225: Pull complete 01:47:17 5851b861e8e6: Pull complete 01:47:17 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:47:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:47:17 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:47:17 prd-ubuntu20.04-docker-8c-8g-26536 does not seem to be running inside a container 01:47:17 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-658 -v /w/workspace/gexfoundry_device-mqtt-go_PR-658:/w/workspace/gexfoundry_device-mqtt-go_PR-658:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-658@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-658@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:47:20 $ docker top 6bb5694e6a4fddd0323f46bb607a1dbf7bc1b80440913365337edd6684d1951d -eo pid,comm 01:47:21 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:47:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:47:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:47:21 [ssh-agent] Looking for ssh-agent implementation... 01:47:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:47:21 $ docker exec 6bb5694e6a4fddd0323f46bb607a1dbf7bc1b80440913365337edd6684d1951d ssh-agent 01:47:21 SSH_AUTH_SOCK=/tmp/ssh-r4iuo7mnxQyA/agent.33 01:47:21 SSH_AGENT_PID=39 01:47:21 Running ssh-add (command line suppressed) 01:47:21 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-658@tmp/private_key_17532732281983664297.key (/w/workspace/gexfoundry_device-mqtt-go_PR-658@tmp/private_key_17532732281983664297.key) 01:47:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:47:21 + git tag --points-at HEAD [Pipeline] } 01:47:21 $ docker exec --env ******** --env ******** 6bb5694e6a4fddd0323f46bb607a1dbf7bc1b80440913365337edd6684d1951d ssh-agent -k 01:47:22 unset SSH_AUTH_SOCK; 01:47:22 unset SSH_AGENT_PID; 01:47:22 echo Agent pid 39 killed; 01:47:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:47:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:47:22 [ssh-agent] Looking for ssh-agent implementation... 01:47:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:47:22 $ docker exec 6bb5694e6a4fddd0323f46bb607a1dbf7bc1b80440913365337edd6684d1951d ssh-agent 01:47:22 SSH_AUTH_SOCK=/tmp/ssh-L1D4EYrrYrcI/agent.71 01:47:22 SSH_AGENT_PID=77 01:47:22 Running ssh-add (command line suppressed) 01:47:22 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-658@tmp/private_key_13448710321064599091.key (/w/workspace/gexfoundry_device-mqtt-go_PR-658@tmp/private_key_13448710321064599091.key) 01:47:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:47:22 + git semver init 01:47:23 2024-01-01 01:47:23,049 [run_init] DEBUG init version:0.0.0 force:False 01:47:23 2024-01-01 01:47:23,049 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-658/.semver 01:47:23 2024-01-01 01:47:23,050 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-658/.semver 01:47:23 2024-01-01 01:47:23,050 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-658/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-658, universal_newlines=False, shell=None, istream=None) 01:47:26 2024-01-01 01:47:26,071 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-658/.git/info/exclude 01:47:26 2024-01-01 01:47:26,072 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-658/.semver/PR-658 with force:False 01:47:26 2024-01-01 01:47:26,072 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-658/.semver/PR-658 01:47:26 2024-01-01 01:47:26,076 [execute] INFO git cat-file --batch-check 01:47:26 2024-01-01 01:47:26,077 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-658/.semver, universal_newlines=False, shell=None, istream=) 01:47:26 2024-01-01 01:47:26,083 [execute] INFO git cat-file --batch 01:47:26 2024-01-01 01:47:26,083 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-658/.semver, universal_newlines=False, shell=None, istream=) 01:47:26 2024-01-01 01:47:26,087 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-658/.semver/PR-658 01:47:26 0.0.0 [Pipeline] } 01:47:26 $ docker exec --env ******** --env ******** 6bb5694e6a4fddd0323f46bb607a1dbf7bc1b80440913365337edd6684d1951d ssh-agent -k 01:47:26 unset SSH_AUTH_SOCK; 01:47:26 unset SSH_AGENT_PID; 01:47:26 echo Agent pid 77 killed; 01:47:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:47:27 + git semver [Pipeline] } 01:47:27 $ docker stop --time=1 6bb5694e6a4fddd0323f46bb607a1dbf7bc1b80440913365337edd6684d1951d 01:47:29 $ docker rm -f --volumes 6bb5694e6a4fddd0323f46bb607a1dbf7bc1b80440913365337edd6684d1951d [Pipeline] // withDockerContainer [Pipeline] sh 01:47:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:47:29 Stashed 1 file(s) [Pipeline] echo 01:47:29 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:47:30 provisioning config files... 01:47:30 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-658@tmp/config6401143193985990443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:47:31 ---> ****-login.sh 01:47:31 nexus3.edgexfoundry.org:10001 01:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:31 Configure a credential helper to remove this warning. See 01:47:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:31 01:47:31 Login Succeeded 01:47:31 nexus3.edgexfoundry.org:10002 01:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:31 Configure a credential helper to remove this warning. See 01:47:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:31 01:47:31 Login Succeeded 01:47:31 nexus3.edgexfoundry.org:10003 01:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:31 Configure a credential helper to remove this warning. See 01:47:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:31 01:47:31 Login Succeeded 01:47:31 nexus3.edgexfoundry.org:10004 01:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:31 Configure a credential helper to remove this warning. See 01:47:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:31 01:47:31 Login Succeeded 01:47:31 ****.io 01:47:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:47:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:47:31 Configure a credential helper to remove this warning. See 01:47:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:47:31 01:47:31 Login Succeeded 01:47:31 ---> ****-login.sh ends [Pipeline] } 01:47:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:47:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:47:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:47:32 ========================================================= 01:47:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:47:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:47:32 + 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 . 01:47:32 Sending build context to Docker daemon 14.88MB 01:47:32 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:47:32 Step 2/12 : FROM ${BASE} AS builder 01:47:32 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:47:32 7264a8db6415: Pulling fs layer 01:47:32 c4d48a809fc2: Pulling fs layer 01:47:32 4f1c88b9dad5: Pulling fs layer 01:47:32 ad3a456e5733: Pulling fs layer 01:47:32 69c7f0334f64: Pulling fs layer 01:47:32 1f1c1a5573a3: Pulling fs layer 01:47:32 ce7588e14bc9: Pulling fs layer 01:47:32 b5e4710f87ac: Pulling fs layer 01:47:32 69c7f0334f64: Waiting 01:47:32 1f1c1a5573a3: Waiting 01:47:32 ce7588e14bc9: Waiting 01:47:32 b5e4710f87ac: Waiting 01:47:32 ad3a456e5733: Waiting 01:47:32 c4d48a809fc2: Download complete 01:47:32 ad3a456e5733: Verifying Checksum 01:47:32 ad3a456e5733: Download complete 01:47:33 69c7f0334f64: Verifying Checksum 01:47:33 69c7f0334f64: Download complete 01:47:33 7264a8db6415: Verifying Checksum 01:47:33 7264a8db6415: Download complete 01:47:33 1f1c1a5573a3: Verifying Checksum 01:47:33 1f1c1a5573a3: Download complete 01:47:33 7264a8db6415: Pull complete 01:47:33 b5e4710f87ac: Verifying Checksum 01:47:33 b5e4710f87ac: Download complete 01:47:33 c4d48a809fc2: Pull complete 01:47:33 4f1c88b9dad5: Verifying Checksum 01:47:33 4f1c88b9dad5: Download complete 01:47:33 ce7588e14bc9: Verifying Checksum 01:47:33 ce7588e14bc9: Download complete 01:47:39 4f1c88b9dad5: Pull complete 01:47:39 ad3a456e5733: Pull complete 01:47:39 69c7f0334f64: Pull complete 01:47:39 1f1c1a5573a3: Pull complete 01:47:39 ce7588e14bc9: Pull complete 01:47:40 b5e4710f87ac: Pull complete 01:47:40 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 01:47:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:47:40 ---> 88b5674ff536 01:47:40 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:47:44 ---> Running in 51ca5fb8c86a 01:47:44 Removing intermediate container 51ca5fb8c86a 01:47:44 ---> ecfa3245ce6d 01:47:44 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:47:44 ---> Running in 7a367e68b385 01:47:44 Removing intermediate container 7a367e68b385 01:47:44 ---> 24f91782ae7e 01:47:44 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:47:44 ---> Running in 5eff0c1e42b5 01:47:44 Removing intermediate container 5eff0c1e42b5 01:47:44 ---> 96cae8f57682 01:47:44 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:47:44 ---> Running in 37844e8e41ce 01:47:44 Removing intermediate container 37844e8e41ce 01:47:44 ---> ff30753a4c03 01:47:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:47:44 ---> Running in d4cf7de9d561 01:47:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:47:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:47:44 (1/4) Installing openssh-keygen (9.3_p2-r1) 01:47:44 (2/4) Installing libedit (20221030.3.1-r1) 01:47:44 (3/4) Installing openssh-client-common (9.3_p2-r1) 01:47:44 (4/4) Installing openssh-client-default (9.3_p2-r1) 01:47:44 Executing busybox-1.36.1-r5.trigger 01:47:44 OK: 268 MiB in 56 packages 01:47:45 Removing intermediate container d4cf7de9d561 01:47:45 ---> a027ef2a2bdf 01:47:45 Step 8/12 : WORKDIR /device-mqtt-go 01:47:45 ---> Running in 87b2e9d266a0 01:47:45 Removing intermediate container 87b2e9d266a0 01:47:45 ---> 0e49f8808cac 01:47:45 Step 9/12 : COPY go.mod vendor* ./ 01:47:45 ---> 5781fc184067 01:47:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:47:45 Still waiting to schedule task 01:47:45 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-26533’ 01:47:45 ---> Running in 73c6d0c4509a 01:48:32 Removing intermediate container 73c6d0c4509a 01:48:32 ---> 4ba5a647f5b4 01:48:32 Step 11/12 : COPY . . 01:48:32 ---> 64ddfbec34f2 01:48:32 Step 12/12 : RUN $MAKE 01:48:32 ---> Running in 0254f3e97ba5 01:48:32 noop 01:48:32 Removing intermediate container 0254f3e97ba5 01:48:32 ---> e64370e05b42 01:48:32 Successfully built e64370e05b42 01:48:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:33 + docker inspect -f . ci-base-image-x86_64 01:48:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:33 prd-ubuntu20.04-docker-8c-8g-26536 does not seem to be running inside a container 01:48:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-658 -v /w/workspace/gexfoundry_device-mqtt-go_PR-658:/w/workspace/gexfoundry_device-mqtt-go_PR-658:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-658@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-658@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:48:33 $ docker top aebc2311a95dfca5bcb42c33c1396ce61a14dd1b0e4a81e66641a90da1c29a34 -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:34 + go version 01:48:34 go version go1.21.0 linux/amd64 [Pipeline] } 01:48:34 $ docker stop --time=1 aebc2311a95dfca5bcb42c33c1396ce61a14dd1b0e4a81e66641a90da1c29a34 01:48:35 $ docker rm -f --volumes aebc2311a95dfca5bcb42c33c1396ce61a14dd1b0e4a81e66641a90da1c29a34 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:48:36 + docker inspect -f . ci-base-image-x86_64 01:48:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:48:36 prd-ubuntu20.04-docker-8c-8g-26536 does not seem to be running inside a container 01:48:36 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-mqtt-go_PR-658 -v /w/workspace/gexfoundry_device-mqtt-go_PR-658:/w/workspace/gexfoundry_device-mqtt-go_PR-658:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-658@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-658@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:48:37 $ docker top 89d803c5653500e61c3d3bb6a1107ec9095298d530f1e60b59c7cd035d1d1ddb -eo pid,comm [Pipeline] { [Pipeline] sh 01:48:37 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-658 [Pipeline] fileExists [Pipeline] sh 01:48:38 + make test 01:48:38 go test ./... -coverprofile=coverage.out ./... 01:48:39 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:48:49 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:48:49 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:48:49 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.016s coverage: 22.8% of statements 01:48:54 go vet ./... 01:48:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:48:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:48:58 ./bin/test-attribution-txt.sh [Pipeline] echo 01:48:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:48:59 $ docker stop --time=1 89d803c5653500e61c3d3bb6a1107ec9095298d530f1e60b59c7cd035d1d1ddb 01:49:04 $ docker rm -f --volumes 89d803c5653500e61c3d3bb6a1107ec9095298d530f1e60b59c7cd035d1d1ddb [Pipeline] // withDockerContainer [Pipeline] sh 01:49:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:49:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:49:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:49:05 + ls -al . 01:49:05 total 184 01:49:05 drwxrwxr-x 9 jenkins jenkins 4096 Jan 1 01:48 . 01:49:05 drwxrwxr-x 4 jenkins jenkins 4096 Jan 1 01:47 .. 01:49:05 -rw-rw-r-- 1 jenkins jenkins 140 Jan 1 01:47 .dockerignore 01:49:05 drwxrwxr-x 8 jenkins jenkins 4096 Jan 1 01:48 .git 01:49:05 drwxrwxr-x 3 jenkins jenkins 4096 Jan 1 01:47 .github 01:49:05 -rw-rw-r-- 1 jenkins jenkins 264 Jan 1 01:47 .gitignore 01:49:05 -rw-rw-r-- 1 jenkins jenkins 41 Jan 1 01:47 .golangci.yml 01:49:05 drwxr-xr-x 3 jenkins jenkins 4096 Jan 1 01:47 .semver 01:49:05 -rw-rw-r-- 1 jenkins jenkins 10386 Jan 1 01:47 Attribution.txt 01:49:05 -rw-rw-r-- 1 jenkins jenkins 18574 Jan 1 01:47 CHANGELOG.md 01:49:05 -rw-rw-r-- 1 jenkins jenkins 1798 Jan 1 01:47 Dockerfile 01:49:05 -rw-rw-r-- 1 jenkins jenkins 677 Jan 1 01:47 GOVERNANCE.md 01:49:05 -rw-rw-r-- 1 jenkins jenkins 657 Jan 1 01:47 Jenkinsfile 01:49:05 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 1 01:47 LICENSE 01:49:05 -rw-rw-r-- 1 jenkins jenkins 1963 Jan 1 01:47 Makefile 01:49:05 -rw-rw-r-- 1 jenkins jenkins 620 Jan 1 01:47 OWNERS.md 01:49:05 -rw-rw-r-- 1 jenkins jenkins 3599 Jan 1 01:47 README.md 01:49:05 -rw-rw-r-- 1 jenkins jenkins 5 Jan 1 01:47 VERSION 01:49:05 drwxrwxr-x 2 jenkins jenkins 4096 Jan 1 01:47 bin 01:49:05 drwxrwxr-x 3 jenkins jenkins 4096 Jan 1 01:47 cmd 01:49:05 -rw-r--r-- 1 jenkins jenkins 18506 Jan 1 01:48 coverage.out 01:49:05 -rw-rw-r-- 1 jenkins jenkins 3818 Jan 1 01:47 go.mod 01:49:05 -rw-rw-r-- 1 jenkins jenkins 34595 Jan 1 01:47 go.sum 01:49:05 drwxrwxr-x 3 jenkins jenkins 4096 Jan 1 01:47 internal 01:49:05 drwxrwxr-x 2 jenkins jenkins 4096 Jan 1 01:47 mock 01:49:05 -rw-rw-r-- 1 jenkins jenkins 227 Jan 1 01:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:06 + 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=c7495f25c384d472033ef6b02d1bae16dc7bdc16 --label arch=amd64 --label version=0.0.0 . 01:49:06 Sending build context to Docker daemon 14.9MB 01:49:06 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:49:06 Step 2/25 : FROM ${BASE} AS builder 01:49:06 ---> e64370e05b42 01:49:06 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:49:06 ---> Running in d980612b3205 01:49:06 Removing intermediate container d980612b3205 01:49:06 ---> 9072e2cebdbb 01:49:06 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:49:06 ---> Running in 83ab1a9906bd 01:49:06 Removing intermediate container 83ab1a9906bd 01:49:06 ---> 889c7dc9fbcd 01:49:06 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:49:06 ---> Running in 3da938cfafbd 01:49:07 Removing intermediate container 3da938cfafbd 01:49:07 ---> a913299666f9 01:49:07 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:49:07 ---> Running in 20b28a6591c2 01:49:07 Removing intermediate container 20b28a6591c2 01:49:07 ---> 7ab1aeaf6a75 01:49:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:49:07 ---> Running in 075815074dd9 01:49:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:49:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:49:07 OK: 268 MiB in 56 packages 01:49:08 Removing intermediate container 075815074dd9 01:49:08 ---> 42a672aca19f 01:49:08 Step 8/25 : WORKDIR /device-mqtt-go 01:49:08 ---> Running in d5d5b4339198 01:49:08 Removing intermediate container d5d5b4339198 01:49:08 ---> e75184aa4e10 01:49:08 Step 9/25 : COPY go.mod vendor* ./ 01:49:08 ---> 5cff5124d0d3 01:49:08 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:49:08 ---> Running in fbebb8d0a659 01:49:09 Removing intermediate container fbebb8d0a659 01:49:09 ---> 4898542d1189 01:49:09 Step 11/25 : COPY . . 01:49:09 ---> 64dbe7ba454c 01:49:09 Step 12/25 : RUN $MAKE 01:49:09 ---> Running in f900dd31b77c 01:49:09 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.6" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:49:28 Removing intermediate container f900dd31b77c 01:49:28 ---> 9b9ca3d2b107 01:49:28 Step 13/25 : FROM alpine:3.18 01:49:28 3.18: Pulling from library/alpine 01:49:28 c926b61bad3b: Pulling fs layer 01:49:28 c926b61bad3b: Download complete 01:49:28 c926b61bad3b: Pull complete 01:49:28 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 01:49:28 Status: Downloaded newer image for alpine:3.18 01:49:28 ---> b541f2080109 01:49:28 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:49:28 ---> Running in f3a94bc899bf 01:49:28 Removing intermediate container f3a94bc899bf 01:49:28 ---> 2f2509685cfa 01:49:28 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:49:28 ---> Running in deecace49ff7 01:49:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:49:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:49:29 (1/1) Installing dumb-init (1.2.5-r2) 01:49:29 Executing busybox-1.36.1-r5.trigger 01:49:29 OK: 7 MiB in 16 packages 01:49:29 Removing intermediate container deecace49ff7 01:49:29 ---> afb2736db649 01:49:29 Step 16/25 : RUN apk --no-cache upgrade 01:49:29 ---> Running in 55c22e1ad6b0 01:49:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:49:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:49:30 OK: 7 MiB in 16 packages 01:49:30 Removing intermediate container 55c22e1ad6b0 01:49:30 ---> 74f86abbb577 01:49:30 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:49:31 ---> fc1fea900e78 01:49:31 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:49:31 ---> b7d9432fc35f 01:49:31 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:49:31 ---> 268d65099fd1 01:49:31 Step 20/25 : EXPOSE 59982 01:49:31 ---> Running in edd3865eee01 01:49:31 Removing intermediate container edd3865eee01 01:49:31 ---> c46a3dd38cdc 01:49:31 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:49:31 ---> Running in 6b4c35914d98 01:49:31 Removing intermediate container 6b4c35914d98 01:49:31 ---> dfb4b122ca77 01:49:31 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:49:31 ---> Running in a6ce1a636e42 01:49:31 Removing intermediate container a6ce1a636e42 01:49:31 ---> c07056a037d9 01:49:31 Step 23/25 : LABEL arch=amd64 01:49:31 ---> Running in 0b249388f909 01:49:31 Removing intermediate container 0b249388f909 01:49:31 ---> 51551f48394a 01:49:31 Step 24/25 : LABEL git_sha=c7495f25c384d472033ef6b02d1bae16dc7bdc16 01:49:31 ---> Running in d21e112d47d3 01:49:31 Removing intermediate container d21e112d47d3 01:49:31 ---> 0d9cc54b1b40 01:49:31 Step 25/25 : LABEL version=0.0.0 01:49:31 ---> Running in 16b34895ab35 01:49:31 Removing intermediate container 16b34895ab35 01:49:31 ---> e27b2c93349b 01:49:31 [Warning] One or more build-args [ARCH] were not consumed 01:49:31 Successfully built e27b2c93349b 01:49:31 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 01:49:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:49:33 01:49:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:49:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:49:33 latest: Pulling from edgex-lftools-log-publisher 01:49:33 5eb5b503b376: Pulling fs layer 01:49:33 5c69ac0246d0: Pulling fs layer 01:49:33 ec43610c2a17: Pulling fs layer 01:49:33 3a2ae6a8a46f: Pulling fs layer 01:49:33 33b1e0a273af: Pulling fs layer 01:49:33 5d3b04190fa2: Pulling fs layer 01:49:33 2f39f015ded8: Pulling fs layer 01:49:33 3a2ae6a8a46f: Waiting 01:49:33 33b1e0a273af: Waiting 01:49:33 2f39f015ded8: Waiting 01:49:33 5d3b04190fa2: Waiting 01:49:33 5c69ac0246d0: Verifying Checksum 01:49:33 5c69ac0246d0: Download complete 01:49:33 3a2ae6a8a46f: Verifying Checksum 01:49:33 3a2ae6a8a46f: Download complete 01:49:33 33b1e0a273af: Verifying Checksum 01:49:33 33b1e0a273af: Download complete 01:49:33 ec43610c2a17: Verifying Checksum 01:49:33 ec43610c2a17: Download complete 01:49:33 5d3b04190fa2: Verifying Checksum 01:49:33 5d3b04190fa2: Download complete 01:49:33 5eb5b503b376: Verifying Checksum 01:49:33 5eb5b503b376: Download complete 01:49:34 2f39f015ded8: Verifying Checksum 01:49:34 2f39f015ded8: Download complete 01:49:34 5eb5b503b376: Pull complete 01:49:34 5c69ac0246d0: Pull complete 01:49:35 ec43610c2a17: Pull complete 01:49:35 3a2ae6a8a46f: Pull complete 01:49:35 33b1e0a273af: Pull complete 01:49:35 5d3b04190fa2: Pull complete 01:49:40 2f39f015ded8: Pull complete 01:49:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:49:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:49:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:49:40 prd-ubuntu20.04-docker-8c-8g-26536 does not seem to be running inside a container 01:49:40 $ 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-658 -v /w/workspace/gexfoundry_device-mqtt-go_PR-658:/w/workspace/gexfoundry_device-mqtt-go_PR-658:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-658@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-658@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 01:49:45 $ docker top 0b84e4fa1da9b31ca90288921ff71d1a28143c6f46a04af90a761a2c49fce82a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:49:46 ---> job-cost.sh 01:49:46 lf-activate-venv: SKIPPING 01:49:46 INFO: No Stack... 01:49:46 INFO: Retrieving Pricing Info for: v3-standard-8 01:49:47 INFO: Archiving Costs [Pipeline] sh 01:49:47 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-658/archives/cost.csv 01:49:47 + cut -d, -f6 [Pipeline] lock 01:49:47 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-658-1-stack-cost] 01:49:47 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-658-1-stack-cost] did not exist. Created. 01:49:47 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-658-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:49:47 + echo total: 0.2199999988079071 [Pipeline] stash 01:49:47 Stashed 1 file(s) [Pipeline] } 01:49:47 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-658-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:49:48 $ docker stop --time=1 0b84e4fa1da9b31ca90288921ff71d1a28143c6f46a04af90a761a2c49fce82a 01:49:49 $ docker rm -f --volumes 0b84e4fa1da9b31ca90288921ff71d1a28143c6f46a04af90a761a2c49fce82a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:51:31 Running on prd-ubuntu20.04-docker-arm64-4c-16g-26537 in /w/workspace/gexfoundry_device-mqtt-go_PR-658 [Pipeline] { [Pipeline] ws 01:51:31 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:51:34 The recommended git tool is: git 01:51:39 using credential edgex-jenkins-ssh 01:51:39 Cloning the remote Git repository 01:51:39 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:51:39 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:51:40 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:51:40 > git --version # timeout=10 01:51:40 > git --version # 'git version 2.25.1' 01:51:40 using GIT_SSH to set credentials SSH Credentials for GitHub 01:51:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:51:43 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:51:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:51:45 Merging remotes/origin/main commit e5520233bf84df16304f7dd08ef94c536c7e2796 into PR head commit c7495f25c384d472033ef6b02d1bae16dc7bdc16 01:51:45 Merge succeeded, producing c7495f25c384d472033ef6b02d1bae16dc7bdc16 01:51:45 Checking out Revision c7495f25c384d472033ef6b02d1bae16dc7bdc16 (PR-658) 01:51:44 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:51:44 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:51:44 using GIT_SSH to set credentials SSH Credentials for GitHub 01:51:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/658/head:refs/remotes/origin/PR-658 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:51:45 > git config core.sparsecheckout # timeout=10 01:51:45 > git checkout -f c7495f25c384d472033ef6b02d1bae16dc7bdc16 # timeout=10 01:51:45 > git remote # timeout=10 01:51:45 > git config --get remote.origin.url # timeout=10 01:51:45 using GIT_SSH to set credentials SSH Credentials for GitHub 01:51:45 > git merge e5520233bf84df16304f7dd08ef94c536c7e2796 # timeout=10 01:51:45 > git rev-parse HEAD^{commit} # timeout=10 01:51:45 > git config core.sparsecheckout # timeout=10 01:51:45 > git checkout -f c7495f25c384d472033ef6b02d1bae16dc7bdc16 # timeout=10 01:51:46 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 01:51:46 > git --version # timeout=10 01:51:46 > git --version # 'git version 2.25.1' 01:51:46 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:51:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:51:47 % Total % Received % Xferd Average Speed Time Time Time Current 01:51:47 Dload Upload Total Spent Left Speed 01:51:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k [Pipeline] sh 01:51:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:51:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:51:48 + sudo tee /etc/docker/daemon.new 01:51:48 { 01:51:48 "registry-mirrors": [ 01:51:48 "https://nexus3.edgexfoundry.org:10001" 01:51:48 ], 01:51:48 "bip": "10.250.0.254/24", 01:51:48 "hosts": [ 01:51:48 "tcp://0.0.0.0:5555", 01:51:48 "unix:///var/run/docker.sock" 01:51:48 ], 01:51:48 "mtu": 1458, 01:51:48 "selinux-enabled": true, 01:51:48 "seccomp-profile": "/etc/docker/seccomp.json" 01:51:48 } [Pipeline] sh 01:51:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:51:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:52:09 provisioning config files... 01:52:09 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config15529963106452148453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:09 ---> ****-login.sh 01:52:09 nexus3.edgexfoundry.org:10001 01:52:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:10 Configure a credential helper to remove this warning. See 01:52:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:10 01:52:10 Login Succeeded 01:52:10 nexus3.edgexfoundry.org:10002 01:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:10 Configure a credential helper to remove this warning. See 01:52:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:10 01:52:10 Login Succeeded 01:52:10 nexus3.edgexfoundry.org:10003 01:52:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:10 Configure a credential helper to remove this warning. See 01:52:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:10 01:52:10 Login Succeeded 01:52:10 nexus3.edgexfoundry.org:10004 01:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:11 Configure a credential helper to remove this warning. See 01:52:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:11 01:52:11 Login Succeeded 01:52:11 ****.io 01:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:11 Configure a credential helper to remove this warning. See 01:52:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:11 01:52:11 Login Succeeded 01:52:11 ---> ****-login.sh ends [Pipeline] } 01:52:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:52:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:52:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:52:12 ========================================================= 01:52:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:52:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:13 + 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 . 01:52:13 #0 building with "default" instance using docker driver 01:52:13 01:52:13 #1 [internal] load build definition from Dockerfile 01:52:13 #1 transferring dockerfile: 1.84kB 0.0s done 01:52:13 #1 DONE 0.1s 01:52:13 01:52:13 #2 [internal] load .dockerignore 01:52:13 #2 transferring context: 182B done 01:52:14 #2 DONE 0.1s 01:52:14 01:52:14 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:52:14 #3 DONE 0.1s 01:52:14 01:52:14 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 01:52:14 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 01:52:14 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 01:52:14 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 01:52:14 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.1s 01:52:14 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 01:52:14 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 01:52:14 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.1s done 01:52:14 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.2s done 01:52:14 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 01:52:14 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.24MB / 63.99MB 0.3s 01:52:14 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 01:52:14 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 01:52:14 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.3s 01:52:14 #4 ... 01:52:14 01:52:14 #5 [internal] load build context 01:52:14 #5 transferring context: 7.43MB 0.4s done 01:52:14 #5 DONE 0.5s 01:52:14 01:52:14 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 01:52:14 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.4s 01:52:15 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 12.20MB / 63.99MB 0.5s 01:52:15 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.24MB / 97.63MB 0.5s 01:52:15 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 6.57MB / 11.40MB 0.5s 01:52:15 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 20.09MB / 63.99MB 0.7s 01:52:15 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 01:52:15 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 11.53MB / 97.63MB 0.7s 01:52:15 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.6s done 01:52:15 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 25.17MB / 63.99MB 0.8s 01:52:15 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 16.60MB / 97.63MB 0.8s 01:52:15 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 34.60MB / 63.99MB 1.0s 01:52:15 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 23.24MB / 97.63MB 1.0s 01:52:15 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 01:52:15 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 39.85MB / 63.99MB 1.1s 01:52:15 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 28.31MB / 97.63MB 1.1s 01:52:15 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 44.47MB / 63.99MB 1.2s 01:52:15 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 01:52:15 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 48.83MB / 63.99MB 1.3s 01:52:15 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 36.35MB / 97.63MB 1.3s 01:52:15 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 58.72MB / 63.99MB 1.5s 01:52:15 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 46.14MB / 97.63MB 1.5s 01:52:15 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.6s 01:52:16 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.7s done 01:52:16 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 60.82MB / 97.63MB 1.8s 01:52:16 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 66.06MB / 97.63MB 1.9s 01:52:16 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0.1s 01:52:16 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 75.50MB / 97.63MB 2.1s 01:52:16 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 80.74MB / 97.63MB 2.2s 01:52:16 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 85.98MB / 97.63MB 2.3s 01:52:16 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 91.23MB / 97.63MB 2.4s 01:52:17 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.6s 01:52:17 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.6s done 01:52:22 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.6s 01:52:27 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.8s 01:52:33 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.8s done 01:52:34 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 01:52:34 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 01:52:34 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 01:52:34 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 01:52:39 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 01:52:42 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 7.9s done 01:52:42 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 01:52:44 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.6s done 01:52:44 #4 DONE 30.1s 01:52:44 01:52:44 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:52:45 #6 0.676 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:52:45 #6 1.067 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:52:46 #6 2.060 (1/4) Installing openssh-keygen (9.3_p2-r1) 01:52:46 #6 2.088 (2/4) Installing libedit (20221030.3.1-r1) 01:52:46 #6 2.101 (3/4) Installing openssh-client-common (9.3_p2-r1) 01:52:46 #6 2.166 (4/4) Installing openssh-client-default (9.3_p2-r1) 01:52:46 #6 2.195 Executing busybox-1.36.1-r5.trigger 01:52:46 #6 2.231 OK: 271 MiB in 56 packages 01:52:48 #6 DONE 4.1s 01:52:48 01:52:48 #7 [builder 3/7] WORKDIR /device-mqtt-go 01:52:48 #7 DONE 0.1s 01:52:48 01:52:48 #8 [builder 4/7] COPY go.mod vendor* ./ 01:52:48 #8 DONE 0.1s 01:52:48 01:52:48 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:53:27 #9 DONE 35.4s 01:53:27 01:53:27 #10 [builder 6/7] COPY . . 01:53:27 #10 DONE 0.3s 01:53:27 01:53:27 #11 [builder 7/7] RUN echo noop 01:53:27 #11 0.608 noop 01:53:27 #11 DONE 0.7s 01:53:27 01:53:27 #12 exporting to image 01:53:27 #12 exporting layers 01:53:49 #12 exporting layers 21.9s done 01:53:49 #12 writing image sha256:eef997eab7dc158ae509fe106cd36342cfa6eb0c9996544433fb6d0184eb3ff9 done 01:53:49 #12 naming to docker.io/library/ci-base-image-arm64 done 01:53:49 #12 DONE 22.0s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:50 + docker inspect -f . ci-base-image-arm64 01:53:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:50 prd-ubuntu20.04-docker-arm64-4c-16g-26537 does not seem to be running inside a container 01:53:50 $ 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 01:53:52 $ docker top 826a505c17eec7145187a1b7988def74a08ce4c03dca435ddb4db12e66052575 -eo pid,comm [Pipeline] { [Pipeline] sh 01:53:52 + go version 01:53:52 go version go1.21.0 linux/arm64 [Pipeline] } 01:53:52 $ docker stop --time=1 826a505c17eec7145187a1b7988def74a08ce4c03dca435ddb4db12e66052575 01:53:54 $ docker rm -f --volumes 826a505c17eec7145187a1b7988def74a08ce4c03dca435ddb4db12e66052575 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:55 + docker inspect -f . ci-base-image-arm64 01:53:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:55 prd-ubuntu20.04-docker-arm64-4c-16g-26537 does not seem to be running inside a container 01:53:55 $ 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 01:53:56 $ docker top d3021c0c633b5e0d3d48165521030120d43fd47942d741ef94a40001a8d026a7 -eo pid,comm [Pipeline] { [Pipeline] sh 01:53:57 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:53:57 + make test 01:53:57 go test ./... -coverprofile=coverage.out ./... 01:54:02 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:54:58 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:54:58 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:54:58 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.057s coverage: 22.8% of statements 01:54:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:54:58 go vet ./... 01:55:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:55:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:55:11 ./bin/test-attribution-txt.sh [Pipeline] echo 01:55:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:55:11 $ docker stop --time=1 d3021c0c633b5e0d3d48165521030120d43fd47942d741ef94a40001a8d026a7 01:55:13 $ docker rm -f --volumes d3021c0c633b5e0d3d48165521030120d43fd47942d741ef94a40001a8d026a7 [Pipeline] // withDockerContainer [Pipeline] sh 01:55:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:55:15 Warning: overwriting stash ‘coverage-report’ 01:55:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:55:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:55:17 + ls -al . 01:55:17 total 180 01:55:17 drwxrwxr-x 8 jenkins jenkins 4096 Jan 1 01:54 . 01:55:17 drwxrwxr-x 4 jenkins jenkins 4096 Jan 1 01:51 .. 01:55:17 -rw-rw-r-- 1 jenkins jenkins 140 Jan 1 01:51 .dockerignore 01:55:17 drwxrwxr-x 8 jenkins jenkins 4096 Jan 1 01:51 .git 01:55:17 drwxrwxr-x 3 jenkins jenkins 4096 Jan 1 01:51 .github 01:55:17 -rw-rw-r-- 1 jenkins jenkins 264 Jan 1 01:51 .gitignore 01:55:17 -rw-rw-r-- 1 jenkins jenkins 41 Jan 1 01:51 .golangci.yml 01:55:17 -rw-rw-r-- 1 jenkins jenkins 10386 Jan 1 01:51 Attribution.txt 01:55:17 -rw-rw-r-- 1 jenkins jenkins 18574 Jan 1 01:51 CHANGELOG.md 01:55:17 -rw-rw-r-- 1 jenkins jenkins 1798 Jan 1 01:51 Dockerfile 01:55:17 -rw-rw-r-- 1 jenkins jenkins 677 Jan 1 01:51 GOVERNANCE.md 01:55:17 -rw-rw-r-- 1 jenkins jenkins 657 Jan 1 01:51 Jenkinsfile 01:55:17 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 1 01:51 LICENSE 01:55:17 -rw-rw-r-- 1 jenkins jenkins 1963 Jan 1 01:51 Makefile 01:55:17 -rw-rw-r-- 1 jenkins jenkins 620 Jan 1 01:51 OWNERS.md 01:55:17 -rw-rw-r-- 1 jenkins jenkins 3599 Jan 1 01:51 README.md 01:55:17 -rw-rw-r-- 1 jenkins jenkins 5 Jan 1 01:47 VERSION 01:55:17 drwxrwxr-x 2 jenkins jenkins 4096 Jan 1 01:51 bin 01:55:17 drwxrwxr-x 3 jenkins jenkins 4096 Jan 1 01:51 cmd 01:55:17 -rw-r--r-- 1 jenkins jenkins 18506 Jan 1 01:54 coverage.out 01:55:17 -rw-rw-r-- 1 jenkins jenkins 3818 Jan 1 01:51 go.mod 01:55:17 -rw-rw-r-- 1 jenkins jenkins 34595 Jan 1 01:51 go.sum 01:55:17 drwxrwxr-x 3 jenkins jenkins 4096 Jan 1 01:51 internal 01:55:17 drwxrwxr-x 2 jenkins jenkins 4096 Jan 1 01:51 mock 01:55:17 -rw-rw-r-- 1 jenkins jenkins 227 Jan 1 01:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:17 + 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=c7495f25c384d472033ef6b02d1bae16dc7bdc16 --label arch=arm64 --label version=0.0.0 . 01:55:21 #0 building with "default" instance using docker driver 01:55:21 01:55:21 #1 [internal] load build definition from Dockerfile 01:55:21 #1 transferring dockerfile: 1.84kB done 01:55:21 #1 DONE 0.0s 01:55:21 01:55:21 #2 [internal] load .dockerignore 01:55:21 #2 transferring context: 182B done 01:55:21 #2 DONE 0.0s 01:55:21 01:55:21 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 01:55:21 #3 DONE 0.0s 01:55:21 01:55:21 #4 [internal] load metadata for docker.io/library/alpine:3.18 01:55:21 #4 DONE 0.2s 01:55:21 01:55:21 #5 [internal] load build context 01:55:21 #5 transferring context: 26.28kB 0.0s done 01:55:21 #5 DONE 0.1s 01:55:21 01:55:21 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 01:55:21 #6 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 01:55:21 #6 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 01:55:21 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 01:55:21 #6 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 01:55:21 #6 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 01:55:21 #6 ... 01:55:21 01:55:21 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 01:55:21 #7 DONE 0.2s 01:55:21 01:55:21 #6 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 01:55:21 #6 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 01:55:21 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 01:55:22 #6 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 01:55:22 #6 DONE 0.9s 01:55:22 01:55:22 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:55:22 #8 0.682 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:55:23 #8 1.017 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:55:24 #8 ... 01:55:24 01:55:24 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:55:24 #9 0.710 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:55:24 #9 1.156 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:55:24 #9 2.269 OK: 271 MiB in 56 packages 01:55:24 #9 DONE 2.5s 01:55:24 01:55:24 #10 [builder 3/7] WORKDIR /device-mqtt-go 01:55:24 #10 DONE 0.1s 01:55:24 01:55:24 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:55:24 #8 2.089 (1/1) Installing dumb-init (1.2.5-r2) 01:55:24 #8 ... 01:55:24 01:55:24 #11 [builder 4/7] COPY go.mod vendor* ./ 01:55:24 #11 DONE 0.2s 01:55:24 01:55:24 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 01:55:24 #8 2.110 Executing busybox-1.36.1-r5.trigger 01:55:24 #8 2.139 OK: 8 MiB in 16 packages 01:55:24 #8 DONE 2.5s 01:55:24 01:55:24 #12 [stage-1 3/6] RUN apk --no-cache upgrade 01:55:25 #12 0.764 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:55:26 #12 ... 01:55:26 01:55:26 #13 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:55:26 #13 DONE 1.4s 01:55:26 01:55:26 #12 [stage-1 3/6] RUN apk --no-cache upgrade 01:55:26 #12 1.129 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:55:26 #12 ... 01:55:26 01:55:26 #14 [builder 6/7] COPY . . 01:55:26 #14 DONE 0.3s 01:55:26 01:55:26 #15 [builder 7/7] RUN make build 01:55:26 #15 0.701 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.6" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:55:27 #15 ... 01:55:27 01:55:27 #12 [stage-1 3/6] RUN apk --no-cache upgrade 01:55:27 #12 2.235 OK: 8 MiB in 16 packages 01:55:27 #12 DONE 2.5s 01:55:27 01:55:27 #15 [builder 7/7] RUN make build 01:56:39 #15 DONE 68.1s 01:56:39 01:56:39 #16 [stage-1 4/6] COPY --from=builder /device-mqtt-go/cmd / 01:56:39 #16 DONE 0.4s 01:56:39 01:56:39 #17 [stage-1 5/6] COPY --from=builder /device-mqtt-go/LICENSE / 01:56:39 #17 DONE 0.1s 01:56:39 01:56:39 #18 [stage-1 6/6] COPY --from=builder /device-mqtt-go/Attribution.txt / 01:56:39 #18 DONE 0.1s 01:56:39 01:56:39 #19 exporting to image 01:56:39 #19 exporting layers 01:56:39 #19 exporting layers 0.5s done 01:56:39 #19 writing image sha256:d1e7a0d3ac500a0e3a33a41aa414cb383953426daf6952bee46e7a00fee0d31a done 01:56:39 #19 naming to docker.io/library/device-mqtt-arm64 done 01:56:39 #19 DONE 0.5s [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 01:56:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:56:41 01:56:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:56:41 arm64: Pulling from edgex-lftools-log-publisher 01:56:41 8998bd30e6a1: Pulling fs layer 01:56:41 04944245beec: Pulling fs layer 01:56:41 699f458cf7ca: Pulling fs layer 01:56:41 765212b225bb: Pulling fs layer 01:56:41 f23df028b6ca: Pulling fs layer 01:56:41 765212b225bb: Waiting 01:56:41 d65c8cfc05b1: Pulling fs layer 01:56:41 2437ff75d9bd: Pulling fs layer 01:56:41 f23df028b6ca: Waiting 01:56:41 d65c8cfc05b1: Waiting 01:56:41 2437ff75d9bd: Waiting 01:56:41 04944245beec: Verifying Checksum 01:56:41 04944245beec: Download complete 01:56:41 765212b225bb: Verifying Checksum 01:56:41 765212b225bb: Download complete 01:56:41 f23df028b6ca: Verifying Checksum 01:56:41 f23df028b6ca: Download complete 01:56:41 d65c8cfc05b1: Verifying Checksum 01:56:41 d65c8cfc05b1: Download complete 01:56:42 699f458cf7ca: Verifying Checksum 01:56:42 699f458cf7ca: Download complete 01:56:42 8998bd30e6a1: Download complete 01:56:44 2437ff75d9bd: Verifying Checksum 01:56:44 2437ff75d9bd: Download complete 01:56:48 8998bd30e6a1: Pull complete 01:56:48 04944245beec: Pull complete 01:56:50 699f458cf7ca: Pull complete 01:56:50 765212b225bb: Pull complete 01:56:51 f23df028b6ca: Pull complete 01:56:51 d65c8cfc05b1: Pull complete 01:57:13 2437ff75d9bd: Pull complete 01:57:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:57:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:57:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:57:14 prd-ubuntu20.04-docker-arm64-4c-16g-26537 does not seem to be running inside a container 01:57:14 $ 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 01:57:17 $ docker top 1eb200b3cc5646b6110bed88f7e4c8f20817d4ae24c0d5491fead76fcbb15eda -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:18 ---> job-cost.sh 01:57:18 lf-activate-venv: SKIPPING 01:57:18 INFO: No Stack... 01:57:18 INFO: Retrieving Pricing Info for: v3-standard-8 01:57:19 INFO: Archiving Costs [Pipeline] sh 01:57:19 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 01:57:19 + cut -d, -f6 [Pipeline] lock 01:57:19 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-658-1-stack-cost] 01:57:19 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-658-1-stack-cost] did not exist. Created. 01:57:19 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-658-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:57:20 /w/workspace/device-mqtt-go/1@tmp/durable-4dad0a11/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:57:20 + echo total: 0.2199999988079071 [Pipeline] stash 01:57:20 Warning: overwriting stash ‘stack-cost’ 01:57:20 Stashed 1 file(s) [Pipeline] } 01:57:20 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-658-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:57:21 $ docker stop --time=1 1eb200b3cc5646b6110bed88f7e4c8f20817d4ae24c0d5491fead76fcbb15eda 01:57:22 $ docker rm -f --volumes 1eb200b3cc5646b6110bed88f7e4c8f20817d4ae24c0d5491fead76fcbb15eda [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 01:57:24 provisioning config files... 01:57:24 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-658@tmp/config2466741709028998072tmp [Pipeline] { [Pipeline] sh 01:57:25 + set +x 01:57:25 + bash -s -- 01:57:25 + curl -s https://codecov.io/bash 01:57:25 01:57:25 _____ _ 01:57:25 / ____| | | 01:57:25 | | ___ __| | ___ ___ _____ __ 01:57:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:57:25 | |___| (_) | (_| | __/ (_| (_) \ V / 01:57:25 \_____\___/ \__,_|\___|\___\___/ \_/ 01:57:25 Bash-1.0.6 01:57:25 01:57:25 01:57:25 ==> git version 2.25.1 found 01:57:25 ==> 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 01:57:25 Release-Date: 2020-01-08 01:57:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:57:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:57:25 ==> Jenkins CI detected. 01:57:25 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-658 01:57:25 project root: . 01:57:25 --> token set from env 01:57:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:57:25 ==> Running gcov in . (disable via -X gcov) 01:57:25 ==> Python coveragepy not found 01:57:25 ==> Searching for coverage reports in: 01:57:25 + . 01:57:25 -> Found 1 reports 01:57:25 ==> Detecting git/mercurial file structure 01:57:25 ==> Reading reports 01:57:25 + ./coverage.out bytes=18506 01:57:25 ==> Appending adjustments 01:57:25 https://docs.codecov.io/docs/fixing-reports 01:57:25 + Found adjustments 01:57:25 ==> Gzipping contents 01:57:25 4.0K /tmp/codecov.lK9I5G.gz 01:57:25 ==> Uploading reports 01:57:25 url: https://codecov.io 01:57:25 query: branch=PR-658&commit=c7495f25c384d472033ef6b02d1bae16dc7bdc16&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-658%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=658&job=&cmd_args= 01:57:25 -> Pinging Codecov 01:57:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-658&commit=c7495f25c384d472033ef6b02d1bae16dc7bdc16&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-658%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=658&job=&cmd_args= 01:57:25 -> Uploading to 01:57:25 https://storage.googleapis.com/codecov/v4/raw/2024-01-01/7D719EC7BBE17E464838252E33014C33/c7495f25c384d472033ef6b02d1bae16dc7bdc16/8ae39191-6fd5-41cb-b670-2b7710d438fe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240101T015725Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bc9858b7cec4ddc102c687b0a3af22c7553db0f2f86dc17bbae6a10f9d2e6fd0 01:57:25 % Total % Received % Xferd Average Speed Time Time Time Current 01:57:25 Dload Upload Total Spent Left Speed 01:57:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 12864 --:--:-- --:--:-- --:--:-- 12864 01:57:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/c7495f25c384d472033ef6b02d1bae16dc7bdc16 [Pipeline] } 01:57:25 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 01:57:29 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-658/archives ] 01:57:29 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-658/archives 01:57:29 total 16 01:57:29 drwxr-xr-x 3 root root 4096 Jan 1 01:49 . 01:57:29 drwxrwxr-x 10 jenkins jenkins 4096 Jan 1 01:49 .. 01:57:29 drwxr-xr-x 2 root root 4096 Jan 1 01:49 cost 01:57:29 -rw-r--r-- 1 root root 86 Jan 1 01:49 cost.csv 01:57:29 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-658/archives 01:57:29 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-658/archives 01:57:29 total 16 01:57:29 drwxr-xr-x 3 jenkins jenkins 4096 Jan 1 01:49 . 01:57:29 drwxrwxr-x 10 jenkins jenkins 4096 Jan 1 01:49 .. 01:57:29 drwxr-xr-x 2 jenkins jenkins 4096 Jan 1 01:49 cost 01:57:29 -rw-r--r-- 1 jenkins jenkins 86 Jan 1 01:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:57:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:57:30 ---> package-listing.sh 01:57:30 ++ facter osfamily 01:57:30 ++ tr '[:upper:]' '[:lower:]' 01:57:30 + OS_FAMILY=debian 01:57:30 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-658 01:57:30 + START_PACKAGES=/tmp/packages_start.txt 01:57:30 + END_PACKAGES=/tmp/packages_end.txt 01:57:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:57:30 + PACKAGES=/tmp/packages_start.txt 01:57:30 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-658 ']' 01:57:30 + PACKAGES=/tmp/packages_end.txt 01:57:30 + case "${OS_FAMILY}" in 01:57:30 + dpkg -l 01:57:30 + grep '^ii' 01:57:30 + '[' -f /tmp/packages_start.txt ']' 01:57:30 + '[' -f /tmp/packages_end.txt ']' 01:57:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:57:30 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-658 ']' 01:57:30 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-658/archives/ 01:57:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-658/archives/ [Pipeline] echo 01:57:30 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-658/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:57:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:57:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:57:32 prd-ubuntu20.04-docker-8c-8g-26536 does not seem to be running inside a container 01:57:32 $ 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-658/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-658 -v /w/workspace/gexfoundry_device-mqtt-go_PR-658:/w/workspace/gexfoundry_device-mqtt-go_PR-658:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-658@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-658@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 01:57:32 $ docker top 1c11c5b097d1a5bd30011e6a036656915120e2035203da28c233706ec99a751a -eo pid,comm [Pipeline] { [Pipeline] sh 01:57:32 + touch /tmp/pre-build-complete [Pipeline] sh 01:57:33 + mkdir -p /var/log/sysstat [Pipeline] sh 01:57:33 + ls /var/log/sa-host 01:57:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:57:33 provisioning config files... 01:57:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-658@tmp/config4863475821770470271tmp [Pipeline] { [Pipeline] echo 01:57:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:57:34 ---> create-netrc.sh [Pipeline] } 01:57:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:57:34 ---> python-tools-install.sh [Pipeline] echo 01:57:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:57:35 ---> sudo-logs.sh 01:57:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:57:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:57:35 ---> job-cost.sh 01:57:35 lf-activate-venv: SKIPPING 01:57:35 DEBUG: total: 0.2199999988079071 01:57:35 INFO: Retrieving Stack Cost... 01:57:35 INFO: Retrieving Pricing Info for: v3-standard-8 01:57:36 INFO: Archiving Costs [Pipeline] echo 01:57:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:57:36 ---> logs-deploy.sh 01:57:36 lf-activate-venv: SKIPPING 01:57:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-658/1 01:57:36 INFO: archiving workspace using pattern(s): 01:57:37 Archives upload complete. 01:57:37 INFO: archiving logs to Nexus