Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed 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-ssh16626084976619726213.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh628263291549255697.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh4667763274082883798.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh539752509947316041.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-ssh8306705998208297222.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.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-mqtt DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-21896’ Running on prd-ubuntu20.04-docker-8c-8g-21901 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 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed (main) Commit message: "Merge pull request #697 from jinlinGuan/golang-1.23" > 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 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed # timeout=10 > git rev-list --no-walk a7ea162f49cc88b1fd5543c209327df7c238676c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:04:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:04:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:04:41 ========================================================= 14:04:41 EdgeX Global Pipelines Version Info 14:04:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:04:42 ------------------- 14:04:42 stable info: 14:04:42 ------------------- 14:04:42 Commited By: Ginny Guan ginny@iotechsys.com 14:04:42 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 14:04:42 Message: update stable to v1.0.265 14:04:42 ------------------- 14:04:42 experimental info: 14:04:42 ------------------- 14:04:42 Commited By: Cherry Wang cherry@iotechsys.com 14:04:42 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 14:04:42 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:04:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-mqtt-go-settings [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-mqtt-go [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-mqtt [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 70ea9a5 [Pipeline] echo 14:04:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:04:43 provisioning config files... 14:04:43 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config10426595994623217167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:04:44 ---> ****-login.sh 14:04:44 nexus3.edgexfoundry.org:10001 14:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:04:44 Configure a credential helper to remove this warning. See 14:04:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:04:44 14:04:44 Login Succeeded 14:04:44 nexus3.edgexfoundry.org:10002 14:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:04:44 Configure a credential helper to remove this warning. See 14:04:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:04:44 14:04:44 Login Succeeded 14:04:44 nexus3.edgexfoundry.org:10003 14:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:04:44 Configure a credential helper to remove this warning. See 14:04:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:04:44 14:04:44 Login Succeeded 14:04:44 nexus3.edgexfoundry.org:10004 14:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:04:44 Configure a credential helper to remove this warning. See 14:04:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:04:44 14:04:44 Login Succeeded 14:04:44 ****.io 14:04:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:04:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:04:45 Configure a credential helper to remove this warning. See 14:04:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:04:45 14:04:45 Login Succeeded 14:04:45 ---> ****-login.sh ends [Pipeline] } 14:04:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:04:45 + git rev-list -1 --merges 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed~1..70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed [Pipeline] echo 14:04:45 -----------> git rev-list -1 --merges 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed~1..70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed 14:04:45 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed [false] [Pipeline] sh 14:04:45 + git log --format=format:%s -1 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed [Pipeline] echo 14:04:45 ========================================================= 14:04:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:04:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:04:46 + git log --format=format:%s -1 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed [Pipeline] echo 14:04:46 [semverPrep] GIT_COMMIT: 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed, Commit Message: Merge pull request #697 from jinlinGuan/golang-1.23 [Pipeline] echo 14:04:46 [semverPrep] This is not a build commit. [Pipeline] sh 14:04:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:04:46 + grep -v github /etc/ssh/ssh_known_hosts 14:04:46 + [ -e /tmp/ssh_known_hosts ] 14:04:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:04:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:04:46 + sudo tee -a /etc/ssh/ssh_known_hosts 14:04:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:04:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:04:47 14:04:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:04:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:04:47 0.1.4: Pulling from edgex-devops/py-git-semver 14:04:47 b85a868b505f: Pulling fs layer 14:04:47 e2be974225ed: Pulling fs layer 14:04:47 339a4e72a1f5: Pulling fs layer 14:04:47 988bab9f4d93: Pulling fs layer 14:04:47 1469e6f7b9e6: Pulling fs layer 14:04:47 eaf3925da568: Pulling fs layer 14:04:47 bab4dde63d76: Pulling fs layer 14:04:47 bde34c3a00c8: Pulling fs layer 14:04:47 b352a97aabf1: Pulling fs layer 14:04:47 4872d77fe225: Pulling fs layer 14:04:47 5851b861e8e6: Pulling fs layer 14:04:47 bab4dde63d76: Waiting 14:04:47 eaf3925da568: Waiting 14:04:47 1469e6f7b9e6: Waiting 14:04:47 bde34c3a00c8: Waiting 14:04:47 b352a97aabf1: Waiting 14:04:47 4872d77fe225: Waiting 14:04:47 5851b861e8e6: Waiting 14:04:47 988bab9f4d93: Waiting 14:04:47 e2be974225ed: Verifying Checksum 14:04:47 e2be974225ed: Download complete 14:04:47 988bab9f4d93: Download complete 14:04:47 1469e6f7b9e6: Verifying Checksum 14:04:47 1469e6f7b9e6: Download complete 14:04:47 eaf3925da568: Verifying Checksum 14:04:47 eaf3925da568: Download complete 14:04:47 339a4e72a1f5: Verifying Checksum 14:04:47 339a4e72a1f5: Download complete 14:04:47 bde34c3a00c8: Download complete 14:04:47 b352a97aabf1: Verifying Checksum 14:04:47 b352a97aabf1: Download complete 14:04:47 4872d77fe225: Verifying Checksum 14:04:47 4872d77fe225: Download complete 14:04:47 5851b861e8e6: Download complete 14:04:47 b85a868b505f: Verifying Checksum 14:04:47 b85a868b505f: Download complete 14:04:47 bab4dde63d76: Verifying Checksum 14:04:47 bab4dde63d76: Download complete 14:04:48 b85a868b505f: Pull complete 14:04:49 e2be974225ed: Pull complete 14:04:49 339a4e72a1f5: Pull complete 14:04:49 988bab9f4d93: Pull complete 14:04:49 1469e6f7b9e6: Pull complete 14:04:49 eaf3925da568: Pull complete 14:04:51 bab4dde63d76: Pull complete 14:04:51 bde34c3a00c8: Pull complete 14:04:52 b352a97aabf1: Pull complete 14:04:52 4872d77fe225: Pull complete 14:04:52 5851b861e8e6: Pull complete 14:04:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:04:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:04:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:04:52 prd-ubuntu20.04-docker-8c-8g-21901 does not seem to be running inside a container 14:04:52 $ 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 14:04:55 $ docker top c0be9737a374650939f79917c0f75c8dbee3767104d586e131fa8965b19eb706 -eo pid,comm 14:04:55 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). 14:04:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:04:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:04:55 [ssh-agent] Looking for ssh-agent implementation... 14:04:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:04:56 $ docker exec c0be9737a374650939f79917c0f75c8dbee3767104d586e131fa8965b19eb706 ssh-agent 14:04:56 SSH_AUTH_SOCK=/tmp/ssh-RPxHML69h3YX/agent.32 14:04:56 SSH_AGENT_PID=38 14:04:56 Running ssh-add (command line suppressed) 14:04:56 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1323550500478445713.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_1323550500478445713.key) 14:04:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:04:56 + git tag --points-at HEAD [Pipeline] } 14:04:56 $ docker exec --env ******** --env ******** c0be9737a374650939f79917c0f75c8dbee3767104d586e131fa8965b19eb706 ssh-agent -k 14:04:56 unset SSH_AUTH_SOCK; 14:04:56 unset SSH_AGENT_PID; 14:04:56 echo Agent pid 38 killed; 14:04:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:04:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:04:56 [ssh-agent] Looking for ssh-agent implementation... 14:04:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:04:56 $ docker exec c0be9737a374650939f79917c0f75c8dbee3767104d586e131fa8965b19eb706 ssh-agent 14:04:57 SSH_AUTH_SOCK=/tmp/ssh-etGvFsnv5WVb/agent.71 14:04:57 SSH_AGENT_PID=77 14:04:57 Running ssh-add (command line suppressed) 14:04:57 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12301894268926633692.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_12301894268926633692.key) 14:04:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:04:57 + git semver init 14:04:57 2024-10-05 14:04:57,666 [run_init] DEBUG init version:0.0.0 force:False 14:04:57 2024-10-05 14:04:57,667 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver 14:04:57 2024-10-05 14:04:57,668 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-mqtt-go.git /w/workspace/edgexfoundry_device-mqtt-go_main/.semver 14:04:57 2024-10-05 14:04:57,668 [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) 14:04:59 2024-10-05 14:04:59,433 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.git/info/exclude 14:04:59 2024-10-05 14:04:59,434 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:False 14:04:59 2024-10-05 14:04:59,434 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 14:04:59 2024-10-05 14:04:59,434 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 14:04:59 3.2.0-dev.20 [Pipeline] } 14:04:59 $ docker exec --env ******** --env ******** c0be9737a374650939f79917c0f75c8dbee3767104d586e131fa8965b19eb706 ssh-agent -k 14:04:59 unset SSH_AUTH_SOCK; 14:04:59 unset SSH_AGENT_PID; 14:04:59 echo Agent pid 77 killed; 14:04:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:05:00 + git semver [Pipeline] } 14:05:00 $ docker stop --time=1 c0be9737a374650939f79917c0f75c8dbee3767104d586e131fa8965b19eb706 14:05:01 $ docker rm -f --volumes c0be9737a374650939f79917c0f75c8dbee3767104d586e131fa8965b19eb706 [Pipeline] // withDockerContainer [Pipeline] sh 14:05:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:05:02 Stashed 1 file(s) [Pipeline] echo 14:05:02 [edgeXSemver]: initialized semver on version 3.2.0-dev.20 [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 14:05:02 provisioning config files... 14:05:02 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3037332459851848168tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:05:02 ---> ****-login.sh 14:05:02 nexus3.edgexfoundry.org:10001 14:05:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:05:02 Configure a credential helper to remove this warning. See 14:05:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:05:02 14:05:02 Login Succeeded 14:05:02 nexus3.edgexfoundry.org:10002 14:05:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:05:02 Configure a credential helper to remove this warning. See 14:05:02 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:05:02 14:05:02 Login Succeeded 14:05:02 nexus3.edgexfoundry.org:10003 14:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:05:03 Configure a credential helper to remove this warning. See 14:05:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:05:03 14:05:03 Login Succeeded 14:05:03 nexus3.edgexfoundry.org:10004 14:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:05:03 Configure a credential helper to remove this warning. See 14:05:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:05:03 14:05:03 Login Succeeded 14:05:03 ****.io 14:05:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:05:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:05:03 Configure a credential helper to remove this warning. See 14:05:03 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:05:03 14:05:03 Login Succeeded 14:05:03 ---> ****-login.sh ends [Pipeline] } 14:05:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:05:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:05:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:05:03 ========================================================= 14:05:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 14:05:03 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:05:03 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . 14:05:03 Sending build context to Docker daemon 20.85MB 14:05:03 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 14:05:03 Step 2/12 : FROM ${BASE} AS builder 14:05:04 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 14:05:04 43c4264eed91: Pulling fs layer 14:05:04 4cc291be95ef: Pulling fs layer 14:05:04 2ac1f1163629: Pulling fs layer 14:05:04 5c3c966382ef: Pulling fs layer 14:05:04 4f4fb700ef54: Pulling fs layer 14:05:04 5d5c8e513c77: Pulling fs layer 14:05:04 9f66e0745190: Pulling fs layer 14:05:04 f49a43e4bbc0: Pulling fs layer 14:05:04 561ebcabdf7f: Pulling fs layer 14:05:04 5c3c966382ef: Waiting 14:05:04 4f4fb700ef54: Waiting 14:05:04 5d5c8e513c77: Waiting 14:05:04 9f66e0745190: Waiting 14:05:04 f49a43e4bbc0: Waiting 14:05:04 561ebcabdf7f: Waiting 14:05:04 4cc291be95ef: Verifying Checksum 14:05:04 4cc291be95ef: Download complete 14:05:04 5c3c966382ef: Download complete 14:05:04 4f4fb700ef54: Verifying Checksum 14:05:04 4f4fb700ef54: Download complete 14:05:04 5d5c8e513c77: Download complete 14:05:04 43c4264eed91: Download complete 14:05:04 9f66e0745190: Verifying Checksum 14:05:04 9f66e0745190: Download complete 14:05:04 43c4264eed91: Pull complete 14:05:04 561ebcabdf7f: Download complete 14:05:04 4cc291be95ef: Pull complete 14:05:04 2ac1f1163629: Download complete 14:05:04 f49a43e4bbc0: Verifying Checksum 14:05:04 f49a43e4bbc0: Download complete 14:05:08 2ac1f1163629: Pull complete 14:05:08 5c3c966382ef: Pull complete 14:05:08 4f4fb700ef54: Pull complete 14:05:08 5d5c8e513c77: Pull complete 14:05:08 9f66e0745190: Pull complete 14:05:11 f49a43e4bbc0: Pull complete 14:05:11 561ebcabdf7f: Pull complete 14:05:11 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 14:05:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 14:05:11 ---> 3a752c3f9dda 14:05:11 Step 3/12 : ARG ADD_BUILD_TAGS="" 14:05:16 ---> Running in bd7364a1306e 14:05:16 Removing intermediate container bd7364a1306e 14:05:16 ---> fce7d91bd0e7 14:05:16 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:05:16 ---> Running in d2c969d60109 14:05:16 Removing intermediate container d2c969d60109 14:05:16 ---> 764eb36d0bc7 14:05:16 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:05:16 ---> Running in 4d9661f566de 14:05:16 Removing intermediate container 4d9661f566de 14:05:16 ---> a378441a9775 14:05:16 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 14:05:16 ---> Running in 4bda4d317efb 14:05:16 Removing intermediate container 4bda4d317efb 14:05:16 ---> 906bca1710c3 14:05:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:05:16 ---> Running in fbbc074902ce 14:05:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 14:05:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 14:05:17 (1/4) Installing openssh-keygen (9.7_p1-r4) 14:05:17 Still waiting to schedule task 14:05:17 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21899’ 14:05:17 (2/4) Installing libedit (20240517.3.1-r0) 14:05:17 (3/4) Installing openssh-client-common (9.7_p1-r4) 14:05:17 (4/4) Installing openssh-client-default (9.7_p1-r4) 14:05:17 Executing busybox-1.36.1-r29.trigger 14:05:17 OK: 250 MiB in 58 packages 14:05:18 Removing intermediate container fbbc074902ce 14:05:18 ---> f80688893e6c 14:05:18 Step 8/12 : WORKDIR /device-mqtt-go 14:05:18 ---> Running in f5d3ad377d31 14:05:18 Removing intermediate container f5d3ad377d31 14:05:18 ---> 62268a420249 14:05:18 Step 9/12 : COPY go.mod vendor* ./ 14:05:18 ---> 0328e6e2d986 14:05:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:05:18 ---> Running in 71b1954875e5 14:06:26 Removing intermediate container 71b1954875e5 14:06:26 ---> 6908c694decf 14:06:26 Step 11/12 : COPY . . 14:06:26 ---> 7b66f4195405 14:06:26 Step 12/12 : RUN $MAKE 14:06:26 ---> Running in 1ce215279134 14:06:26 noop 14:06:26 Removing intermediate container 1ce215279134 14:06:26 ---> 9d8dfec30e90 14:06:26 Successfully built 9d8dfec30e90 14:06:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:31 + docker inspect -f . ci-base-image-x86_64 14:06:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:06:31 prd-ubuntu20.04-docker-8c-8g-21901 does not seem to be running inside a container 14:06:31 $ 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 14:06:31 $ docker top d53be490983ac70f217c3ae6686a3f8edd61de9d8068ce1bee8bd1d6249e630b -eo pid,comm [Pipeline] { [Pipeline] sh 14:06:31 + go version 14:06:31 go version go1.23.2 linux/amd64 [Pipeline] } 14:06:31 $ docker stop --time=1 d53be490983ac70f217c3ae6686a3f8edd61de9d8068ce1bee8bd1d6249e630b 14:06:33 $ docker rm -f --volumes d53be490983ac70f217c3ae6686a3f8edd61de9d8068ce1bee8bd1d6249e630b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:33 + docker inspect -f . ci-base-image-x86_64 14:06:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:06:33 prd-ubuntu20.04-docker-8c-8g-21901 does not seem to be running inside a container 14:06:33 $ 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 14:06:34 $ docker top 9b5a0f232a60c992d4d20827bb2f12b5858db2bbbe0b7bf0867d0ace84bcf0a3 -eo pid,comm [Pipeline] { [Pipeline] sh 14:06:34 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] fileExists [Pipeline] sh 14:06:34 + make test 14:06:34 go test ./... -coverprofile=coverage.out ./... 14:06:36 ? github.com/edgexfoundry/device-mqtt-go [no test files] 14:06:58 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 14:06:58 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 14:06:58 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.011s coverage: 22.8% of statements 14:07:06 go vet ./... 14:07:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:07:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:07:12 ./bin/test-attribution-txt.sh [Pipeline] echo 14:07:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 14:07:12 $ docker stop --time=1 9b5a0f232a60c992d4d20827bb2f12b5858db2bbbe0b7bf0867d0ace84bcf0a3 14:07:18 $ docker rm -f --volumes 9b5a0f232a60c992d4d20827bb2f12b5858db2bbbe0b7bf0867d0ace84bcf0a3 [Pipeline] // withDockerContainer [Pipeline] sh 14:07:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:07:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:07:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:07:19 + ls -al . 14:07:19 total 264 14:07:19 drwxrwxr-x 9 jenkins jenkins 4096 Oct 5 14:06 . 14:07:19 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 14:04 .. 14:07:19 -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 14:04 .dockerignore 14:07:19 drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 14:06 .git 14:07:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 14:04 .github 14:07:19 -rw-rw-r-- 1 jenkins jenkins 264 Oct 5 14:04 .gitignore 14:07:19 -rw-rw-r-- 1 jenkins jenkins 41 Oct 5 14:04 .golangci.yml 14:07:19 drwxr-xr-x 3 jenkins jenkins 4096 Oct 5 14:04 .semver 14:07:19 -rw-rw-r-- 1 jenkins jenkins 19106 Oct 5 14:04 Attribution.txt 14:07:19 -rw-rw-r-- 1 jenkins jenkins 18574 Oct 5 14:04 CHANGELOG.md 14:07:19 -rw-rw-r-- 1 jenkins jenkins 1798 Oct 5 14:04 Dockerfile 14:07:19 -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 14:04 GOVERNANCE.md 14:07:19 -rw-rw-r-- 1 jenkins jenkins 657 Oct 5 14:04 Jenkinsfile 14:07:19 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 5 14:04 LICENSE 14:07:19 -rw-rw-r-- 1 jenkins jenkins 1963 Oct 5 14:04 Makefile 14:07:19 -rw-rw-r-- 1 jenkins jenkins 620 Oct 5 14:04 OWNERS.md 14:07:19 -rw-rw-r-- 1 jenkins jenkins 3599 Oct 5 14:04 README.md 14:07:19 -rw-rw-r-- 1 jenkins jenkins 12 Oct 5 14:05 VERSION 14:07:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 14:04 bin 14:07:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 14:04 cmd 14:07:19 -rw-r--r-- 1 jenkins jenkins 21039 Oct 5 14:06 coverage.out 14:07:19 -rw-rw-r-- 1 jenkins jenkins 7037 Oct 5 14:04 go.mod 14:07:19 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 5 14:04 go.sum 14:07:19 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 14:04 internal 14:07:19 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 14:04 mock 14:07:19 -rw-rw-r-- 1 jenkins jenkins 227 Oct 5 14:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:19 + 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=70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed --label arch=amd64 --label version=3.2.0-dev.20 . 14:07:19 Sending build context to Docker daemon 20.87MB 14:07:19 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 14:07:19 Step 2/25 : FROM ${BASE} AS builder 14:07:19 ---> 9d8dfec30e90 14:07:19 Step 3/25 : ARG ADD_BUILD_TAGS="" 14:07:20 ---> Running in 3cb2874ff98a 14:07:20 Removing intermediate container 3cb2874ff98a 14:07:20 ---> 8b797a706aee 14:07:20 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:07:20 ---> Running in e95d73ba70bf 14:07:20 Removing intermediate container e95d73ba70bf 14:07:20 ---> c1d7c4a7b9bd 14:07:20 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:07:20 ---> Running in 17c173de5207 14:07:20 Removing intermediate container 17c173de5207 14:07:20 ---> 573f6bddfdaa 14:07:20 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 14:07:20 ---> Running in 47af2beffc19 14:07:20 Removing intermediate container 47af2beffc19 14:07:20 ---> 13cc1cfddbd3 14:07:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:07:20 ---> Running in 83161fedd4a2 14:07:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 14:07:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 14:07:21 OK: 250 MiB in 58 packages 14:07:21 Removing intermediate container 83161fedd4a2 14:07:21 ---> 551450c0d1b5 14:07:21 Step 8/25 : WORKDIR /device-mqtt-go 14:07:21 ---> Running in c731e2bfc03e 14:07:21 Removing intermediate container c731e2bfc03e 14:07:21 ---> c81d08516901 14:07:21 Step 9/25 : COPY go.mod vendor* ./ 14:07:21 ---> bd97dbbfe864 14:07:21 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:07:21 ---> Running in 77e8ad042d21 14:07:22 Removing intermediate container 77e8ad042d21 14:07:22 ---> db97e3bddee6 14:07:22 Step 11/25 : COPY . . 14:07:23 ---> 33b9716c1e55 14:07:23 Step 12/25 : RUN $MAKE 14:07:23 ---> Running in 9b27f657b637 14:07:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.41" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 14:08:02 Removing intermediate container 9b27f657b637 14:08:02 ---> bbfefdfce8b8 14:08:02 Step 13/25 : FROM alpine:3.20 14:08:02 3.20: Pulling from library/alpine 14:08:02 43c4264eed91: Already exists 14:08:02 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 14:08:02 Status: Downloaded newer image for alpine:3.20 14:08:02 ---> 91ef0af61f39 14:08:02 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 14:08:02 ---> Running in 2208df9feed7 14:08:02 Removing intermediate container 2208df9feed7 14:08:02 ---> c64694d7b1a1 14:08:02 Step 15/25 : RUN apk add --update --no-cache dumb-init 14:08:02 ---> Running in 4ef4ec8b8136 14:08:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 14:08:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 14:08:02 (1/1) Installing dumb-init (1.2.5-r3) 14:08:02 Executing busybox-1.36.1-r29.trigger 14:08:02 OK: 8 MiB in 15 packages 14:08:02 Removing intermediate container 4ef4ec8b8136 14:08:02 ---> 77c0f242b841 14:08:02 Step 16/25 : RUN apk --no-cache upgrade 14:08:02 ---> Running in ff31b9ffcbd0 14:08:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 14:08:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 14:08:02 Upgrading critical system libraries and apk-tools: 14:08:02 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 14:08:02 Executing busybox-1.36.1-r29.trigger 14:08:02 Continuing the upgrade transaction with new apk-tools: 14:08:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 14:08:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 14:08:02 OK: 8 MiB in 15 packages 14:08:03 Removing intermediate container ff31b9ffcbd0 14:08:03 ---> b98c5684527b 14:08:03 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 14:08:04 ---> 9dd74ef5b645 14:08:04 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 14:08:04 ---> 0f135f2d49e0 14:08:04 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 14:08:04 ---> 67f9bb63124b 14:08:04 Step 20/25 : EXPOSE 59982 14:08:04 ---> Running in d8491232aa41 14:08:04 Removing intermediate container d8491232aa41 14:08:04 ---> d2f261ed2cf3 14:08:04 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 14:08:04 ---> Running in 1c5adbba7bda 14:08:04 Removing intermediate container 1c5adbba7bda 14:08:04 ---> 42245d89141b 14:08:04 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 14:08:04 ---> Running in 2d502038966c 14:08:04 Removing intermediate container 2d502038966c 14:08:04 ---> cc9c5b32c0c3 14:08:04 Step 23/25 : LABEL arch=amd64 14:08:04 ---> Running in 1dfdf388e0ab 14:08:04 Removing intermediate container 1dfdf388e0ab 14:08:04 ---> 2daa78378e33 14:08:04 Step 24/25 : LABEL git_sha=70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed 14:08:05 ---> Running in 8ac6424d574a 14:08:05 Removing intermediate container 8ac6424d574a 14:08:05 ---> 3087b52c4275 14:08:05 Step 25/25 : LABEL version=3.2.0-dev.20 14:08:05 ---> Running in 868778ac2f35 14:08:05 Removing intermediate container 868778ac2f35 14:08:05 ---> a7e74ebb86c4 14:08:05 [Warning] One or more build-args [ARCH] were not consumed 14:08:05 Successfully built a7e74ebb86c4 14:08:05 Successfully tagged device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:08:09 provisioning config files... 14:08:09 copy managed file [device-mqtt-go-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config3560966194166014946tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:08:10 ---> ****-login.sh 14:08:10 nexus3.edgexfoundry.org:10001 14:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:08:10 Configure a credential helper to remove this warning. See 14:08:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:08:10 14:08:10 Login Succeeded 14:08:10 nexus3.edgexfoundry.org:10002 14:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:08:10 Configure a credential helper to remove this warning. See 14:08:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:08:10 14:08:10 Login Succeeded 14:08:10 nexus3.edgexfoundry.org:10003 14:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:08:10 Configure a credential helper to remove this warning. See 14:08:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:08:10 14:08:10 Login Succeeded 14:08:10 nexus3.edgexfoundry.org:10004 14:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:08:10 Configure a credential helper to remove this warning. See 14:08:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:08:10 14:08:10 Login Succeeded 14:08:10 ****.io 14:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:08:10 Configure a credential helper to remove this warning. See 14:08:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:08:10 14:08:10 Login Succeeded 14:08:10 ---> ****-login.sh ends [Pipeline] } 14:08:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:08:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:08:10 [edgeXDocker.push] Tagging docker image device-mqtt with the following tags: 14:08:10 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed 14:08:10 latest 14:08:10 3.2.0-dev.20 14:08:10 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed-3.2.0-dev.20 14:08:10 main 14:08:10 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:08:11 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:08:11 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed 14:08:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 14:08:11 cf015e813baf: Preparing 14:08:11 2087f603d481: Preparing 14:08:11 dc551003bc66: Preparing 14:08:11 156cbdd5915c: Preparing 14:08:11 7ecb669650a0: Preparing 14:08:11 63ca1fbb43ae: Preparing 14:08:11 63ca1fbb43ae: Waiting 14:08:11 2087f603d481: Pushed 14:08:11 cf015e813baf: Pushed 14:08:11 156cbdd5915c: Pushed 14:08:11 7ecb669650a0: Pushed 14:08:11 63ca1fbb43ae: Layer already exists 14:08:16 dc551003bc66: Pushed 14:08:16 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed: digest: sha256:52509c72b4372520ac71d0a3e5571a04c03aeec3c846fc023c4a94d614f68af5 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:08:17 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:08:17 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:latest 14:08:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 14:08:17 cf015e813baf: Preparing 14:08:17 2087f603d481: Preparing 14:08:17 dc551003bc66: Preparing 14:08:17 156cbdd5915c: Preparing 14:08:17 7ecb669650a0: Preparing 14:08:17 63ca1fbb43ae: Preparing 14:08:17 63ca1fbb43ae: Waiting 14:08:17 dc551003bc66: Layer already exists 14:08:17 156cbdd5915c: Layer already exists 14:08:17 7ecb669650a0: Layer already exists 14:08:17 2087f603d481: Layer already exists 14:08:17 cf015e813baf: Layer already exists 14:08:17 63ca1fbb43ae: Layer already exists 14:08:17 latest: digest: sha256:52509c72b4372520ac71d0a3e5571a04c03aeec3c846fc023c4a94d614f68af5 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:08:17 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:08:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.20 14:08:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 14:08:18 cf015e813baf: Preparing 14:08:18 2087f603d481: Preparing 14:08:18 dc551003bc66: Preparing 14:08:18 156cbdd5915c: Preparing 14:08:18 7ecb669650a0: Preparing 14:08:18 63ca1fbb43ae: Preparing 14:08:18 63ca1fbb43ae: Waiting 14:08:18 7ecb669650a0: Layer already exists 14:08:18 156cbdd5915c: Layer already exists 14:08:18 dc551003bc66: Layer already exists 14:08:18 cf015e813baf: Layer already exists 14:08:18 2087f603d481: Layer already exists 14:08:18 63ca1fbb43ae: Layer already exists 14:08:18 3.2.0-dev.20: digest: sha256:52509c72b4372520ac71d0a3e5571a04c03aeec3c846fc023c4a94d614f68af5 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:08:18 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed-3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:08:18 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed-3.2.0-dev.20 14:08:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 14:08:18 cf015e813baf: Preparing 14:08:18 2087f603d481: Preparing 14:08:18 dc551003bc66: Preparing 14:08:18 156cbdd5915c: Preparing 14:08:18 7ecb669650a0: Preparing 14:08:18 63ca1fbb43ae: Preparing 14:08:18 63ca1fbb43ae: Waiting 14:08:18 cf015e813baf: Layer already exists 14:08:18 dc551003bc66: Layer already exists 14:08:18 156cbdd5915c: Layer already exists 14:08:18 2087f603d481: Layer already exists 14:08:18 7ecb669650a0: Layer already exists 14:08:18 63ca1fbb43ae: Layer already exists 14:08:18 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed-3.2.0-dev.20: digest: sha256:52509c72b4372520ac71d0a3e5571a04c03aeec3c846fc023c4a94d614f68af5 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:08:19 + docker tag device-mqtt nexus3.edgexfoundry.org:10004/device-mqtt:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:08:19 + docker push nexus3.edgexfoundry.org:10004/device-mqtt:main 14:08:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt] 14:08:19 cf015e813baf: Preparing 14:08:19 2087f603d481: Preparing 14:08:19 dc551003bc66: Preparing 14:08:19 156cbdd5915c: Preparing 14:08:19 7ecb669650a0: Preparing 14:08:19 63ca1fbb43ae: Preparing 14:08:19 63ca1fbb43ae: Waiting 14:08:19 7ecb669650a0: Layer already exists 14:08:19 dc551003bc66: Layer already exists 14:08:19 156cbdd5915c: Layer already exists 14:08:19 2087f603d481: Layer already exists 14:08:19 cf015e813baf: Layer already exists 14:08:19 63ca1fbb43ae: Layer already exists 14:08:19 main: digest: sha256:52509c72b4372520ac71d0a3e5571a04c03aeec3c846fc023c4a94d614f68af5 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:08:19 ===================================================== [Pipeline] echo 14:08:19 taggedImages: 14:08:19 - nexus3.edgexfoundry.org:10004/device-mqtt:70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed 14:08:19 - nexus3.edgexfoundry.org:10004/device-mqtt:latest 14:08:19 - nexus3.edgexfoundry.org:10004/device-mqtt:3.2.0-dev.20 14:08:19 - nexus3.edgexfoundry.org:10004/device-mqtt:70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed-3.2.0-dev.20 14:08:19 - 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:08:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:08:20 14:08:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:08:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:08:20 latest: Pulling from edgex-lftools-log-publisher 14:08:20 5eb5b503b376: Pulling fs layer 14:08:20 5c69ac0246d0: Pulling fs layer 14:08:20 ec43610c2a17: Pulling fs layer 14:08:20 3a2ae6a8a46f: Pulling fs layer 14:08:20 33b1e0a273af: Pulling fs layer 14:08:20 5d3b04190fa2: Pulling fs layer 14:08:20 2f39f015ded8: Pulling fs layer 14:08:20 3a2ae6a8a46f: Waiting 14:08:20 33b1e0a273af: Waiting 14:08:20 2f39f015ded8: Waiting 14:08:20 5c69ac0246d0: Verifying Checksum 14:08:20 5c69ac0246d0: Download complete 14:08:20 3a2ae6a8a46f: Verifying Checksum 14:08:20 3a2ae6a8a46f: Download complete 14:08:20 33b1e0a273af: Verifying Checksum 14:08:20 33b1e0a273af: Download complete 14:08:20 ec43610c2a17: Verifying Checksum 14:08:20 ec43610c2a17: Download complete 14:08:20 5d3b04190fa2: Verifying Checksum 14:08:20 5d3b04190fa2: Download complete 14:08:20 5eb5b503b376: Download complete 14:08:21 2f39f015ded8: Verifying Checksum 14:08:21 2f39f015ded8: Download complete 14:08:21 5eb5b503b376: Pull complete 14:08:22 5c69ac0246d0: Pull complete 14:08:22 ec43610c2a17: Pull complete 14:08:22 3a2ae6a8a46f: Pull complete 14:08:22 33b1e0a273af: Pull complete 14:08:22 5d3b04190fa2: Pull complete 14:08:27 2f39f015ded8: Pull complete 14:08:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:08:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:08:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:08:27 prd-ubuntu20.04-docker-8c-8g-21901 does not seem to be running inside a container 14:08:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 14:08:32 $ docker top 7a4f75719718bcdf00ea30d9ff4e633a9ed16f88d646c4124f6a219942782c19 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:08:33 ---> job-cost.sh 14:08:33 lf-activate-venv: SKIPPING 14:08:33 INFO: No Stack... 14:08:33 INFO: Retrieving Pricing Info for: v3-standard-8 14:08:33 INFO: Archiving Costs [Pipeline] sh 14:08:34 + cat /w/workspace/edgexfoundry_device-mqtt-go_main/archives/cost.csv 14:08:34 + cut -d, -f6 [Pipeline] lock 14:08:34 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-175-stack-cost] 14:08:34 Resource [jenkins-edgexfoundry-device-mqtt-go-main-175-stack-cost] did not exist. Created. 14:08:34 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-175-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:08:34 + echo total: 0.2199999988079071 [Pipeline] stash 14:08:34 Stashed 1 file(s) [Pipeline] } 14:08:34 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-175-stack-cost] [Pipeline] // lock [Pipeline] } 14:08:34 $ docker stop --time=1 7a4f75719718bcdf00ea30d9ff4e633a9ed16f88d646c4124f6a219942782c19 14:08:35 $ docker rm -f --volumes 7a4f75719718bcdf00ea30d9ff4e633a9ed16f88d646c4124f6a219942782c19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:08:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21907 in /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] { [Pipeline] ws 14:08:55 Running in /w/workspace/device-mqtt-go/175 [Pipeline] { [Pipeline] checkout 14:08:58 The recommended git tool is: git 14:09:04 using credential edgex-jenkins-ssh 14:09:04 Cloning the remote Git repository 14:09:04 Cloning repository git@github.com:edgexfoundry/device-mqtt-go.git 14:09:04 > git init /w/workspace/device-mqtt-go/175 # timeout=10 14:09:04 Fetching upstream changes from git@github.com:edgexfoundry/device-mqtt-go.git 14:09:04 > git --version # timeout=10 14:09:04 > git --version # 'git version 2.25.1' 14:09:04 using GIT_SSH to set credentials SSH Credentials for GitHub 14:09:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-mqtt-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:09:08 Avoid second fetch 14:09:08 Checking out Revision 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed (main) 14:09:07 > git config remote.origin.url git@github.com:edgexfoundry/device-mqtt-go.git # timeout=10 14:09:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:09:08 > git config core.sparsecheckout # timeout=10 14:09:08 > git checkout -f 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed # timeout=10 14:09:09 Commit message: "Merge pull request #697 from jinlinGuan/golang-1.23" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:09:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:09:14 % Total % Received % Xferd Average Speed Time Time Time Current 14:09:14 Dload Upload Total Spent Left Speed 14:09:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 152k 0 --:--:-- --:--:-- --:--:-- 152k [Pipeline] sh 14:09:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:09:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:09:15 + sudo tee /etc/docker/daemon.new 14:09:15 { 14:09:15 "registry-mirrors": [ 14:09:15 "https://nexus3.edgexfoundry.org:10001" 14:09:15 ], 14:09:15 "bip": "10.250.0.254/24", 14:09:15 "hosts": [ 14:09:15 "tcp://0.0.0.0:5555", 14:09:15 "unix:///var/run/docker.sock" 14:09:15 ], 14:09:15 "mtu": 1458, 14:09:15 "selinux-enabled": true, 14:09:15 "seccomp-profile": "/etc/docker/seccomp.json" 14:09:15 } [Pipeline] sh 14:09:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:09:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:09:34 provisioning config files... 14:09:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/175@tmp/config6595535800184263485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:09:34 ---> ****-login.sh 14:09:34 nexus3.edgexfoundry.org:10001 14:09:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:09:35 Configure a credential helper to remove this warning. See 14:09:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:09:35 14:09:35 Login Succeeded 14:09:35 nexus3.edgexfoundry.org:10002 14:09:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:09:35 Configure a credential helper to remove this warning. See 14:09:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:09:35 14:09:35 Login Succeeded 14:09:35 nexus3.edgexfoundry.org:10003 14:09:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:09:36 Configure a credential helper to remove this warning. See 14:09:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:09:36 14:09:36 Login Succeeded 14:09:36 nexus3.edgexfoundry.org:10004 14:09:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:09:36 Configure a credential helper to remove this warning. See 14:09:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:09:36 14:09:36 Login Succeeded 14:09:36 ****.io 14:09:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:09:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:09:36 Configure a credential helper to remove this warning. See 14:09:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:09:36 14:09:36 Login Succeeded 14:09:36 ---> ****-login.sh ends [Pipeline] } 14:09:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:09:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:09:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:09:37 ========================================================= 14:09:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 14:09:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:09:37 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . 14:09:37 Sending build context to Docker daemon 10.53MB 14:09:38 Step 1/12 : ARG BASE=golang:1.23-alpine3.20 14:09:38 Step 2/12 : FROM ${BASE} AS builder 14:09:38 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:09:38 cf04c63912e1: Pulling fs layer 14:09:38 55b35a11ae5e: Pulling fs layer 14:09:38 a37a00ec5f00: Pulling fs layer 14:09:38 50b3750afda1: Pulling fs layer 14:09:38 4f4fb700ef54: Pulling fs layer 14:09:38 80978eb59214: Pulling fs layer 14:09:38 c9f46d7d2bd2: Pulling fs layer 14:09:38 c5a475d317c9: Pulling fs layer 14:09:38 4f4fb700ef54: Waiting 14:09:38 80978eb59214: Waiting 14:09:38 c9f46d7d2bd2: Waiting 14:09:38 c5a475d317c9: Waiting 14:09:38 50b3750afda1: Waiting 14:09:38 55b35a11ae5e: Download complete 14:09:38 50b3750afda1: Verifying Checksum 14:09:38 50b3750afda1: Download complete 14:09:38 4f4fb700ef54: Verifying Checksum 14:09:38 4f4fb700ef54: Download complete 14:09:38 80978eb59214: Verifying Checksum 14:09:38 80978eb59214: Download complete 14:09:38 cf04c63912e1: Verifying Checksum 14:09:38 cf04c63912e1: Download complete 14:09:39 c5a475d317c9: Verifying Checksum 14:09:39 c5a475d317c9: Download complete 14:09:39 cf04c63912e1: Pull complete 14:09:40 55b35a11ae5e: Pull complete 14:09:40 a37a00ec5f00: Verifying Checksum 14:09:40 a37a00ec5f00: Download complete 14:09:41 c9f46d7d2bd2: Verifying Checksum 14:09:41 c9f46d7d2bd2: Download complete 14:09:56 a37a00ec5f00: Pull complete 14:09:56 50b3750afda1: Pull complete 14:09:56 4f4fb700ef54: Pull complete 14:09:56 80978eb59214: Pull complete 14:10:03 c9f46d7d2bd2: Pull complete 14:10:04 c5a475d317c9: Pull complete 14:10:04 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 14:10:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 14:10:04 ---> be29e6b0f0d4 14:10:04 Step 3/12 : ARG ADD_BUILD_TAGS="" 14:10:06 ---> Running in 4fe9358ee896 14:10:07 Removing intermediate container 4fe9358ee896 14:10:07 ---> d14a04db9902 14:10:07 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:10:07 ---> Running in 4ea0c809e7df 14:10:07 Removing intermediate container 4ea0c809e7df 14:10:07 ---> 01883cc624f7 14:10:07 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:10:07 ---> Running in 43824c25abee 14:10:07 Removing intermediate container 43824c25abee 14:10:07 ---> 3ac1127e0c3b 14:10:07 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 14:10:07 ---> Running in 0b5f8787f7d5 14:10:08 Removing intermediate container 0b5f8787f7d5 14:10:08 ---> 18e7f766e9fb 14:10:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:10:08 ---> Running in 2426ec414070 14:10:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 14:10:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 14:10:12 (1/4) Installing openssh-keygen (9.7_p1-r4) 14:10:12 (2/4) Installing libedit (20240517.3.1-r0) 14:10:12 (3/4) Installing openssh-client-common (9.7_p1-r4) 14:10:12 (4/4) Installing openssh-client-default (9.7_p1-r4) 14:10:12 Executing busybox-1.36.1-r29.trigger 14:10:12 OK: 242 MiB in 58 packages 14:10:13 Removing intermediate container 2426ec414070 14:10:13 ---> f8ff60e04a8b 14:10:13 Step 8/12 : WORKDIR /device-mqtt-go 14:10:13 ---> Running in 1a2e24c23c40 14:10:14 Removing intermediate container 1a2e24c23c40 14:10:14 ---> 0807dcc6e66f 14:10:14 Step 9/12 : COPY go.mod vendor* ./ 14:10:14 ---> 96b055c30482 14:10:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:10:15 ---> Running in 963aa3ac8b88 14:12:21 Removing intermediate container 963aa3ac8b88 14:12:21 ---> e83e1e266575 14:12:21 Step 11/12 : COPY . . 14:12:21 ---> 31bc34f29f8a 14:12:21 Step 12/12 : RUN $MAKE 14:12:21 ---> Running in 5823033b4a8e 14:12:21 noop 14:12:21 Removing intermediate container 5823033b4a8e 14:12:21 ---> bf7c0feb361f 14:12:21 Successfully built bf7c0feb361f 14:12:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:12:22 + docker inspect -f . ci-base-image-arm64 14:12:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:12:22 prd-ubuntu20.04-docker-arm64-4c-16g-21907 does not seem to be running inside a container 14:12:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-mqtt-go/175 -v /w/workspace/device-mqtt-go/175:/w/workspace/device-mqtt-go/175:rw,z -v /w/workspace/device-mqtt-go/175@tmp:/w/workspace/device-mqtt-go/175@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 14:12:24 $ docker top bb1dba7d55a1b5cdc6f95019aeab3063a50ca997cabe66255adff5b4f8b64616 -eo pid,comm [Pipeline] { [Pipeline] sh 14:12:24 + go version 14:12:24 go version go1.23.2 linux/arm64 [Pipeline] } 14:12:25 $ docker stop --time=1 bb1dba7d55a1b5cdc6f95019aeab3063a50ca997cabe66255adff5b4f8b64616 14:12:26 $ docker rm -f --volumes bb1dba7d55a1b5cdc6f95019aeab3063a50ca997cabe66255adff5b4f8b64616 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:12:27 + docker inspect -f . ci-base-image-arm64 14:12:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:12:27 prd-ubuntu20.04-docker-arm64-4c-16g-21907 does not seem to be running inside a container 14:12:27 $ 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/175 -v /w/workspace/device-mqtt-go/175:/w/workspace/device-mqtt-go/175:rw,z -v /w/workspace/device-mqtt-go/175@tmp:/w/workspace/device-mqtt-go/175@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 14:12:29 $ docker top 9f85d3b67a833742e12cfaf6fb9d29b99517df68c926400d109d1dc3f5e114a9 -eo pid,comm [Pipeline] { [Pipeline] sh 14:12:29 + git config --global --add safe.directory /w/workspace/device-mqtt-go/175 [Pipeline] fileExists [Pipeline] sh 14:12:30 + make test 14:12:30 go test ./... -coverprofile=coverage.out ./... 14:12:37 ? github.com/edgexfoundry/device-mqtt-go [no test files] 14:16:44 github.com/edgexfoundry/device-mqtt-go/cmd coverage: 0.0% of statements 14:16:44 github.com/edgexfoundry/device-mqtt-go/mock coverage: 0.0% of statements 14:16:44 ok github.com/edgexfoundry/device-mqtt-go/internal/driver 0.069s coverage: 22.8% of statements 14:16:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:16:44 go vet ./... 14:17:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:17:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:17:52 ./bin/test-attribution-txt.sh [Pipeline] echo 14:17:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 14:17:52 $ docker stop --time=1 9f85d3b67a833742e12cfaf6fb9d29b99517df68c926400d109d1dc3f5e114a9 14:17:54 $ docker rm -f --volumes 9f85d3b67a833742e12cfaf6fb9d29b99517df68c926400d109d1dc3f5e114a9 [Pipeline] // withDockerContainer [Pipeline] sh 14:17:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:17:56 Warning: overwriting stash ‘coverage-report’ 14:17:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:17:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:17:57 + ls -al . 14:17:57 total 260 14:17:57 drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 14:12 . 14:17:57 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 14:09 .. 14:17:57 -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 14:09 .dockerignore 14:17:57 drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 14:09 .git 14:17:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 14:09 .github 14:17:57 -rw-rw-r-- 1 jenkins jenkins 264 Oct 5 14:09 .gitignore 14:17:57 -rw-rw-r-- 1 jenkins jenkins 41 Oct 5 14:09 .golangci.yml 14:17:57 -rw-rw-r-- 1 jenkins jenkins 19106 Oct 5 14:09 Attribution.txt 14:17:57 -rw-rw-r-- 1 jenkins jenkins 18574 Oct 5 14:09 CHANGELOG.md 14:17:57 -rw-rw-r-- 1 jenkins jenkins 1798 Oct 5 14:09 Dockerfile 14:17:57 -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 14:09 GOVERNANCE.md 14:17:57 -rw-rw-r-- 1 jenkins jenkins 657 Oct 5 14:09 Jenkinsfile 14:17:57 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 5 14:09 LICENSE 14:17:57 -rw-rw-r-- 1 jenkins jenkins 1963 Oct 5 14:09 Makefile 14:17:57 -rw-rw-r-- 1 jenkins jenkins 620 Oct 5 14:09 OWNERS.md 14:17:57 -rw-rw-r-- 1 jenkins jenkins 3599 Oct 5 14:09 README.md 14:17:57 -rw-rw-r-- 1 jenkins jenkins 12 Oct 5 14:05 VERSION 14:17:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 14:09 bin 14:17:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 14:09 cmd 14:17:57 -rw-r--r-- 1 jenkins jenkins 21039 Oct 5 14:16 coverage.out 14:17:57 -rw-rw-r-- 1 jenkins jenkins 7037 Oct 5 14:09 go.mod 14:17:57 -rw-rw-r-- 1 jenkins jenkins 100176 Oct 5 14:09 go.sum 14:17:57 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 14:09 internal 14:17:57 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 14:09 mock 14:17:57 -rw-rw-r-- 1 jenkins jenkins 227 Oct 5 14:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:17:57 + 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=70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed --label arch=arm64 --label version=3.2.0-dev.20 . 14:17:58 Sending build context to Docker daemon 10.55MB 14:17:58 Step 1/25 : ARG BASE=golang:1.23-alpine3.20 14:17:58 Step 2/25 : FROM ${BASE} AS builder 14:17:58 ---> bf7c0feb361f 14:17:58 Step 3/25 : ARG ADD_BUILD_TAGS="" 14:17:58 ---> Running in 6aa3a8d13223 14:17:59 Removing intermediate container 6aa3a8d13223 14:17:59 ---> e3c8c6de3a2e 14:17:59 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 14:17:59 ---> Running in ca36437dcb44 14:17:59 Removing intermediate container ca36437dcb44 14:17:59 ---> bf457bc82cec 14:17:59 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 14:17:59 ---> Running in ffee3434144e 14:17:59 Removing intermediate container ffee3434144e 14:17:59 ---> 9b58199c13ec 14:17:59 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 14:17:59 ---> Running in 16e11ea4a92c 14:18:00 Removing intermediate container 16e11ea4a92c 14:18:00 ---> e3d1fe9d3e12 14:18:00 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 14:18:00 ---> Running in f69870e5993c 14:18:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 14:18:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 14:18:03 OK: 242 MiB in 58 packages 14:18:04 Removing intermediate container f69870e5993c 14:18:04 ---> 68beccacfddc 14:18:04 Step 8/25 : WORKDIR /device-mqtt-go 14:18:04 ---> Running in a28790ad2176 14:18:04 Removing intermediate container a28790ad2176 14:18:04 ---> 2ecaa7acbf00 14:18:04 Step 9/25 : COPY go.mod vendor* ./ 14:18:05 ---> 834b6a54791a 14:18:05 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:18:05 ---> Running in bff7f69d74cc 14:18:08 Removing intermediate container bff7f69d74cc 14:18:08 ---> 85615afbf0c0 14:18:08 Step 11/25 : COPY . . 14:18:09 ---> 0cabdd6e0dd0 14:18:09 Step 12/25 : RUN $MAKE 14:18:09 ---> Running in 58578de49745 14:18:10 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-mqtt-go.Version=3.2.0-dev.20 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.41" -trimpath -mod=readonly -o cmd/device-mqtt ./cmd 14:22:17 Removing intermediate container 58578de49745 14:22:17 ---> 0a4df6ac677d 14:22:17 Step 13/25 : FROM alpine:3.20 14:22:17 3.20: Pulling from library/alpine 14:22:17 cf04c63912e1: Already exists 14:22:17 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 14:22:17 Status: Downloaded newer image for alpine:3.20 14:22:17 ---> c157a85ed455 14:22:17 Step 14/25 : LABEL license='VSPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020-2024: IoTech Ltd' 14:22:17 ---> Running in 2c1eef6d1ded 14:22:17 Removing intermediate container 2c1eef6d1ded 14:22:17 ---> 206b545be546 14:22:17 Step 15/25 : RUN apk add --update --no-cache dumb-init 14:22:17 ---> Running in b537651cdab9 14:22:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 14:22:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 14:22:20 (1/1) Installing dumb-init (1.2.5-r3) 14:22:20 Executing busybox-1.36.1-r29.trigger 14:22:20 OK: 9 MiB in 15 packages 14:22:20 Removing intermediate container b537651cdab9 14:22:20 ---> b3d4b8ba557e 14:22:20 Step 16/25 : RUN apk --no-cache upgrade 14:22:21 ---> Running in 118678c86d2a 14:22:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 14:22:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 14:22:24 Upgrading critical system libraries and apk-tools: 14:22:24 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 14:22:24 Executing busybox-1.36.1-r29.trigger 14:22:24 Continuing the upgrade transaction with new apk-tools: 14:22:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 14:22:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 14:22:26 OK: 9 MiB in 15 packages 14:22:27 Removing intermediate container 118678c86d2a 14:22:27 ---> e335b620bd6a 14:22:27 Step 17/25 : COPY --from=builder /device-mqtt-go/cmd / 14:22:30 ---> c694de58a881 14:22:30 Step 18/25 : COPY --from=builder /device-mqtt-go/LICENSE / 14:22:30 ---> 5cd9461fe0d3 14:22:30 Step 19/25 : COPY --from=builder /device-mqtt-go/Attribution.txt / 14:22:31 ---> 3e053c1f1d03 14:22:31 Step 20/25 : EXPOSE 59982 14:22:31 ---> Running in 784f8fead5aa 14:22:31 Removing intermediate container 784f8fead5aa 14:22:31 ---> 45f529b07ad0 14:22:31 Step 21/25 : ENTRYPOINT ["/device-mqtt"] 14:22:31 ---> Running in 587909cda463 14:22:32 Removing intermediate container 587909cda463 14:22:32 ---> cc7929e8e4d2 14:22:32 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 14:22:32 ---> Running in d37fb7aeb285 14:22:32 Removing intermediate container d37fb7aeb285 14:22:32 ---> df31ef16be1f 14:22:32 Step 23/25 : LABEL arch=arm64 14:22:32 ---> Running in 9f0ae8f8eb7d 14:22:33 Removing intermediate container 9f0ae8f8eb7d 14:22:33 ---> eca8a5665d07 14:22:33 Step 24/25 : LABEL git_sha=70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed 14:22:33 ---> Running in 5a30a3598ed1 14:22:33 Removing intermediate container 5a30a3598ed1 14:22:33 ---> 77a6ef1e08c3 14:22:33 Step 25/25 : LABEL version=3.2.0-dev.20 14:22:33 ---> Running in 21a5f8664194 14:22:34 Removing intermediate container 21a5f8664194 14:22:34 ---> 1c3bd6458466 14:22:34 [Warning] One or more build-args [ARCH] were not consumed 14:22:34 Successfully built 1c3bd6458466 14:22:34 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 14:22:34 provisioning config files... 14:22:34 copy managed file [device-mqtt-go-settings] to file:/w/workspace/device-mqtt-go/175@tmp/config17251338104912560117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:22:34 ---> ****-login.sh 14:22:34 nexus3.edgexfoundry.org:10001 14:22:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:22:34 Configure a credential helper to remove this warning. See 14:22:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:22:34 14:22:34 Login Succeeded 14:22:34 nexus3.edgexfoundry.org:10002 14:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:22:35 Configure a credential helper to remove this warning. See 14:22:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:22:35 14:22:35 Login Succeeded 14:22:35 nexus3.edgexfoundry.org:10003 14:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:22:35 Configure a credential helper to remove this warning. See 14:22:35 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:22:35 14:22:35 Login Succeeded 14:22:35 nexus3.edgexfoundry.org:10004 14:22:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:22:36 Configure a credential helper to remove this warning. See 14:22:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:22:36 14:22:36 Login Succeeded 14:22:36 ****.io 14:22:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 14:22:36 Configure a credential helper to remove this warning. See 14:22:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 14:22:36 14:22:36 Login Succeeded 14:22:36 ---> ****-login.sh ends [Pipeline] } 14:22:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:22:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 14:22:36 [edgeXDocker.push] Tagging docker image device-mqtt-arm64 with the following tags: 14:22:36 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed 14:22:36 latest 14:22:36 3.2.0-dev.20 14:22:36 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed-3.2.0-dev.20 14:22:36 main 14:22:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:22:37 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:22:37 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed 14:22:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 14:22:37 b0a410bc1dc5: Preparing 14:22:37 d817992b9bbd: Preparing 14:22:37 5bcb2278a048: Preparing 14:22:37 7ae5f79a1a66: Preparing 14:22:37 7fbbe658a65d: Preparing 14:22:37 16113d51b718: Preparing 14:22:37 16113d51b718: Waiting 14:22:37 b0a410bc1dc5: Pushed 14:22:37 d817992b9bbd: Pushed 14:22:37 7fbbe658a65d: Pushed 14:22:37 16113d51b718: Layer already exists 14:22:37 7ae5f79a1a66: Pushed 14:22:47 5bcb2278a048: Pushed 14:22:47 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed: digest: sha256:0d7a3d5e1d97bf996b2806e4152583c7b8cf653b8ca57173d91f2947efa945d6 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:22:48 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:22:48 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 14:22:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 14:22:48 b0a410bc1dc5: Preparing 14:22:48 d817992b9bbd: Preparing 14:22:48 5bcb2278a048: Preparing 14:22:48 7ae5f79a1a66: Preparing 14:22:48 7fbbe658a65d: Preparing 14:22:48 16113d51b718: Preparing 14:22:48 16113d51b718: Waiting 14:22:48 d817992b9bbd: Layer already exists 14:22:48 b0a410bc1dc5: Layer already exists 14:22:48 5bcb2278a048: Layer already exists 14:22:48 7fbbe658a65d: Layer already exists 14:22:48 7ae5f79a1a66: Layer already exists 14:22:48 16113d51b718: Layer already exists 14:22:48 latest: digest: sha256:0d7a3d5e1d97bf996b2806e4152583c7b8cf653b8ca57173d91f2947efa945d6 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:22:49 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:22:49 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.20 14:22:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 14:22:49 b0a410bc1dc5: Preparing 14:22:49 d817992b9bbd: Preparing 14:22:49 5bcb2278a048: Preparing 14:22:49 7ae5f79a1a66: Preparing 14:22:49 7fbbe658a65d: Preparing 14:22:49 16113d51b718: Preparing 14:22:49 16113d51b718: Waiting 14:22:49 b0a410bc1dc5: Layer already exists 14:22:49 5bcb2278a048: Layer already exists 14:22:49 7ae5f79a1a66: Layer already exists 14:22:49 7fbbe658a65d: Layer already exists 14:22:49 d817992b9bbd: Layer already exists 14:22:49 16113d51b718: Layer already exists 14:22:49 3.2.0-dev.20: digest: sha256:0d7a3d5e1d97bf996b2806e4152583c7b8cf653b8ca57173d91f2947efa945d6 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:22:50 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed-3.2.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:22:50 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed-3.2.0-dev.20 14:22:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 14:22:50 b0a410bc1dc5: Preparing 14:22:50 d817992b9bbd: Preparing 14:22:50 5bcb2278a048: Preparing 14:22:50 7ae5f79a1a66: Preparing 14:22:50 7fbbe658a65d: Preparing 14:22:50 16113d51b718: Preparing 14:22:50 16113d51b718: Waiting 14:22:50 7fbbe658a65d: Layer already exists 14:22:50 b0a410bc1dc5: Layer already exists 14:22:50 5bcb2278a048: Layer already exists 14:22:50 7ae5f79a1a66: Layer already exists 14:22:50 d817992b9bbd: Layer already exists 14:22:50 16113d51b718: Layer already exists 14:22:50 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed-3.2.0-dev.20: digest: sha256:0d7a3d5e1d97bf996b2806e4152583c7b8cf653b8ca57173d91f2947efa945d6 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:22:51 + docker tag device-mqtt-arm64 nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:22:51 + docker push nexus3.edgexfoundry.org:10004/device-mqtt-arm64:main 14:22:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-mqtt-arm64] 14:22:51 b0a410bc1dc5: Preparing 14:22:51 d817992b9bbd: Preparing 14:22:51 5bcb2278a048: Preparing 14:22:51 7ae5f79a1a66: Preparing 14:22:51 7fbbe658a65d: Preparing 14:22:51 16113d51b718: Preparing 14:22:51 16113d51b718: Waiting 14:22:51 b0a410bc1dc5: Layer already exists 14:22:51 7fbbe658a65d: Layer already exists 14:22:51 5bcb2278a048: Layer already exists 14:22:51 7ae5f79a1a66: Layer already exists 14:22:51 d817992b9bbd: Layer already exists 14:22:51 16113d51b718: Layer already exists 14:22:51 main: digest: sha256:0d7a3d5e1d97bf996b2806e4152583c7b8cf653b8ca57173d91f2947efa945d6 size: 1575 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 14:22:52 ===================================================== [Pipeline] echo 14:22:52 taggedImages: 14:22:52 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed 14:22:52 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:latest 14:22:52 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:3.2.0-dev.20 14:22:52 - nexus3.edgexfoundry.org:10004/device-mqtt-arm64:70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed-3.2.0-dev.20 14:22:52 - 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 14:22:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:22:52 14:22:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:22:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:22:53 arm64: Pulling from edgex-lftools-log-publisher 14:22:53 8998bd30e6a1: Pulling fs layer 14:22:53 04944245beec: Pulling fs layer 14:22:53 699f458cf7ca: Pulling fs layer 14:22:53 765212b225bb: Pulling fs layer 14:22:53 f23df028b6ca: Pulling fs layer 14:22:53 d65c8cfc05b1: Pulling fs layer 14:22:53 2437ff75d9bd: Pulling fs layer 14:22:53 f23df028b6ca: Waiting 14:22:53 d65c8cfc05b1: Waiting 14:22:53 2437ff75d9bd: Waiting 14:22:53 765212b225bb: Waiting 14:22:53 04944245beec: Verifying Checksum 14:22:53 04944245beec: Download complete 14:22:53 765212b225bb: Verifying Checksum 14:22:53 765212b225bb: Download complete 14:22:53 f23df028b6ca: Verifying Checksum 14:22:53 f23df028b6ca: Download complete 14:22:53 d65c8cfc05b1: Verifying Checksum 14:22:53 d65c8cfc05b1: Download complete 14:22:53 699f458cf7ca: Verifying Checksum 14:22:53 699f458cf7ca: Download complete 14:22:54 8998bd30e6a1: Verifying Checksum 14:22:54 8998bd30e6a1: Download complete 14:22:56 2437ff75d9bd: Download complete 14:22:59 8998bd30e6a1: Pull complete 14:22:59 04944245beec: Pull complete 14:23:01 699f458cf7ca: Pull complete 14:23:01 765212b225bb: Pull complete 14:23:02 f23df028b6ca: Pull complete 14:23:02 d65c8cfc05b1: Pull complete 14:23:20 2437ff75d9bd: Pull complete 14:23:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:23:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:23:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:23:21 prd-ubuntu20.04-docker-arm64-4c-16g-21907 does not seem to be running inside a container 14:23:21 $ 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/175 -v /w/workspace/device-mqtt-go/175:/w/workspace/device-mqtt-go/175:rw,z -v /w/workspace/device-mqtt-go/175@tmp:/w/workspace/device-mqtt-go/175@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 14:23:24 $ docker top dbee3e38e8533c60d306ceacd6b0d837f08a84260ae22979c5b1e86c276786d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:23:25 ---> job-cost.sh 14:23:25 lf-activate-venv: SKIPPING 14:23:25 INFO: No Stack... 14:23:25 INFO: Retrieving Pricing Info for: v3-standard-4 14:23:26 INFO: Archiving Costs [Pipeline] sh 14:23:27 + cat /w/workspace/device-mqtt-go/175/archives/cost.csv 14:23:27 + cut -d, -f6 [Pipeline] lock 14:23:27 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-175-stack-cost] 14:23:27 Resource [jenkins-edgexfoundry-device-mqtt-go-main-175-stack-cost] did not exist. Created. 14:23:27 Lock acquired on [Resource: jenkins-edgexfoundry-device-mqtt-go-main-175-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:23:27 /w/workspace/device-mqtt-go/175@tmp/durable-2c402b28/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:23:28 + echo total: 0.10999999940395355 [Pipeline] stash 14:23:28 Warning: overwriting stash ‘stack-cost’ 14:23:28 Stashed 1 file(s) [Pipeline] } 14:23:28 Lock released on resource [Resource: jenkins-edgexfoundry-device-mqtt-go-main-175-stack-cost] [Pipeline] // lock [Pipeline] } 14:23:28 $ docker stop --time=1 dbee3e38e8533c60d306ceacd6b0d837f08a84260ae22979c5b1e86c276786d5 14:23:30 $ docker rm -f --volumes dbee3e38e8533c60d306ceacd6b0d837f08a84260ae22979c5b1e86c276786d5 [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 14:23:30 provisioning config files... 14:23:30 copy managed file [device-mqtt-go-codecov-token] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config12909312422699857433tmp [Pipeline] { [Pipeline] sh 14:23:30 + set +x 14:23:30 + bash -s -- 14:23:30 + curl -s https://codecov.io/bash 14:23:30 14:23:30 _____ _ 14:23:30 / ____| | | 14:23:30 | | ___ __| | ___ ___ _____ __ 14:23:30 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:23:30 | |___| (_) | (_| | __/ (_| (_) \ V / 14:23:30 \_____\___/ \__,_|\___|\___\___/ \_/ 14:23:30 Bash-1.0.6 14:23:30 14:23:30 14:23:30 ==> git version 2.25.1 found 14:23:30 ==> 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 14:23:30 Release-Date: 2020-01-08 14:23:30 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:23:30 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:23:30 ==> Jenkins CI detected. 14:23:30 current dir:  /w/workspace/edgexfoundry_device-mqtt-go_main 14:23:30 project root: . 14:23:30 --> token set from env 14:23:30 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:23:30 ==> Running gcov in . (disable via -X gcov) 14:23:30 ==> Python coveragepy not found 14:23:30 ==> Searching for coverage reports in: 14:23:30 + . 14:23:30 -> Found 1 reports 14:23:30 ==> Detecting git/mercurial file structure 14:23:30 ==> Reading reports 14:23:30 + ./coverage.out bytes=21039 14:23:30 ==> Appending adjustments 14:23:30 https://docs.codecov.io/docs/fixing-reports 14:23:31 + Found adjustments 14:23:31 ==> Gzipping contents 14:23:31 4.0K /tmp/codecov.6oAntZ.gz 14:23:31 ==> Uploading reports 14:23:31 url: https://codecov.io 14:23:31 query: branch=main&commit=70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed&build=175&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F175%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:23:31 -> Pinging Codecov 14:23:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed&build=175&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-mqtt-go%2Fjob%2Fmain%2F175%2F&name=&tag=&slug=edgexfoundry%2Fdevice-mqtt-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:23:31 -> Uploading to 14:23:31 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-mqtt-go/70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed/51d332bf-7c97-4642-9bdf-dad4102834a4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241005%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241005T142331Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=e75e3c874670f8cc6defee225b2356a500b675677b42f5060f4a6eafbbde579f 14:23:31 % Total % Received % Xferd Average Speed Time Time Time Current 14:23:31 Dload Upload Total Spent Left Speed 14:23:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3346 0 0 100 3346 0 16401 --:--:-- --:--:-- --:--:-- 16321 100 3346 0 0 100 3346 0 14805 --:--:-- --:--:-- --:--:-- 14740 14:23:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-mqtt-go/commit/70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed [Pipeline] } 14:23:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:23:31 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:23:31 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:23:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 14:23:32 14:23:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:23:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 14:23:32 latest: Pulling from edgex-devops/edgex-snyk-go 14:23:32 43c4264eed91: Already exists 14:23:32 4cc291be95ef: Already exists 14:23:32 2ac1f1163629: Already exists 14:23:32 5c3c966382ef: Already exists 14:23:32 4f4fb700ef54: Already exists 14:23:32 d9c7d2e4e75e: Pulling fs layer 14:23:32 9c3e1370e548: Pulling fs layer 14:23:32 d9c7d2e4e75e: Verifying Checksum 14:23:32 d9c7d2e4e75e: Download complete 14:23:33 d9c7d2e4e75e: Pull complete 14:23:33 9c3e1370e548: Verifying Checksum 14:23:33 9c3e1370e548: Download complete 14:23:36 9c3e1370e548: Pull complete 14:23:36 Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b 14:23:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest 14:23:36 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:23:37 prd-ubuntu20.04-docker-8c-8g-21901 does not seem to be running inside a container 14:23:37 $ 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:latest cat 14:23:40 $ docker top 168f6c0a1e0963e8cef6573037772dd68833567ac2295dd3266b851fd72a264d -eo pid,comm [Pipeline] { [Pipeline] sh 14:23:40 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-mqtt-go_main [Pipeline] echo 14:23:40 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-mqtt-go:main' [Pipeline] sh 14:23:40 + set -o pipefail 14:23:40 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-mqtt-go:main' 14:23:47 14:23:47 Monitoring /w/workspace/edgexfoundry_device-mqtt-go_main (github.com/edgexfoundry/device-mqtt-go)... 14:23:47 14:23:47 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/71469493-8b77-45f7-b5e9-e0128284f7f2/history/4f0327fd-9939-47f6-8a79-e6fa5aa0b36e 14:23:47 14:23:47 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:23:47 14:23:47 14:23:47 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 14:23:47 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 14:23:47 $ docker stop --time=1 168f6c0a1e0963e8cef6573037772dd68833567ac2295dd3266b851fd72a264d 14:23:53 $ docker rm -f --volumes 168f6c0a1e0963e8cef6573037772dd68833567ac2295dd3266b851fd72a264d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:23:54 + git log --format=format:%s -1 70ea9a5fe42566785b5fdbaaf55b18f3d638b7ed [Pipeline] sh 14:23:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:23:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:23:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:23:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:23:54 prd-ubuntu20.04-docker-8c-8g-21901 does not seem to be running inside a container 14:23:54 $ 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 14:23:55 $ docker top f938fbe18f3d56c0673df118534b86c4de04d2ac2028d44c0900824cfecaab3e -eo pid,comm 14:23:55 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). 14:23:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:23:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:23:55 [ssh-agent] Looking for ssh-agent implementation... 14:23:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:23:55 $ docker exec f938fbe18f3d56c0673df118534b86c4de04d2ac2028d44c0900824cfecaab3e ssh-agent 14:23:55 SSH_AUTH_SOCK=/tmp/ssh-r6NylT5LZD0T/agent.32 14:23:55 SSH_AGENT_PID=38 14:23:55 Running ssh-add (command line suppressed) 14:23:55 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11028306370462162194.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_11028306370462162194.key) 14:23:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:23:56 + git semver tag 14:23:56 2024-10-05 14:23:56,414 [run_tag] DEBUG tag force:False 14:23:56 2024-10-05 14:23:56,414 [check_head_tag] DEBUG check head tag 14:23:56 2024-10-05 14:23:56,415 [execute] INFO git cat-file --batch-check 14:23:56 2024-10-05 14:23:56,415 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 14:23:56 2024-10-05 14:23:56,419 [execute] INFO git cat-file --batch 14:23:56 2024-10-05 14:23:56,419 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=) 14:23:56 2024-10-05 14:23:56,438 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 14:23:56 2024-10-05 14:23:56,438 [execute] INFO git tag -a v3.2.0-dev.20 -m v3.2.0-dev.20 14:23:56 2024-10-05 14:23:56,438 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.20', '-m', 'v3.2.0-dev.20'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main, universal_newlines=False, shell=None, istream=None) 14:23:56 2024-10-05 14:23:56,443 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 14:23:56 3.2.0-dev.20 [Pipeline] } 14:23:56 $ docker exec --env ******** --env ******** f938fbe18f3d56c0673df118534b86c4de04d2ac2028d44c0900824cfecaab3e ssh-agent -k 14:23:56 unset SSH_AUTH_SOCK; 14:23:56 unset SSH_AGENT_PID; 14:23:56 echo Agent pid 38 killed; 14:23:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:23:56 + git semver [Pipeline] } 14:23:57 $ docker stop --time=1 f938fbe18f3d56c0673df118534b86c4de04d2ac2028d44c0900824cfecaab3e 14:23:58 $ docker rm -f --volumes f938fbe18f3d56c0673df118534b86c4de04d2ac2028d44c0900824cfecaab3e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:23:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:23:58 14:23:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:23:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:23:59 0.23.1-centos7: Pulling from edgex-lftools 14:23:59 ab5ef0e58194: Pulling fs layer 14:23:59 9712f1f96733: Pulling fs layer 14:23:59 63f879dbbcfc: Pulling fs layer 14:23:59 0d9ebad4ef96: Pulling fs layer 14:23:59 e9a5061849ea: Pulling fs layer 14:23:59 d747dcd14b5f: Pulling fs layer 14:23:59 2de7ff778b66: Pulling fs layer 14:23:59 e9a5061849ea: Waiting 14:23:59 d747dcd14b5f: Waiting 14:23:59 2de7ff778b66: Waiting 14:23:59 9712f1f96733: Download complete 14:23:59 63f879dbbcfc: Verifying Checksum 14:23:59 63f879dbbcfc: Download complete 14:23:59 0d9ebad4ef96: Verifying Checksum 14:23:59 0d9ebad4ef96: Download complete 14:23:59 d747dcd14b5f: Verifying Checksum 14:23:59 d747dcd14b5f: Download complete 14:23:59 e9a5061849ea: Verifying Checksum 14:23:59 e9a5061849ea: Download complete 14:23:59 ab5ef0e58194: Verifying Checksum 14:23:59 ab5ef0e58194: Download complete 14:24:00 2de7ff778b66: Verifying Checksum 14:24:00 2de7ff778b66: Download complete 14:24:02 ab5ef0e58194: Pull complete 14:24:02 9712f1f96733: Pull complete 14:24:03 63f879dbbcfc: Pull complete 14:24:07 0d9ebad4ef96: Pull complete 14:24:07 e9a5061849ea: Pull complete 14:24:07 d747dcd14b5f: Pull complete 14:24:08 2de7ff778b66: Pull complete 14:24:08 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:24:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:24:08 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:24:08 prd-ubuntu20.04-docker-8c-8g-21901 does not seem to be running inside a container 14:24:08 $ 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 14:24:15 $ docker top 3f8b56fc654737a05c02582b5f24ee68e8d341f102500be975ec45d006fb620c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:24:15 provisioning config files... 14:24:15 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1744836309864900340tmp 14:24:15 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config1586205444895069279tmp 14:24:15 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config9698864574714051203tmp [Pipeline] { [Pipeline] echo 14:24:15 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:24:15 ---> sigul-configuration.sh 14:24:15 gpg: directory `/root/.gnupg' created 14:24:15 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:24:15 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:24:15 gpg: keyring `/root/.gnupg/secring.gpg' created 14:24:15 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:24:15 gpg: CAST5 encrypted data 14:24:15 gpg: encrypted with 1 passphrase 14:24:15 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:24:16 + mkdir /home/jenkins 14:24:16 + mkdir /home/jenkins/sigul [Pipeline] sh 14:24:16 + 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 14:24:16 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:24:16 ---> sigul-install.sh 14:24:16 Sigul already installed; skipping installation. [Pipeline] sh 14:24:16 + git tag --list 14:24:16 0.7.1 14:24:16 v1.0.0 14:24:16 v1.1.0 14:24:16 v1.1.1 14:24:16 v1.2.2 14:24:16 v1.3.0 14:24:16 v1.3.1 14:24:16 v2.0.0 14:24:16 v2.1.0 14:24:16 v2.1.1 14:24:16 v2.2.0 14:24:16 v2.3.0 14:24:16 v3.0 14:24:16 v3.0.0 14:24:16 v3.1 14:24:16 v3.1.0 14:24:16 v3.1.0-dev.1 14:24:16 v3.1.0-dev.10 14:24:16 v3.1.0-dev.11 14:24:16 v3.1.0-dev.12 14:24:16 v3.1.0-dev.13 14:24:16 v3.1.0-dev.14 14:24:16 v3.1.0-dev.15 14:24:16 v3.1.0-dev.16 14:24:16 v3.1.0-dev.17 14:24:16 v3.1.0-dev.18 14:24:16 v3.1.0-dev.19 14:24:16 v3.1.0-dev.2 14:24:16 v3.1.0-dev.20 14:24:16 v3.1.0-dev.21 14:24:16 v3.1.0-dev.22 14:24:16 v3.1.0-dev.23 14:24:16 v3.1.0-dev.24 14:24:16 v3.1.0-dev.25 14:24:16 v3.1.0-dev.3 14:24:16 v3.1.0-dev.4 14:24:16 v3.1.0-dev.5 14:24:16 v3.1.0-dev.6 14:24:16 v3.1.0-dev.7 14:24:16 v3.1.0-dev.8 14:24:16 v3.1.0-dev.9 14:24:16 v3.1.1 14:24:16 v3.2.0-dev.1 14:24:16 v3.2.0-dev.10 14:24:16 v3.2.0-dev.11 14:24:16 v3.2.0-dev.12 14:24:16 v3.2.0-dev.13 14:24:16 v3.2.0-dev.14 14:24:16 v3.2.0-dev.15 14:24:16 v3.2.0-dev.16 14:24:16 v3.2.0-dev.17 14:24:16 v3.2.0-dev.18 14:24:16 v3.2.0-dev.19 14:24:16 v3.2.0-dev.2 14:24:16 v3.2.0-dev.20 14:24:16 v3.2.0-dev.3 14:24:16 v3.2.0-dev.4 14:24:16 v3.2.0-dev.5 14:24:16 v3.2.0-dev.6 14:24:16 v3.2.0-dev.7 14:24:16 v3.2.0-dev.8 14:24:16 v3.2.0-dev.9 [Pipeline] sh 14:24:17 + lftools sign git-tag v3.2.0-dev.20 14:24:17 Signing Git tag with Sigul... 14:24:17 Signing v3.2.0-dev.20 [Pipeline] echo 14:24:18 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:24:18 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:24:18 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:24:18 $ docker stop --time=1 3f8b56fc654737a05c02582b5f24ee68e8d341f102500be975ec45d006fb620c 14:24:19 $ docker rm -f --volumes 3f8b56fc654737a05c02582b5f24ee68e8d341f102500be975ec45d006fb620c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:24:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:24:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:24:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:24:20 prd-ubuntu20.04-docker-8c-8g-21901 does not seem to be running inside a container 14:24: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:24:21 $ docker top c469f312c62b65f099ef353b4f9ef2d69e57d913fc1f12085a6307efebd4d62c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:24:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:24:21 [ssh-agent] Looking for ssh-agent implementation... 14:24:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:24:21 $ docker exec c469f312c62b65f099ef353b4f9ef2d69e57d913fc1f12085a6307efebd4d62c ssh-agent 14:24:21 SSH_AUTH_SOCK=/tmp/ssh-XSxWm6lP4pRM/agent.31 14:24:21 SSH_AGENT_PID=37 14:24:21 Running ssh-add (command line suppressed) 14:24:21 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7704439810361464186.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_7704439810361464186.key) 14:24:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:24:21 + git semver bump pre 14:24:22 2024-10-05 14:24:21,986 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 14:24:22 2024-10-05 14:24:21,986 [bump_version] DEBUG bumping version:3.2.0-dev.20 on axis:pre with prefix:dev 14:24:22 2024-10-05 14:24:21,986 [bump_version] DEBUG bumped version:3.2.0-dev.21 14:24:22 2024-10-05 14:24:21,986 [write_version] DEBUG write version:3.2.0-dev.21 to path:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main with force:True 14:24:22 2024-10-05 14:24:21,986 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 14:24:22 2024-10-05 14:24:21,986 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 14:24:22 2024-10-05 14:24:21,988 [execute] INFO git cat-file --batch-check 14:24:22 2024-10-05 14:24:21,988 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:24:22 2024-10-05 14:24:21,993 [execute] INFO git cat-file --batch 14:24:22 2024-10-05 14:24:21,993 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:24:22 2024-10-05 14:24:21,998 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 14:24:22 3.2.0-dev.21 [Pipeline] } 14:24:22 $ docker exec --env ******** --env ******** c469f312c62b65f099ef353b4f9ef2d69e57d913fc1f12085a6307efebd4d62c ssh-agent -k 14:24:22 unset SSH_AUTH_SOCK; 14:24:22 unset SSH_AGENT_PID; 14:24:22 echo Agent pid 37 killed; 14:24:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:24:22 + git semver [Pipeline] } 14:24:22 $ docker stop --time=1 c469f312c62b65f099ef353b4f9ef2d69e57d913fc1f12085a6307efebd4d62c 14:24:24 $ docker rm -f --volumes c469f312c62b65f099ef353b4f9ef2d69e57d913fc1f12085a6307efebd4d62c [Pipeline] // withDockerContainer [Pipeline] sh 14:24:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:24:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:24:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:24:24 prd-ubuntu20.04-docker-8c-8g-21901 does not seem to be running inside a container 14:24:24 $ 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 14:24:25 $ docker top 3bf8a073106cbe13a6e46d327c6ff3f8d0650eb7f9c55a3c8d16423488a89b84 -eo pid,comm 14:24:25 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). 14:24:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:24:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:24:25 [ssh-agent] Looking for ssh-agent implementation... 14:24:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:24:25 $ docker exec 3bf8a073106cbe13a6e46d327c6ff3f8d0650eb7f9c55a3c8d16423488a89b84 ssh-agent 14:24:25 SSH_AUTH_SOCK=/tmp/ssh-wumpQGE3u3fP/agent.30 14:24:25 SSH_AGENT_PID=36 14:24:25 Running ssh-add (command line suppressed) 14:24:25 Identity added: /w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13847548356746337264.key (/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/private_key_13847548356746337264.key) 14:24:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:24:25 + git semver push 14:24:26 2024-10-05 14:24:26,122 [run_push] DEBUG push 14:24:26 2024-10-05 14:24:26,122 [execute] INFO git cat-file --batch-check 14:24:26 2024-10-05 14:24:26,122 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:24:26 2024-10-05 14:24:26,126 [execute] INFO git rev-list c289656964e341a573585948558e31827bf938b5 -- 14:24:26 2024-10-05 14:24:26,126 [execute] DEBUG Popen(['git', 'rev-list', 'c289656964e341a573585948558e31827bf938b5', '--'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:24:26 2024-10-05 14:24:26,135 [execute] INFO git fetch -v origin 14:24:26 2024-10-05 14:24:26,135 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=True, shell=None, istream=None) 14:24:26 2024-10-05 14:24:26,592 [run_push] DEBUG no remote changes detected 14:24:26 2024-10-05 14:24:26,592 [execute] INFO git push origin semver 14:24:26 2024-10-05 14:24:26,593 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-mqtt-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:24:27 2024-10-05 14:24:27,239 [run_push] DEBUG push all version tags 14:24:27 2024-10-05 14:24:27,240 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 14:24:27 2024-10-05 14:24:27,240 [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) 14:24:28 2024-10-05 14:24:28,024 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-mqtt-go_main/.semver/main 14:24:28 3.2.0-dev.21 [Pipeline] } 14:24:28 $ docker exec --env ******** --env ******** 3bf8a073106cbe13a6e46d327c6ff3f8d0650eb7f9c55a3c8d16423488a89b84 ssh-agent -k 14:24:28 unset SSH_AUTH_SOCK; 14:24:28 unset SSH_AGENT_PID; 14:24:28 echo Agent pid 36 killed; 14:24:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:24:28 + git semver [Pipeline] } 14:24:29 $ docker stop --time=1 3bf8a073106cbe13a6e46d327c6ff3f8d0650eb7f9c55a3c8d16423488a89b84 14:24:30 $ docker rm -f --volumes 3bf8a073106cbe13a6e46d327c6ff3f8d0650eb7f9c55a3c8d16423488a89b84 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 14:24:30 + [ -d /w/workspace/edgexfoundry_device-mqtt-go_main/archives ] 14:24:30 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 14:24:30 total 16 14:24:30 drwxr-xr-x 3 root root 4096 Oct 5 14:08 . 14:24:30 drwxrwxr-x 10 jenkins jenkins 4096 Oct 5 14:24 .. 14:24:30 drwxr-xr-x 2 root root 4096 Oct 5 14:08 cost 14:24:30 -rw-r--r-- 1 root root 86 Oct 5 14:08 cost.csv 14:24:30 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-mqtt-go_main/archives 14:24:30 + ls -al /w/workspace/edgexfoundry_device-mqtt-go_main/archives 14:24:30 total 16 14:24:30 drwxr-xr-x 3 jenkins jenkins 4096 Oct 5 14:08 . 14:24:30 drwxrwxr-x 10 jenkins jenkins 4096 Oct 5 14:24 .. 14:24:30 drwxr-xr-x 2 jenkins jenkins 4096 Oct 5 14:08 cost 14:24:30 -rw-r--r-- 1 jenkins jenkins 86 Oct 5 14:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:24:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:24:32 ---> package-listing.sh 14:24:32 ++ facter osfamily 14:24:32 ++ tr '[:upper:]' '[:lower:]' 14:24:32 + OS_FAMILY=debian 14:24:32 + workspace=/w/workspace/edgexfoundry_device-mqtt-go_main 14:24:32 + START_PACKAGES=/tmp/packages_start.txt 14:24:32 + END_PACKAGES=/tmp/packages_end.txt 14:24:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:24:32 + PACKAGES=/tmp/packages_start.txt 14:24:32 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 14:24:32 + PACKAGES=/tmp/packages_end.txt 14:24:32 + case "${OS_FAMILY}" in 14:24:32 + dpkg -l 14:24:32 + grep '^ii' 14:24:32 + '[' -f /tmp/packages_start.txt ']' 14:24:32 + '[' -f /tmp/packages_end.txt ']' 14:24:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:24:32 + '[' /w/workspace/edgexfoundry_device-mqtt-go_main ']' 14:24:32 + mkdir -p /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ 14:24:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-mqtt-go_main/archives/ [Pipeline] echo 14:24:32 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 14:24:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:24:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:24:33 prd-ubuntu20.04-docker-8c-8g-21901 does not seem to be running inside a container 14:24:33 $ 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 14:24:33 $ docker top 9eb0b998a471c0f741ec4d17c91833f59095766a7a5e7b2afa41ac7ec2a3f218 -eo pid,comm [Pipeline] { [Pipeline] sh 14:24:33 + touch /tmp/pre-build-complete [Pipeline] sh 14:24:34 + mkdir -p /var/log/sysstat [Pipeline] sh 14:24:34 + ls /var/log/sa-host 14:24:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:24:34 provisioning config files... 14:24:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-mqtt-go_main@tmp/config14432312156649145396tmp [Pipeline] { [Pipeline] echo 14:24:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:24:34 ---> create-netrc.sh [Pipeline] } 14:24:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:24:35 ---> python-tools-install.sh [Pipeline] echo 14:24:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:24:35 ---> sudo-logs.sh 14:24:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:24:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:24:35 ---> job-cost.sh 14:24:35 lf-activate-venv: SKIPPING 14:24:35 DEBUG: total: 0.2199999988079071 14:24:35 INFO: Retrieving Stack Cost... 14:24:36 INFO: Retrieving Pricing Info for: v3-standard-8 14:24:36 INFO: Archiving Costs [Pipeline] echo 14:24:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:24:36 ---> logs-deploy.sh 14:24:36 lf-activate-venv: SKIPPING 14:24:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-mqtt-go/main/175 14:24:36 INFO: archiving workspace using pattern(s): 14:24:37 Archives upload complete. 14:24:37 INFO: archiving logs to Nexus