Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cece63dbd868ba4ffecf5f739a16bcebc59408bd 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-ssh2857585576402545458.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-ssh18373842224140926920.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15339756893496036569.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 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-ssh16518024390946125804.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-mqtt-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh881798617296089644.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-5407 in /w/workspace/edgexfoundry_device-mqtt-go_main [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/edgexfoundry_device-mqtt-go_main # 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 Avoid second fetch Checking out Revision cece63dbd868ba4ffecf5f739a16bcebc59408bd (main) Commit message: "Merge pull request #665 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.10" > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cece63dbd868ba4ffecf5f739a16bcebc59408bd # timeout=10 > git rev-list --no-walk f2c2416e3cde4ef7ccc2ae6960adbfe55941aa03 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:52:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:52:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:52:08 ========================================================= 01:52:08 EdgeX Global Pipelines Version Info 01:52:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:52:09 ------------------- 01:52:09 stable info: 01:52:09 ------------------- 01:52:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:52:09 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:52:09 Message: update stable to v1.0.258 01:52:10 ------------------- 01:52:10 experimental info: 01:52:10 ------------------- 01:52:10 Commited By: **** collab-it+edgex@linuxfoundation.org 01:52:10 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 01:52:10 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:52:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:52:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:52:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cece63dbd868ba4ffecf5f739a16bcebc59408bd [Pipeline] echo 01:52:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cece63d [Pipeline] echo 01:52:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:52:11 provisioning config files... 01:52:11 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8807246196447995522tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:11 ---> ****-login.sh 01:52:11 nexus3.edgexfoundry.org:10001 01:52:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:11 Configure a credential helper to remove this warning. See 01:52:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:11 01:52:11 Login Succeeded 01:52:11 nexus3.edgexfoundry.org:10002 01:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:12 Configure a credential helper to remove this warning. See 01:52:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:12 01:52:12 Login Succeeded 01:52:12 nexus3.edgexfoundry.org:10003 01:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:12 Configure a credential helper to remove this warning. See 01:52:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:12 01:52:12 Login Succeeded 01:52:12 nexus3.edgexfoundry.org:10004 01:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:12 Configure a credential helper to remove this warning. See 01:52:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:12 01:52:12 Login Succeeded 01:52:12 ****.io 01:52:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:12 Configure a credential helper to remove this warning. See 01:52:12 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:12 01:52:12 Login Succeeded 01:52:12 ---> ****-login.sh ends [Pipeline] } 01:52:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:52:13 + git rev-list -1 --merges cece63dbd868ba4ffecf5f739a16bcebc59408bd~1..cece63dbd868ba4ffecf5f739a16bcebc59408bd [Pipeline] echo 01:52:13 -----------> git rev-list -1 --merges cece63dbd868ba4ffecf5f739a16bcebc59408bd~1..cece63dbd868ba4ffecf5f739a16bcebc59408bd cece63dbd868ba4ffecf5f739a16bcebc59408bd 01:52:13 cece63dbd868ba4ffecf5f739a16bcebc59408bd [false] [Pipeline] sh 01:52:13 + git log --format=format:%s -1 cece63dbd868ba4ffecf5f739a16bcebc59408bd [Pipeline] echo 01:52:13 ========================================================= 01:52:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:52:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:52:13 + git log --format=format:%s -1 cece63dbd868ba4ffecf5f739a16bcebc59408bd [Pipeline] echo 01:52:13 [semverPrep] GIT_COMMIT: cece63dbd868ba4ffecf5f739a16bcebc59408bd, Commit Message: Merge pull request #665 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.10 [Pipeline] echo 01:52:13 [semverPrep] This is not a build commit. [Pipeline] sh 01:52:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:52:14 + grep -v github /etc/ssh/ssh_known_hosts 01:52:14 + [ -e /tmp/ssh_known_hosts ] 01:52:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:52:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:52:14 + sudo tee -a /etc/ssh/ssh_known_hosts 01:52:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:52:14 01:52:14 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:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:52:15 0.1.4: Pulling from edgex-devops/py-git-semver 01:52:15 b85a868b505f: Pulling fs layer 01:52:15 e2be974225ed: Pulling fs layer 01:52:15 339a4e72a1f5: Pulling fs layer 01:52:15 988bab9f4d93: Pulling fs layer 01:52:15 1469e6f7b9e6: Pulling fs layer 01:52:15 eaf3925da568: Pulling fs layer 01:52:15 bab4dde63d76: Pulling fs layer 01:52:15 bde34c3a00c8: Pulling fs layer 01:52:15 b352a97aabf1: Pulling fs layer 01:52:15 4872d77fe225: Pulling fs layer 01:52:15 5851b861e8e6: Pulling fs layer 01:52:15 988bab9f4d93: Waiting 01:52:15 1469e6f7b9e6: Waiting 01:52:15 eaf3925da568: Waiting 01:52:15 bab4dde63d76: Waiting 01:52:15 bde34c3a00c8: Waiting 01:52:15 b352a97aabf1: Waiting 01:52:15 4872d77fe225: Waiting 01:52:15 5851b861e8e6: Waiting 01:52:15 e2be974225ed: Download complete 01:52:15 988bab9f4d93: Verifying Checksum 01:52:15 988bab9f4d93: Download complete 01:52:15 1469e6f7b9e6: Verifying Checksum 01:52:15 1469e6f7b9e6: Download complete 01:52:15 339a4e72a1f5: Verifying Checksum 01:52:15 339a4e72a1f5: Download complete 01:52:15 eaf3925da568: Verifying Checksum 01:52:15 eaf3925da568: Download complete 01:52:15 bde34c3a00c8: Verifying Checksum 01:52:15 bde34c3a00c8: Download complete 01:52:15 b352a97aabf1: Verifying Checksum 01:52:15 b352a97aabf1: Download complete 01:52:15 4872d77fe225: Verifying Checksum 01:52:15 4872d77fe225: Download complete 01:52:15 5851b861e8e6: Verifying Checksum 01:52:15 5851b861e8e6: Download complete 01:52:15 b85a868b505f: Verifying Checksum 01:52:15 b85a868b505f: Download complete 01:52:15 bab4dde63d76: Verifying Checksum 01:52:15 bab4dde63d76: Download complete 01:52:17 b85a868b505f: Pull complete 01:52:17 e2be974225ed: Pull complete 01:52:17 339a4e72a1f5: Pull complete 01:52:17 988bab9f4d93: Pull complete 01:52:17 1469e6f7b9e6: Pull complete 01:52:17 eaf3925da568: Pull complete 01:52:19 bab4dde63d76: Pull complete 01:52:19 bde34c3a00c8: Pull complete 01:52:20 b352a97aabf1: Pull complete 01:52:20 4872d77fe225: Pull complete 01:52:20 5851b861e8e6: Pull complete 01:52:20 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:52:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:52:20 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:20 prd-ubuntu20.04-docker-8c-8g-5407 does not seem to be running inside a container 01:52:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:52:24 $ docker top 763a4138f63912d61aa6f6b7e3c9c51d3cbd13a8fcbec943dd8b3b4c0fe31aa4 -eo pid,comm 01:52:24 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:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:52:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:52:24 [ssh-agent] Looking for ssh-agent implementation... 01:52:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:52:24 $ docker exec 763a4138f63912d61aa6f6b7e3c9c51d3cbd13a8fcbec943dd8b3b4c0fe31aa4 ssh-agent 01:52:24 SSH_AUTH_SOCK=/tmp/ssh-be7cMY7saGUJ/agent.32 01:52:24 SSH_AGENT_PID=38 01:52:24 Running ssh-add (command line suppressed) 01:52:24 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17340217166337924882.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_17340217166337924882.key) 01:52:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:52:24 + git tag --points-at HEAD [Pipeline] } 01:52:24 $ docker exec --env ******** --env ******** 763a4138f63912d61aa6f6b7e3c9c51d3cbd13a8fcbec943dd8b3b4c0fe31aa4 ssh-agent -k 01:52:25 unset SSH_AUTH_SOCK; 01:52:25 unset SSH_AGENT_PID; 01:52:25 echo Agent pid 38 killed; 01:52:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:52:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:52:25 [ssh-agent] Looking for ssh-agent implementation... 01:52:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:52:25 $ docker exec 763a4138f63912d61aa6f6b7e3c9c51d3cbd13a8fcbec943dd8b3b4c0fe31aa4 ssh-agent 01:52:25 SSH_AUTH_SOCK=/tmp/ssh-bnNTceXoA6zK/agent.70 01:52:25 SSH_AGENT_PID=76 01:52:25 Running ssh-add (command line suppressed) 01:52:25 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8046904426726647216.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_8046904426726647216.key) 01:52:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:52:25 + git semver init 01:52:26 2024-03-11 01:52:25,987 [run_init] DEBUG init version:0.0.0 force:False 01:52:26 2024-03-11 01:52:25,988 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:52:26 2024-03-11 01:52:25,988 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 01:52:26 2024-03-11 01:52:25,988 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-mqtt-go.git', '/w/workspace/edgexfoundry_device-mqtt-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 01:52:27 2024-03-11 01:52:27,033 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 01:52:27 2024-03-11 01:52:27,034 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 01:52:27 2024-03-11 01:52:27,034 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:52:27 2024-03-11 01:52:27,034 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 01:52:27 3.2.0-dev.9 [Pipeline] } 01:52:27 $ docker exec --env ******** --env ******** 763a4138f63912d61aa6f6b7e3c9c51d3cbd13a8fcbec943dd8b3b4c0fe31aa4 ssh-agent -k 01:52:27 unset SSH_AUTH_SOCK; 01:52:27 unset SSH_AGENT_PID; 01:52:27 echo Agent pid 76 killed; 01:52:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:52:27 + git semver [Pipeline] } 01:52:28 $ docker stop --time=1 763a4138f63912d61aa6f6b7e3c9c51d3cbd13a8fcbec943dd8b3b4c0fe31aa4 01:52:29 $ docker rm -f --volumes 763a4138f63912d61aa6f6b7e3c9c51d3cbd13a8fcbec943dd8b3b4c0fe31aa4 [Pipeline] // withDockerContainer [Pipeline] sh 01:52:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:52:30 Stashed 1 file(s) [Pipeline] echo 01:52:30 [edgeXSemver]: initialized semver on version 3.2.0-dev.9 [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:30 provisioning config files... 01:52:30 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8976239994708924991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:30 ---> ****-login.sh 01:52:30 nexus3.edgexfoundry.org:10001 01:52:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:30 Configure a credential helper to remove this warning. See 01:52:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:30 01:52:30 Login Succeeded 01:52:30 nexus3.edgexfoundry.org:10002 01:52:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:30 Configure a credential helper to remove this warning. See 01:52:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:30 01:52:30 Login Succeeded 01:52:30 nexus3.edgexfoundry.org:10003 01:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:31 Configure a credential helper to remove this warning. See 01:52:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:31 01:52:31 Login Succeeded 01:52:31 nexus3.edgexfoundry.org:10004 01:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:31 Configure a credential helper to remove this warning. See 01:52:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:31 01:52:31 Login Succeeded 01:52:31 ****.io 01:52:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:52:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:52:31 Configure a credential helper to remove this warning. See 01:52:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:52:31 01:52:31 Login Succeeded 01:52:31 ---> ****-login.sh ends [Pipeline] } 01:52:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:52:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:52:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:52:31 ========================================================= 01:52:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:52:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:32 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 01:52:32 Sending build context to Docker daemon 14.9MB 01:52:32 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:52:32 Step 2/12 : FROM ${BASE} AS builder 01:52:32 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:52:32 7264a8db6415: Pulling fs layer 01:52:32 c4d48a809fc2: Pulling fs layer 01:52:32 4f1c88b9dad5: Pulling fs layer 01:52:32 ad3a456e5733: Pulling fs layer 01:52:32 69c7f0334f64: Pulling fs layer 01:52:32 1f1c1a5573a3: Pulling fs layer 01:52:32 ce7588e14bc9: Pulling fs layer 01:52:32 b5e4710f87ac: Pulling fs layer 01:52:32 ad3a456e5733: Waiting 01:52:32 69c7f0334f64: Waiting 01:52:32 1f1c1a5573a3: Waiting 01:52:32 ce7588e14bc9: Waiting 01:52:32 b5e4710f87ac: Waiting 01:52:32 c4d48a809fc2: Download complete 01:52:32 ad3a456e5733: Verifying Checksum 01:52:32 ad3a456e5733: Download complete 01:52:32 69c7f0334f64: Verifying Checksum 01:52:32 69c7f0334f64: Download complete 01:52:32 7264a8db6415: Verifying Checksum 01:52:32 7264a8db6415: Download complete 01:52:32 1f1c1a5573a3: Verifying Checksum 01:52:32 1f1c1a5573a3: Download complete 01:52:32 7264a8db6415: Pull complete 01:52:32 b5e4710f87ac: Verifying Checksum 01:52:32 b5e4710f87ac: Download complete 01:52:32 c4d48a809fc2: Pull complete 01:52:32 4f1c88b9dad5: Verifying Checksum 01:52:32 4f1c88b9dad5: Download complete 01:52:33 ce7588e14bc9: Verifying Checksum 01:52:36 4f1c88b9dad5: Pull complete 01:52:36 ad3a456e5733: Pull complete 01:52:36 69c7f0334f64: Pull complete 01:52:36 1f1c1a5573a3: Pull complete 01:52:38 ce7588e14bc9: Pull complete 01:52:39 b5e4710f87ac: Pull complete 01:52:39 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 01:52:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:52:39 ---> 88b5674ff536 01:52:39 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:52:43 ---> Running in 0b4220f74008 01:52:43 Removing intermediate container 0b4220f74008 01:52:43 ---> 769630d9685a 01:52:43 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:52:43 ---> Running in f16bc2cd7c78 01:52:43 Removing intermediate container f16bc2cd7c78 01:52:43 ---> c6295b791e90 01:52:43 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:52:44 ---> Running in 1a15058b547c 01:52:44 Removing intermediate container 1a15058b547c 01:52:44 ---> c0527274c21e 01:52:44 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:52:44 ---> Running in b272e27b49fb 01:52:44 Removing intermediate container b272e27b49fb 01:52:44 ---> dce42e6f4266 01:52:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:52:44 ---> Running in 3ac7f28fee99 01:52:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:52:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:52:44 (1/4) Installing openssh-keygen (9.3_p2-r1) 01:52:44 (2/4) Installing libedit (20221030.3.1-r1) 01:52:44 (3/4) Installing openssh-client-common (9.3_p2-r1) 01:52:44 (4/4) Installing openssh-client-default (9.3_p2-r1) 01:52:44 Executing busybox-1.36.1-r5.trigger 01:52:44 OK: 268 MiB in 56 packages 01:52:45 Removing intermediate container 3ac7f28fee99 01:52:45 ---> 4e7e2f49749c 01:52:45 Step 8/12 : WORKDIR /device-mqtt-go 01:52:45 ---> Running in db7795858ea5 01:52:45 Still waiting to schedule task 01:52:45 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5403’ 01:52:45 Removing intermediate container db7795858ea5 01:52:45 ---> caf929604121 01:52:45 Step 9/12 : COPY go.mod vendor* ./ 01:52:45 ---> f963cd8cd0c9 01:52:45 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:52:45 ---> Running in 15d0fe2a5c44 01:53:24 Removing intermediate container 15d0fe2a5c44 01:53:24 ---> cdfc1b90dfae 01:53:24 Step 11/12 : COPY . . 01:53:24 ---> 3a1bdb3f9bea 01:53:24 Step 12/12 : RUN $MAKE 01:53:24 ---> Running in 2b621d2827ac 01:53:24 noop 01:53:24 Removing intermediate container 2b621d2827ac 01:53:24 ---> 55f0f0be2255 01:53:24 Successfully built 55f0f0be2255 01:53:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:24 + docker inspect -f . ci-base-image-x86_64 01:53:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:24 prd-ubuntu20.04-docker-8c-8g-5407 does not seem to be running inside a container 01:53:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** ci-base-image-x86_64 cat 01:53:25 $ docker top 58a77f9f444dbb5b4ebc91bd7ccdfb61a1ec1e0a6eef05a71ee0ee07127fd53d -eo pid,comm [Pipeline] { [Pipeline] sh 01:53:25 + go version 01:53:25 go version go1.21.0 linux/amd64 [Pipeline] } 01:53:25 $ docker stop --time=1 58a77f9f444dbb5b4ebc91bd7ccdfb61a1ec1e0a6eef05a71ee0ee07127fd53d 01:53:27 $ docker rm -f --volumes 58a77f9f444dbb5b4ebc91bd7ccdfb61a1ec1e0a6eef05a71ee0ee07127fd53d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:27 + docker inspect -f . ci-base-image-x86_64 01:53:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:53:27 prd-ubuntu20.04-docker-8c-8g-5407 does not seem to be running inside a container 01:53:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** ci-base-image-x86_64 cat 01:53:28 $ docker top cb1b752c40da839a40b7b2379257d7d5fc1d904221f1fc0ec7c9500eb9d99cab -eo pid,comm [Pipeline] { [Pipeline] sh 01:53:28 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 01:53:29 + make test 01:53:29 go test ./... -coverprofile=coverage.out ./... 01:53:31 ? github.com/edgexfoundry/device-mqtt-go [no test files] 01:53:43 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 01:53:43 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 01:53:43 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.017s coverage: 22.8% of statements 01:53:49 go vet ./... 01:53:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:53:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:53:53 ./bin/test-attribution-txt.sh 01:53:53 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 01:53:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:53:53 $ docker stop --time=1 cb1b752c40da839a40b7b2379257d7d5fc1d904221f1fc0ec7c9500eb9d99cab 01:53:56 $ docker rm -f --volumes cb1b752c40da839a40b7b2379257d7d5fc1d904221f1fc0ec7c9500eb9d99cab [Pipeline] // withDockerContainer [Pipeline] sh 01:53:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:53:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:53:58 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:53:58 + ls -al . 01:53:58 total 184 01:53:58 drwxrwxr-x 9 jenkins jenkins 4096 Mar 11 01:53 . 01:53:58 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 01:52 .. 01:53:58 -rw-rw-r-- 1 jenkins jenkins 140 Mar 11 01:52 .dockerignore 01:53:58 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 01:53 .git 01:53:58 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:52 .github 01:53:58 -rw-rw-r-- 1 jenkins jenkins 264 Mar 11 01:52 .gitignore 01:53:58 -rw-rw-r-- 1 jenkins jenkins 41 Mar 11 01:52 .golangci.yml 01:53:58 drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 01:52 .semver 01:53:58 -rw-rw-r-- 1 jenkins jenkins 10386 Mar 11 01:52 Attribution.txt 01:53:58 -rw-rw-r-- 1 jenkins jenkins 18574 Mar 11 01:52 CHANGELOG.md 01:53:58 -rw-rw-r-- 1 jenkins jenkins 1798 Mar 11 01:52 Dockerfile 01:53:58 -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 01:52 GOVERNANCE.md 01:53:58 -rw-rw-r-- 1 jenkins jenkins 657 Mar 11 01:52 Jenkinsfile 01:53:58 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 11 01:52 LICENSE 01:53:58 -rw-rw-r-- 1 jenkins jenkins 1963 Mar 11 01:52 Makefile 01:53:58 -rw-rw-r-- 1 jenkins jenkins 620 Mar 11 01:52 OWNERS.md 01:53:58 -rw-rw-r-- 1 jenkins jenkins 3599 Mar 11 01:52 README.md 01:53:58 -rw-rw-r-- 1 jenkins jenkins 11 Mar 11 01:52 VERSION 01:53:58 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 01:52 bin 01:53:58 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:52 cmd 01:53:58 -rw-r--r-- 1 jenkins jenkins 18506 Mar 11 01:53 coverage.out 01:53:58 -rw-rw-r-- 1 jenkins jenkins 3867 Mar 11 01:52 go.mod 01:53:58 -rw-rw-r-- 1 jenkins jenkins 36216 Mar 11 01:52 go.sum 01:53:58 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:52 internal 01:53:58 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 01:52 mock 01:53:58 -rw-rw-r-- 1 jenkins jenkins 227 Mar 11 01:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:53:58 + 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=cece63dbd868ba4ffecf5f739a16bcebc59408bd --label arch=amd64 --label version=3.2.0-dev.9 . 01:53:58 Sending build context to Docker daemon 14.92MB 01:53:58 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 01:53:58 Step 2/25 : FROM ${BASE} AS builder 01:53:58 ---> 55f0f0be2255 01:53:58 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:53:58 ---> Running in 07292acc265e 01:53:58 Removing intermediate container 07292acc265e 01:53:58 ---> 003a24492db4 01:53:58 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:53:59 ---> Running in de29a4ebad14 01:53:59 Removing intermediate container de29a4ebad14 01:53:59 ---> 8ab74f7d49f0 01:53:59 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:53:59 ---> Running in 86ba97fea685 01:53:59 Removing intermediate container 86ba97fea685 01:53:59 ---> 7924b93bf078 01:53:59 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:53:59 ---> Running in f33ddeddcf3c 01:53:59 Removing intermediate container f33ddeddcf3c 01:53:59 ---> 1bbd168354f3 01:53:59 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:53:59 ---> Running in c055b1e62ee0 01:53:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:53:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:53:59 OK: 268 MiB in 56 packages 01:54:00 Removing intermediate container c055b1e62ee0 01:54:00 ---> 313140560b16 01:54:00 Step 8/25 : WORKDIR /device-mqtt-go 01:54:00 ---> Running in e53353a51cb9 01:54:00 Removing intermediate container e53353a51cb9 01:54:00 ---> 15f0eb0c0814 01:54:00 Step 9/25 : COPY go.mod vendor* ./ 01:54:00 ---> 89d306c95299 01:54:00 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:54:00 ---> Running in c4c36e6e00ec 01:54:01 Removing intermediate container c4c36e6e00ec 01:54:01 ---> acfa33ca9066 01:54:01 Step 11/25 : COPY . . 01:54:01 ---> ddba13aa351c 01:54:01 Step 12/25 : RUN $MAKE 01:54:01 ---> Running in 30d3bb32778d 01:54:01 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.10" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 01:54:23 Removing intermediate container 30d3bb32778d 01:54:23 ---> 38ca2cc63116 01:54:23 Step 13/25 : FROM alpine:3.18 01:54:23 3.18: Pulling from library/alpine 01:54:23 619be1103602: Pulling fs layer 01:54:23 619be1103602: Download complete 01:54:23 619be1103602: Pull complete 01:54:23 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 01:54:23 Status: Downloaded newer image for alpine:3.18 01:54:23 ---> d3782b16ccc9 01:54:23 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 01:54:23 ---> Running in a9ef98d0f1df 01:54:23 Removing intermediate container a9ef98d0f1df 01:54:23 ---> b64a980e3592 01:54:23 Step 15/25 : RUN apk add --update --no-cache dumb-init 01:54:23 ---> Running in eee5c2fae77a 01:54:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:54:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:54:23 (1/1) Installing dumb-init (1.2.5-r2) 01:54:23 Executing busybox-1.36.1-r5.trigger 01:54:23 OK: 7 MiB in 16 packages 01:54:23 Removing intermediate container eee5c2fae77a 01:54:23 ---> 2ef0e80a6378 01:54:23 Step 16/25 : RUN apk --no-cache upgrade 01:54:23 ---> Running in d23b42da090d 01:54:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:54:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:54:24 OK: 7 MiB in 16 packages 01:54:24 Removing intermediate container d23b42da090d 01:54:24 ---> 2621514e9d7e 01:54:24 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 01:54:25 ---> e3a93fa4006e 01:54:25 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 01:54:25 ---> 19fbe77e87ba 01:54:25 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 01:54:25 ---> d7a850b76bfb 01:54:25 Step 20/25 : EXPOSE 59982 01:54:25 ---> Running in 5e7d51d4795a 01:54:25 Removing intermediate container 5e7d51d4795a 01:54:25 ---> 91e518f374ba 01:54:25 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 01:54:25 ---> Running in f08a89fd9a0b 01:54:25 Removing intermediate container f08a89fd9a0b 01:54:25 ---> b03c07aca780 01:54:25 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:54:25 ---> Running in 5c744f8c0880 01:54:25 Removing intermediate container 5c744f8c0880 01:54:25 ---> 20acb6c79dd4 01:54:25 Step 23/25 : LABEL arch=amd64 01:54:25 ---> Running in 63f5ecfb9ba5 01:54:26 Removing intermediate container 63f5ecfb9ba5 01:54:26 ---> 09e57b48d574 01:54:26 Step 24/25 : LABEL git_sha=cece63dbd868ba4ffecf5f739a16bcebc59408bd 01:54:26 ---> Running in 98fbbebc361b 01:54:26 Removing intermediate container 98fbbebc361b 01:54:26 ---> ddc6dbc316a5 01:54:26 Step 25/25 : LABEL version=3.2.0-dev.9 01:54:26 ---> Running in 7764f529cfcc 01:54:26 Removing intermediate container 7764f529cfcc 01:54:26 ---> a2e76067ee45 01:54:26 [Warning] One or more build-args [ARCH] were not consumed 01:54:26 Successfully built a2e76067ee45 01:54:26 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:54:26 provisioning config files... 01:54:26 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10393623884123491055tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:54:26 ---> ****-login.sh 01:54:26 nexus3.edgexfoundry.org:10001 01:54:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:26 Configure a credential helper to remove this warning. See 01:54:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:26 01:54:26 Login Succeeded 01:54:26 nexus3.edgexfoundry.org:10002 01:54:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:26 Configure a credential helper to remove this warning. See 01:54:26 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:26 01:54:26 Login Succeeded 01:54:26 nexus3.edgexfoundry.org:10003 01:54:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:27 Configure a credential helper to remove this warning. See 01:54:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:27 01:54:27 Login Succeeded 01:54:27 nexus3.edgexfoundry.org:10004 01:54:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:27 Configure a credential helper to remove this warning. See 01:54:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:27 01:54:27 Login Succeeded 01:54:27 ****.io 01:54:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:54:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:54:27 Configure a credential helper to remove this warning. See 01:54:27 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:54:27 01:54:27 Login Succeeded 01:54:27 ---> ****-login.sh ends [Pipeline] } 01:54:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:54:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:54:27 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 01:54:27 cece63dbd868ba4ffecf5f739a16bcebc59408bd 01:54:27 latest 01:54:27 3.2.0-dev.9 01:54:27 cece63dbd868ba4ffecf5f739a16bcebc59408bd-3.2.0-dev.9 01:54:27 main 01:54:27 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:27 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:cece63dbd868ba4ffecf5f739a16bcebc59408bd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:28 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:cece63dbd868ba4ffecf5f739a16bcebc59408bd 01:54:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:54:28 175ddc0efe15: Preparing 01:54:28 1b73b059c3ee: Preparing 01:54:28 b914cc0b89be: Preparing 01:54:28 331ed6502d01: Preparing 01:54:28 dd3e5bffb612: Preparing 01:54:28 aedc3bda2944: Preparing 01:54:28 aedc3bda2944: Waiting 01:54:28 1b73b059c3ee: Pushed 01:54:28 331ed6502d01: Pushed 01:54:28 175ddc0efe15: Pushed 01:54:28 dd3e5bffb612: Pushed 01:54:28 aedc3bda2944: Layer already exists 01:54:31 b914cc0b89be: Pushed 01:54:31 cece63dbd868ba4ffecf5f739a16bcebc59408bd: digest: sha256:98f86245c4f4ae82539e8fbdf4cb49fb123b265c8104d684b23a0183f2cc9b38 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:31 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:32 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:54:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:54:32 175ddc0efe15: Preparing 01:54:32 1b73b059c3ee: Preparing 01:54:32 b914cc0b89be: Preparing 01:54:32 331ed6502d01: Preparing 01:54:32 dd3e5bffb612: Preparing 01:54:32 aedc3bda2944: Preparing 01:54:32 aedc3bda2944: Waiting 01:54:32 b914cc0b89be: Layer already exists 01:54:32 dd3e5bffb612: Layer already exists 01:54:32 331ed6502d01: Layer already exists 01:54:32 175ddc0efe15: Layer already exists 01:54:32 1b73b059c3ee: Layer already exists 01:54:32 aedc3bda2944: Layer already exists 01:54:32 latest: digest: sha256:98f86245c4f4ae82539e8fbdf4cb49fb123b265c8104d684b23a0183f2cc9b38 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:32 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:33 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.9 01:54:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:54:33 175ddc0efe15: Preparing 01:54:33 1b73b059c3ee: Preparing 01:54:33 b914cc0b89be: Preparing 01:54:33 331ed6502d01: Preparing 01:54:33 dd3e5bffb612: Preparing 01:54:33 aedc3bda2944: Preparing 01:54:33 175ddc0efe15: Layer already exists 01:54:33 b914cc0b89be: Layer already exists 01:54:33 1b73b059c3ee: Layer already exists 01:54:33 331ed6502d01: Layer already exists 01:54:33 dd3e5bffb612: Layer already exists 01:54:33 aedc3bda2944: Layer already exists 01:54:33 3.2.0-dev.9: digest: sha256:98f86245c4f4ae82539e8fbdf4cb49fb123b265c8104d684b23a0183f2cc9b38 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:33 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:cece63dbd868ba4ffecf5f739a16bcebc59408bd-3.2.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:cece63dbd868ba4ffecf5f739a16bcebc59408bd-3.2.0-dev.9 01:54:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:54:34 175ddc0efe15: Preparing 01:54:34 1b73b059c3ee: Preparing 01:54:34 b914cc0b89be: Preparing 01:54:34 331ed6502d01: Preparing 01:54:34 dd3e5bffb612: Preparing 01:54:34 aedc3bda2944: Preparing 01:54:34 aedc3bda2944: Waiting 01:54:34 331ed6502d01: Layer already exists 01:54:34 b914cc0b89be: Layer already exists 01:54:34 175ddc0efe15: Layer already exists 01:54:34 1b73b059c3ee: Layer already exists 01:54:34 dd3e5bffb612: Layer already exists 01:54:34 aedc3bda2944: Layer already exists 01:54:34 cece63dbd868ba4ffecf5f739a16bcebc59408bd-3.2.0-dev.9: digest: sha256:98f86245c4f4ae82539e8fbdf4cb49fb123b265c8104d684b23a0183f2cc9b38 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:34 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:34 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 01:54:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 01:54:34 175ddc0efe15: Preparing 01:54:34 1b73b059c3ee: Preparing 01:54:34 b914cc0b89be: Preparing 01:54:34 331ed6502d01: Preparing 01:54:34 dd3e5bffb612: Preparing 01:54:34 aedc3bda2944: Preparing 01:54:34 aedc3bda2944: Waiting 01:54:34 331ed6502d01: Layer already exists 01:54:34 1b73b059c3ee: Layer already exists 01:54:34 dd3e5bffb612: Layer already exists 01:54:34 175ddc0efe15: Layer already exists 01:54:34 b914cc0b89be: Layer already exists 01:54:34 aedc3bda2944: Layer already exists 01:54:34 main: digest: sha256:98f86245c4f4ae82539e8fbdf4cb49fb123b265c8104d684b23a0183f2cc9b38 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:54:35 ===================================================== [Pipeline] echo 01:54:35 taggedImages: 01:54:35 - nexus3.edgexfoundry.org:10004/device-mqtt:cece63dbd868ba4ffecf5f739a16bcebc59408bd 01:54:35 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 01:54:35 - nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.9 01:54:35 - nexus3.edgexfoundry.org:10004/device-mqtt:cece63dbd868ba4ffecf5f739a16bcebc59408bd-3.2.0-dev.9 01:54:35 - nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // script [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:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:54:35 01:54:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:54:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:54:36 latest: Pulling from edgex-lftools-log-publisher 01:54:36 5eb5b503b376: Pulling fs layer 01:54:36 5c69ac0246d0: Pulling fs layer 01:54:36 ec43610c2a17: Pulling fs layer 01:54:36 3a2ae6a8a46f: Pulling fs layer 01:54:36 33b1e0a273af: Pulling fs layer 01:54:36 5d3b04190fa2: Pulling fs layer 01:54:36 2f39f015ded8: Pulling fs layer 01:54:36 33b1e0a273af: Waiting 01:54:36 5d3b04190fa2: Waiting 01:54:36 2f39f015ded8: Waiting 01:54:36 3a2ae6a8a46f: Waiting 01:54:36 5c69ac0246d0: Download complete 01:54:36 3a2ae6a8a46f: Verifying Checksum 01:54:36 3a2ae6a8a46f: Download complete 01:54:36 33b1e0a273af: Download complete 01:54:36 5d3b04190fa2: Verifying Checksum 01:54:36 5d3b04190fa2: Download complete 01:54:36 ec43610c2a17: Verifying Checksum 01:54:36 ec43610c2a17: Download complete 01:54:36 5eb5b503b376: Verifying Checksum 01:54:36 5eb5b503b376: Download complete 01:54:37 2f39f015ded8: Download complete 01:54:37 5eb5b503b376: Pull complete 01:54:37 5c69ac0246d0: Pull complete 01:54:38 ec43610c2a17: Pull complete 01:54:38 3a2ae6a8a46f: Pull complete 01:54:38 33b1e0a273af: Pull complete 01:54:38 5d3b04190fa2: Pull complete 01:54:44 2f39f015ded8: Pull complete 01:54:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:54:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:54:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:54:44 prd-ubuntu20.04-docker-8c-8g-5407 does not seem to be running inside a container 01:54:44 $ 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/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:54:49 $ docker top 0324f85277c8902922a18c3e932cc8477b9187d519c12aaa82df37571263800b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:54:49 ---> job-cost.sh 01:54:49 lf-activate-venv: SKIPPING 01:54:49 INFO: No Stack... 01:54:49 INFO: Retrieving Pricing Info for: v3-standard-8 01:54:50 INFO: Archiving Costs [Pipeline] sh 01:54:50 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 01:54:50 + cut -d, -f6 [Pipeline] lock 01:54:50 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-162-stack-cost] 01:54:50 Resource [jenkins-edgexfoundry-device-mqtt-go-main-162-stack-cost] did not exist. Created. 01:54:50 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-162-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:54:50 + echo total: 0.2199999988079071 [Pipeline] stash 01:54:50 Stashed 1 file(s) [Pipeline] } 01:54:50 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-162-stack-cost] [Pipeline] // lock [Pipeline] } 01:54:51 $ docker stop --time=1 0324f85277c8902922a18c3e932cc8477b9187d519c12aaa82df37571263800b 01:54:52 $ docker rm -f --volumes 0324f85277c8902922a18c3e932cc8477b9187d519c12aaa82df37571263800b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:56:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5410 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 01:56:12 Running in /w/workspace/device-mqtt-go/162 [Pipeline] { [Pipeline] checkout 01:56:15 The recommended git tool is: git 01:56:22 using credential edgex-jenkins-ssh 01:56:22 Cloning the remote Git repository 01:56:22 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 01:56:22 > git init /w/workspace/device-mqtt-go/162 # timeout=10 01:56:22 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 01:56:22 > git --version # timeout=10 01:56:22 > git --version # 'git version 2.25.1' 01:56:22 using GIT_SSH to set credentials SSH Credentials for GitHub 01:56:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:56:25 Avoid second fetch 01:56:25 Checking out Revision cece63dbd868ba4ffecf5f739a16bcebc59408bd (main) 01:56:24 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 01:56:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:56:25 > git config core.sparsecheckout # timeout=10 01:56:26 Commit message: "Merge pull request #665 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.10" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:56:25 > git checkout -f cece63dbd868ba4ffecf5f739a16bcebc59408bd # timeout=10 01:56:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:56:27 % Total % Received % Xferd Average Speed Time Time Time Current 01:56:27 Dload Upload Total Spent Left Speed 01:56:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 107k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh 01:56:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:56:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:56:28 + sudo tee /etc/docker/daemon.new 01:56:28 { 01:56:28 "registry-mirrors": [ 01:56:28 "https://nexus3.edgexfoundry.org:10001" 01:56:28 ], 01:56:28 "bip": "10.250.0.254/24", 01:56:28 "hosts": [ 01:56:28 "tcp://0.0.0.0:5555", 01:56:28 "unix:///var/run/docker.sock" 01:56:28 ], 01:56:28 "mtu": 1458, 01:56:28 "selinux-enabled": true, 01:56:28 "seccomp-profile": "/etc/docker/seccomp.json" 01:56:28 } [Pipeline] sh 01:56:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:56:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:56:47 provisioning config files... 01:56:47 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/162@tmp/config17840622466092006471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:56:47 ---> ****-login.sh 01:56:47 nexus3.edgexfoundry.org:10001 01:56:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:48 Configure a credential helper to remove this warning. See 01:56:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:48 01:56:48 Login Succeeded 01:56:48 nexus3.edgexfoundry.org:10002 01:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:48 Configure a credential helper to remove this warning. See 01:56:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:48 01:56:48 Login Succeeded 01:56:48 nexus3.edgexfoundry.org:10003 01:56:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:48 Configure a credential helper to remove this warning. See 01:56:48 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:48 01:56:48 Login Succeeded 01:56:48 nexus3.edgexfoundry.org:10004 01:56:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:49 Configure a credential helper to remove this warning. See 01:56:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:49 01:56:49 Login Succeeded 01:56:49 ****.io 01:56:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:49 Configure a credential helper to remove this warning. See 01:56:49 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:49 01:56:49 Login Succeeded 01:56:49 ---> ****-login.sh ends [Pipeline] } 01:56:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:56:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:56:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:56:50 ========================================================= 01:56:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:56:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:50 + 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:56:51 Sending build context to Docker daemon 7.554MB 01:56:51 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 01:56:51 Step 2/12 : FROM ${BASE} AS builder 01:56:51 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:56:51 9fda8d8052c6: Pulling fs layer 01:56:51 5d54e960e981: Pulling fs layer 01:56:51 c4a7e357bf2a: Pulling fs layer 01:56:51 f0e02332f6b5: Pulling fs layer 01:56:51 872ee5b61b7b: Pulling fs layer 01:56:51 0c6a40ed1a82: Pulling fs layer 01:56:51 94ae7d8d031c: Pulling fs layer 01:56:51 872ee5b61b7b: Waiting 01:56:51 0c6a40ed1a82: Waiting 01:56:51 94ae7d8d031c: Waiting 01:56:51 f0e02332f6b5: Waiting 01:56:51 5d54e960e981: Verifying Checksum 01:56:51 5d54e960e981: Download complete 01:56:51 f0e02332f6b5: Verifying Checksum 01:56:51 f0e02332f6b5: Download complete 01:56:51 872ee5b61b7b: Verifying Checksum 01:56:51 872ee5b61b7b: Download complete 01:56:51 9fda8d8052c6: Verifying Checksum 01:56:51 9fda8d8052c6: Download complete 01:56:51 94ae7d8d031c: Verifying Checksum 01:56:51 94ae7d8d031c: Download complete 01:56:52 9fda8d8052c6: Pull complete 01:56:52 5d54e960e981: Pull complete 01:56:53 c4a7e357bf2a: Verifying Checksum 01:56:53 c4a7e357bf2a: Download complete 01:56:54 0c6a40ed1a82: Download complete 01:57:06 c4a7e357bf2a: Pull complete 01:57:06 f0e02332f6b5: Pull complete 01:57:06 872ee5b61b7b: Pull complete 01:57:14 0c6a40ed1a82: Pull complete 01:57:16 94ae7d8d031c: Pull complete 01:57:16 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 01:57:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:57:16 ---> 86de565de09d 01:57:16 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:57:18 ---> Running in b838adb43221 01:57:18 Removing intermediate container b838adb43221 01:57:18 ---> 8066c13bbfd5 01:57:18 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:57:18 ---> Running in aca4380f1c1d 01:57:18 Removing intermediate container aca4380f1c1d 01:57:18 ---> 673448ef0f6a 01:57:18 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:57:18 ---> Running in 45e76f71988c 01:57:19 Removing intermediate container 45e76f71988c 01:57:19 ---> 8c8fee9bf204 01:57:19 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:57:19 ---> Running in 0cda90b2cdff 01:57:19 Removing intermediate container 0cda90b2cdff 01:57:19 ---> 7521eebe809e 01:57:19 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:57:19 ---> Running in 937dcf30f71f 01:57:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:57:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:57:22 (1/4) Installing openssh-keygen (9.3_p2-r1) 01:57:22 (2/4) Installing libedit (20221030.3.1-r1) 01:57:22 (3/4) Installing openssh-client-common (9.3_p2-r1) 01:57:22 (4/4) Installing openssh-client-default (9.3_p2-r1) 01:57:22 Executing busybox-1.36.1-r5.trigger 01:57:22 OK: 271 MiB in 56 packages 01:57:23 Removing intermediate container 937dcf30f71f 01:57:23 ---> 781d27dd41b7 01:57:23 Step 8/12 : WORKDIR /device-mqtt-go 01:57:23 ---> Running in ba7f7a1e21d9 01:57:23 Removing intermediate container ba7f7a1e21d9 01:57:23 ---> 0ed2cc465445 01:57:23 Step 9/12 : COPY go.mod vendor* ./ 01:57:24 ---> 754914c9f345 01:57:24 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:57:24 ---> Running in ec1c73fd3ead 01:58:32 Removing intermediate container ec1c73fd3ead 01:58:32 ---> 3b14ca38b215 01:58:32 Step 11/12 : COPY . . 01:58:32 ---> e83083bfbac3 01:58:32 Step 12/12 : RUN $MAKE 01:58:32 ---> Running in 7e4b7c65274b 01:58:32 noop 01:58:32 Removing intermediate container 7e4b7c65274b 01:58:32 ---> 329ad717cb3f 01:58:32 Successfully built 329ad717cb3f 01:58:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:32 + docker inspect -f . ci-base-image-arm64 01:58:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:32 prd-ubuntu20.04-docker-arm64-4c-16g-5410 does not seem to be running inside a container 01:58:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/162 -v /w/workspace/device-mqtt-go/162:/w/workspace/device-mqtt-go/162:rw,z -v /w/workspace/device-mqtt-go/162@tmp:/w/workspace/device-mqtt-go/162@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 ******** ci-base-image-arm64 cat 01:58:34 $ docker top a9c192e12d4fa3f043e4f43cc80ff2b2fdb3cc0d883a85386f19e7a138eacbd1 -eo pid,comm [Pipeline] { [Pipeline] sh 01:58:35 + go version 01:58:35 go version go1.21.0 linux/arm64 [Pipeline] } 01:58:35 $ docker stop --time=1 a9c192e12d4fa3f043e4f43cc80ff2b2fdb3cc0d883a85386f19e7a138eacbd1 01:58:36 $ docker rm -f --volumes a9c192e12d4fa3f043e4f43cc80ff2b2fdb3cc0d883a85386f19e7a138eacbd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:37 + docker inspect -f . ci-base-image-arm64 01:58:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:38 prd-ubuntu20.04-docker-arm64-4c-16g-5410 does not seem to be running inside a container 01:58:38 $ 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/162 -v /w/workspace/device-mqtt-go/162:/w/workspace/device-mqtt-go/162:rw,z -v /w/workspace/device-mqtt-go/162@tmp:/w/workspace/device-mqtt-go/162@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 ******** ci-base-image-arm64 cat 01:58:39 $ docker top 74b6e3e2b9e06f566e06e6a5ec586372c89fc786d83a8d44167258b6be8c8fe6 -eo pid,comm [Pipeline] { [Pipeline] sh 01:58:40 + git config --global --add safe.directory /w/workspace/device-mqtt-go/162 [Pipeline] fileExists [Pipeline] sh 01:58:40 + make test 01:58:40 go test ./... -coverprofile=coverage.out ./... 01:58:44 ? github.com/edgexfoundry/device-mqtt-go [no test files] 02:00:20 ? github.com/edgexfoundry/device-mqtt-go/cmd [no test files] 02:00:20 ? github.com/edgexfoundry/device-mqtt-go/mock [no test files] 02:00:20 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.063s coverage: 22.8% of statements 02:00:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:00:20 go vet ./... 02:00:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:00:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:00:43 ./bin/test-attribution-txt.sh 02:00:43 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 02:00:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:00:43 $ docker stop --time=1 74b6e3e2b9e06f566e06e6a5ec586372c89fc786d83a8d44167258b6be8c8fe6 02:00:45 $ docker rm -f --volumes 74b6e3e2b9e06f566e06e6a5ec586372c89fc786d83a8d44167258b6be8c8fe6 [Pipeline] // withDockerContainer [Pipeline] sh 02:00:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:00:46 Warning: overwriting stash ‘coverage-report’ 02:00:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:00:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:00:47 + ls -al . 02:00:47 total 180 02:00:47 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 01:58 . 02:00:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 11 01:56 .. 02:00:47 -rw-rw-r-- 1 jenkins jenkins 140 Mar 11 01:56 .dockerignore 02:00:47 drwxrwxr-x 8 jenkins jenkins 4096 Mar 11 01:56 .git 02:00:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:56 .github 02:00:47 -rw-rw-r-- 1 jenkins jenkins 264 Mar 11 01:56 .gitignore 02:00:47 -rw-rw-r-- 1 jenkins jenkins 41 Mar 11 01:56 .golangci.yml 02:00:47 -rw-rw-r-- 1 jenkins jenkins 10386 Mar 11 01:56 Attribution.txt 02:00:47 -rw-rw-r-- 1 jenkins jenkins 18574 Mar 11 01:56 CHANGELOG.md 02:00:47 -rw-rw-r-- 1 jenkins jenkins 1798 Mar 11 01:56 Dockerfile 02:00:47 -rw-rw-r-- 1 jenkins jenkins 677 Mar 11 01:56 GOVERNANCE.md 02:00:47 -rw-rw-r-- 1 jenkins jenkins 657 Mar 11 01:56 Jenkinsfile 02:00:47 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 11 01:56 LICENSE 02:00:47 -rw-rw-r-- 1 jenkins jenkins 1963 Mar 11 01:56 Makefile 02:00:47 -rw-rw-r-- 1 jenkins jenkins 620 Mar 11 01:56 OWNERS.md 02:00:47 -rw-rw-r-- 1 jenkins jenkins 3599 Mar 11 01:56 README.md 02:00:47 -rw-rw-r-- 1 jenkins jenkins 11 Mar 11 01:52 VERSION 02:00:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 01:56 bin 02:00:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:56 cmd 02:00:47 -rw-r--r-- 1 jenkins jenkins 18506 Mar 11 02:00 coverage.out 02:00:47 -rw-rw-r-- 1 jenkins jenkins 3867 Mar 11 01:56 go.mod 02:00:47 -rw-rw-r-- 1 jenkins jenkins 36216 Mar 11 01:56 go.sum 02:00:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 11 01:56 internal 02:00:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 11 01:56 mock 02:00:47 -rw-rw-r-- 1 jenkins jenkins 227 Mar 11 01:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:00:48 + docker build -t device-mqtt-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=cece63dbd868ba4ffecf5f739a16bcebc59408bd --label arch=arm64 --label version=3.2.0-dev.9 . 02:00:48 Sending build context to Docker daemon 7.573MB 02:00:48 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 02:00:48 Step 2/25 : FROM ${BASE} AS builder 02:00:48 ---> 329ad717cb3f 02:00:48 Step 3/25 : ARG ADD_BUILD_TAGS="" 02:00:48 ---> Running in 0f79fd44a744 02:00:49 Removing intermediate container 0f79fd44a744 02:00:49 ---> 043b05b97211 02:00:49 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 02:00:49 ---> Running in 47ad0256da88 02:00:49 Removing intermediate container 47ad0256da88 02:00:49 ---> d2ae5e66093b 02:00:49 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 02:00:49 ---> Running in 43118adb2102 02:00:49 Removing intermediate container 43118adb2102 02:00:49 ---> 8e44271b57b1 02:00:49 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 02:00:49 ---> Running in cd353ace0ec7 02:00:50 Removing intermediate container cd353ace0ec7 02:00:50 ---> c5bf81856dcb 02:00:50 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 02:00:50 ---> Running in 061a85cc4e82 02:00:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:00:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:00:53 OK: 271 MiB in 56 packages 02:00:53 Removing intermediate container 061a85cc4e82 02:00:53 ---> 346538b0e573 02:00:53 Step 8/25 : WORKDIR /device-mqtt-go 02:00:53 ---> Running in 9cd506efcb5e 02:00:54 Removing intermediate container 9cd506efcb5e 02:00:54 ---> 6187ed2afdb6 02:00:54 Step 9/25 : COPY go.mod vendor* ./ 02:00:54 ---> 457d0c2b6ce1 02:00:54 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:00:54 ---> Running in c8e057b309e8 02:00:56 Removing intermediate container c8e057b309e8 02:00:56 ---> b0647401c36f 02:00:56 Step 11/25 : COPY . . 02:00:57 ---> dd51a19bf7ea 02:00:57 Step 12/25 : RUN $MAKE 02:00:57 ---> Running in 8825759ffc3b 02:00:58 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.9 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.10" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 02:01:54 Cannot contact prd-ubuntu20.04-docker-arm64-4c-16g-5410: java.lang.InterruptedException 02:02:51 Removing intermediate container 8825759ffc3b 02:02:51 ---> 5a5b194538ca 02:02:51 Step 13/25 : FROM alpine:3.18 02:02:51 3.18: Pulling from library/alpine 02:02:51 c6b39de5b339: Pulling fs layer 02:02:51 c6b39de5b339: Verifying Checksum 02:02:51 c6b39de5b339: Pull complete 02:02:51 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 02:02:51 Status: Downloaded newer image for alpine:3.18 02:02:51 ---> 33abbf032149 02:02:51 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2021: IoTech Ltd' 02:02:51 ---> Running in 85d6e56c3531 02:02:51 Removing intermediate container 85d6e56c3531 02:02:51 ---> 989a882a5d45 02:02:51 Step 15/25 : RUN apk add --update --no-cache dumb-init 02:02:51 ---> Running in 2cecb10036f4 02:02:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:02:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:02:51 (1/1) Installing dumb-init (1.2.5-r2) 02:02:51 Executing busybox-1.36.1-r5.trigger 02:02:51 OK: 8 MiB in 16 packages 02:02:51 Removing intermediate container 2cecb10036f4 02:02:51 ---> aa05f0990e4e 02:02:51 Step 16/25 : RUN apk --no-cache upgrade 02:02:51 ---> Running in bc5ec547d72a 02:02:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:02:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:02:54 OK: 8 MiB in 16 packages 02:02:55 Removing intermediate container bc5ec547d72a 02:02:55 ---> b38506d28944 02:02:55 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 02:02:56 ---> 559320dd8ba4 02:02:56 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 02:02:56 ---> 36eafc0b3ea8 02:02:56 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 02:02:57 ---> 903644bd758f 02:02:57 Step 20/25 : EXPOSE 59982 02:02:57 ---> Running in fa79cf4426f3 02:02:57 Removing intermediate container fa79cf4426f3 02:02:57 ---> 90a796811232 02:02:57 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 02:02:57 ---> Running in bf7e8a4f318b 02:02:58 Removing intermediate container bf7e8a4f318b 02:02:58 ---> a0d8cebccf4b 02:02:58 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 02:02:58 ---> Running in 5fa02e57b773 02:02:58 Removing intermediate container 5fa02e57b773 02:02:58 ---> 0fa1ac5c6db7 02:02:58 Step 23/25 : LABEL arch=arm64 02:02:58 ---> Running in 9c774a3ab904 02:02:58 Removing intermediate container 9c774a3ab904 02:02:58 ---> ef20430c7bab 02:02:58 Step 24/25 : LABEL git_sha=cece63dbd868ba4ffecf5f739a16bcebc59408bd 02:02:59 ---> Running in 991ee221c2c4 02:02:59 Removing intermediate container 991ee221c2c4 02:02:59 ---> 4dcba352a262 02:02:59 Step 25/25 : LABEL version=3.2.0-dev.9 02:02:59 ---> Running in dc3f9d060274 02:02:59 Removing intermediate container dc3f9d060274 02:02:59 ---> 7cd706933fb9 02:02:59 [Warning] One or more build-args [ARCH] were not consumed 02:02:59 Successfully built 7cd706933fb9 02:02:59 Successfully tagged device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:03:00 provisioning config files... 02:03:00 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/162@tmp/config13191882168195345674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:03:00 ---> ****-login.sh 02:03:00 nexus3.edgexfoundry.org:10001 02:03:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:00 Configure a credential helper to remove this warning. See 02:03:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:00 02:03:00 Login Succeeded 02:03:00 nexus3.edgexfoundry.org:10002 02:03:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:00 Configure a credential helper to remove this warning. See 02:03:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:00 02:03:00 Login Succeeded 02:03:00 nexus3.edgexfoundry.org:10003 02:03:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:01 Configure a credential helper to remove this warning. See 02:03:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:01 02:03:01 Login Succeeded 02:03:01 nexus3.edgexfoundry.org:10004 02:03:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:01 Configure a credential helper to remove this warning. See 02:03:01 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:01 02:03:01 Login Succeeded 02:03:01 ****.io 02:03:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:03:02 Configure a credential helper to remove this warning. See 02:03:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:03:02 02:03:02 Login Succeeded 02:03:02 ---> ****-login.sh ends [Pipeline] } 02:03:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:03:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:03:02 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 02:03:02 cece63dbd868ba4ffecf5f739a16bcebc59408bd 02:03:02 latest 02:03:02 3.2.0-dev.9 02:03:02 cece63dbd868ba4ffecf5f739a16bcebc59408bd-3.2.0-dev.9 02:03:02 main 02:03:02 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:03 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cece63dbd868ba4ffecf5f739a16bcebc59408bd [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:03 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cece63dbd868ba4ffecf5f739a16bcebc59408bd 02:03:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:03:03 efae352873aa: Preparing 02:03:03 b16aa388eff4: Preparing 02:03:03 1073c332198e: Preparing 02:03:03 687aee5fe645: Preparing 02:03:03 f238b38dcd2c: Preparing 02:03:03 7c504f21be85: Preparing 02:03:03 b16aa388eff4: Pushed 02:03:03 efae352873aa: Pushed 02:03:03 7c504f21be85: Layer already exists 02:03:03 687aee5fe645: Pushed 02:03:03 f238b38dcd2c: Pushed 02:03:10 1073c332198e: Pushed 02:03:10 cece63dbd868ba4ffecf5f739a16bcebc59408bd: digest: sha256:8cb213ed6754a62f48c032eee64458222e6483d7328250e7a1ee923716d54e53 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:10 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:11 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:03:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:03:11 efae352873aa: Preparing 02:03:11 b16aa388eff4: Preparing 02:03:11 1073c332198e: Preparing 02:03:11 687aee5fe645: Preparing 02:03:11 f238b38dcd2c: Preparing 02:03:11 7c504f21be85: Preparing 02:03:11 7c504f21be85: Waiting 02:03:11 efae352873aa: Layer already exists 02:03:11 1073c332198e: Layer already exists 02:03:11 f238b38dcd2c: Layer already exists 02:03:11 b16aa388eff4: Layer already exists 02:03:11 687aee5fe645: Layer already exists 02:03:11 7c504f21be85: Layer already exists 02:03:11 latest: digest: sha256:8cb213ed6754a62f48c032eee64458222e6483d7328250e7a1ee923716d54e53 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:12 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:12 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.9 02:03:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:03:12 efae352873aa: Preparing 02:03:12 b16aa388eff4: Preparing 02:03:12 1073c332198e: Preparing 02:03:12 687aee5fe645: Preparing 02:03:12 f238b38dcd2c: Preparing 02:03:12 7c504f21be85: Preparing 02:03:12 7c504f21be85: Waiting 02:03:12 1073c332198e: Layer already exists 02:03:12 687aee5fe645: Layer already exists 02:03:12 f238b38dcd2c: Layer already exists 02:03:12 b16aa388eff4: Layer already exists 02:03:12 efae352873aa: Layer already exists 02:03:12 7c504f21be85: Layer already exists 02:03:12 3.2.0-dev.9: digest: sha256:8cb213ed6754a62f48c032eee64458222e6483d7328250e7a1ee923716d54e53 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:13 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cece63dbd868ba4ffecf5f739a16bcebc59408bd-3.2.0-dev.9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:14 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cece63dbd868ba4ffecf5f739a16bcebc59408bd-3.2.0-dev.9 02:03:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:03:14 efae352873aa: Preparing 02:03:14 b16aa388eff4: Preparing 02:03:14 1073c332198e: Preparing 02:03:14 687aee5fe645: Preparing 02:03:14 f238b38dcd2c: Preparing 02:03:14 7c504f21be85: Preparing 02:03:14 7c504f21be85: Waiting 02:03:14 b16aa388eff4: Layer already exists 02:03:14 1073c332198e: Layer already exists 02:03:14 efae352873aa: Layer already exists 02:03:14 687aee5fe645: Layer already exists 02:03:14 f238b38dcd2c: Layer already exists 02:03:14 7c504f21be85: Layer already exists 02:03:14 cece63dbd868ba4ffecf5f739a16bcebc59408bd-3.2.0-dev.9: digest: sha256:8cb213ed6754a62f48c032eee64458222e6483d7328250e7a1ee923716d54e53 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:14 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:15 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 02:03:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 02:03:15 efae352873aa: Preparing 02:03:15 b16aa388eff4: Preparing 02:03:15 1073c332198e: Preparing 02:03:15 687aee5fe645: Preparing 02:03:15 f238b38dcd2c: Preparing 02:03:15 7c504f21be85: Preparing 02:03:15 7c504f21be85: Waiting 02:03:15 f238b38dcd2c: Layer already exists 02:03:15 efae352873aa: Layer already exists 02:03:15 687aee5fe645: Layer already exists 02:03:15 b16aa388eff4: Layer already exists 02:03:15 1073c332198e: Layer already exists 02:03:15 7c504f21be85: Layer already exists 02:03:15 main: digest: sha256:8cb213ed6754a62f48c032eee64458222e6483d7328250e7a1ee923716d54e53 size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 02:03:15 ===================================================== [Pipeline] echo 02:03:15 taggedImages: 02:03:15 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cece63dbd868ba4ffecf5f739a16bcebc59408bd 02:03:15 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 02:03:15 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.9 02:03:15 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:cece63dbd868ba4ffecf5f739a16bcebc59408bd-3.2.0-dev.9 02:03:15 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:03:16 02:03:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:03:17 arm64: Pulling from edgex-lftools-log-publisher 02:03:17 8998bd30e6a1: Pulling fs layer 02:03:17 04944245beec: Pulling fs layer 02:03:17 699f458cf7ca: Pulling fs layer 02:03:17 765212b225bb: Pulling fs layer 02:03:17 f23df028b6ca: Pulling fs layer 02:03:17 d65c8cfc05b1: Pulling fs layer 02:03:17 2437ff75d9bd: Pulling fs layer 02:03:17 765212b225bb: Waiting 02:03:17 f23df028b6ca: Waiting 02:03:17 d65c8cfc05b1: Waiting 02:03:17 2437ff75d9bd: Waiting 02:03:17 04944245beec: Verifying Checksum 02:03:17 04944245beec: Download complete 02:03:17 765212b225bb: Verifying Checksum 02:03:17 765212b225bb: Download complete 02:03:17 f23df028b6ca: Verifying Checksum 02:03:17 f23df028b6ca: Download complete 02:03:17 d65c8cfc05b1: Verifying Checksum 02:03:17 d65c8cfc05b1: Download complete 02:03:17 699f458cf7ca: Verifying Checksum 02:03:17 699f458cf7ca: Download complete 02:03:17 8998bd30e6a1: Verifying Checksum 02:03:17 8998bd30e6a1: Download complete 02:03:20 2437ff75d9bd: Verifying Checksum 02:03:20 2437ff75d9bd: Download complete 02:03:22 8998bd30e6a1: Pull complete 02:03:22 04944245beec: Pull complete 02:03:24 699f458cf7ca: Pull complete 02:03:24 765212b225bb: Pull complete 02:03:25 f23df028b6ca: Pull complete 02:03:25 d65c8cfc05b1: Pull complete 02:03:43 2437ff75d9bd: Pull complete 02:03:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:03:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:03:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:44 prd-ubuntu20.04-docker-arm64-4c-16g-5410 does not seem to be running inside a container 02:03:44 $ 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/162 -v /w/workspace/device-mqtt-go/162:/w/workspace/device-mqtt-go/162:rw,z -v /w/workspace/device-mqtt-go/162@tmp:/w/workspace/device-mqtt-go/162@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:03:46 $ docker top 2a7c7560d9f809d92055ad25a5fda99a377206e92c0bc4527845c37e953c28b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:03:47 ---> job-cost.sh 02:03:47 lf-activate-venv: SKIPPING 02:03:47 INFO: No Stack... 02:03:48 INFO: Retrieving Pricing Info for: v3-standard-4 02:03:49 INFO: Archiving Costs [Pipeline] sh 02:03:49 + + catcut /w/workspace/device-mqtt-go/162/archives/cost.csv -d, 02:03:49 -f6 [Pipeline] lock 02:03:49 Trying to acquire lock on [jenkins-edgexfoundry-device-mqtt-go-main-162-stack-cost] 02:03:49 Resource [jenkins-edgexfoundry-device-mqtt-go-main-162-stack-cost] did not exist. Created. 02:03:49 Lock acquired on [jenkins-edgexfoundry-device-mqtt-go-main-162-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:03:50 /w/workspace/device-mqtt-go/162@tmp/durable-2744c77d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:03:50 + echo total: 0.10999999940395355 [Pipeline] stash 02:03:51 Warning: overwriting stash ‘stack-cost’ 02:03:51 Stashed 1 file(s) [Pipeline] } 02:03:51 Lock released on resource [jenkins-edgexfoundry-device-mqtt-go-main-162-stack-cost] [Pipeline] // lock [Pipeline] } 02:03:51 $ docker stop --time=1 2a7c7560d9f809d92055ad25a5fda99a377206e92c0bc4527845c37e953c28b0 02:03:52 $ docker rm -f --volumes 2a7c7560d9f809d92055ad25a5fda99a377206e92c0bc4527845c37e953c28b0 [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:03:54 provisioning config files... 02:03:54 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config8125836325598734550tmp [Pipeline] { [Pipeline] sh 02:03:56 + set +x 02:03:56 + curl -s https://codecov.io/bash 02:03:56 + bash -s -- 02:03:56 02:03:56 _____ _ 02:03:56 / ____| | | 02:03:56 | | ___ __| | ___ ___ _____ __ 02:03:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:03:56 | |___| (_) | (_| | __/ (_| (_) \ V / 02:03:56 \_____\___/ \__,_|\___|\___\___/ \_/ 02:03:56 Bash-1.0.6 02:03:56 02:03:56 02:03:56 ==> git version 2.25.1 found 02:03:56 ==> 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:03:56 Release-Date: 2020-01-08 02:03:56 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:03:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:03:56 ==> Jenkins CI detected. 02:03:56 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 02:03:56 project root: . 02:03:56 --> token set from env 02:03:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:03:57 ==> Running gcov in . (disable via -X gcov) 02:03:57 ==> Python coveragepy not found 02:03:57 ==> Searching for coverage reports in: 02:03:57 + . 02:03:57 -> Found 1 reports 02:03:57 ==> Detecting git/mercurial file structure 02:03:57 ==> Reading reports 02:03:57 + ./coverage.out bytes=18506 02:03:57 ==> Appending adjustments 02:03:57 https://docs.codecov.io/docs/fixing-reports 02:03:57 + Found adjustments 02:03:57 ==> Gzipping contents 02:03:57 4.0K /tmp/codecov.oeXIdV.gz 02:03:57 ==> Uploading reports 02:03:57 url: https://codecov.io 02:03:57 query: branch=main&commit=cece63dbd868ba4ffecf5f739a16bcebc59408bd&build=162&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F162%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:03:57 -> Pinging Codecov 02:03:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=cece63dbd868ba4ffecf5f739a16bcebc59408bd&build=162&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F162%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:03:57 -> Uploading to 02:03:57 https://storage.googleapis.com/codecov/v4/raw/2024-03-11/7D719EC7BBE17E464838252E33014C33/cece63dbd868ba4ffecf5f739a16bcebc59408bd/b81d3401-9908-4b60-b284-99aba53afdd2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240311%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240311T020357Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f65ccc6fbc890e6e88bd62850e1ef89a89687680b7192f4ce0e57318169acf2b 02:03:57 % Total % Received % Xferd Average Speed Time Time Time Current 02:03:57 Dload Upload Total Spent Left Speed 02:03:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3049 0 0 100 3049 0 11209 --:--:-- --:--:-- --:--:-- 11209 02:03:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/cece63dbd868ba4ffecf5f739a16bcebc59408bd [Pipeline] } 02:03:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:03:57 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:03:58 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:04:31 02:04:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:04:31 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:04:31 df9b9388f04a: Pulling fs layer 02:04:31 52dc419b0ee2: Pulling fs layer 02:04:31 25bc292e5bac: Pulling fs layer 02:04:31 114826534d7a: Pulling fs layer 02:04:31 4657fd5d0bcf: Pulling fs layer 02:04:31 6ad1cebc031e: Pulling fs layer 02:04:31 8a3aa393b2d8: Pulling fs layer 02:04:31 6ad1cebc031e: Waiting 02:04:31 4657fd5d0bcf: Waiting 02:04:31 25bc292e5bac: Verifying Checksum 02:04:31 25bc292e5bac: Download complete 02:04:32 52dc419b0ee2: Download complete 02:04:32 4657fd5d0bcf: Download complete 02:04:32 df9b9388f04a: Verifying Checksum 02:04:32 df9b9388f04a: Download complete 02:04:32 6ad1cebc031e: Verifying Checksum 02:04:32 6ad1cebc031e: Download complete 02:04:32 df9b9388f04a: Pull complete 02:04:32 52dc419b0ee2: Pull complete 02:04:32 25bc292e5bac: Pull complete 02:04:32 114826534d7a: Verifying Checksum 02:04:32 114826534d7a: Download complete 02:04:32 8a3aa393b2d8: Verifying Checksum 02:04:32 8a3aa393b2d8: Download complete 02:04:36 114826534d7a: Pull complete 02:04:36 4657fd5d0bcf: Pull complete 02:04:36 6ad1cebc031e: Pull complete 02:04:38 8a3aa393b2d8: Pull complete 02:04:38 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:04:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:04:38 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:39 prd-ubuntu20.04-docker-8c-8g-5407 does not seem to be running inside a container 02:04:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:04:43 $ docker top 0279c375b753ee6fb40aa78eeeed0929c892718cb8003108bbc58fa9c8e10a3e -eo pid,comm [Pipeline] { [Pipeline] echo 02:04:43 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 02:04:44 + set -o pipefail 02:04:44 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 02:04:50 02:04:50 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 02:04:50 02:04:50 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/38fccec6-2f8b-4396-aa47-65a7ae25b6ec/history/d9de6769-8583-4a04-a9ad-9c9f2ecbb9eb 02:04:50 02:04:50 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:04:50 02:04:50 02:04:50 A medium severity vulnerability was found in the Snyk CLI versions you are using. 02:04:50 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 02:04:50 More details here: https://snyk.co/ue1NS [Pipeline] } 02:04:50 $ docker stop --time=1 0279c375b753ee6fb40aa78eeeed0929c892718cb8003108bbc58fa9c8e10a3e 02:04:54 $ docker rm -f --volumes 0279c375b753ee6fb40aa78eeeed0929c892718cb8003108bbc58fa9c8e10a3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:04:55 + git log --format=format:%s -1 cece63dbd868ba4ffecf5f739a16bcebc59408bd [Pipeline] sh 02:04:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:04:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:04:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:56 prd-ubuntu20.04-docker-8c-8g-5407 does not seem to be running inside a container 02:04:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:04:57 $ docker top 671189f26b0c702947f1f3f8bc50ad42e4610f8472a9f56593e24a2d48f40e2d -eo pid,comm 02:04:57 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:04:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:04:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:04:57 [ssh-agent] Looking for ssh-agent implementation... 02:04:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:04:57 $ docker exec 671189f26b0c702947f1f3f8bc50ad42e4610f8472a9f56593e24a2d48f40e2d ssh-agent 02:04:57 SSH_AUTH_SOCK=/tmp/ssh-Lvd5AHcFuik2/agent.32 02:04:57 SSH_AGENT_PID=38 02:04:57 Running ssh-add (command line suppressed) 02:04:57 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11567450601900825771.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11567450601900825771.key) 02:04:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:04:58 + git semver tag 02:04:58 2024-03-11 02:04:58,393 [run_tag] DEBUG tag force:False 02:04:58 2024-03-11 02:04:58,393 [check_head_tag] DEBUG check head tag 02:04:58 2024-03-11 02:04:58,394 [execute] INFO git cat-file --batch-check 02:04:58 2024-03-11 02:04:58,395 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:04:58 2024-03-11 02:04:58,398 [execute] INFO git cat-file --batch 02:04:58 2024-03-11 02:04:58,398 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 02:04:58 2024-03-11 02:04:58,414 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:04:58 2024-03-11 02:04:58,414 [execute] INFO git tag -a v3.2.0-dev.9 -m v3.2.0-dev.9 02:04:58 2024-03-11 02:04:58,415 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.9', '-m', 'v3.2.0-dev.9'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:04:58 2024-03-11 02:04:58,419 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:04:58 3.2.0-dev.9 [Pipeline] } 02:04:58 $ docker exec --env ******** --env ******** 671189f26b0c702947f1f3f8bc50ad42e4610f8472a9f56593e24a2d48f40e2d ssh-agent -k 02:04:58 unset SSH_AUTH_SOCK; 02:04:58 unset SSH_AGENT_PID; 02:04:58 echo Agent pid 38 killed; 02:04:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:04:59 + git semver [Pipeline] } 02:04:59 $ docker stop --time=1 671189f26b0c702947f1f3f8bc50ad42e4610f8472a9f56593e24a2d48f40e2d 02:05:00 $ docker rm -f --volumes 671189f26b0c702947f1f3f8bc50ad42e4610f8472a9f56593e24a2d48f40e2d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:05:01 02:05:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:05:01 0.23.1-centos7: Pulling from edgex-lftools 02:05:01 ab5ef0e58194: Pulling fs layer 02:05:01 9712f1f96733: Pulling fs layer 02:05:01 63f879dbbcfc: Pulling fs layer 02:05:01 0d9ebad4ef96: Pulling fs layer 02:05:01 e9a5061849ea: Pulling fs layer 02:05:01 0d9ebad4ef96: Waiting 02:05:01 d747dcd14b5f: Pulling fs layer 02:05:01 2de7ff778b66: Pulling fs layer 02:05:01 e9a5061849ea: Waiting 02:05:01 d747dcd14b5f: Waiting 02:05:01 2de7ff778b66: Waiting 02:05:01 9712f1f96733: Download complete 02:05:02 63f879dbbcfc: Verifying Checksum 02:05:02 63f879dbbcfc: Download complete 02:05:02 0d9ebad4ef96: Verifying Checksum 02:05:02 0d9ebad4ef96: Download complete 02:05:02 d747dcd14b5f: Download complete 02:05:02 ab5ef0e58194: Verifying Checksum 02:05:02 ab5ef0e58194: Download complete 02:05:02 e9a5061849ea: Verifying Checksum 02:05:02 e9a5061849ea: Download complete 02:05:02 2de7ff778b66: Verifying Checksum 02:05:02 2de7ff778b66: Download complete 02:05:05 ab5ef0e58194: Pull complete 02:05:05 9712f1f96733: Pull complete 02:05:05 63f879dbbcfc: Pull complete 02:05:10 0d9ebad4ef96: Pull complete 02:05:10 e9a5061849ea: Pull complete 02:05:10 d747dcd14b5f: Pull complete 02:05:10 2de7ff778b66: Pull complete 02:05:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:05:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:05:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:11 prd-ubuntu20.04-docker-8c-8g-5407 does not seem to be running inside a container 02:05:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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-lftools:0.23.1-centos7 cat 02:05:17 $ docker top 2c34cd0dd7d8012cc9e860cc8327b5aa40b0ea18d52a936e67ab5de86f977e98 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:05:17 provisioning config files... 02:05:17 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9833855139662035952tmp 02:05:17 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10605850584510583695tmp 02:05:17 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15955960247962029850tmp [Pipeline] { [Pipeline] echo 02:05:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:05:17 ---> sigul-configuration.sh 02:05:17 gpg: directory `/root/.gnupg' created 02:05:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:05:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:05:17 gpg: keyring `/root/.gnupg/secring.gpg' created 02:05:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:05:17 gpg: CAST5 encrypted data 02:05:17 gpg: encrypted with 1 passphrase 02:05:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:05:18 + mkdir /home/jenkins 02:05:18 + mkdir /home/jenkins/sigul [Pipeline] sh 02:05:18 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 02:05:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:05:18 ---> sigul-install.sh 02:05:18 Sigul already installed; skipping installation. [Pipeline] sh 02:05:19 + git tag --list 02:05:19 0.7.1 02:05:19 v1.0.0 02:05:19 v1.1.0 02:05:19 v1.1.1 02:05:19 v1.2.2 02:05:19 v1.3.0 02:05:19 v1.3.1 02:05:19 v2.0.0 02:05:19 v2.1.0 02:05:19 v2.1.1 02:05:19 v2.2.0 02:05:19 v2.3.0 02:05:19 v3.0 02:05:19 v3.0.0 02:05:19 v3.1 02:05:19 v3.1.0 02:05:19 v3.1.0-dev.1 02:05:19 v3.1.0-dev.10 02:05:19 v3.1.0-dev.11 02:05:19 v3.1.0-dev.12 02:05:19 v3.1.0-dev.13 02:05:19 v3.1.0-dev.14 02:05:19 v3.1.0-dev.15 02:05:19 v3.1.0-dev.16 02:05:19 v3.1.0-dev.17 02:05:19 v3.1.0-dev.18 02:05:19 v3.1.0-dev.19 02:05:19 v3.1.0-dev.2 02:05:19 v3.1.0-dev.20 02:05:19 v3.1.0-dev.21 02:05:19 v3.1.0-dev.22 02:05:19 v3.1.0-dev.23 02:05:19 v3.1.0-dev.24 02:05:19 v3.1.0-dev.25 02:05:19 v3.1.0-dev.3 02:05:19 v3.1.0-dev.4 02:05:19 v3.1.0-dev.5 02:05:19 v3.1.0-dev.6 02:05:19 v3.1.0-dev.7 02:05:19 v3.1.0-dev.8 02:05:19 v3.1.0-dev.9 02:05:19 v3.2.0-dev.1 02:05:19 v3.2.0-dev.2 02:05:19 v3.2.0-dev.3 02:05:19 v3.2.0-dev.4 02:05:19 v3.2.0-dev.5 02:05:19 v3.2.0-dev.6 02:05:19 v3.2.0-dev.7 02:05:19 v3.2.0-dev.8 02:05:19 v3.2.0-dev.9 [Pipeline] sh 02:05:19 + lftools sign git-tag v3.2.0-dev.9 02:05:20 Signing Git tag with Sigul... 02:05:20 Signing v3.2.0-dev.9 [Pipeline] echo 02:05:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:05:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:05:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:05:20 $ docker stop --time=1 2c34cd0dd7d8012cc9e860cc8327b5aa40b0ea18d52a936e67ab5de86f977e98 02:05:21 $ docker rm -f --volumes 2c34cd0dd7d8012cc9e860cc8327b5aa40b0ea18d52a936e67ab5de86f977e98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:05:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:05:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:05:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:23 prd-ubuntu20.04-docker-8c-8g-5407 does not seem to be running inside a container 02:05:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:05:23 $ docker top 26f0e2d4c970bcf628752b69645d992077fa1b03fb6599945746d0f7719bcb19 -eo pid,comm 02:05:23 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:05:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:05:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:05:24 [ssh-agent] Looking for ssh-agent implementation... 02:05:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:05:24 $ docker exec 26f0e2d4c970bcf628752b69645d992077fa1b03fb6599945746d0f7719bcb19 ssh-agent 02:05:24 SSH_AUTH_SOCK=/tmp/ssh-44SSc1UqjUIg/agent.32 02:05:24 SSH_AGENT_PID=38 02:05:24 Running ssh-add (command line suppressed) 02:05:24 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6749324987527611925.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_6749324987527611925.key) 02:05:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:05:24 + git semver bump pre 02:05:25 2024-03-11 02:05:25,018 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:05:25 2024-03-11 02:05:25,018 [bump_version] DEBUG bumping version:3.2.0-dev.9 on axis:pre with prefix:dev 02:05:25 2024-03-11 02:05:25,018 [bump_version] DEBUG bumped version:3.2.0-dev.10 02:05:25 2024-03-11 02:05:25,018 [write_version] DEBUG write version:3.2.0-dev.10 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 02:05:25 2024-03-11 02:05:25,018 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:05:25 2024-03-11 02:05:25,018 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:05:25 2024-03-11 02:05:25,020 [execute] INFO git cat-file --batch-check 02:05:25 2024-03-11 02:05:25,020 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:05:25 2024-03-11 02:05:25,026 [execute] INFO git cat-file --batch 02:05:25 2024-03-11 02:05:25,026 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:05:25 2024-03-11 02:05:25,032 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:05:25 3.2.0-dev.10 [Pipeline] } 02:05:25 $ docker exec --env ******** --env ******** 26f0e2d4c970bcf628752b69645d992077fa1b03fb6599945746d0f7719bcb19 ssh-agent -k 02:05:25 unset SSH_AUTH_SOCK; 02:05:25 unset SSH_AGENT_PID; 02:05:25 echo Agent pid 38 killed; 02:05:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:05:25 + git semver [Pipeline] } 02:05:26 $ docker stop --time=1 26f0e2d4c970bcf628752b69645d992077fa1b03fb6599945746d0f7719bcb19 02:05:27 $ docker rm -f --volumes 26f0e2d4c970bcf628752b69645d992077fa1b03fb6599945746d0f7719bcb19 [Pipeline] // withDockerContainer [Pipeline] sh 02:05:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:05:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:05:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:28 prd-ubuntu20.04-docker-8c-8g-5407 does not seem to be running inside a container 02:05:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:05:28 $ docker top e997e05d6a0eec865f5ce6814360656370a10ce15ccca3b8bc8acec784384423 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:05:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:05:28 [ssh-agent] Looking for ssh-agent implementation... 02:05:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:05:29 $ docker exec e997e05d6a0eec865f5ce6814360656370a10ce15ccca3b8bc8acec784384423 ssh-agent 02:05:29 SSH_AUTH_SOCK=/tmp/ssh-MbW8M80WmHoR/agent.32 02:05:29 SSH_AGENT_PID=39 02:05:29 Running ssh-add (command line suppressed) 02:05:29 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14432024900720594112.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_14432024900720594112.key) 02:05:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:05:29 + git semver push 02:05:29 2024-03-11 02:05:29,827 [run_push] DEBUG push 02:05:29 2024-03-11 02:05:29,828 [execute] INFO git cat-file --batch-check 02:05:29 2024-03-11 02:05:29,828 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:05:29 2024-03-11 02:05:29,833 [execute] INFO git rev-list 735bf81d3784ddadb63b938512e54085509dfb3f -- 02:05:29 2024-03-11 02:05:29,833 [execute] DEBUG Popen(['git', 'rev-list', '735bf81d3784ddadb63b938512e54085509dfb3f', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:05:29 2024-03-11 02:05:29,844 [execute] INFO git fetch -v origin 02:05:29 2024-03-11 02:05:29,844 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:05:30 2024-03-11 02:05:30,325 [run_push] DEBUG no remote changes detected 02:05:30 2024-03-11 02:05:30,326 [execute] INFO git push origin semver 02:05:30 2024-03-11 02:05:30,326 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:05:31 2024-03-11 02:05:31,122 [run_push] DEBUG push all version tags 02:05:31 2024-03-11 02:05:31,123 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:05:31 2024-03-11 02:05:31,124 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 02:05:31 2024-03-11 02:05:31,797 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 02:05:31 3.2.0-dev.10 [Pipeline] } 02:05:31 $ docker exec --env ******** --env ******** e997e05d6a0eec865f5ce6814360656370a10ce15ccca3b8bc8acec784384423 ssh-agent -k 02:05:32 unset SSH_AUTH_SOCK; 02:05:32 unset SSH_AGENT_PID; 02:05:32 echo Agent pid 39 killed; 02:05:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:05:32 + git semver [Pipeline] } 02:05:32 $ docker stop --time=1 e997e05d6a0eec865f5ce6814360656370a10ce15ccca3b8bc8acec784384423 02:05:34 $ docker rm -f --volumes e997e05d6a0eec865f5ce6814360656370a10ce15ccca3b8bc8acec784384423 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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:05:35 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 02:05:35 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:05:35 total 16 02:05:35 drwxr-xr-x 3 root root 4096 Mar 11 01:54 . 02:05:35 drwxrwxr-x 10 jenkins jenkins 4096 Mar 11 02:05 .. 02:05:35 drwxr-xr-x 2 root root 4096 Mar 11 01:54 cost 02:05:35 -rw-r--r-- 1 root root 86 Mar 11 01:54 cost.csv 02:05:35 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:05:35 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 02:05:35 total 16 02:05:35 drwxr-xr-x 3 jenkins jenkins 4096 Mar 11 01:54 . 02:05:35 drwxrwxr-x 10 jenkins jenkins 4096 Mar 11 02:05 .. 02:05:35 drwxr-xr-x 2 jenkins jenkins 4096 Mar 11 01:54 cost 02:05:35 -rw-r--r-- 1 jenkins jenkins 86 Mar 11 01:54 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:05:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:05:36 ---> package-listing.sh 02:05:36 ++ facter osfamily 02:05:36 ++ tr '[:upper:]' '[:lower:]' 02:05:37 + OS_FAMILY=debian 02:05:37 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 02:05:37 + START_PACKAGES=/tmp/packages_start.txt 02:05:37 + END_PACKAGES=/tmp/packages_end.txt 02:05:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:05:37 + PACKAGES=/tmp/packages_start.txt 02:05:37 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:05:37 + PACKAGES=/tmp/packages_end.txt 02:05:37 + case "${OS_FAMILY}" in 02:05:37 + dpkg -l 02:05:37 + grep '^ii' 02:05:37 + '[' -f /tmp/packages_start.txt ']' 02:05:37 + '[' -f /tmp/packages_end.txt ']' 02:05:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:05:37 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 02:05:37 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 02:05:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 02:05:37 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/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:05:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:05:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:38 prd-ubuntu20.04-docker-8c-8g-5407 does not seem to be running inside a container 02:05:38 $ 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/edgexfoundry_device-mqtt-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-mqtt-go_main -v /w/workspace/edgexfoundry_device-mqtt-go_main:/w/workspace/edgexfoundry_device-mqtt-go_main:rw,z -v /w/workspace/edgexfoundry_device-mqtt-go_main@tmp:/w/workspace/edgexfoundry_device-mqtt-go_main@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-lftools-log-publisher:latest cat 02:05:38 $ docker top d1fdb7b8416886de01bbb074f664d540376ac586d28f039b80dc649570b720b8 -eo pid,comm [Pipeline] { [Pipeline] sh 02:05:39 + touch /tmp/pre-build-complete [Pipeline] sh 02:05:39 + mkdir -p /var/log/sysstat [Pipeline] sh 02:05:39 + ls /var/log/sa-host 02:05:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:05:39 provisioning config files... 02:05:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config15111811987846673196tmp [Pipeline] { [Pipeline] echo 02:05:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:05:40 ---> create-netrc.sh [Pipeline] } 02:05:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:05:40 ---> python-tools-install.sh [Pipeline] echo 02:05:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:05:40 ---> sudo-logs.sh 02:05:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:05:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:05:41 ---> job-cost.sh 02:05:41 lf-activate-venv: SKIPPING 02:05:41 DEBUG: total: 0.2199999988079071 02:05:41 INFO: Retrieving Stack Cost... 02:05:41 INFO: Retrieving Pricing Info for: v3-standard-8 02:05:42 INFO: Archiving Costs [Pipeline] echo 02:05:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:05:42 ---> logs-deploy.sh 02:05:42 lf-activate-venv: SKIPPING 02:05:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/162 02:05:42 INFO: archiving workspace using pattern(s): 02:05:43 Archives upload complete. 02:05:43 INFO: archiving logs to Nexus