Pull request #652 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 93974f4fed3517d9d2b287c016d4ea81e9beee08+4e218282e077fec14fc384a358d0b18c03acea40 (7da3808aa96ee5a4e291f271882db93438949a73) 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-ssh18019314340056097130.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-ssh390229900298855435.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-652/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-652/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9999771471434931980.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-652/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2043689041723262168.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-ssh15225259563419112597.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-652/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-652/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12748222136481843738.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-mqtt-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-mqtt-go-settings PROJECT: device-mqtt-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24619 in /w/workspace/gexfoundry_device-mqtt-go_PR-652 [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-652 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 4e218282e077fec14fc384a358d0b18c03acea40 into PR head commit 93974f4fed3517d9d2b287c016d4ea81e9beee08 Merge succeeded, producing 93974f4fed3517d9d2b287c016d4ea81e9beee08 Checking out Revision 93974f4fed3517d9d2b287c016d4ea81e9beee08 (PR-652) 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 > 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/652/head:refs/remotes/origin/PR-652 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93974f4fed3517d9d2b287c016d4ea81e9beee08 # 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 4e218282e077fec14fc384a358d0b18c03acea40 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 93974f4fed3517d9d2b287c016d4ea81e9beee08 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:52:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:52:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:52:23 ========================================================= 01:52:23 EdgeX Global Pipelines Version Info 01:52:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:52:24 ------------------- 01:52:24 stable info: 01:52:24 ------------------- 01:52:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:52:24 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:52:24 Message: update stable to v1.0.258 01:52:25 ------------------- 01:52:25 experimental info: 01:52:25 ------------------- 01:52:25 Commited By: **** collab-it+edgex@linuxfoundation.org 01:52:25 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:52:25 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:52:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:52:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:52:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:52:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:52:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:52:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:52:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:52:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:52:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:52:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:52:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:52:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:52:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:52:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:52:26 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:52:26 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:52:26 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:52:26 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:52:26 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:52:26 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:52:26 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:52:26 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:52:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:52:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:52:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:52:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:52:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:52:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-652 [Pipeline] echo 01:52:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-652 [Pipeline] echo 01:52:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-652 [Pipeline] echo 01:52:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 93974f4fed3517d9d2b287c016d4ea81e9beee08 [Pipeline] echo 01:52:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 93974f4 [Pipeline] echo 01:52:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:52:27 provisioning config files... 01:52:27 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-652@tmp/config1129872958258741415tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:28 ---> ****-login.sh 01:52:28 nexus3.edgexfoundry.org:10001 01:52:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:28 Configure a credential helper to remove this warning. See 01:52:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:28 01:52:28 Login Succeeded 01:52:28 nexus3.edgexfoundry.org:10002 01:52:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:28 Configure a credential helper to remove this warning. See 01:52:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:28 01:52:28 Login Succeeded 01:52:28 nexus3.edgexfoundry.org:10003 01:52:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:28 Configure a credential helper to remove this warning. See 01:52:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:28 01:52:28 Login Succeeded 01:52:28 nexus3.edgexfoundry.org:10004 01:52:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:29 Configure a credential helper to remove this warning. See 01:52:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:29 01:52:29 Login Succeeded 01:52:29 ****.io 01:52:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:29 Configure a credential helper to remove this warning. See 01:52:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:29 01:52:29 Login Succeeded 01:52:29 ---> ****-login.sh ends [Pipeline] } 01:52:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:52:30 + git rev-list -1 --merges 93974f4fed3517d9d2b287c016d4ea81e9beee08~1..93974f4fed3517d9d2b287c016d4ea81e9beee08 [Pipeline] echo 01:52:30 -----------> git rev-list -1 --merges 93974f4fed3517d9d2b287c016d4ea81e9beee08~1..93974f4fed3517d9d2b287c016d4ea81e9beee08 93974f4fed3517d9d2b287c016d4ea81e9beee08 [false] [Pipeline] sh 01:52:30 + git log --format=format:%s -1 93974f4fed3517d9d2b287c016d4ea81e9beee08 [Pipeline] echo 01:52:30 ========================================================= 01:52:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:52:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:52:30 + git log --format=format:%s -1 93974f4fed3517d9d2b287c016d4ea81e9beee08 [Pipeline] echo 01:52:31 [semverPrep] GIT_COMMIT: 93974f4fed3517d9d2b287c016d4ea81e9beee08, Commit Message: build(deps): bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo 01:52:31 [semverPrep] This is not a build commit. [Pipeline] sh 01:52:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:52:31 + grep -v github /etc/ssh/ssh_known_hosts 01:52:31 + [ -e /tmp/ssh_known_hosts ] 01:52:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:52:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:52:31 + sudo tee -a /etc/ssh/ssh_known_hosts 01:52:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:52:32 01:52:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:52:32 0.1.4: Pulling from edgex-devops/py-git-semver 01:52:32 b85a868b505f: Pulling fs layer 01:52:32 e2be974225ed: Pulling fs layer 01:52:32 339a4e72a1f5: Pulling fs layer 01:52:32 988bab9f4d93: Pulling fs layer 01:52:32 1469e6f7b9e6: Pulling fs layer 01:52:32 eaf3925da568: Pulling fs layer 01:52:32 bab4dde63d76: Pulling fs layer 01:52:32 bde34c3a00c8: Pulling fs layer 01:52:32 b352a97aabf1: Pulling fs layer 01:52:32 4872d77fe225: Pulling fs layer 01:52:32 5851b861e8e6: Pulling fs layer 01:52:32 988bab9f4d93: Waiting 01:52:32 1469e6f7b9e6: Waiting 01:52:32 eaf3925da568: Waiting 01:52:32 bab4dde63d76: Waiting 01:52:32 bde34c3a00c8: Waiting 01:52:32 b352a97aabf1: Waiting 01:52:32 4872d77fe225: Waiting 01:52:32 5851b861e8e6: Waiting 01:52:32 e2be974225ed: Download complete 01:52:32 988bab9f4d93: Verifying Checksum 01:52:32 988bab9f4d93: Download complete 01:52:32 339a4e72a1f5: Verifying Checksum 01:52:32 339a4e72a1f5: Download complete 01:52:32 1469e6f7b9e6: Verifying Checksum 01:52:32 1469e6f7b9e6: Download complete 01:52:32 eaf3925da568: Download complete 01:52:32 bde34c3a00c8: Download complete 01:52:32 b352a97aabf1: Verifying Checksum 01:52:32 b352a97aabf1: Download complete 01:52:32 4872d77fe225: Verifying Checksum 01:52:32 4872d77fe225: Download complete 01:52:32 5851b861e8e6: Verifying Checksum 01:52:32 5851b861e8e6: Download complete 01:52:32 b85a868b505f: Verifying Checksum 01:52:32 b85a868b505f: Download complete 01:52:33 bab4dde63d76: Verifying Checksum 01:52:33 bab4dde63d76: Download complete 01:52:34 b85a868b505f: Pull complete 01:52:34 e2be974225ed: Pull complete 01:52:34 339a4e72a1f5: Pull complete 01:52:34 988bab9f4d93: Pull complete 01:52:34 1469e6f7b9e6: Pull complete 01:52:34 eaf3925da568: Pull complete 01:52:36 bab4dde63d76: Pull complete 01:52:36 bde34c3a00c8: Pull complete 01:52:37 b352a97aabf1: Pull complete 01:52:37 4872d77fe225: Pull complete 01:52:37 5851b861e8e6: Pull complete 01:52:37 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:52:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:52:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:37 prd-ubuntu20.04-docker-8c-8g-24619 does not seem to be running inside a container 01:52:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-mqtt-go_PR-652 -v /w/workspace/gexfoundry_device-mqtt-go_PR-652:/w/workspace/gexfoundry_device-mqtt-go_PR-652:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-652@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-652@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:52:40 $ docker top 9c7187e0c08f0395854adce7c4da3a7ae7eb25cb83346fffc3099964818b86d1 -eo pid,comm 01:52:40 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:52:40 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:52:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:52:41 [ssh-agent] Looking for ssh-agent implementation... 01:52:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:52:41 $ docker exec 9c7187e0c08f0395854adce7c4da3a7ae7eb25cb83346fffc3099964818b86d1 ssh-agent 01:52:41 SSH_AUTH_SOCK=/tmp/ssh-dCxMNzCRCSe7/agent.32 01:52:41 SSH_AGENT_PID=38 01:52:41 Running ssh-add (command line suppressed) 01:52:41 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-652@tmp/private_key_3049299904873058298.key (/w/workspace/gexfoundry_device-mqtt-go_PR-652@tmp/private_key_3049299904873058298.key) 01:52:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:52:41 + git tag --points-at HEAD [Pipeline] } 01:52:41 $ docker exec --env ******** --env ******** 9c7187e0c08f0395854adce7c4da3a7ae7eb25cb83346fffc3099964818b86d1 ssh-agent -k 01:52:41 unset SSH_AUTH_SOCK; 01:52:41 unset SSH_AGENT_PID; 01:52:41 echo Agent pid 38 killed; 01:52:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:52:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:52:42 [ssh-agent] Looking for ssh-agent implementation... 01:52:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:52:42 $ docker exec 9c7187e0c08f0395854adce7c4da3a7ae7eb25cb83346fffc3099964818b86d1 ssh-agent 01:52:42 SSH_AUTH_SOCK=/tmp/ssh-SDGnVmOXa96G/agent.70 01:52:42 SSH_AGENT_PID=76 01:52:42 Running ssh-add (command line suppressed) 01:52:42 Identity added: /w/workspace/gexfoundry_device-mqtt-go_PR-652@tmp/private_key_11282986806054518756.key (/w/workspace/gexfoundry_device-mqtt-go_PR-652@tmp/private_key_11282986806054518756.key) 01:52:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:52:42 + git semver init 01:52:42 2023-12-07 01:52:42,872 [run_init] DEBUG init version:0.0.0 force:False 01:52:42 2023-12-07 01:52:42,873 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-mqtt-go_PR-652/.semver 01:52:42 2023-12-07 01:52:42,873 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/gexfoundry_device-mqtt-go_PR-652/.semver 01:52:42 2023-12-07 01:52:42,873 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/gexfoundry_device-mqtt-go_PR-652/.semver'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-652, universal_newlines=False, shell=None, istream=None) 01:52:44 2023-12-07 01:52:43,995 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-mqtt-go_PR-652/.git/info/exclude 01:52:44 2023-12-07 01:52:43,995 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-mqtt-go_PR-652/.semver/PR-652 with force:False 01:52:44 2023-12-07 01:52:43,996 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-mqtt-go_PR-652/.semver/PR-652 01:52:44 2023-12-07 01:52:44,000 [execute] INFO git cat-file --batch-check 01:52:44 2023-12-07 01:52:44,000 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-652/.semver, universal_newlines=False, shell=None, istream=) 01:52:44 2023-12-07 01:52:44,012 [execute] INFO git cat-file --batch 01:52:44 2023-12-07 01:52:44,012 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-mqtt-go_PR-652/.semver, universal_newlines=False, shell=None, istream=) 01:52:44 2023-12-07 01:52:44,016 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-mqtt-go_PR-652/.semver/PR-652 01:52:44 0.0.0 [Pipeline] } 01:52:44 $ docker exec --env ******** --env ******** 9c7187e0c08f0395854adce7c4da3a7ae7eb25cb83346fffc3099964818b86d1 ssh-agent -k 01:52:44 unset SSH_AUTH_SOCK; 01:52:44 unset SSH_AGENT_PID; 01:52:44 echo Agent pid 76 killed; 01:52:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:52:45 + git semver [Pipeline] } 01:52:45 $ docker stop --time=1 9c7187e0c08f0395854adce7c4da3a7ae7eb25cb83346fffc3099964818b86d1 01:52:46 $ docker rm -f --volumes 9c7187e0c08f0395854adce7c4da3a7ae7eb25cb83346fffc3099964818b86d1 [Pipeline] // withDockerContainer [Pipeline] sh 01:52:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:52:47 Stashed 1 file(s) [Pipeline] echo 01:52:47 [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:52:48 provisioning config files... 01:52:48 copy managed file [device-mqtt-go-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-652@tmp/config16783146138810578917tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:48 ---> ****-login.sh 01:52:48 nexus3.edgexfoundry.org:10001 01:52:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:48 Configure a credential helper to remove this warning. See 01:52:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:48 01:52:48 Login Succeeded 01:52:48 nexus3.edgexfoundry.org:10002 01:52:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:48 Configure a credential helper to remove this warning. See 01:52:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:48 01:52:48 Login Succeeded 01:52:48 nexus3.edgexfoundry.org:10003 01:52:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:48 Configure a credential helper to remove this warning. See 01:52:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:48 01:52:48 Login Succeeded 01:52:48 nexus3.edgexfoundry.org:10004 01:52:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:48 Configure a credential helper to remove this warning. See 01:52:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:48 01:52:48 Login Succeeded 01:52:48 ****.io 01:52:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:49 Configure a credential helper to remove this warning. See 01:52:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:49 01:52:49 Login Succeeded 01:52:49 ---> ****-login.sh ends [Pipeline] } 01:52:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:52:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:52:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:52:49 ========================================================= 01:52:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:52:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:50 + 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:52:50 Sending build context to Docker daemon 17.33MB 01:52:50 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:52:50 Step 2/12 : FROM ${BASE} AS builder 01:52:50 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:52:50 7264a8db6415: Pulling fs layer 01:52:50 c4d48a809fc2: Pulling fs layer 01:52:50 4f1c88b9dad5: Pulling fs layer 01:52:50 ad3a456e5733: Pulling fs layer 01:52:50 69c7f0334f64: Pulling fs layer 01:52:50 1f1c1a5573a3: Pulling fs layer 01:52:50 ad3a456e5733: Waiting 01:52:50 69c7f0334f64: Waiting 01:52:50 ce7588e14bc9: Pulling fs layer 01:52:50 b5e4710f87ac: Pulling fs layer 01:52:50 1f1c1a5573a3: Waiting 01:52:50 b5e4710f87ac: Waiting 01:52:50 ce7588e14bc9: Waiting 01:52:50 c4d48a809fc2: Download complete 01:52:50 ad3a456e5733: Verifying Checksum 01:52:50 ad3a456e5733: Download complete 01:52:50 69c7f0334f64: Download complete 01:52:50 7264a8db6415: Verifying Checksum 01:52:50 7264a8db6415: Download complete 01:52:50 1f1c1a5573a3: Verifying Checksum 01:52:50 1f1c1a5573a3: Download complete 01:52:50 7264a8db6415: Pull complete 01:52:51 b5e4710f87ac: Verifying Checksum 01:52:51 b5e4710f87ac: Download complete 01:52:51 c4d48a809fc2: Pull complete 01:52:51 4f1c88b9dad5: Verifying Checksum 01:52:51 4f1c88b9dad5: Download complete 01:52:51 ce7588e14bc9: Verifying Checksum 01:52:51 ce7588e14bc9: Download complete 01:52:54 4f1c88b9dad5: Pull complete 01:52:54 ad3a456e5733: Pull complete 01:52:54 69c7f0334f64: Pull complete 01:52:54 1f1c1a5573a3: Pull complete 01:52:56 ce7588e14bc9: Pull complete 01:52:57 b5e4710f87ac: Pull complete 01:52:57 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 01:52:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:52:57 ---> 88b5674ff536 01:52:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:53:01 ---> Running in 1e0ba6c0b7d3 01:53:01 Removing intermediate container 1e0ba6c0b7d3 01:53:01 ---> 5a17c5c95aa1 01:53:01 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:53:01 ---> Running in 4daa7a417bd2 01:53:01 Removing intermediate container 4daa7a417bd2 01:53:01 ---> c836cd14ee80 01:53:01 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:53:01 ---> Running in ae024df3fee6 01:53:01 Removing intermediate container ae024df3fee6 01:53:01 ---> bac873644b08 01:53:01 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:53:01 ---> Running in 5fdda79d089c 01:53:01 Removing intermediate container 5fdda79d089c 01:53:01 ---> 3672f39ebb56 01:53:01 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:53:01 ---> Running in 97e7370c547b 01:53:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:53:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:53:02 (1/4) Installing openssh-keygen (9.3_p2-r0) 01:53:02 (2/4) Installing libedit (20221030.3.1-r1) 01:53:02 (3/4) Installing openssh-client-common (9.3_p2-r0) 01:53:02 (4/4) Installing openssh-client-default (9.3_p2-r0) 01:53:02 Executing busybox-1.36.1-r5.trigger 01:53:02 OK: 268 MiB in 56 packages 01:53:02 Removing intermediate container 97e7370c547b 01:53:02 ---> 1ff52db5f3bb 01:53:02 Step 8/12 : WORKDIR /device-mqtt-go 01:53:02 ---> Running in 154b9542212a 01:53:02 Removing intermediate container 154b9542212a 01:53:02 ---> 6d6cd462e932 01:53:02 Step 9/12 : COPY go.mod vendor* ./ 01:53:03 Still waiting to schedule task 01:53:03 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-24616’ 01:53:03 ---> 08f96eadfc6e 01:53:03 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:53:03 ---> Running in 7e3c6f649e7a 01:53:41 Removing intermediate container 7e3c6f649e7a 01:53:41 ---> 250f3a91c3d3 01:53:41 Step 11/12 : COPY . . 01:53:42 ---> 8d8fe8ce4361 01:53:42 Step 12/12 : RUN $MAKE 01:53:42 ---> Running in 7f6699f24502 01:53:42 noop 01:53:43 Removing intermediate container 7f6699f24502 01:53:43 ---> a9ac697acdc3 01:53:43 Successfully built a9ac697acdc3 01:53:43 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:43 + docker inspect -f . ci-base-image-x86_64 01:53:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:43 prd-ubuntu20.04-docker-8c-8g-24619 does not seem to be running inside a container 01:53:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-mqtt-go_PR-652 -v /w/workspace/gexfoundry_device-mqtt-go_PR-652:/w/workspace/gexfoundry_device-mqtt-go_PR-652:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-652@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-652@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:53:44 $ docker top 17624b78f5c1047ffd1357957a91ef899bbd5d940c97e2a40d7fe8cf5a63ae0e -eo pid,comm [Pipeline] { [Pipeline] sh 01:53:44 + go version 01:53:44 go version go1.21.0 linux/amd64 [Pipeline] } 01:53:44 $ docker stop --time=1 17624b78f5c1047ffd1357957a91ef899bbd5d940c97e2a40d7fe8cf5a63ae0e 01:53:46 $ docker rm -f --volumes 17624b78f5c1047ffd1357957a91ef899bbd5d940c97e2a40d7fe8cf5a63ae0e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:47 + docker inspect -f . ci-base-image-x86_64 01:53:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:47 prd-ubuntu20.04-docker-8c-8g-24619 does not seem to be running inside a container 01:53:47 $ 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-652 -v /w/workspace/gexfoundry_device-mqtt-go_PR-652:/w/workspace/gexfoundry_device-mqtt-go_PR-652:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-652@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-652@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:53:47 $ docker top af65260c1f9a149f7f6126ed9b1e8502566a1edba71268f7ab266d4da7418ee4 -eo pid,comm [Pipeline] { [Pipeline] sh 01:53:48 + git config --global --add safe.directory /w/workspace/gexfoundry_device-mqtt-go_PR-652 [Pipeline] fileExists [Pipeline] sh 01:53:48 + make test 01:53:48 go test ./... -coverprofile=coverage.out ./... 01:53:49 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:53:59 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:53:59 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:53:59 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.018s coverage: 22.8% of statements 01:54:08 go vet ./... 01:54:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:54:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:54:10 ./bin/test-attribution-txt.sh [Pipeline] echo 01:54:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:54:10 $ docker stop --time=1 af65260c1f9a149f7f6126ed9b1e8502566a1edba71268f7ab266d4da7418ee4 01:54:14 $ docker rm -f --volumes af65260c1f9a149f7f6126ed9b1e8502566a1edba71268f7ab266d4da7418ee4 [Pipeline] // withDockerContainer [Pipeline] sh 01:54:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:54:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:54:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:54:15 + ls -al . 01:54:15 total 184 01:54:15 drwxrwxr-x 9 jenkins jenkins 4096 Dec 7 01:53 . 01:54:15 drwxrwxr-x 4 jenkins jenkins 4096 Dec 7 01:52 .. 01:54:15 -rw-rw-r-- 1 jenkins jenkins 140 Dec 7 01:52 .dockerignore 01:54:15 drwxrwxr-x 8 jenkins jenkins 4096 Dec 7 01:54 .git 01:54:15 drwxrwxr-x 3 jenkins jenkins 4096 Dec 7 01:52 .github 01:54:15 -rw-rw-r-- 1 jenkins jenkins 264 Dec 7 01:52 .gitignore 01:54:15 -rw-rw-r-- 1 jenkins jenkins 41 Dec 7 01:52 .golangci.yml 01:54:15 drwxr-xr-x 3 jenkins jenkins 4096 Dec 7 01:52 .semver 01:54:15 -rw-rw-r-- 1 jenkins jenkins 10386 Dec 7 01:52 Attribution.txt 01:54:15 -rw-rw-r-- 1 jenkins jenkins 18574 Dec 7 01:52 CHANGELOG.md 01:54:15 -rw-rw-r-- 1 jenkins jenkins 1798 Dec 7 01:52 Dockerfile 01:54:15 -rw-rw-r-- 1 jenkins jenkins 677 Dec 7 01:52 GOVERNANCE.md 01:54:15 -rw-rw-r-- 1 jenkins jenkins 657 Dec 7 01:52 Jenkinsfile 01:54:15 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 7 01:52 LICENSE 01:54:15 -rw-rw-r-- 1 jenkins jenkins 1963 Dec 7 01:52 Makefile 01:54:15 -rw-rw-r-- 1 jenkins jenkins 620 Dec 7 01:52 OWNERS.md 01:54:15 -rw-rw-r-- 1 jenkins jenkins 3599 Dec 7 01:52 README.md 01:54:15 -rw-rw-r-- 1 jenkins jenkins 5 Dec 7 01:52 VERSION 01:54:15 drwxrwxr-x 2 jenkins jenkins 4096 Dec 7 01:52 bin 01:54:15 drwxrwxr-x 3 jenkins jenkins 4096 Dec 7 01:52 cmd 01:54:15 -rw-r--r-- 1 jenkins jenkins 18506 Dec 7 01:53 coverage.out 01:54:15 -rw-rw-r-- 1 jenkins jenkins 3817 Dec 7 01:52 go.mod 01:54:15 -rw-rw-r-- 1 jenkins jenkins 35084 Dec 7 01:52 go.sum 01:54:15 drwxrwxr-x 3 jenkins jenkins 4096 Dec 7 01:52 internal 01:54:15 drwxrwxr-x 2 jenkins jenkins 4096 Dec 7 01:52 mock 01:54:15 -rw-rw-r-- 1 jenkins jenkins 227 Dec 7 01:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:16 + 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=93974f4fed3517d9d2b287c016d4ea81e9beee08 --label arch=amd64 --label version=0.0.0 . 01:54:16 Sending build context to Docker daemon 17.35MB 01:54:16 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:54:16 Step 2/25 : FROM ${BASE} AS builder 01:54:16 ---> a9ac697acdc3 01:54:16 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:54:16 ---> Running in 8e33c1e223f9 01:54:16 Removing intermediate container 8e33c1e223f9 01:54:16 ---> c3b65936308b 01:54:16 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:54:16 ---> Running in 1e8b6d12d686 01:54:16 Removing intermediate container 1e8b6d12d686 01:54:16 ---> fce52924a840 01:54:16 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:54:16 ---> Running in 9953dbb998bc 01:54:16 Removing intermediate container 9953dbb998bc 01:54:16 ---> 506217aa0a6e 01:54:16 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:54:16 ---> Running in 59a9d087dd36 01:54:17 Removing intermediate container 59a9d087dd36 01:54:17 ---> dbcf6be029aa 01:54:17 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:54:17 ---> Running in 6aa437947e88 01:54:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:54:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:54:17 OK: 268 MiB in 56 packages 01:54:18 Removing intermediate container 6aa437947e88 01:54:18 ---> 796c04eddce3 01:54:18 Step 8/25 : WORKDIR /device-mqtt-go 01:54:18 ---> Running in c846dc665ecb 01:54:18 Removing intermediate container c846dc665ecb 01:54:18 ---> 1cf662977359 01:54:18 Step 9/25 : COPY go.mod vendor* ./ 01:54:18 ---> 3e59d58d4ea4 01:54:18 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:54:18 ---> Running in f540cd7cace8 01:54:19 Removing intermediate container f540cd7cace8 01:54:19 ---> 241a0dd7d2be 01:54:19 Step 11/25 : COPY . . 01:54:19 ---> 4f4d79c7be57 01:54:19 Step 12/25 : RUN $MAKE 01:54:19 ---> Running in d1783d96fe0a 01:54:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.3" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:54:38 Removing intermediate container d1783d96fe0a 01:54:38 ---> 4cc40124c02c 01:54:38 Step 13/25 : FROM alpine:3.18 01:54:38 3.18: Pulling from library/alpine 01:54:38 c926b61bad3b: Pulling fs layer 01:54:38 c926b61bad3b: Verifying Checksum 01:54:38 c926b61bad3b: Download complete 01:54:38 c926b61bad3b: Pull complete 01:54:38 Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 01:54:38 Status: Downloaded newer image for alpine:3.18 01:54:38 ---> b541f2080109 01:54:38 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:54:39 ---> Running in 10e553bdd0ce 01:54:39 Removing intermediate container 10e553bdd0ce 01:54:39 ---> e7e135052bbd 01:54:39 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:54:39 ---> Running in 06977881fd9a 01:54:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:54:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:54:39 (1/1) Installing dumb-init (1.2.5-r2) 01:54:39 Executing busybox-1.36.1-r5.trigger 01:54:39 OK: 7 MiB in 16 packages 01:54:40 Removing intermediate container 06977881fd9a 01:54:40 ---> 155781840443 01:54:40 Step 16/25 : RUN apk --no-cache upgrade 01:54:40 ---> Running in de00788efc61 01:54:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:54:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:54:40 OK: 7 MiB in 16 packages 01:54:40 Removing intermediate container de00788efc61 01:54:40 ---> f8d62b83985c 01:54:40 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:54:41 ---> 46884babaa0c 01:54:41 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:54:42 ---> 175d990c5eb0 01:54:42 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:54:42 ---> c6aedf6a9118 01:54:42 Step 20/25 : EXPOSE 59982 01:54:42 ---> Running in 5d5f63df3153 01:54:42 Removing intermediate container 5d5f63df3153 01:54:42 ---> 15dc3fd26791 01:54:42 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:54:42 ---> Running in 17b71ce62e67 01:54:42 Removing intermediate container 17b71ce62e67 01:54:42 ---> 9c7d6f93d871 01:54:42 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:54:42 ---> Running in 0936d4210356 01:54:42 Removing intermediate container 0936d4210356 01:54:42 ---> 4ab7523e6d97 01:54:42 Step 23/25 : LABEL arch=amd64 01:54:42 ---> Running in beac0673929c 01:54:42 Removing intermediate container beac0673929c 01:54:42 ---> 52ea74486633 01:54:42 Step 24/25 : LABEL git_sha=93974f4fed3517d9d2b287c016d4ea81e9beee08 01:54:42 ---> Running in b4d90f48450c 01:54:42 Removing intermediate container b4d90f48450c 01:54:42 ---> 96da97c2e91c 01:54:42 Step 25/25 : LABEL version=0.0.0 01:54:42 ---> Running in aeda3cdbf956 01:54:42 Removing intermediate container aeda3cdbf956 01:54:42 ---> 5447ca32802d 01:54:42 [Warning] One or more build-args [ARCH] were not consumed 01:54:42 Successfully built 5447ca32802d 01:54:42 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:54:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:54:43 01:54:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:54:44 latest: Pulling from edgex-lftools-log-publisher 01:54:44 5eb5b503b376: Pulling fs layer 01:54:44 5c69ac0246d0: Pulling fs layer 01:54:44 ec43610c2a17: Pulling fs layer 01:54:44 3a2ae6a8a46f: Pulling fs layer 01:54:44 33b1e0a273af: Pulling fs layer 01:54:44 5d3b04190fa2: Pulling fs layer 01:54:44 2f39f015ded8: Pulling fs layer 01:54:44 33b1e0a273af: Waiting 01:54:44 5d3b04190fa2: Waiting 01:54:44 3a2ae6a8a46f: Waiting 01:54:44 5c69ac0246d0: Verifying Checksum 01:54:44 5c69ac0246d0: Download complete 01:54:44 3a2ae6a8a46f: Verifying Checksum 01:54:44 3a2ae6a8a46f: Download complete 01:54:44 33b1e0a273af: Verifying Checksum 01:54:44 33b1e0a273af: Download complete 01:54:44 5d3b04190fa2: Verifying Checksum 01:54:44 5d3b04190fa2: Download complete 01:54:44 ec43610c2a17: Verifying Checksum 01:54:44 ec43610c2a17: Download complete 01:54:44 5eb5b503b376: Download complete 01:54:45 2f39f015ded8: Download complete 01:54:45 5eb5b503b376: Pull complete 01:54:45 5c69ac0246d0: Pull complete 01:54:46 ec43610c2a17: Pull complete 01:54:46 3a2ae6a8a46f: Pull complete 01:54:46 33b1e0a273af: Pull complete 01:54:46 5d3b04190fa2: Pull complete 01:54:50 2f39f015ded8: Pull complete 01:54:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:54:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:54:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:54:51 prd-ubuntu20.04-docker-8c-8g-24619 does not seem to be running inside a container 01:54:51 $ 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-652 -v /w/workspace/gexfoundry_device-mqtt-go_PR-652:/w/workspace/gexfoundry_device-mqtt-go_PR-652:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-652@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-652@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:54:55 $ docker top 861f528d1add914f494bf984d6158cb0a9272e89dc8d37f70044920430b7ff1e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:54:55 ---> job-cost.sh 01:54:55 lf-activate-venv: SKIPPING 01:54:55 INFO: No Stack... 01:54:56 INFO: Retrieving Pricing Info for: v3-standard-8 01:54:56 INFO: Archiving Costs [Pipeline] sh 01:54:56 + cat /w/workspace/gexfoundry_device-mqtt-go_PR-652/archives/cost.csv 01:54:56 + cut -d, -f6 [Pipeline] lock 01:54:56 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-652-1-stack-cost] 01:54:56 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-652-1-stack-cost] did not exist. Created. 01:54:56 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-652-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:54:57 + echo total: 0.2199999988079071 [Pipeline] stash 01:54:57 Stashed 1 file(s) [Pipeline] } 01:54:57 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-652-1-stack-cost] [Pipeline] // lock [Pipeline] } 01:54:57 $ docker stop --time=1 861f528d1add914f494bf984d6158cb0a9272e89dc8d37f70044920430b7ff1e 01:54:58 $ docker rm -f --volumes 861f528d1add914f494bf984d6158cb0a9272e89dc8d37f70044920430b7ff1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:56:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24620 in /w/workspace/gexfoundry_device-mqtt-go_PR-652 [Pipeline] { [Pipeline] ws 01:56:51 Running in /w/workspace/device-mqtt-go/1 [Pipeline] { [Pipeline] checkout 01:56:54 The recommended git tool is: git 01:57:00 using credential edgex-jenkins-ssh 01:57:00 Cloning the remote Git repository 01:57:00 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:57:00 > git init /w/workspace/device-mqtt-go/1 # timeout=10 01:57:00 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:57:00 > git --version # timeout=10 01:57:00 > git --version # 'git version 2.25.1' 01:57:00 using GIT_SSH to set credentials SSH Credentials for GitHub 01:57:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:57:02 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:57:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:57:04 Merging remotes/origin/main commit 4e218282e077fec14fc384a358d0b18c03acea40 into PR head commit 93974f4fed3517d9d2b287c016d4ea81e9beee08 01:57:03 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:57:03 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:57:03 using GIT_SSH to set credentials SSH Credentials for GitHub 01:57:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/pull/652/head:refs/remotes/origin/PR-652 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:57:04 > git config core.sparsecheckout # timeout=10 01:57:04 > git checkout -f 93974f4fed3517d9d2b287c016d4ea81e9beee08 # timeout=10 01:57:04 > git remote # timeout=10 01:57:04 Merge succeeded, producing 93974f4fed3517d9d2b287c016d4ea81e9beee08 01:57:04 Checking out Revision 93974f4fed3517d9d2b287c016d4ea81e9beee08 (PR-652) 01:57:05 Commit message: "build(deps): bump github.com/edgexfoundry/device-sdk-go/v3" 01:57:05 > git --version # timeout=10 01:57:05 > git --version # 'git version 2.25.1' 01:57:05 fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { 01:57:04 > git config --get remote.origin.url # timeout=10 01:57:04 using GIT_SSH to set credentials SSH Credentials for GitHub 01:57:04 > git merge 4e218282e077fec14fc384a358d0b18c03acea40 # timeout=10 01:57:04 > git rev-parse HEAD^{commit} # timeout=10 01:57:04 > git config core.sparsecheckout # timeout=10 01:57:04 > git checkout -f 93974f4fed3517d9d2b287c016d4ea81e9beee08 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:57:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:57:07 % Total % Received % Xferd Average Speed Time Time Time Current 01:57:07 Dload Upload Total Spent Left Speed 01:57:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 105k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 01:57:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:57:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:57:07 + sudo tee /etc/docker/daemon.new 01:57:07 { 01:57:07 "registry-mirrors": [ 01:57:07 "https://nexus3.edgexfoundry.org:10001" 01:57:07 ], 01:57:07 "bip": "10.250.0.254/24", 01:57:07 "hosts": [ 01:57:07 "tcp://0.0.0.0:5555", 01:57:07 "unix:///var/run/docker.sock" 01:57:07 ], 01:57:07 "mtu": 1458, 01:57:07 "selinux-enabled": true, 01:57:07 "seccomp-profile": "/etc/docker/seccomp.json" 01:57:07 } [Pipeline] sh 01:57:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:57:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:57:26 provisioning config files... 01:57:26 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/1@tmp/config831652324670973414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:27 ---> ****-login.sh 01:57:27 nexus3.edgexfoundry.org:10001 01:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:27 Configure a credential helper to remove this warning. See 01:57:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:27 01:57:27 Login Succeeded 01:57:27 nexus3.edgexfoundry.org:10002 01:57:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:28 Configure a credential helper to remove this warning. See 01:57:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:28 01:57:28 Login Succeeded 01:57:28 nexus3.edgexfoundry.org:10003 01:57:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:28 Configure a credential helper to remove this warning. See 01:57:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:28 01:57:28 Login Succeeded 01:57:28 nexus3.edgexfoundry.org:10004 01:57:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:28 Configure a credential helper to remove this warning. See 01:57:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:28 01:57:28 Login Succeeded 01:57:28 ****.io 01:57:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:57:29 Configure a credential helper to remove this warning. See 01:57:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:57:29 01:57:29 Login Succeeded 01:57:29 ---> ****-login.sh ends [Pipeline] } 01:57:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:57:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:57:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:57:29 ========================================================= 01:57:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:57:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:30 + 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:57:33 #0 building with "default" instance using docker driver 01:57:33 01:57:33 #1 [internal] load build definition from Dockerfile 01:57:33 #1 transferring dockerfile: 1.84kB done 01:57:33 #1 DONE 0.1s 01:57:33 01:57:33 #2 [internal] load .dockerignore 01:57:33 #2 transferring context: 182B done 01:57:33 #2 DONE 0.1s 01:57:33 01:57:33 #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:57:33 #3 DONE 0.3s 01:57:33 01:57:33 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 01:57:33 #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done 01:57:33 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s 01:57:33 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.1s 01:57:33 #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done 01:57:33 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s 01:57:33 #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done 01:57:33 #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done 01:57:33 #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done 01:57:33 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 01:57:33 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.97MB / 63.99MB 0.3s 01:57:33 #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done 01:57:33 #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done 01:57:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 0B / 97.63MB 0.3s 01:57:33 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 9.44MB / 63.99MB 0.4s 01:57:33 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.4s 01:57:33 #4 ... 01:57:33 01:57:33 #5 [internal] load build context 01:57:33 #5 transferring context: 8.65MB 0.4s done 01:57:33 #5 DONE 0.5s 01:57:33 01:57:33 #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 01:57:33 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 13.63MB / 63.99MB 0.5s 01:57:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.39MB / 97.63MB 0.5s 01:57:33 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.24MB / 11.40MB 0.5s 01:57:33 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 23.07MB / 63.99MB 0.7s 01:57:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 18.87MB / 97.63MB 0.7s 01:57:33 #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done 01:57:33 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 28.31MB / 63.99MB 0.8s 01:57:33 #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done 01:57:33 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 24.78MB / 97.63MB 0.8s 01:57:34 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 33.55MB / 63.99MB 0.9s 01:57:34 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 38.80MB / 63.99MB 1.0s 01:57:34 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 33.55MB / 97.63MB 1.0s 01:57:34 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 01:57:34 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 49.28MB / 63.99MB 1.2s 01:57:34 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 42.99MB / 97.63MB 1.2s 01:57:34 #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done 01:57:34 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 54.53MB / 63.99MB 1.3s 01:57:34 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 48.23MB / 97.63MB 1.3s 01:57:34 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 60.05MB / 63.99MB 1.4s 01:57:34 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s 01:57:34 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 58.72MB / 97.63MB 1.5s 01:57:35 #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done 01:57:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 65.01MB / 97.63MB 1.6s 01:57:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 70.25MB / 97.63MB 1.7s 01:57:35 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0.1s 01:57:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 75.85MB / 97.63MB 1.8s 01:57:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 87.03MB / 97.63MB 2.0s 01:57:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 92.27MB / 97.63MB 2.1s 01:57:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.2s 01:57:35 #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.3s done 01:57:41 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.6s 01:57:46 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 11.0s 01:57:53 #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 17.0s done 01:57:53 #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done 01:57:53 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 01:57:53 #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done 01:57:53 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 01:57:58 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.1s 01:58:02 #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.6s done 01:58:02 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 0.1s 01:58:04 #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.7s done 01:58:04 #4 DONE 30.9s 01:58:04 01:58:04 #6 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 01:58:04 #6 0.665 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:58:05 #6 1.218 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:58:06 #6 2.209 (1/4) Installing openssh-keygen (9.3_p2-r0) 01:58:06 #6 2.237 (2/4) Installing libedit (20221030.3.1-r1) 01:58:06 #6 2.249 (3/4) Installing openssh-client-common (9.3_p2-r0) 01:58:06 #6 2.316 (4/4) Installing openssh-client-default (9.3_p2-r0) 01:58:06 #6 2.344 Executing busybox-1.36.1-r5.trigger 01:58:06 #6 2.382 OK: 271 MiB in 56 packages 01:58:08 #6 DONE 4.1s 01:58:08 01:58:08 #7 [builder 3/7] WORKDIR /device-mqtt-go 01:58:08 #7 DONE 0.1s 01:58:08 01:58:08 #8 [builder 4/7] COPY go.mod vendor* ./ 01:58:08 #8 DONE 0.2s 01:58:08 01:58:08 #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:58:35 #9 DONE 22.9s 01:58:35 01:58:35 #10 [builder 6/7] COPY . . 01:58:35 #10 DONE 0.3s 01:58:35 01:58:35 #11 [builder 7/7] RUN echo noop 01:58:35 #11 0.600 noop 01:58:35 #11 DONE 0.7s 01:58:35 01:58:35 #12 exporting to image 01:58:35 #12 exporting layers 01:58:57 #12 exporting layers 22.2s done 01:58:57 #12 writing image sha256:49446cd542efe946fd7f0f5ea3945329071a05312657cd67d48b53031c2b1a6b done 01:58:57 #12 naming to docker.io/library/ci-base-image-arm64 done 01:58:57 #12 DONE 22.2s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:58 + docker inspect -f . ci-base-image-arm64 01:58:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:58 prd-ubuntu20.04-docker-arm64-4c-16g-24620 does not seem to be running inside a container 01:58:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:58:59 $ docker top 03db7f55851cff44a04ebc73af36299a86103b90b12af2562b4a780eed490032 -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:00 + go version 01:59:00 go version go1.21.0 linux/arm64 [Pipeline] } 01:59:00 $ docker stop --time=1 03db7f55851cff44a04ebc73af36299a86103b90b12af2562b4a780eed490032 01:59:02 $ docker rm -f --volumes 03db7f55851cff44a04ebc73af36299a86103b90b12af2562b4a780eed490032 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:59:03 + docker inspect -f . ci-base-image-arm64 01:59:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:59:03 prd-ubuntu20.04-docker-arm64-4c-16g-24620 does not seem to be running inside a container 01:59:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:59:04 $ docker top 279bd8771fcaa967e78df54d5063e7a9346e378014d252da0ae644f4e0d5d5da -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:05 + git config --global --add safe.directory /w/workspace/device-mqtt-go/1 [Pipeline] fileExists [Pipeline] sh 01:59:05 + make test 01:59:05 go test ./... -coverprofile=coverage.out ./... 01:59:13 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:00:10 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:00:10 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:00:10 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.057s coverage: 22.8% of statements 02:00:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:00:10 go vet ./... 02:00:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:00:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:00:20 ./bin/test-attribution-txt.sh [Pipeline] echo 02:00:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:00:20 $ docker stop --time=1 279bd8771fcaa967e78df54d5063e7a9346e378014d252da0ae644f4e0d5d5da 02:00:25 $ docker rm -f --volumes 279bd8771fcaa967e78df54d5063e7a9346e378014d252da0ae644f4e0d5d5da [Pipeline] // withDockerContainer [Pipeline] sh 02:00:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:00:26 Warning: overwriting stash ‘coverage-report’ 02:00:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:00:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:00:28 + ls -al . 02:00:28 total 180 02:00:28 drwxrwxr-x 8 jenkins jenkins 4096 Dec 7 01:59 . 02:00:28 drwxrwxr-x 4 jenkins jenkins 4096 Dec 7 01:57 .. 02:00:28 -rw-rw-r-- 1 jenkins jenkins 140 Dec 7 01:57 .dockerignore 02:00:28 drwxrwxr-x 8 jenkins jenkins 4096 Dec 7 01:57 .git 02:00:28 drwxrwxr-x 3 jenkins jenkins 4096 Dec 7 01:57 .github 02:00:28 -rw-rw-r-- 1 jenkins jenkins 264 Dec 7 01:57 .gitignore 02:00:28 -rw-rw-r-- 1 jenkins jenkins 41 Dec 7 01:57 .golangci.yml 02:00:28 -rw-rw-r-- 1 jenkins jenkins 10386 Dec 7 01:57 Attribution.txt 02:00:28 -rw-rw-r-- 1 jenkins jenkins 18574 Dec 7 01:57 CHANGELOG.md 02:00:28 -rw-rw-r-- 1 jenkins jenkins 1798 Dec 7 01:57 Dockerfile 02:00:28 -rw-rw-r-- 1 jenkins jenkins 677 Dec 7 01:57 GOVERNANCE.md 02:00:28 -rw-rw-r-- 1 jenkins jenkins 657 Dec 7 01:57 Jenkinsfile 02:00:28 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 7 01:57 LICENSE 02:00:28 -rw-rw-r-- 1 jenkins jenkins 1963 Dec 7 01:57 Makefile 02:00:28 -rw-rw-r-- 1 jenkins jenkins 620 Dec 7 01:57 OWNERS.md 02:00:28 -rw-rw-r-- 1 jenkins jenkins 3599 Dec 7 01:57 README.md 02:00:28 -rw-rw-r-- 1 jenkins jenkins 5 Dec 7 01:52 VERSION 02:00:28 drwxrwxr-x 2 jenkins jenkins 4096 Dec 7 01:57 bin 02:00:28 drwxrwxr-x 3 jenkins jenkins 4096 Dec 7 01:57 cmd 02:00:28 -rw-r--r-- 1 jenkins jenkins 18506 Dec 7 02:00 coverage.out 02:00:28 -rw-rw-r-- 1 jenkins jenkins 3817 Dec 7 01:57 go.mod 02:00:28 -rw-rw-r-- 1 jenkins jenkins 35084 Dec 7 01:57 go.sum 02:00:28 drwxrwxr-x 3 jenkins jenkins 4096 Dec 7 01:57 internal 02:00:28 drwxrwxr-x 2 jenkins jenkins 4096 Dec 7 01:57 mock 02:00:28 -rw-rw-r-- 1 jenkins jenkins 227 Dec 7 01:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:28 + 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=93974f4fed3517d9d2b287c016d4ea81e9beee08 --label arch=arm64 --label version=0.0.0 . 02:00:29 #0 building with "default" instance using docker driver 02:00:29 02:00:29 #1 [internal] load build definition from Dockerfile 02:00:29 #1 transferring dockerfile: 1.84kB 0.0s done 02:00:29 #1 DONE 0.0s 02:00:29 02:00:29 #2 [internal] load .dockerignore 02:00:29 #2 transferring context: 182B done 02:00:29 #2 DONE 0.0s 02:00:29 02:00:29 #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest 02:00:29 #3 DONE 0.0s 02:00:29 02:00:29 #4 [internal] load metadata for docker.io/library/alpine:3.18 02:00:29 #4 DONE 0.2s 02:00:29 02:00:29 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 02:00:29 #5 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done 02:00:29 #5 DONE 0.1s 02:00:29 02:00:29 #6 [internal] load build context 02:00:29 #6 transferring context: 26.05kB 0.0s done 02:00:29 #6 DONE 0.1s 02:00:29 02:00:29 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 02:00:29 #5 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done 02:00:29 #5 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done 02:00:29 #5 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done 02:00:29 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s 02:00:30 #5 ... 02:00:30 02:00:30 #7 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 02:00:30 #7 DONE 0.2s 02:00:30 02:00:30 #5 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 02:00:30 #5 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done 02:00:30 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 02:00:30 #5 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.4s done 02:00:30 #5 DONE 0.9s 02:00:30 02:00:30 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:00:31 #8 0.651 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:00:31 #8 0.966 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:00:32 #8 ... 02:00:32 02:00:32 #9 [builder 2/7] RUN apk add --update --no-cache make git openssh-client 02:00:32 #9 0.717 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:00:32 #9 1.176 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:00:32 #9 2.288 OK: 271 MiB in 56 packages 02:00:32 #9 DONE 2.6s 02:00:32 02:00:32 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:00:32 #8 2.021 (1/1) Installing dumb-init (1.2.5-r2) 02:00:32 #8 ... 02:00:32 02:00:32 #10 [builder 3/7] WORKDIR /device-mqtt-go 02:00:32 #10 DONE 0.1s 02:00:32 02:00:32 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:00:32 #8 2.038 Executing busybox-1.36.1-r5.trigger 02:00:32 #8 2.076 OK: 8 MiB in 16 packages 02:00:33 #8 ... 02:00:33 02:00:33 #11 [builder 4/7] COPY go.mod vendor* ./ 02:00:33 #11 DONE 0.2s 02:00:33 02:00:33 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:00:33 #12 ... 02:00:33 02:00:33 #8 [stage-1 2/6] RUN apk add --update --no-cache dumb-init 02:00:33 #8 DONE 2.4s 02:00:33 02:00:33 #13 [stage-1 3/6] RUN apk --no-cache upgrade 02:00:33 #13 0.817 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:00:34 #13 ... 02:00:34 02:00:34 #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:00:34 #12 DONE 1.3s 02:00:34 02:00:34 #13 [stage-1 3/6] RUN apk --no-cache upgrade 02:00:34 #13 1.171 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:00:34 #13 ... 02:00:34 02:00:34 #14 [builder 6/7] COPY . . 02:00:34 #14 DONE 0.3s 02:00:35 02:00:35 #15 [builder 7/7] RUN make build 02:00:35 #15 0.670 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.3" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:00:35 #15 ... 02:00:35 02:00:35 #13 [stage-1 3/6] RUN apk --no-cache upgrade 02:00:35 #13 2.276 OK: 8 MiB in 16 packages 02:00:35 #13 DONE 2.6s 02:00:35 02:00:35 #15 [builder 7/7] RUN make build 02:01:43 #15 DONE 62.4s 02:01:43 02:01:43 #16 [stage-1 4/6] COPY --from=builder /device-mqtt-go/cmd / 02:01:43 #16 DONE 0.3s 02:01:43 02:01:43 #17 [stage-1 5/6] COPY --from=builder /device-mqtt-go/LICENSE / 02:01:43 #17 DONE 0.1s 02:01:43 02:01:43 #18 [stage-1 6/6] COPY --from=builder /device-mqtt-go/Attribution.txt / 02:01:43 #18 DONE 0.1s 02:01:43 02:01:43 #19 exporting to image 02:01:43 #19 exporting layers 02:01:43 #19 exporting layers 0.4s done 02:01:43 #19 writing image sha256:78e22ad8c286167db22e74a33199b39afdc3199a05e2c466ffbe7a398bb35fa0 done 02:01:43 #19 naming to docker.io/library/device-mqtt-arm64 done 02:01:43 #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 02:01:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:01:44 02:01:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:01:45 arm64: Pulling from edgex-lftools-log-publisher 02:01:45 8998bd30e6a1: Pulling fs layer 02:01:45 04944245beec: Pulling fs layer 02:01:45 699f458cf7ca: Pulling fs layer 02:01:45 765212b225bb: Pulling fs layer 02:01:45 f23df028b6ca: Pulling fs layer 02:01:45 d65c8cfc05b1: Pulling fs layer 02:01:45 2437ff75d9bd: Pulling fs layer 02:01:45 765212b225bb: Waiting 02:01:45 f23df028b6ca: Waiting 02:01:45 d65c8cfc05b1: Waiting 02:01:45 2437ff75d9bd: Waiting 02:01:45 04944245beec: Verifying Checksum 02:01:45 04944245beec: Download complete 02:01:45 765212b225bb: Verifying Checksum 02:01:45 765212b225bb: Download complete 02:01:45 f23df028b6ca: Verifying Checksum 02:01:45 f23df028b6ca: Download complete 02:01:45 d65c8cfc05b1: Verifying Checksum 02:01:45 d65c8cfc05b1: Download complete 02:01:45 699f458cf7ca: Verifying Checksum 02:01:45 699f458cf7ca: Download complete 02:01:46 8998bd30e6a1: Verifying Checksum 02:01:46 8998bd30e6a1: Download complete 02:01:48 2437ff75d9bd: Verifying Checksum 02:01:48 2437ff75d9bd: Download complete 02:01:52 8998bd30e6a1: Pull complete 02:01:52 04944245beec: Pull complete 02:01:54 699f458cf7ca: Pull complete 02:01:54 765212b225bb: Pull complete 02:01:55 f23df028b6ca: Pull complete 02:01:55 d65c8cfc05b1: Pull complete 02:02:22 2437ff75d9bd: Pull complete 02:02:22 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:02:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:02:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:22 prd-ubuntu20.04-docker-arm64-4c-16g-24620 does not seem to be running inside a container 02:02:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-mqtt-go/1 -v /w/workspace/device-mqtt-go/1:/w/workspace/device-mqtt-go/1:rw,z -v /w/workspace/device-mqtt-go/1@tmp:/w/workspace/device-mqtt-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:02:24 $ docker top e8f024297a685c137b1ca283eb7ae2c0c140baf7f0616f0bbcc1fd907f65f855 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:02:25 ---> job-cost.sh 02:02:25 lf-activate-venv: SKIPPING 02:02:25 INFO: No Stack... 02:02:26 INFO: Retrieving Pricing Info for: v3-standard-8 02:02:26 INFO: Archiving Costs [Pipeline] sh 02:02:27 + cat /w/workspace/device-mqtt-go/1/archives/cost.csv 02:02:27 + cut -d, -f6 [Pipeline] lock 02:02:27 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-PR-652-1-stack-cost] 02:02:27 Resource [jenkins-edgexfoundry-device-mqtt-go-PR-652-1-stack-cost] did not exist. Created. 02:02:27 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-PR-652-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:02:27 /w/workspace/device-mqtt-go/1@tmp/durable-eb267c33/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:02:28 + echo total: 0.2199999988079071 [Pipeline] stash 02:02:28 Warning: overwriting stash ‘stack-cost’ 02:02:28 Stashed 1 file(s) [Pipeline] } 02:02:28 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-PR-652-1-stack-cost] [Pipeline] // lock [Pipeline] } 02:02:28 $ docker stop --time=1 e8f024297a685c137b1ca283eb7ae2c0c140baf7f0616f0bbcc1fd907f65f855 02:02:33 $ docker rm -f --volumes e8f024297a685c137b1ca283eb7ae2c0c140baf7f0616f0bbcc1fd907f65f855 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:02:35 provisioning config files... 02:02:35 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-652@tmp/config5296575787439730509tmp [Pipeline] { [Pipeline] sh 02:02:35 + set +x 02:02:35 + curl -s https://codecov.io/bash 02:02:35 + bash -s -- 02:02:35 02:02:35 _____ _ 02:02:35 / ____| | | 02:02:35 | | ___ __| | ___ ___ _____ __ 02:02:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:02:35 | |___| (_) | (_| | __/ (_| (_) \ V / 02:02:35 \_____\___/ \__,_|\___|\___\___/ \_/ 02:02:35 Bash-1.0.6 02:02:35 02:02:35 02:02:35 ==> git version 2.25.1 found 02:02:35 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 02:02:35 Release-Date: 2020-01-08 02:02:35 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:02:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:02:35 ==> Jenkins CI detected. 02:02:35 current dir:  /w/workspace/gexfoundry_device-mqtt-go_PR-652 02:02:35 project root: . 02:02:35 --> token set from env 02:02:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:02:35 ==> Running gcov in . (disable via -X gcov) 02:02:35 ==> Python coveragepy not found 02:02:35 ==> Searching for coverage reports in: 02:02:35 + . 02:02:35 -> Found 1 reports 02:02:35 ==> Detecting git/mercurial file structure 02:02:35 ==> Reading reports 02:02:35 + ./coverage.out bytes=18506 02:02:35 ==> Appending adjustments 02:02:35 https://docs.codecov.io/docs/fixing-reports 02:02:35 + Found adjustments 02:02:35 ==> Gzipping contents 02:02:35 4.0K /tmp/codecov.MojWp2.gz 02:02:35 ==> Uploading reports 02:02:35 url: https://codecov.io 02:02:35 query: branch=PR-652&commit=93974f4fed3517d9d2b287c016d4ea81e9beee08&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-652%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=652&job=&cmd_args= 02:02:35 -> Pinging Codecov 02:02:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-652&commit=93974f4fed3517d9d2b287c016d4ea81e9beee08&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2FPR-652%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=652&job=&cmd_args= 02:02:36 -> Uploading to 02:02:36 https://storage.googleapis.com/codecov/v4/raw/2023-12-07/7D719EC7BBE17E464838252E33014C33/93974f4fed3517d9d2b287c016d4ea81e9beee08/7d5c9a42-0aa1-48b1-b69f-1b982ce3dc9f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231207T020235Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4bf594a39de7edcb4054124c25a9e0b6d829f4b4ffd0605e42baa13f14324ab7 02:02:36 % Total % Received % Xferd Average Speed Time Time Time Current 02:02:36 Dload Upload Total Spent Left Speed 02:02:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 13199 --:--:-- --:--:-- --:--:-- 13199 02:02:36 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/93974f4fed3517d9d2b287c016d4ea81e9beee08 [Pipeline] } 02:02:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:02:39 + [ -d /w/workspace/gexfoundry_device-mqtt-go_PR-652/archives ] 02:02:39 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-652/archives 02:02:39 total 16 02:02:39 drwxr-xr-x 3 root root 4096 Dec 7 01:54 . 02:02:39 drwxrwxr-x 10 jenkins jenkins 4096 Dec 7 01:54 .. 02:02:39 drwxr-xr-x 2 root root 4096 Dec 7 01:54 cost 02:02:39 -rw-r--r-- 1 root root 86 Dec 7 01:54 cost.csv 02:02:39 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-mqtt-go_PR-652/archives 02:02:39 + ls -al /w/workspace/gexfoundry_device-mqtt-go_PR-652/archives 02:02:39 total 16 02:02:39 drwxr-xr-x 3 jenkins jenkins 4096 Dec 7 01:54 . 02:02:39 drwxrwxr-x 10 jenkins jenkins 4096 Dec 7 01:54 .. 02:02:39 drwxr-xr-x 2 jenkins jenkins 4096 Dec 7 01:54 cost 02:02:39 -rw-r--r-- 1 jenkins jenkins 86 Dec 7 01:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:02:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:02:40 ---> package-listing.sh 02:02:40 ++ facter osfamily 02:02:40 ++ tr '[:upper:]' '[:lower:]' 02:02:41 + OS_FAMILY=debian 02:02:41 + workspace=/w/workspace/gexfoundry_device-mqtt-go_PR-652 02:02:41 + START_PACKAGES=/tmp/packages_start.txt 02:02:41 + END_PACKAGES=/tmp/packages_end.txt 02:02:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:02:41 + PACKAGES=/tmp/packages_start.txt 02:02:41 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-652 ']' 02:02:41 + PACKAGES=/tmp/packages_end.txt 02:02:41 + case "${OS_FAMILY}" in 02:02:41 + dpkg -l 02:02:41 + grep '^ii' 02:02:41 + '[' -f /tmp/packages_start.txt ']' 02:02:41 + '[' -f /tmp/packages_end.txt ']' 02:02:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:02:41 + '[' /w/workspace/gexfoundry_device-mqtt-go_PR-652 ']' 02:02:41 + mkdir -p /w/workspace/gexfoundry_device-mqtt-go_PR-652/archives/ 02:02:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-mqtt-go_PR-652/archives/ [Pipeline] echo 02:02:41 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-652/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:02:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:02:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:02:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:02:42 prd-ubuntu20.04-docker-8c-8g-24619 does not seem to be running inside a container 02:02:42 $ 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-652/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-652 -v /w/workspace/gexfoundry_device-mqtt-go_PR-652:/w/workspace/gexfoundry_device-mqtt-go_PR-652:rw,z -v /w/workspace/gexfoundry_device-mqtt-go_PR-652@tmp:/w/workspace/gexfoundry_device-mqtt-go_PR-652@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:02:42 $ docker top 2e64aa605b9b20b776ec5c6b75701513eb0b563577cf4257ea6c615aa4a8de82 -eo pid,comm [Pipeline] { [Pipeline] sh 02:02:42 + touch /tmp/pre-build-complete [Pipeline] sh 02:02:43 + mkdir -p /var/log/sysstat [Pipeline] sh 02:02:43 + ls /var/log/sa-host 02:02:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:02:43 provisioning config files... 02:02:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-mqtt-go_PR-652@tmp/config8687267148028143035tmp [Pipeline] { [Pipeline] echo 02:02:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:02:44 ---> create-netrc.sh [Pipeline] } 02:02:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:02:44 ---> python-tools-install.sh [Pipeline] echo 02:02:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:02:45 ---> sudo-logs.sh 02:02:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:02:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:02:45 ---> job-cost.sh 02:02:45 lf-activate-venv: SKIPPING 02:02:45 DEBUG: total: 0.2199999988079071 02:02:45 INFO: Retrieving Stack Cost... 02:02:46 INFO: Retrieving Pricing Info for: v3-standard-8 02:02:46 INFO: Archiving Costs [Pipeline] echo 02:02:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:02:46 ---> logs-deploy.sh 02:02:46 lf-activate-venv: SKIPPING 02:02:46 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/PR-652/1 02:02:46 INFO: archiving workspace using pattern(s): 02:02:47 Archives upload complete. 02:02:47 INFO: archiving logs to Nexus 02:02:48 ---> uname -a: 02:02:48 Linux prd-ubuntu20-04-docker-8c-8g-24619 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:02:48 02:02:48